Skip to content

Commit 103d38d

Browse files
feat: update AWS API models
1 parent 38c6da9 commit 103d38d

File tree

6 files changed

+735
-32
lines changed

6 files changed

+735
-32
lines changed

codegen/sdk/aws-models/appsync.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7332,7 +7332,7 @@
73327332
"min": 20,
73337333
"max": 2048
73347334
},
7335-
"smithy.api#pattern": "^arn:[a-z-]*:secretsmanager:[a-z0-9-]*:\\d{12}:secret:[0-9A-Za-z_/-]*$"
7335+
"smithy.api#pattern": "^arn:[a-z-]*:secretsmanager:[a-z0-9-]*:\\d{12}:secret:[0-9A-Za-z_/+=.@!-]*$"
73367336
}
73377337
},
73387338
"com.amazonaws.appsync#RdsHttpEndpointConfig": {
@@ -8936,7 +8936,8 @@
89368936
"authenticationType": {
89378937
"target": "com.amazonaws.appsync#AuthenticationType",
89388938
"traits": {
8939-
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>"
8939+
"smithy.api#documentation": "<p>The new authentication type for the <code>GraphqlApi</code> object.</p>",
8940+
"smithy.api#required": {}
89408941
}
89418942
},
89428943
"userPoolConfig": {

codegen/sdk/aws-models/fms.json

Lines changed: 574 additions & 19 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/ivs-realtime.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@
828828
"min": 1,
829829
"max": 128
830830
},
831-
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$"
831+
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$"
832832
}
833833
},
834834
"com.amazonaws.ivsrealtime#ChannelDestinationConfiguration": {
@@ -3731,7 +3731,7 @@
37313731
"min": 1,
37323732
"max": 128
37333733
},
3734-
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$"
3734+
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$"
37353735
}
37363736
},
37373737
"com.amazonaws.ivsrealtime#ResourceNotFoundException": {
@@ -4407,6 +4407,9 @@
44074407
{
44084408
"target": "com.amazonaws.ivsrealtime#AccessDeniedException"
44094409
},
4410+
{
4411+
"target": "com.amazonaws.ivsrealtime#ConflictException"
4412+
},
44104413
{
44114414
"target": "com.amazonaws.ivsrealtime#PendingVerification"
44124415
},

codegen/sdk/aws-models/ivs.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@
908908
"arn": {
909909
"target": "com.amazonaws.ivs#ResourceArn",
910910
"traits": {
911-
"smithy.api#documentation": "<p>Channel ARN.</p>"
911+
"smithy.api#documentation": "<p>ARN of an IVS resource; e.g., channel.</p>"
912912
}
913913
},
914914
"code": {
@@ -1262,7 +1262,7 @@
12621262
"min": 1,
12631263
"max": 128
12641264
},
1265-
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$"
1265+
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$"
12661266
}
12671267
},
12681268
"com.amazonaws.ivs#ChannelArnList": {
@@ -3249,7 +3249,7 @@
32493249
"min": 1,
32503250
"max": 128
32513251
},
3252-
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+$"
3252+
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+$"
32533253
}
32543254
},
32553255
"com.amazonaws.ivs#PlaybackKeyPairFingerprint": {
@@ -3755,7 +3755,7 @@
37553755
"min": 1,
37563756
"max": 128
37573757
},
3758-
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$"
3758+
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$"
37593759
}
37603760
},
37613761
"com.amazonaws.ivs#ResourceNotFoundException": {
@@ -4130,7 +4130,7 @@
41304130
"min": 1,
41314131
"max": 128
41324132
},
4133-
"smithy.api#pattern": "^arn:aws:[is]vs:[a-z0-9-]+:[0-9]+:stream-key/[a-zA-Z0-9-]+$"
4133+
"smithy.api#pattern": "^arn:aws:ivs:[a-z0-9-]+:[0-9]+:stream-key/[a-zA-Z0-9-]+$"
41344134
}
41354135
},
41364136
"com.amazonaws.ivs#StreamKeyArnList": {

codegen/sdk/aws-models/rds.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5155,7 +5155,7 @@
51555155
"Timezone": {
51565156
"target": "com.amazonaws.rds#String",
51575157
"traits": {
5158-
"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>"
5158+
"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>"
51595159
}
51605160
},
51615161
"EnableIAMDatabaseAuthentication": {
@@ -9222,7 +9222,7 @@
92229222
"Timezone": {
92239223
"target": "com.amazonaws.rds#String",
92249224
"traits": {
9225-
"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>"
9225+
"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>"
92269226
}
92279227
},
92289228
"IAMDatabaseAuthenticationEnabled": {
@@ -22068,7 +22068,7 @@
2206822068
"DBSubnetGroupName": {
2206922069
"target": "com.amazonaws.rds#String",
2207022070
"traits": {
22071-
"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>"
22071+
"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>"
2207222072
}
2207322073
},
2207422074
"DBSecurityGroups": {
@@ -22314,7 +22314,7 @@
2231422314
"DeletionProtection": {
2231522315
"target": "com.amazonaws.rds#BooleanOptional",
2231622316
"traits": {
22317-
"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>"
22317+
"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>"
2231822318
}
2231922319
},
2232022320
"MaxAllocatedStorage": {

codegen/sdk/aws-models/sfn.json

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@
140140
},
141141
{
142142
"target": "com.amazonaws.sfn#UpdateStateMachineAlias"
143+
},
144+
{
145+
"target": "com.amazonaws.sfn#ValidateStateMachineDefinition"
143146
}
144147
],
145148
"traits": {
@@ -5304,6 +5307,9 @@
53045307
},
53055308
{
53065309
"target": "com.amazonaws.sfn#InvalidArn"
5310+
},
5311+
{
5312+
"target": "com.amazonaws.sfn#ValidationException"
53075313
}
53085314
],
53095315
"traits": {
@@ -7193,6 +7199,144 @@
71937199
"smithy.api#output": {}
71947200
}
71957201
},
7202+
"com.amazonaws.sfn#ValidateStateMachineDefinition": {
7203+
"type": "operation",
7204+
"input": {
7205+
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionInput"
7206+
},
7207+
"output": {
7208+
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionOutput"
7209+
},
7210+
"errors": [
7211+
{
7212+
"target": "com.amazonaws.sfn#ValidationException"
7213+
}
7214+
],
7215+
"traits": {
7216+
"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>"
7217+
}
7218+
},
7219+
"com.amazonaws.sfn#ValidateStateMachineDefinitionCode": {
7220+
"type": "string"
7221+
},
7222+
"com.amazonaws.sfn#ValidateStateMachineDefinitionDiagnostic": {
7223+
"type": "structure",
7224+
"members": {
7225+
"severity": {
7226+
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionSeverity",
7227+
"traits": {
7228+
"smithy.api#documentation": "<p>A value of <code>ERROR</code> means that you cannot create or update a state machine with this definition.</p>",
7229+
"smithy.api#required": {}
7230+
}
7231+
},
7232+
"code": {
7233+
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionCode",
7234+
"traits": {
7235+
"smithy.api#documentation": "<p>Identifying code for the diagnostic.</p>",
7236+
"smithy.api#required": {}
7237+
}
7238+
},
7239+
"message": {
7240+
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionMessage",
7241+
"traits": {
7242+
"smithy.api#documentation": "<p>Message describing the diagnostic condition.</p>",
7243+
"smithy.api#required": {}
7244+
}
7245+
},
7246+
"location": {
7247+
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionLocation",
7248+
"traits": {
7249+
"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>"
7250+
}
7251+
}
7252+
},
7253+
"traits": {
7254+
"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>"
7255+
}
7256+
},
7257+
"com.amazonaws.sfn#ValidateStateMachineDefinitionDiagnosticList": {
7258+
"type": "list",
7259+
"member": {
7260+
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionDiagnostic"
7261+
}
7262+
},
7263+
"com.amazonaws.sfn#ValidateStateMachineDefinitionInput": {
7264+
"type": "structure",
7265+
"members": {
7266+
"definition": {
7267+
"target": "com.amazonaws.sfn#Definition",
7268+
"traits": {
7269+
"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>",
7270+
"smithy.api#required": {}
7271+
}
7272+
},
7273+
"type": {
7274+
"target": "com.amazonaws.sfn#StateMachineType",
7275+
"traits": {
7276+
"smithy.api#documentation": "<p>The target type of state machine for this definition. The default is <code>STANDARD</code>.</p>"
7277+
}
7278+
}
7279+
},
7280+
"traits": {
7281+
"smithy.api#input": {}
7282+
}
7283+
},
7284+
"com.amazonaws.sfn#ValidateStateMachineDefinitionLocation": {
7285+
"type": "string"
7286+
},
7287+
"com.amazonaws.sfn#ValidateStateMachineDefinitionMessage": {
7288+
"type": "string"
7289+
},
7290+
"com.amazonaws.sfn#ValidateStateMachineDefinitionOutput": {
7291+
"type": "structure",
7292+
"members": {
7293+
"result": {
7294+
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionResultCode",
7295+
"traits": {
7296+
"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>",
7297+
"smithy.api#required": {}
7298+
}
7299+
},
7300+
"diagnostics": {
7301+
"target": "com.amazonaws.sfn#ValidateStateMachineDefinitionDiagnosticList",
7302+
"traits": {
7303+
"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>",
7304+
"smithy.api#required": {}
7305+
}
7306+
}
7307+
},
7308+
"traits": {
7309+
"smithy.api#output": {}
7310+
}
7311+
},
7312+
"com.amazonaws.sfn#ValidateStateMachineDefinitionResultCode": {
7313+
"type": "enum",
7314+
"members": {
7315+
"OK": {
7316+
"target": "smithy.api#Unit",
7317+
"traits": {
7318+
"smithy.api#enumValue": "OK"
7319+
}
7320+
},
7321+
"FAIL": {
7322+
"target": "smithy.api#Unit",
7323+
"traits": {
7324+
"smithy.api#enumValue": "FAIL"
7325+
}
7326+
}
7327+
}
7328+
},
7329+
"com.amazonaws.sfn#ValidateStateMachineDefinitionSeverity": {
7330+
"type": "enum",
7331+
"members": {
7332+
"ERROR": {
7333+
"target": "smithy.api#Unit",
7334+
"traits": {
7335+
"smithy.api#enumValue": "ERROR"
7336+
}
7337+
}
7338+
}
7339+
},
71967340
"com.amazonaws.sfn#ValidationException": {
71977341
"type": "structure",
71987342
"members": {

0 commit comments

Comments
 (0)