Skip to content

Commit

Permalink
Update SDK models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-rust-ci committed Apr 25, 2024
1 parent 8afb195 commit c95e374
Show file tree
Hide file tree
Showing 123 changed files with 5,532 additions and 240 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
resolver = "2"
exclude = [
"examples/lambda",
"examples/examples",
"examples/test-utils",
"examples/webassembly",
"examples/cross_service",
"examples/test-utils",
"examples/examples",
"tests/no-default-features",
"tests/webassembly"
]
Expand Down
5 changes: 3 additions & 2 deletions aws-models/appsync.json
Original file line number Diff line number Diff line change
Expand Up @@ -7332,7 +7332,7 @@
"min": 20,
"max": 2048
},
"smithy.api#pattern": "^arn:[a-z-]*:secretsmanager:[a-z0-9-]*:\\d{12}:secret:[0-9A-Za-z_/-]*$"
"smithy.api#pattern": "^arn:[a-z-]*:secretsmanager:[a-z0-9-]*:\\d{12}:secret:[0-9A-Za-z_/+=.@!-]*$"
}
},
"com.amazonaws.appsync#RdsHttpEndpointConfig": {
Expand Down Expand Up @@ -8936,7 +8936,8 @@
"authenticationType": {
"target": "com.amazonaws.appsync#AuthenticationType",
"traits": {
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>"
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>",
"smithy.api#required": {}
}
},
"userPoolConfig": {
Expand Down
593 changes: 574 additions & 19 deletions aws-models/fms.json

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions aws-models/ivs-realtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@
"min": 1,
"max": 128
},
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$"
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivsrealtime#ChannelDestinationConfiguration": {
Expand Down Expand Up @@ -3731,7 +3731,7 @@
"min": 1,
"max": 128
},
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$"
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivsrealtime#ResourceNotFoundException": {
Expand Down Expand Up @@ -4407,6 +4407,9 @@
{
"target": "com.amazonaws.ivsrealtime#AccessDeniedException"
},
{
"target": "com.amazonaws.ivsrealtime#ConflictException"
},
{
"target": "com.amazonaws.ivsrealtime#PendingVerification"
},
Expand Down
10 changes: 5 additions & 5 deletions aws-models/ivs.json
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@
"arn": {
"target": "com.amazonaws.ivs#ResourceArn",
"traits": {
"smithy.api#documentation": "<p>Channel ARN.</p>"
"smithy.api#documentation": "<p>ARN of an IVS resource; e.g., channel.</p>"
}
},
"code": {
Expand Down Expand Up @@ -1262,7 +1262,7 @@
"min": 1,
"max": 128
},
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$"
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivs#ChannelArnList": {
Expand Down Expand Up @@ -3249,7 +3249,7 @@
"min": 1,
"max": 128
},
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+$"
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivs#PlaybackKeyPairFingerprint": {
Expand Down Expand Up @@ -3755,7 +3755,7 @@
"min": 1,
"max": 128
},
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$"
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivs#ResourceNotFoundException": {
Expand Down Expand Up @@ -4130,7 +4130,7 @@
"min": 1,
"max": 128
},
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:stream-key/[a-zA-Z0-9-]+$"
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:stream-key/[a-zA-Z0-9-]+$"
}
},
"com.amazonaws.ivs#StreamKeyArnList": {
Expand Down
8 changes: 4 additions & 4 deletions aws-models/rds.json
Original file line number Diff line number Diff line change
Expand Up @@ -5155,7 +5155,7 @@
"Timezone": {
"target": "com.amazonaws.rds#String",
"traits": {
"smithy.api#documentation": "<p>The time zone of the DB instance. \n The time zone parameter is currently supported only by\n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone\">Microsoft SQL Server</a>.</p>"
"smithy.api#documentation": "<p>The time zone of the DB instance. \n The time zone parameter is currently supported only by <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-time-zone\">RDS for Db2</a> and\n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone\">RDS for SQL Server</a>.</p>"
}
},
"EnableIAMDatabaseAuthentication": {
Expand Down Expand Up @@ -9222,7 +9222,7 @@
"Timezone": {
"target": "com.amazonaws.rds#String",
"traits": {
"smithy.api#documentation": "<p>The time zone of the DB instance.\n In most cases, the <code>Timezone</code> element is empty.\n <code>Timezone</code> content appears only for\n Microsoft SQL Server DB instances \n that were created with a time zone specified.</p>"
"smithy.api#documentation": "<p>The time zone of the DB instance.\n In most cases, the <code>Timezone</code> element is empty.\n <code>Timezone</code> content appears only for\n RDS for Db2 and RDS for SQL Server DB instances \n that were created with a time zone specified.</p>"
}
},
"IAMDatabaseAuthenticationEnabled": {
Expand Down Expand Up @@ -22068,7 +22068,7 @@
"DBSubnetGroupName": {
"target": "com.amazonaws.rds#String",
"traits": {
"smithy.api#documentation": "<p>The new DB subnet group for the DB instance.\n You can use this parameter to move your DB instance to a different VPC.\n \n \n If your DB instance isn't in a VPC, you can also use this parameter to move your DB instance into a VPC.\n For more information, see \n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Non-VPC2VPC\">Working with a DB instance in a VPC</a> \n in the <i>Amazon RDS User Guide</i>.</p>\n <p>Changing the subnet group causes an outage during the change. \n The change is applied during the next maintenance window,\n unless you enable <code>ApplyImmediately</code>.</p>\n <p>This parameter doesn't apply to RDS Custom DB instances.</p>\n <p>Constraints:</p>\n <ul>\n <li>\n <p>If supplied, must match existing DB subnet group.</p>\n </li>\n </ul>\n <p>Example: <code>mydbsubnetgroup</code>\n </p>"
"smithy.api#documentation": "<p>The new DB subnet group for the DB instance.\n You can use this parameter to move your DB instance to a different VPC.\n \n \n If your DB instance isn't in a VPC, you can also use this parameter to move your DB instance into a VPC.\n For more information, see \n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Non-VPC2VPC\">Working with a DB instance in a VPC</a> \n in the <i>Amazon RDS User Guide</i>.</p>\n <p>Changing the subnet group causes an outage during the change. \n The change is applied during the next maintenance window,\n unless you enable <code>ApplyImmediately</code>.</p>\n <p>This setting doesn't apply to RDS Custom DB instances.</p>\n <p>Constraints:</p>\n <ul>\n <li>\n <p>If supplied, must match existing DB subnet group.</p>\n </li>\n </ul>\n <p>Example: <code>mydbsubnetgroup</code>\n </p>"
}
},
"DBSecurityGroups": {
Expand Down Expand Up @@ -22314,7 +22314,7 @@
"DeletionProtection": {
"target": "com.amazonaws.rds#BooleanOptional",
"traits": {
"smithy.api#documentation": "<p>Specifies whether the DB instance has deletion protection enabled. \n The database can't be deleted when deletion protection is enabled. By default, \n deletion protection isn't enabled. For more information, see \n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html\">\n Deleting a DB Instance</a>.</p>"
"smithy.api#documentation": "<p>Specifies whether the DB instance has deletion protection enabled. \n The database can't be deleted when deletion protection is enabled. By default, \n deletion protection isn't enabled. For more information, see \n <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html\">\n Deleting a DB Instance</a>.</p>\n <p>This setting doesn't apply to Amazon Aurora DB instances. You can enable or disable deletion protection for the DB cluster. \n For more information, see <code>ModifyDBCluster</code>. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster.</p>"
}
},
"MaxAllocatedStorage": {
Expand Down
19 changes: 19 additions & 0 deletions aws-models/sdk-endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -23994,13 +23994,26 @@
},
"email" : {
"endpoints" : {
"fips-us-gov-east-1" : {
"credentialScope" : {
"region" : "us-gov-east-1"
},
"deprecated" : true,
"hostname" : "email-fips.us-gov-east-1.amazonaws.com"
},
"fips-us-gov-west-1" : {
"credentialScope" : {
"region" : "us-gov-west-1"
},
"deprecated" : true,
"hostname" : "email-fips.us-gov-west-1.amazonaws.com"
},
"us-gov-east-1" : {
"variants" : [ {
"hostname" : "email-fips.us-gov-east-1.amazonaws.com",
"tags" : [ "fips" ]
} ]
},
"us-gov-west-1" : {
"variants" : [ {
"hostname" : "email-fips.us-gov-west-1.amazonaws.com",
Expand Down Expand Up @@ -25021,6 +25034,12 @@
"us-gov-west-1" : { }
}
},
"license-manager-user-subscriptions" : {
"endpoints" : {
"us-gov-east-1" : { },
"us-gov-west-1" : { }
}
},
"logs" : {
"endpoints" : {
"fips-us-gov-east-1" : {
Expand Down
144 changes: 144 additions & 0 deletions aws-models/sfn.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
},
{
"target": "com.amazonaws.sfn#UpdateStateMachineAlias"
},
{
"target": "com.amazonaws.sfn#ValidateStateMachineDefinition"
}
],
"traits": {
Expand Down Expand Up @@ -5304,6 +5307,9 @@
},
{
"target": "com.amazonaws.sfn#InvalidArn"
},
{
"target": "com.amazonaws.sfn#ValidationException"
}
],
"traits": {
Expand Down Expand Up @@ -7193,6 +7199,144 @@
"smithy.api#output": {}
}
},
"com.amazonaws.sfn#ValidateStateMachineDefinition": {
"type": "operation",
"input": {
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionInput"
},
"output": {
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionOutput"
},
"errors": [
{
"target": "com.amazonaws.sfn#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Validates the syntax of a state machine definition.</p>\n <p>You can validate that a state machine definition is correct without \n creating a state machine resource. Step Functions will implicitly perform the same\n syntax check when you invoke <code>CreateStateMachine</code> and\n <code>UpdateStateMachine</code>. State machine definitions are specified using a\n JSON-based, structured language. For more information on Amazon States Language see <a href=\"https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html\">Amazon States Language</a> (ASL). </p>\n <p>Suggested uses for <code>ValidateStateMachineDefinition</code>:</p>\n <ul>\n <li>\n <p>Integrate automated checks into your code review or Continuous Integration\n (CI) process to validate state machine definitions before starting\n deployments.</p>\n </li>\n <li>\n <p>Run the validation from a Git pre-commit hook to check your state machine\n definitions before committing them to your source repository.</p>\n </li>\n </ul>\n <note>\n <p>Errors found in the state machine definition will be returned in the response as a list of <b>diagnostic elements</b>, rather than raise an exception.</p>\n </note>"
}
},
"com.amazonaws.sfn#ValidateStateMachineDefinitionCode": {
"type": "string"
},
"com.amazonaws.sfn#ValidateStateMachineDefinitionDiagnostic": {
"type": "structure",
"members": {
"severity": {
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionSeverity",
"traits": {
"smithy.api#documentation": "<p>A value of <code>ERROR</code> means that you cannot create or update a state machine with this definition.</p>",
"smithy.api#required": {}
}
},
"code": {
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionCode",
"traits": {
"smithy.api#documentation": "<p>Identifying code for the diagnostic.</p>",
"smithy.api#required": {}
}
},
"message": {
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionMessage",
"traits": {
"smithy.api#documentation": "<p>Message describing the diagnostic condition.</p>",
"smithy.api#required": {}
}
},
"location": {
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionLocation",
"traits": {
"smithy.api#documentation": "<p>Location of the issue in the state machine, if available.</p>\n <p>For errors specific to a field, the location could be in the format: <code>/States/<StateName>/<FieldName></code>, for example: <code>/States/FailState/ErrorPath</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Describes an error found during validation. Validation errors found in the definition\n return in the response as <b>diagnostic elements</b>, rather\n than raise an exception.</p>"
}
},
"com.amazonaws.sfn#ValidateStateMachineDefinitionDiagnosticList": {
"type": "list",
"member": {
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionDiagnostic"
}
},
"com.amazonaws.sfn#ValidateStateMachineDefinitionInput": {
"type": "structure",
"members": {
"definition": {
"target": "com.amazonaws.sfn#Definition",
"traits": {
"smithy.api#documentation": "<p>The Amazon States Language definition of the state machine. For more information, see\n <a href=\"https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html\">Amazon States Language</a> (ASL).</p>",
"smithy.api#required": {}
}
},
"type": {
"target": "com.amazonaws.sfn#StateMachineType",
"traits": {
"smithy.api#documentation": "<p>The target type of state machine for this definition. The default is <code>STANDARD</code>.</p>"
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.sfn#ValidateStateMachineDefinitionLocation": {
"type": "string"
},
"com.amazonaws.sfn#ValidateStateMachineDefinitionMessage": {
"type": "string"
},
"com.amazonaws.sfn#ValidateStateMachineDefinitionOutput": {
"type": "structure",
"members": {
"result": {
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionResultCode",
"traits": {
"smithy.api#documentation": "<p>The result value will be <code>OK</code> when no syntax errors are found, or\n <code>FAIL</code> if the workflow definition does not pass verification.</p>",
"smithy.api#required": {}
}
},
"diagnostics": {
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionDiagnosticList",
"traits": {
"smithy.api#documentation": "<p>If the result is <code>OK</code>, this field will be empty. When there are errors,\n this field will contain an array of <b>Diagnostic</b> objects\n to help you troubleshoot.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.sfn#ValidateStateMachineDefinitionResultCode": {
"type": "enum",
"members": {
"OK": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "OK"
}
},
"FAIL": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "FAIL"
}
}
}
},
"com.amazonaws.sfn#ValidateStateMachineDefinitionSeverity": {
"type": "enum",
"members": {
"ERROR": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ERROR"
}
}
}
},
"com.amazonaws.sfn#ValidationException": {
"type": "structure",
"members": {
Expand Down
Loading

0 comments on commit c95e374

Please sign in to comment.