Skip to content

Commit 896f0f7

Browse files
feat: update AWS API models
1 parent c0f0d94 commit 896f0f7

File tree

7 files changed

+314
-26
lines changed

7 files changed

+314
-26
lines changed

codegen/sdk/aws-models/billingconductor.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,6 +1826,12 @@
18261826
"smithy.api#documentation": "<p>\n A <code>CustomLineItemChargeDetails</code> that describes the charge details for a custom line item.\n </p>",
18271827
"smithy.api#required": {}
18281828
}
1829+
},
1830+
"AccountId": {
1831+
"target": "com.amazonaws.billingconductor#AccountId",
1832+
"traits": {
1833+
"smithy.api#documentation": "<p>The Amazon Web Services account in which this custom line item will be applied to.</p>"
1834+
}
18291835
}
18301836
},
18311837
"traits": {
@@ -2388,6 +2394,12 @@
23882394
"smithy.api#default": 0,
23892395
"smithy.api#documentation": "<p>The number of resources that are associated to the custom line item.</p>"
23902396
}
2397+
},
2398+
"AccountId": {
2399+
"target": "com.amazonaws.billingconductor#AccountId",
2400+
"traits": {
2401+
"smithy.api#documentation": "<p>The Amazon Web Services account in which this custom line item will be applied to.</p>"
2402+
}
23912403
}
23922404
},
23932405
"traits": {
@@ -2573,6 +2585,12 @@
25732585
"smithy.api#default": 0,
25742586
"smithy.api#documentation": "<p>\n The inclusive start time.\n </p>"
25752587
}
2588+
},
2589+
"AccountId": {
2590+
"target": "com.amazonaws.billingconductor#AccountId",
2591+
"traits": {
2592+
"smithy.api#documentation": "<p>The Amazon Web Services account in which this custom line item will be applied to.</p>"
2593+
}
25762594
}
25772595
},
25782596
"traits": {
@@ -3676,6 +3694,12 @@
36763694
"traits": {
36773695
"smithy.api#documentation": "<p>A list of custom line item ARNs to retrieve information.</p>"
36783696
}
3697+
},
3698+
"AccountIds": {
3699+
"target": "com.amazonaws.billingconductor#AccountIdList",
3700+
"traits": {
3701+
"smithy.api#documentation": "<p>The Amazon Web Services accounts in which this custom line item will be applied to.</p>"
3702+
}
36793703
}
36803704
},
36813705
"traits": {
@@ -6156,6 +6180,10 @@
61566180
{
61576181
"value": "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP",
61586182
"name": "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP"
6183+
},
6184+
{
6185+
"value": "ILLEGAL_ACCOUNT_ID",
6186+
"name": "ILLEGAL_ACCOUNT_ID"
61596187
}
61606188
]
61616189
}

codegen/sdk/aws-models/braket.json

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,45 @@
3434
"smithy.api#documentation": "<p>Defines the Amazon Braket job to be created. Specifies the container image the job uses\n and the paths to the Python scripts used for entry and training.</p>"
3535
}
3636
},
37+
"com.amazonaws.braket#Association": {
38+
"type": "structure",
39+
"members": {
40+
"arn": {
41+
"target": "com.amazonaws.braket#BraketResourceArn",
42+
"traits": {
43+
"smithy.api#documentation": "<p>The Amazon Braket resource arn.</p>",
44+
"smithy.api#required": {}
45+
}
46+
},
47+
"type": {
48+
"target": "com.amazonaws.braket#AssociationType",
49+
"traits": {
50+
"smithy.api#documentation": "<p>The association type for the specified Amazon Braket resource arn.</p>",
51+
"smithy.api#required": {}
52+
}
53+
}
54+
},
55+
"traits": {
56+
"smithy.api#documentation": "<p>The Amazon Braket resource and the association type.</p>"
57+
}
58+
},
59+
"com.amazonaws.braket#AssociationType": {
60+
"type": "string",
61+
"traits": {
62+
"smithy.api#enum": [
63+
{
64+
"value": "RESERVATION_TIME_WINDOW_ARN",
65+
"name": "RESERVATION_TIME_WINDOW_ARN"
66+
}
67+
]
68+
}
69+
},
70+
"com.amazonaws.braket#Associations": {
71+
"type": "list",
72+
"member": {
73+
"target": "com.amazonaws.braket#Association"
74+
}
75+
},
3776
"com.amazonaws.braket#Braket": {
3877
"type": "service",
3978
"version": "2019-09-01",
@@ -758,6 +797,12 @@
758797
}
759798
}
760799
},
800+
"com.amazonaws.braket#BraketResourceArn": {
801+
"type": "string",
802+
"traits": {
803+
"smithy.api#pattern": "^arn:aws[a-z\\-]*:braket:[a-z0-9\\-]*:[0-9]{12}:.*$"
804+
}
805+
},
761806
"com.amazonaws.braket#CancelJob": {
762807
"type": "operation",
763808
"input": {
@@ -1093,6 +1138,16 @@
10931138
"traits": {
10941139
"smithy.api#documentation": "<p>A tag object that consists of a key and an optional value, used to manage metadata for\n Amazon Braket resources.</p>"
10951140
}
1141+
},
1142+
"associations": {
1143+
"target": "com.amazonaws.braket#Associations",
1144+
"traits": {
1145+
"smithy.api#documentation": "<p>The list of Amazon Braket resources associated with the hybrid job.</p>",
1146+
"smithy.api#length": {
1147+
"min": 0,
1148+
"max": 1
1149+
}
1150+
}
10961151
}
10971152
}
10981153
},
@@ -1226,6 +1281,16 @@
12261281
"traits": {
12271282
"smithy.api#documentation": "<p>The token for an Amazon Braket job that associates it with the quantum task.</p>"
12281283
}
1284+
},
1285+
"associations": {
1286+
"target": "com.amazonaws.braket#Associations",
1287+
"traits": {
1288+
"smithy.api#documentation": "<p>The list of Amazon Braket resources associated with the quantum task.</p>",
1289+
"smithy.api#length": {
1290+
"min": 0,
1291+
"max": 1
1292+
}
1293+
}
12291294
}
12301295
}
12311296
},
@@ -1739,6 +1804,12 @@
17391804
"traits": {
17401805
"smithy.api#documentation": "<p>Queue information for the requested job. Only returned if \n <code>QueueInfo</code> is specified in the <code>additionalAttributeNames\"</code>\n field in the <code>GetJob</code> API request.</p>"
17411806
}
1807+
},
1808+
"associations": {
1809+
"target": "com.amazonaws.braket#Associations",
1810+
"traits": {
1811+
"smithy.api#documentation": "<p>The list of Amazon Braket resources associated with the hybrid job.</p>"
1812+
}
17421813
}
17431814
}
17441815
},
@@ -1782,7 +1853,7 @@
17821853
"quantumTaskArn": {
17831854
"target": "com.amazonaws.braket#QuantumTaskArn",
17841855
"traits": {
1785-
"smithy.api#documentation": "<p>the ARN of the task to retrieve.</p>",
1856+
"smithy.api#documentation": "<p>The ARN of the task to retrieve.</p>",
17861857
"smithy.api#httpLabel": {},
17871858
"smithy.api#required": {}
17881859
}
@@ -1886,6 +1957,12 @@
18861957
"traits": {
18871958
"smithy.api#documentation": "<p>Queue information for the requested quantum task. Only returned if \n <code>QueueInfo</code> is specified in the <code>additionalAttributeNames\"</code>\n field in the <code>GetQuantumTask</code> API request.</p>"
18881959
}
1960+
},
1961+
"associations": {
1962+
"target": "com.amazonaws.braket#Associations",
1963+
"traits": {
1964+
"smithy.api#documentation": "<p>The list of Amazon Braket resources associated with the quantum task.</p>"
1965+
}
18891966
}
18901967
}
18911968
},
@@ -1945,7 +2022,8 @@
19452022
"smithy.api#length": {
19462023
"min": 1,
19472024
"max": 2500
1948-
}
2025+
},
2026+
"smithy.api#pattern": "^.*$"
19492027
}
19502028
},
19512029
"traits": {
@@ -2243,7 +2321,7 @@
22432321
"timeOfEvent": {
22442322
"target": "smithy.api#Timestamp",
22452323
"traits": {
2246-
"smithy.api#documentation": "<p>TThe type of event that occurred related to the Amazon Braket job.</p>",
2324+
"smithy.api#documentation": "<p>The type of event that occurred related to the Amazon Braket job.</p>",
22472325
"smithy.api#timestampFormat": "date-time"
22482326
}
22492327
},

codegen/sdk/aws-models/cloud9.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,8 @@
11761176
"imageId": {
11771177
"target": "com.amazonaws.cloud9#ImageId",
11781178
"traits": {
1179-
"smithy.api#documentation": "<p>The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance.\n To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)\n path.</p>\n <p>From December 04, 2023, you will be required to include the <code>imageId</code> parameter\n for the <code>CreateEnvironmentEC2</code> action. This change will be reflected across all\n direct methods of communicating with the API, such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon Web Services\n CloudFormation. This change will only affect direct API consumers, and not Cloud9 console\n users.</p>\n <p>From January 22, 2024, Amazon Linux (AL1) will be removed from the list of available image\n IDs for Cloud9. This is necessary as AL1 will reach the end of maintenance support in December\n 2023, and as a result will no longer receive security updates. We recommend using Amazon Linux\n 2 as the AMI to create your environment as it is fully supported. This change will only affect\n direct API consumers, and not Cloud9 console users.</p>\n <p>Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.</p>\n <p>\n <b>AMI aliases </b>\n </p>\n <ul>\n <li>\n <p>Amazon Linux (default): <code>amazonlinux-1-x86_64</code>\n </p>\n </li>\n <li>\n <p>Amazon Linux 2: <code>amazonlinux-2-x86_64</code>\n </p>\n </li>\n <li>\n <p>Ubuntu 18.04: <code>ubuntu-18.04-x86_64</code>\n </p>\n </li>\n <li>\n <p>Ubuntu 22.04: <code>ubuntu-22.04-x86_64</code>\n </p>\n </li>\n </ul>\n <p>\n <b>SSM paths</b>\n </p>\n <ul>\n <li>\n <p>Amazon Linux (default):\n <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64</code>\n </p>\n </li>\n <li>\n <p>Amazon Linux 2:\n <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64</code>\n </p>\n </li>\n <li>\n <p>Ubuntu 18.04:\n <code>resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64</code>\n </p>\n </li>\n <li>\n <p>Ubuntu 22.04:\n <code>resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64</code>\n </p>\n </li>\n </ul>"
1179+
"smithy.api#documentation": "<p>The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance.\n To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)\n path.</p>\n <p>From December 04, 2023, you will be required to include the <code>imageId</code> parameter\n for the <code>CreateEnvironmentEC2</code> action. This change will be reflected across all\n direct methods of communicating with the API, such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon Web Services\n CloudFormation. This change will only affect direct API consumers, and not Cloud9 console\n users.</p>\n <p>From January 22, 2024, Amazon Linux (AL1) will be removed from the list of available image\n IDs for Cloud9. This is necessary as AL1 will reach the end of maintenance support in December\n 2023, and as a result will no longer receive security updates. We recommend using Amazon Linux\n 2 as the AMI to create your environment as it is fully supported. This change will only affect\n direct API consumers, and not Cloud9 console users.</p>\n <p>Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.</p>\n <p>\n <b>AMI aliases </b>\n </p>\n <ul>\n <li>\n <p>Amazon Linux:\n <code>amazonlinux-1-x86_64</code>\n </p>\n </li>\n <li>\n <p>Amazon Linux 2: <code>amazonlinux-2-x86_64</code>\n </p>\n </li>\n <li>\n <p>Ubuntu 18.04: <code>ubuntu-18.04-x86_64</code>\n </p>\n </li>\n <li>\n <p>Ubuntu 22.04: <code>ubuntu-22.04-x86_64</code>\n </p>\n </li>\n </ul>\n <p>\n <b>SSM paths</b>\n </p>\n <ul>\n <li>\n <p>Amazon Linux:\n <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64</code>\n </p>\n </li>\n <li>\n <p>Amazon Linux 2:\n <code>resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64</code>\n </p>\n </li>\n <li>\n <p>Ubuntu 18.04:\n <code>resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64</code>\n </p>\n </li>\n <li>\n <p>Ubuntu 22.04:\n <code>resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64</code>\n </p>\n </li>\n </ul>",
1180+
"smithy.api#required": {}
11801181
}
11811182
},
11821183
"automaticStopTimeMinutes": {
@@ -2099,7 +2100,7 @@
20992100
"min": 5,
21002101
"max": 20
21012102
},
2102-
"smithy.api#pattern": "^[a-z][1-9][.][a-z0-9]+$"
2103+
"smithy.api#pattern": "^[a-z]+[1-9][.][a-z0-9]+$"
21032104
}
21042105
},
21052106
"com.amazonaws.cloud9#Integer": {

codegen/sdk/aws-models/cloudformation.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4490,6 +4490,86 @@
44904490
}
44914491
}
44924492
},
4493+
{
4494+
"state": "success",
4495+
"matcher": {
4496+
"output": {
4497+
"path": "Stacks[].StackStatus",
4498+
"expected": "UPDATE_COMPLETE",
4499+
"comparator": "allStringEquals"
4500+
}
4501+
}
4502+
},
4503+
{
4504+
"state": "success",
4505+
"matcher": {
4506+
"output": {
4507+
"path": "Stacks[].StackStatus",
4508+
"expected": "UPDATE_IN_PROGRESS",
4509+
"comparator": "allStringEquals"
4510+
}
4511+
}
4512+
},
4513+
{
4514+
"state": "success",
4515+
"matcher": {
4516+
"output": {
4517+
"path": "Stacks[].StackStatus",
4518+
"expected": "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS",
4519+
"comparator": "allStringEquals"
4520+
}
4521+
}
4522+
},
4523+
{
4524+
"state": "success",
4525+
"matcher": {
4526+
"output": {
4527+
"path": "Stacks[].StackStatus",
4528+
"expected": "UPDATE_FAILED",
4529+
"comparator": "allStringEquals"
4530+
}
4531+
}
4532+
},
4533+
{
4534+
"state": "success",
4535+
"matcher": {
4536+
"output": {
4537+
"path": "Stacks[].StackStatus",
4538+
"expected": "UPDATE_ROLLBACK_IN_PROGRESS",
4539+
"comparator": "allStringEquals"
4540+
}
4541+
}
4542+
},
4543+
{
4544+
"state": "success",
4545+
"matcher": {
4546+
"output": {
4547+
"path": "Stacks[].StackStatus",
4548+
"expected": "UPDATE_ROLLBACK_FAILED",
4549+
"comparator": "allStringEquals"
4550+
}
4551+
}
4552+
},
4553+
{
4554+
"state": "success",
4555+
"matcher": {
4556+
"output": {
4557+
"path": "Stacks[].StackStatus",
4558+
"expected": "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS",
4559+
"comparator": "allStringEquals"
4560+
}
4561+
}
4562+
},
4563+
{
4564+
"state": "success",
4565+
"matcher": {
4566+
"output": {
4567+
"path": "Stacks[].StackStatus",
4568+
"expected": "UPDATE_ROLLBACK_COMPLETE",
4569+
"comparator": "allStringEquals"
4570+
}
4571+
}
4572+
},
44934573
{
44944574
"state": "failure",
44954575
"matcher": {

0 commit comments

Comments
 (0)