Skip to content

Commit 7d5acbd

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent dfcf25b commit 7d5acbd

File tree

11 files changed

+754
-52
lines changed

11 files changed

+754
-52
lines changed

codegen/sdk-codegen/aws-models/arc-region-switch.json

Lines changed: 162 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@
7979
"smithy.api#required": {}
8080
}
8181
},
82+
"recoveryExecutionId": {
83+
"target": "smithy.api#String",
84+
"traits": {
85+
"smithy.api#documentation": "<p>The unique identifier of the most recent recovery execution. Required when starting a post-recovery execution.</p>"
86+
}
87+
},
8288
"actualRecoveryTime": {
8389
"target": "com.amazonaws.arcregionswitch#Duration",
8490
"traits": {
@@ -1587,7 +1593,7 @@
15871593
"regionToRun": {
15881594
"target": "com.amazonaws.arcregionswitch#RegionToRunIn",
15891595
"traits": {
1590-
"smithy.api#documentation": "<p>The Amazon Web Services Region for the function to run in.</p>",
1596+
"smithy.api#documentation": "<p>The Amazon Web Services Region for the function to run in. For recovery workflows use <code>activatingRegion</code> or <code>deactivatingRegion</code>. For post-recovery workflows, use <code>activeRegion</code> (the Region with customer traffic) or <code>inactiveRegion</code> (the Region with no customer traffic).</p>",
15911597
"smithy.api#required": {}
15921598
}
15931599
},
@@ -2128,6 +2134,12 @@
21282134
"traits": {
21292135
"smithy.api#enumValue": "deactivate"
21302136
}
2137+
},
2138+
"POST_RECOVERY": {
2139+
"target": "smithy.api#Unit",
2140+
"traits": {
2141+
"smithy.api#enumValue": "postRecovery"
2142+
}
21312143
}
21322144
}
21332145
},
@@ -2221,6 +2233,18 @@
22212233
},
22222234
"documentDbConfig": {
22232235
"target": "com.amazonaws.arcregionswitch#DocumentDbConfiguration"
2236+
},
2237+
"rdsPromoteReadReplicaConfig": {
2238+
"target": "com.amazonaws.arcregionswitch#RdsPromoteReadReplicaConfiguration",
2239+
"traits": {
2240+
"smithy.api#documentation": "<p>An Amazon RDS promote read replica execution block.</p>"
2241+
}
2242+
},
2243+
"rdsCreateCrossRegionReadReplicaConfig": {
2244+
"target": "com.amazonaws.arcregionswitch#RdsCreateCrossRegionReplicaConfiguration",
2245+
"traits": {
2246+
"smithy.api#documentation": "<p>An Amazon RDS create cross-Region replica execution block.</p>"
2247+
}
22242248
}
22252249
},
22262250
"traits": {
@@ -2295,6 +2319,18 @@
22952319
"traits": {
22962320
"smithy.api#enumValue": "DocumentDb"
22972321
}
2322+
},
2323+
"RDS_PROMOTE_READ_REPLICA": {
2324+
"target": "smithy.api#Unit",
2325+
"traits": {
2326+
"smithy.api#enumValue": "RdsPromoteReadReplica"
2327+
}
2328+
},
2329+
"RDS_CREATE_CROSS_REGION_REPLICA": {
2330+
"target": "smithy.api#Unit",
2331+
"traits": {
2332+
"smithy.api#enumValue": "RdsCreateCrossRegionReplica"
2333+
}
22982334
}
22992335
}
23002336
},
@@ -3073,6 +3109,12 @@
30733109
"smithy.api#required": {}
30743110
}
30753111
},
3112+
"recoveryExecutionId": {
3113+
"target": "smithy.api#String",
3114+
"traits": {
3115+
"smithy.api#documentation": "<p>The unique identifier of the most recent recovery execution. Required when starting a post-recovery execution.</p>"
3116+
}
3117+
},
30763118
"stepStates": {
30773119
"target": "com.amazonaws.arcregionswitch#StepStates",
30783120
"traits": {
@@ -4342,6 +4384,95 @@
43424384
"target": "com.amazonaws.arcregionswitch#ResourceWarning"
43434385
}
43444386
},
4387+
"com.amazonaws.arcregionswitch#RdsCreateCrossRegionReplicaConfiguration": {
4388+
"type": "structure",
4389+
"members": {
4390+
"timeoutMinutes": {
4391+
"target": "smithy.api#Integer",
4392+
"traits": {
4393+
"smithy.api#default": 60,
4394+
"smithy.api#documentation": "<p>The timeout value specified for the configuration.</p>",
4395+
"smithy.api#range": {
4396+
"min": 1
4397+
}
4398+
}
4399+
},
4400+
"crossAccountRole": {
4401+
"target": "com.amazonaws.arcregionswitch#IamRoleArn",
4402+
"traits": {
4403+
"smithy.api#documentation": "<p>The cross-account role for the configuration.</p>"
4404+
}
4405+
},
4406+
"externalId": {
4407+
"target": "smithy.api#String",
4408+
"traits": {
4409+
"smithy.api#documentation": "<p>The external ID (secret key) for the configuration.</p>"
4410+
}
4411+
},
4412+
"dbInstanceArnMap": {
4413+
"target": "com.amazonaws.arcregionswitch#RdsDbInstanceArnMap",
4414+
"traits": {
4415+
"smithy.api#documentation": "<p>A map of database instance ARNs for each Region in the plan.</p>",
4416+
"smithy.api#required": {}
4417+
}
4418+
}
4419+
},
4420+
"traits": {
4421+
"smithy.api#documentation": "<p>Configuration for creating an Amazon RDS cross-Region read replica during post-recovery in a Region switch.</p>"
4422+
}
4423+
},
4424+
"com.amazonaws.arcregionswitch#RdsDbInstanceArn": {
4425+
"type": "string",
4426+
"traits": {
4427+
"smithy.api#pattern": "^arn:aws[a-zA-Z-]*:rds:[a-z0-9-]+:\\d{12}:db:[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*$"
4428+
}
4429+
},
4430+
"com.amazonaws.arcregionswitch#RdsDbInstanceArnMap": {
4431+
"type": "map",
4432+
"key": {
4433+
"target": "com.amazonaws.arcregionswitch#Region"
4434+
},
4435+
"value": {
4436+
"target": "com.amazonaws.arcregionswitch#RdsDbInstanceArn"
4437+
}
4438+
},
4439+
"com.amazonaws.arcregionswitch#RdsPromoteReadReplicaConfiguration": {
4440+
"type": "structure",
4441+
"members": {
4442+
"timeoutMinutes": {
4443+
"target": "smithy.api#Integer",
4444+
"traits": {
4445+
"smithy.api#default": 60,
4446+
"smithy.api#documentation": "<p>The timeout value specified for the configuration.</p>",
4447+
"smithy.api#range": {
4448+
"min": 1
4449+
}
4450+
}
4451+
},
4452+
"crossAccountRole": {
4453+
"target": "com.amazonaws.arcregionswitch#IamRoleArn",
4454+
"traits": {
4455+
"smithy.api#documentation": "<p>The cross-account role for the configuration.</p>"
4456+
}
4457+
},
4458+
"externalId": {
4459+
"target": "smithy.api#String",
4460+
"traits": {
4461+
"smithy.api#documentation": "<p>The external ID (secret key) for the configuration.</p>"
4462+
}
4463+
},
4464+
"dbInstanceArnMap": {
4465+
"target": "com.amazonaws.arcregionswitch#RdsDbInstanceArnMap",
4466+
"traits": {
4467+
"smithy.api#documentation": "<p>A map of database instance ARNs for each Region in the plan.</p>",
4468+
"smithy.api#required": {}
4469+
}
4470+
}
4471+
},
4472+
"traits": {
4473+
"smithy.api#documentation": "<p>Configuration for promoting an Amazon RDS read replica to a standalone database instance during a Region switch.</p>"
4474+
}
4475+
},
43454476
"com.amazonaws.arcregionswitch#RecoveryApproach": {
43464477
"type": "enum",
43474478
"members": {
@@ -4359,6 +4490,12 @@
43594490
}
43604491
}
43614492
},
4493+
"com.amazonaws.arcregionswitch#RecoveryExecutionId": {
4494+
"type": "string",
4495+
"traits": {
4496+
"smithy.api#pattern": "^[a-z]{2}(-[a-z]+)+-[0-9]+/[0-9a-fA-F]{16}$"
4497+
}
4498+
},
43624499
"com.amazonaws.arcregionswitch#Region": {
43634500
"type": "string",
43644501
"traits": {
@@ -4480,6 +4617,18 @@
44804617
"traits": {
44814618
"smithy.api#enumValue": "deactivatingRegion"
44824619
}
4620+
},
4621+
"ACTIVE_REGION": {
4622+
"target": "smithy.api#Unit",
4623+
"traits": {
4624+
"smithy.api#enumValue": "activeRegion"
4625+
}
4626+
},
4627+
"INACTIVE_REGION": {
4628+
"target": "smithy.api#Unit",
4629+
"traits": {
4630+
"smithy.api#enumValue": "inactiveRegion"
4631+
}
44834632
}
44844633
}
44854634
},
@@ -5007,6 +5156,12 @@
50075156
"traits": {
50085157
"smithy.api#documentation": "<p>A boolean value indicating whether to use the latest version of the plan. If set to false, you must specify a specific version.</p>"
50095158
}
5159+
},
5160+
"recoveryExecutionId": {
5161+
"target": "com.amazonaws.arcregionswitch#RecoveryExecutionId",
5162+
"traits": {
5163+
"smithy.api#documentation": "<p>The execution identifier of the recovery execution that ran in the opposite region post-recovery is ran in. Required when starting a post-recovery execution.</p>"
5164+
}
50105165
}
50115166
},
50125167
"traits": {
@@ -5787,6 +5942,12 @@
57875942
"traits": {
57885943
"smithy.api#enumValue": "deactivate"
57895944
}
5945+
},
5946+
"POST_RECOVERY": {
5947+
"target": "smithy.api#Unit",
5948+
"traits": {
5949+
"smithy.api#enumValue": "postRecovery"
5950+
}
57905951
}
57915952
}
57925953
}

codegen/sdk-codegen/aws-models/batch.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1960,6 +1960,12 @@
19601960
"traits": {
19611961
"smithy.api#documentation": "<p>Provides information that's used to select Amazon Machine Images (AMIs) for Amazon EC2 instances\n in the compute environment. If <code>Ec2Configuration</code> isn't specified, the default is\n <code>ECS_AL2</code>.</p>\n <p>One or two values can be provided.</p>\n <note>\n <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>\n </note>"
19621962
}
1963+
},
1964+
"scalingPolicy": {
1965+
"target": "com.amazonaws.batch#ComputeScalingPolicy",
1966+
"traits": {
1967+
"smithy.api#documentation": "<p>The scaling policy configuration for the compute environment.</p>\n <note>\n <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>\n </note>"
1968+
}
19631969
}
19641970
},
19651971
"traits": {
@@ -2070,12 +2076,32 @@
20702076
"traits": {
20712077
"smithy.api#documentation": "<p>The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.\n This parameter is overridden by the <code>imageIdOverride</code> member of the\n <code>Ec2Configuration</code> structure. To remove the custom AMI ID and use the default AMI ID,\n set this value to an empty string.</p>\n <p>When updating a compute environment, changing the AMI ID requires an infrastructure update\n of the compute environment. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html\">Updating compute environments</a> in the\n <i>Batch User Guide</i>.</p>\n <note>\n <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>\n </note>\n <note>\n <p>The AMI that you choose for a compute environment must match the architecture of the instance types that\n you intend to use for that compute environment. For example, if your compute environment uses A1 instance types,\n the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the\n Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html\">Amazon ECS-optimized\n Amazon Linux 2 AMI</a>\n in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>\n </note>"
20722078
}
2079+
},
2080+
"scalingPolicy": {
2081+
"target": "com.amazonaws.batch#ComputeScalingPolicy",
2082+
"traits": {
2083+
"smithy.api#documentation": "<p>The scaling policy configuration for the compute environment.</p>\n <note>\n <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>\n </note>"
2084+
}
20732085
}
20742086
},
20752087
"traits": {
20762088
"smithy.api#documentation": "<p>An object that represents the attributes of a compute environment that can be updated. For\n more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html\">Updating compute environments</a> in the\n <i>Batch User Guide</i>.</p>"
20772089
}
20782090
},
2091+
"com.amazonaws.batch#ComputeScalingPolicy": {
2092+
"type": "structure",
2093+
"members": {
2094+
"minScaleDownDelayMinutes": {
2095+
"target": "com.amazonaws.batch#Integer",
2096+
"traits": {
2097+
"smithy.api#documentation": "<p>The minimum time (in minutes) that Batch keeps instances running in the compute environment \n after their jobs complete. For each instance, the delay period begins when the last job finishes. \n If no new jobs are placed on the instance during this delay, Batch terminates the instance once \n the delay expires.</p>\n <p>Valid Range: Minimum value of 20. Maximum value of 10080. Use 0 to unset and disable the scale down delay.</p>\n <note>\n <p>The scale down delay does not apply to:</p>\n <ul>\n <li>\n <p>Instances being replaced during infrastructure updates</p>\n </li>\n <li>\n <p>Newly launched instances that have not yet run any jobs</p>\n </li>\n <li>\n <p>Spot instances reclaimed due to interruption</p>\n </li>\n </ul>\n </note>"
2098+
}
2099+
}
2100+
},
2101+
"traits": {
2102+
"smithy.api#documentation": "<p>An object that represents a scaling policy for a compute environment.</p>"
2103+
}
2104+
},
20792105
"com.amazonaws.batch#ConsumableResourceList": {
20802106
"type": "list",
20812107
"member": {

codegen/sdk-codegen/aws-models/bedrock.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6742,6 +6742,13 @@
67426742
"traits": {
67436743
"smithy.api#documentation": "<p>Any tags to associate with the batch inference job. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html\">Tagging Amazon Bedrock resources</a>.</p>"
67446744
}
6745+
},
6746+
"modelInvocationType": {
6747+
"target": "com.amazonaws.bedrock#ModelInvocationType",
6748+
"traits": {
6749+
"smithy.api#default": "InvokeModel",
6750+
"smithy.api#documentation": "<p>The invocation endpoint for ModelInvocationJob</p>"
6751+
}
67456752
}
67466753
},
67476754
"traits": {
@@ -9681,6 +9688,30 @@
96819688
"smithy.api#documentation": "<p>Specifies whether a model version is available (<code>ACTIVE</code>) or deprecated (<code>LEGACY</code>.</p>",
96829689
"smithy.api#required": {}
96839690
}
9691+
},
9692+
"startOfLifeTime": {
9693+
"target": "com.amazonaws.bedrock#Timestamp",
9694+
"traits": {
9695+
"smithy.api#documentation": "<p>Launch time when the model first becomes available</p>"
9696+
}
9697+
},
9698+
"endOfLifeTime": {
9699+
"target": "com.amazonaws.bedrock#Timestamp",
9700+
"traits": {
9701+
"smithy.api#documentation": "<p>Time when the model is no longer available for use</p>"
9702+
}
9703+
},
9704+
"legacyTime": {
9705+
"target": "com.amazonaws.bedrock#Timestamp",
9706+
"traits": {
9707+
"smithy.api#documentation": "<p>Time when the model enters legacy state. Models in legacy state can still be used, but users should plan to transition to an Active model before the end of life time</p>"
9708+
}
9709+
},
9710+
"publicExtendedAccessTime": {
9711+
"target": "com.amazonaws.bedrock#Timestamp",
9712+
"traits": {
9713+
"smithy.api#documentation": "<p>Public extended access portion of the legacy period, when users should expect higher pricing</p>"
9714+
}
96849715
}
96859716
},
96869717
"traits": {
@@ -12276,6 +12307,12 @@
1227612307
"traits": {
1227712308
"smithy.api#documentation": "<p>The time at which the batch inference job times or timed out.</p>"
1227812309
}
12310+
},
12311+
"modelInvocationType": {
12312+
"target": "com.amazonaws.bedrock#ModelInvocationType",
12313+
"traits": {
12314+
"smithy.api#documentation": "<p>The invocation endpoint for ModelInvocationJob</p>"
12315+
}
1227912316
}
1228012317
},
1228112318
"traits": {
@@ -18864,6 +18901,12 @@
1886418901
"traits": {
1886518902
"smithy.api#documentation": "<p>The time at which the batch inference job times or timed out.</p>"
1886618903
}
18904+
},
18905+
"modelInvocationType": {
18906+
"target": "com.amazonaws.bedrock#ModelInvocationType",
18907+
"traits": {
18908+
"smithy.api#documentation": "<p>The invocation endpoint for ModelInvocationJob</p>"
18909+
}
1886718910
}
1886818911
},
1886918912
"traits": {
@@ -18879,6 +18922,23 @@
1887918922
}
1888018923
}
1888118924
},
18925+
"com.amazonaws.bedrock#ModelInvocationType": {
18926+
"type": "enum",
18927+
"members": {
18928+
"InvokeModel": {
18929+
"target": "smithy.api#Unit",
18930+
"traits": {
18931+
"smithy.api#enumValue": "InvokeModel"
18932+
}
18933+
},
18934+
"Converse": {
18935+
"target": "smithy.api#Unit",
18936+
"traits": {
18937+
"smithy.api#enumValue": "Converse"
18938+
}
18939+
}
18940+
}
18941+
},
1888218942
"com.amazonaws.bedrock#ModelModality": {
1888318943
"type": "enum",
1888418944
"members": {

0 commit comments

Comments
 (0)