Skip to content

Commit eed8199

Browse files
feat: update AWS API models
1 parent eb34a87 commit eed8199

File tree

4 files changed

+794
-29
lines changed

4 files changed

+794
-29
lines changed

codegen/sdk/aws-models/ec2.json

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13759,7 +13759,7 @@
1375913759
"target": "com.amazonaws.ec2#Boolean",
1376013760
"traits": {
1376113761
"aws.protocols#ec2QueryName": "DisconnectOnSessionTimeout",
13762-
"smithy.api#documentation": "<p>Indicates whether the client VPN session is disconnected after the maximum <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>false</code>.</p>",
13762+
"smithy.api#documentation": "<p>Indicates whether the client VPN session is disconnected after the maximum <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>true</code>.</p>",
1376313763
"smithy.api#xmlName": "disconnectOnSessionTimeout"
1376413764
}
1376513765
}
@@ -15908,7 +15908,7 @@
1590815908
"DisconnectOnSessionTimeout": {
1590915909
"target": "com.amazonaws.ec2#Boolean",
1591015910
"traits": {
15911-
"smithy.api#documentation": "<p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>SessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. \n The default value is <code>false</code>.</p>"
15911+
"smithy.api#documentation": "<p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>SessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. \n The default value is <code>true</code>.</p>"
1591215912
}
1591315913
}
1591415914
},
@@ -19709,6 +19709,12 @@
1970919709
"traits": {
1971019710
"smithy.api#documentation": "<p>Indicates whether to automatically delete the original root volume after the root volume \n replacement task completes. To delete the original root volume, specify <code>true</code>. \n If you choose to keep the original root volume after the replacement task completes, you must \n manually delete it when you no longer need it.</p>"
1971119711
}
19712+
},
19713+
"VolumeInitializationRate": {
19714+
"target": "com.amazonaws.ec2#Long",
19715+
"traits": {
19716+
"smithy.api#documentation": "<p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download \n the snapshot blocks from Amazon S3 to the replacement root volume. This is also known as \n <i>volume initialization</i>. Specifying a volume initialization rate ensures that \n the volume is initialized at a predictable and consistent rate after creation.</p>\n <p>Omit this parameter if:</p>\n <ul>\n <li>\n <p>You want to create the volume using fast snapshot restore. You must specify a snapshot \n that is enabled for fast snapshot restore. In this case, the volume is fully initialized at \n creation.</p>\n <note>\n <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, \n the volume will be initialized at the specified rate instead of fast snapshot restore.</p>\n </note>\n </li>\n <li>\n <p>You want to create a volume that is initialized at the default rate.</p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html\">\n Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>\n <p>Valid range: 100 - 300 MiB/s</p>"
19717+
}
1971219718
}
1971319719
},
1971419720
"traits": {
@@ -23248,6 +23254,12 @@
2324823254
"smithy.api#idempotencyToken": {}
2324923255
}
2325023256
},
23257+
"VolumeInitializationRate": {
23258+
"target": "com.amazonaws.ec2#Integer",
23259+
"traits": {
23260+
"smithy.api#documentation": "<p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download \n the snapshot blocks from Amazon S3 to the volume. This is also known as <i>volume \n initialization</i>. Specifying a volume initialization rate ensures that the volume is \n initialized at a predictable and consistent rate after creation.</p>\n <p>This parameter is supported only for volumes created from snapshots. Omit this parameter \n if:</p>\n <ul>\n <li>\n <p>You want to create the volume using fast snapshot restore. You must specify a snapshot \n that is enabled for fast snapshot restore. In this case, the volume is fully initialized at \n creation.</p>\n <note>\n <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, \n the volume will be initialized at the specified rate instead of fast snapshot restore.</p>\n </note>\n </li>\n <li>\n <p>You want to create a volume that is initialized at the default rate.</p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html\">\n Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>\n <p>Valid range: 100 - 300 MiB/s</p>"
23261+
}
23262+
},
2325123263
"Operator": {
2325223264
"target": "com.amazonaws.ec2#OperatorRequest",
2325323265
"traits": {
@@ -49656,6 +49668,12 @@
4965649668
"smithy.api#documentation": "<p>Indicates whether the encryption state of an EBS volume is changed while being\n restored from a backing snapshot. The effect of setting the encryption state to <code>true</code> depends on \nthe volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html#encryption-parameters\">Amazon EBS encryption</a> in the <i>Amazon EBS User Guide</i>.</p>\n <p>In no case can you remove encryption from an encrypted volume.</p>\n <p>Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For\n more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances\">Supported instance types</a>.</p>\n <p>This parameter is not returned by <a>DescribeImageAttribute</a>.</p>\n <p>For <a>CreateImage</a> and <a>RegisterImage</a>, whether you can \n include this parameter, and the allowed values differ depending on the type of block \n device mapping you are creating.</p>\n <ul>\n <li>\n <p>If you are creating a block device mapping for a <b>new (empty) \n volume</b>, you can include this parameter, and specify either <code>true</code> \n for an encrypted volume, or <code>false</code> for an unencrypted volume. If you omit \n this parameter, it defaults to <code>false</code> (unencrypted).</p>\n </li>\n <li>\n <p>If you are creating a block device mapping from an <b>existing \n encrypted or unencrypted snapshot</b>, you must omit this parameter. If you \n include this parameter, the request will fail, regardless of the value that you \n specify.</p>\n </li>\n <li>\n <p>If you are creating a block device mapping from an <b>existing \n unencrypted volume</b>, you can include this parameter, but you must specify \n <code>false</code>. If you specify <code>true</code>, the request will fail. In this \n case, we recommend that you omit the parameter.</p>\n </li>\n <li>\n <p>If you are creating a block device mapping from an <b>existing \n encrypted volume</b>, you can include this parameter, and specify either \n <code>true</code> or <code>false</code>. However, if you specify <code>false</code>, \n the parameter is ignored and the block device mapping is always encrypted. In this \n case, we recommend that you omit the parameter.</p>\n </li>\n </ul>",
4965749669
"smithy.api#xmlName": "encrypted"
4965849670
}
49671+
},
49672+
"VolumeInitializationRate": {
49673+
"target": "com.amazonaws.ec2#Integer",
49674+
"traits": {
49675+
"smithy.api#documentation": "<p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download \n the snapshot blocks from Amazon S3 to the volume. This is also known as \n <i>volume initialization</i>. Specifying a volume initialization rate ensures that \n the volume is initialized at a predictable and consistent rate after creation.</p>\n <p>This parameter is supported only for volumes created from snapshots. Omit this parameter \n if:</p>\n <ul>\n <li>\n <p>You want to create the volume using fast snapshot restore. You must specify a snapshot \n that is enabled for fast snapshot restore. In this case, the volume is fully initialized at \n creation.</p>\n <note>\n <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, \n the volume will be initialized at the specified rate instead of fast snapshot restore.</p>\n </note>\n </li>\n <li>\n <p>You want to create a volume that is initialized at the default rate.</p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html\">\n Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>\n <p>This parameter is not supported when using <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html\">CreateImage</a>.</p>\n <p>Valid range: 100 - 300 MiB/s</p>"
49676+
}
4965949677
}
4966049678
},
4966149679
"traits": {
@@ -54797,7 +54815,7 @@
5479754815
}
5479854816
},
5479954817
"ImageId": {
54800-
"target": "com.amazonaws.ec2#ImageId",
54818+
"target": "com.amazonaws.ec2#String",
5480154819
"traits": {
5480254820
"smithy.api#documentation": "<p>The ID of the AMI in the format <code>ami-17characters00000</code>.</p>\n <p>Alternatively, you can specify a Systems Manager parameter, using one of the following\n formats. The Systems Manager parameter will resolve to an AMI ID on launch.</p>\n <p>To reference a public parameter:</p>\n <ul>\n <li>\n <p>\n <code>resolve:ssm:<i>public-parameter</i>\n </code>\n </p>\n </li>\n </ul>\n <p>To reference a parameter stored in the same account:</p>\n <ul>\n <li>\n <p>\n <code>resolve:ssm:<i>parameter-name</i>\n </code>\n </p>\n </li>\n <li>\n <p>\n <code>resolve:ssm:<i>parameter-name:version-number</i>\n </code>\n </p>\n </li>\n <li>\n <p>\n <code>resolve:ssm:<i>parameter-name:label</i>\n </code>\n </p>\n </li>\n </ul>\n <p>To reference a parameter shared from another Amazon Web Services account:</p>\n <ul>\n <li>\n <p>\n <code>resolve:ssm:<i>parameter-ARN</i>\n </code>\n </p>\n </li>\n <li>\n <p>\n <code>resolve:ssm:<i>parameter-ARN:version-number</i>\n </code>\n </p>\n </li>\n <li>\n <p>\n <code>resolve:ssm:<i>parameter-ARN:label</i>\n </code>\n </p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id\">Use a Systems Manager parameter instead of an AMI ID</a> in the\n <i>Amazon EC2 User Guide</i>.</p>\n <note>\n <p>This parameter is only available for fleets of type <code>instant</code>. For fleets\n of type <code>maintain</code> and <code>request</code>, you must specify the AMI ID in\n the launch template.</p>\n </note>"
5480354821
}
@@ -77156,6 +77174,14 @@
7715677174
"smithy.api#documentation": "<p>The throughput that the volume supports, in MiB/s.</p>",
7715777175
"smithy.api#xmlName": "throughput"
7715877176
}
77177+
},
77178+
"VolumeInitializationRate": {
77179+
"target": "com.amazonaws.ec2#Integer",
77180+
"traits": {
77181+
"aws.protocols#ec2QueryName": "VolumeInitializationRate",
77182+
"smithy.api#documentation": "<p>The Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate) specified for the volume, in MiB/s. \n If no volume initialization rate was specified, the value is <code>null</code>.</p>",
77183+
"smithy.api#xmlName": "volumeInitializationRate"
77184+
}
7715977185
}
7716077186
},
7716177187
"traits": {
@@ -77212,6 +77238,12 @@
7721277238
"traits": {
7721377239
"smithy.api#documentation": "<p>The throughput to provision for a <code>gp3</code> volume, with a maximum of 1,000\n MiB/s.</p>\n <p>Valid Range: Minimum value of 125. Maximum value of 1000.</p>"
7721477240
}
77241+
},
77242+
"VolumeInitializationRate": {
77243+
"target": "com.amazonaws.ec2#Integer",
77244+
"traits": {
77245+
"smithy.api#documentation": "<p>Specifies the Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate), in MiB/s, at which to download \n the snapshot blocks from Amazon S3 to the volume. This is also known as <i>volume \n initialization</i>. Specifying a volume initialization rate ensures that the volume is \n initialized at a predictable and consistent rate after creation.</p>\n <p>This parameter is supported only for volumes created from snapshots. Omit this parameter \n if:</p>\n <ul>\n <li>\n <p>You want to create the volume using fast snapshot restore. You must specify a snapshot \n that is enabled for fast snapshot restore. In this case, the volume is fully initialized \n at creation.</p>\n <note>\n <p>If you specify a snapshot that is enabled for fast snapshot restore and a volume initialization rate, \n the volume will be initialized at the specified rate instead of fast snapshot restore.</p>\n </note>\n </li>\n <li>\n <p>You want to create a volume that is initialized at the default rate.</p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html\">\n Initialize Amazon EBS volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>\n <p>Valid range: 100 - 300 MiB/s</p>"
77246+
}
7721577247
}
7721677248
},
7721777249
"traits": {
@@ -81318,7 +81350,7 @@
8131881350
"DisconnectOnSessionTimeout": {
8131981351
"target": "com.amazonaws.ec2#Boolean",
8132081352
"traits": {
81321-
"smithy.api#documentation": "<p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>false</code>.</p>"
81353+
"smithy.api#documentation": "<p>Indicates whether the client VPN session is disconnected after the maximum timeout specified in <code>sessionTimeoutHours</code> is reached. If <code>true</code>, users are prompted to reconnect client VPN. If <code>false</code>, client VPN attempts to reconnect automatically. The default value is <code>true</code>.</p>"
8132281354
}
8132381355
}
8132481356
},
@@ -115420,6 +115452,14 @@
115420115452
"smithy.api#xmlName": "operator"
115421115453
}
115422115454
},
115455+
"VolumeInitializationRate": {
115456+
"target": "com.amazonaws.ec2#Integer",
115457+
"traits": {
115458+
"aws.protocols#ec2QueryName": "VolumeInitializationRate",
115459+
"smithy.api#documentation": "<p>The Amazon EBS Provisioned Rate for Volume Initialization (volume initialization rate) specified for the volume during creation, \n in MiB/s. If no volume initialization rate was specified, the value is <code>null</code>.</p>",
115460+
"smithy.api#xmlName": "volumeInitializationRate"
115461+
}
115462+
},
115423115463
"VolumeId": {
115424115464
"target": "com.amazonaws.ec2#String",
115425115465
"traits": {

codegen/sdk/aws-models/service-catalog.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3410,6 +3410,9 @@
34103410
"target": "com.amazonaws.servicecatalog#DeleteServiceActionOutput"
34113411
},
34123412
"errors": [
3413+
{
3414+
"target": "com.amazonaws.servicecatalog#InvalidParametersException"
3415+
},
34133416
{
34143417
"target": "com.amazonaws.servicecatalog#ResourceInUseException"
34153418
},
@@ -4949,6 +4952,9 @@
49494952
"target": "com.amazonaws.servicecatalog#DisassociateServiceActionFromProvisioningArtifactOutput"
49504953
},
49514954
"errors": [
4955+
{
4956+
"target": "com.amazonaws.servicecatalog#InvalidParametersException"
4957+
},
49524958
{
49534959
"target": "com.amazonaws.servicecatalog#ResourceNotFoundException"
49544960
}

0 commit comments

Comments
 (0)