Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Mar 23, 2022
1 parent ba1c8cf commit 0573488
Show file tree
Hide file tree
Showing 67 changed files with 8,966 additions and 187 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ RubyGems.org page under "LINKS" section.
| FinSpace Public API | Aws::FinSpaceData | aws-sdk-finspacedata | 2020-07-13 |
| FinSpace User Environment Management service | Aws::Finspace | aws-sdk-finspace | 2021-03-12 |
| Firewall Management Service | Aws::FMS | aws-sdk-fms | 2018-01-01 |
| GameSparks | Aws::GameSparks | aws-sdk-gamesparks | 2021-08-17 |
| Inspector2 | Aws::Inspector2 | aws-sdk-inspector2 | 2020-06-08 |
| Managed Streaming for Kafka | Aws::Kafka | aws-sdk-kafka | 2018-11-14 |
| Managed Streaming for Kafka Connect | Aws::KafkaConnect | aws-sdk-kafkaconnect | 2021-09-14 |
Expand Down
4 changes: 2 additions & 2 deletions apis/auditmanager/2017-07-25/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3128,8 +3128,8 @@
"SnsArn":{
"type":"string",
"max":2048,
"min":20,
"pattern":"^arn:.*:sns:.*"
"min":4,
"pattern":"^arn:.*:sns:.*|NONE"
},
"SourceDescription":{
"type":"string",
Expand Down
12 changes: 7 additions & 5 deletions apis/ebs/2019-11-02/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
"members":{
"Message":{"shape":"ErrorMessage"}
},
"error":{"httpStatusCode":503},
"error":{"httpStatusCode":409},
"exception":true
},
"DataLength":{"type":"integer"},
Expand Down Expand Up @@ -506,7 +506,8 @@
"type":"string",
"enum":[
"ACCOUNT_THROTTLED",
"DEPENDENCY_REQUEST_THROTTLED"
"DEPENDENCY_REQUEST_THROTTLED",
"RESOURCE_LEVEL_THROTTLE"
]
},
"ResourceNotFoundException":{
Expand Down Expand Up @@ -600,7 +601,7 @@
"TagValue":{
"type":"string",
"max":255,
"pattern":"^[\\S\\s]+$"
"pattern":"^[\\S\\s]*$"
},
"Tags":{
"type":"list",
Expand All @@ -609,7 +610,7 @@
"TimeStamp":{"type":"timestamp"},
"Timeout":{
"type":"integer",
"max":60,
"max":4320,
"min":10
},
"ValidationException":{
Expand All @@ -634,7 +635,8 @@
"INVALID_TAG",
"INVALID_DEPENDENCY_REQUEST",
"INVALID_PARAMETER_VALUE",
"INVALID_VOLUME_SIZE"
"INVALID_VOLUME_SIZE",
"CONFLICTING_BLOCK_UPDATE"
]
},
"VolumeSize":{
Expand Down
14 changes: 7 additions & 7 deletions apis/ebs/2019-11-02/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"refs": {
"Block$BlockIndex": "<p>The block index.</p>",
"ChangedBlock$BlockIndex": "<p>The block index.</p>",
"GetSnapshotBlockRequest$BlockIndex": "<p>The block index of the block from which to get data.</p> <p>Obtain the <code>BlockIndex</code> by running the <code>ListChangedBlocks</code> or <code>ListSnapshotBlocks</code> operations.</p>",
"GetSnapshotBlockRequest$BlockIndex": "<p>The block index of the block in which to read the data. A block index is a logical index in units of <code>512</code> KiB blocks. To identify the block index, divide the logical offset of the data in the logical volume by the block size (logical offset of data/<code>524288</code>). The logical offset of the data must be <code>512</code> KiB aligned.</p>",
"ListChangedBlocksRequest$StartingBlockIndex": "<p>The block index from which the comparison should start.</p> <p>The list in the response will start from this block index or the next valid block index in the snapshots.</p> <p>If you specify <b>NextToken</b>, then <b>StartingBlockIndex</b> is ignored.</p>",
"ListSnapshotBlocksRequest$StartingBlockIndex": "<p>The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot.</p> <p>If you specify <b>NextToken</b>, then <b>StartingBlockIndex</b> is ignored.</p>",
"PutSnapshotBlockRequest$BlockIndex": "<p>The block index of the block in which to write the data. A block index is a logical index in units of <code>512</code> KiB blocks. To identify the block index, divide the logical offset of the data in the logical volume by the block size (logical offset of data/<code>524288</code>). The logical offset of the data must be <code>512</code> KiB aligned.</p>"
Expand All @@ -59,7 +59,7 @@
"Block$BlockToken": "<p>The block token for the block index.</p>",
"ChangedBlock$FirstBlockToken": "<p>The block token for the block index of the <code>FirstSnapshotId</code> specified in the <code>ListChangedBlocks</code> operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.</p>",
"ChangedBlock$SecondBlockToken": "<p>The block token for the block index of the <code>SecondSnapshotId</code> specified in the <code>ListChangedBlocks</code> operation.</p>",
"GetSnapshotBlockRequest$BlockToken": "<p>The block token of the block from which to get data.</p> <p>Obtain the <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or <code>ListSnapshotBlocks</code> operations.</p>"
"GetSnapshotBlockRequest$BlockToken": "<p>The block token of the block from which to get data. You can obtain the <code>BlockToken</code> by running the <code>ListChangedBlocks</code> or <code>ListSnapshotBlocks</code> operations.</p>"
}
},
"Blocks": {
Expand All @@ -71,7 +71,7 @@
"Boolean": {
"base": null,
"refs": {
"StartSnapshotRequest$Encrypted": "<p>Indicates whether to encrypt the snapshot. To create an encrypted snapshot, specify <code>true</code>. To create an unencrypted snapshot, omit this parameter.</p> <p>If you specify a value for <b>ParentSnapshotId</b>, omit this parameter.</p> <p>If you specify <code>true</code>, the snapshot is encrypted using the KMS key specified using the <b>KmsKeyArn</b> parameter. If no value is specified for <b>KmsKeyArn</b>, the default KMS key for your account is used. If no default KMS key has been specified for your account, the Amazon Web Services managed KMS key is used. To set a default KMS key for your account, use <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyEbsDefaultKmsKeyId.html\"> ModifyEbsDefaultKmsKeyId</a>.</p> <p>If your account is enabled for encryption by default, you cannot set this parameter to <code>false</code>. In this case, you can omit this parameter.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapis-using-encryption\"> Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
"StartSnapshotRequest$Encrypted": "<p>Indicates whether to encrypt the snapshot.</p> <p>You can't specify <b>Encrypted</b> and <b> ParentSnapshotId</b> in the same request. If you specify both parameters, the request fails with <code>ValidationException</code>.</p> <p>The encryption status of the snapshot depends on the values that you specify for <b>Encrypted</b>, <b>KmsKeyArn</b>, and <b>ParentSnapshotId</b>, and whether your Amazon Web Services account is enabled for <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default\"> encryption by default</a>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html\"> Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p> <important> <p>To create an encrypted snapshot, you must have permission to use the KMS key. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions\"> Permissions to use Key Management Service keys</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p> </important>"
}
},
"ChangedBlock": {
Expand Down Expand Up @@ -187,7 +187,7 @@
"KmsKeyArn": {
"base": null,
"refs": {
"StartSnapshotRequest$KmsKeyArn": "<p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to be used to encrypt the snapshot. If you do not specify a KMS key, the default Amazon Web Services managed KMS key is used.</p> <p>If you specify a <b>ParentSnapshotId</b>, omit this parameter; the snapshot will be encrypted using the same KMS key that was used to encrypt the parent snapshot.</p> <p>If <b>Encrypted</b> is set to <code>true</code>, you must specify a KMS key ARN. </p>",
"StartSnapshotRequest$KmsKeyArn": "<p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to be used to encrypt the snapshot.</p> <p>The encryption status of the snapshot depends on the values that you specify for <b>Encrypted</b>, <b>KmsKeyArn</b>, and <b>ParentSnapshotId</b>, and whether your Amazon Web Services account is enabled for <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default\"> encryption by default</a>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html\"> Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p> <important> <p>To create an encrypted snapshot, you must have permission to use the KMS key. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions\"> Permissions to use Key Management Service keys</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p> </important>",
"StartSnapshotResponse$KmsKeyArn": "<p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.</p>"
}
},
Expand Down Expand Up @@ -286,12 +286,12 @@
"base": null,
"refs": {
"CompleteSnapshotRequest$SnapshotId": "<p>The ID of the snapshot.</p>",
"GetSnapshotBlockRequest$SnapshotId": "<p>The ID of the snapshot containing the block from which to get data.</p>",
"GetSnapshotBlockRequest$SnapshotId": "<p>The ID of the snapshot containing the block from which to get data.</p> <important> <p>If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html\"> Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p> </important>",
"ListChangedBlocksRequest$FirstSnapshotId": "<p>The ID of the first snapshot to use for the comparison.</p> <important> <p>The <code>FirstSnapshotID</code> parameter must be specified with a <code>SecondSnapshotId</code> parameter; otherwise, an error occurs.</p> </important>",
"ListChangedBlocksRequest$SecondSnapshotId": "<p>The ID of the second snapshot to use for the comparison.</p> <important> <p>The <code>SecondSnapshotId</code> parameter must be specified with a <code>FirstSnapshotID</code> parameter; otherwise, an error occurs.</p> </important>",
"ListSnapshotBlocksRequest$SnapshotId": "<p>The ID of the snapshot from which to get block indexes and block tokens.</p>",
"PutSnapshotBlockRequest$SnapshotId": "<p>The ID of the snapshot.</p>",
"StartSnapshotRequest$ParentSnapshotId": "<p>The ID of the parent snapshot. If there is no parent snapshot, or if you are creating the first snapshot for an on-premises volume, omit this parameter.</p> <p>If your account is enabled for encryption by default, you cannot use an unencrypted snapshot as a parent snapshot. You must first create an encrypted copy of the parent snapshot using <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopySnapshot.html\">CopySnapshot</a>.</p>",
"PutSnapshotBlockRequest$SnapshotId": "<p>The ID of the snapshot.</p> <important> <p>If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html\"> Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>..</p> </important>",
"StartSnapshotRequest$ParentSnapshotId": "<p>The ID of the parent snapshot. If there is no parent snapshot, or if you are creating the first snapshot for an on-premises volume, omit this parameter.</p> <p>You can't specify <b>ParentSnapshotId</b> and <b>Encrypted</b> in the same request. If you specify both parameters, the request fails with <code>ValidationException</code>.</p> <p>The encryption status of the snapshot depends on the values that you specify for <b>Encrypted</b>, <b>KmsKeyArn</b>, and <b>ParentSnapshotId</b>, and whether your Amazon Web Services account is enabled for <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default\"> encryption by default</a>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html\"> Using encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p> <important> <p>If you specify an encrypted parent snapshot, you must have permission to use the KMS key that was used to encrypt the parent snapshot. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions\"> Permissions to use Key Management Service keys</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p> </important>",
"StartSnapshotResponse$SnapshotId": "<p>The ID of the snapshot.</p>",
"StartSnapshotResponse$ParentSnapshotId": "<p>The ID of the parent snapshot.</p>"
}
Expand Down
Loading

0 comments on commit 0573488

Please sign in to comment.