diff --git a/codegen/sdk-codegen/aws-models/direct-connect.json b/codegen/sdk-codegen/aws-models/direct-connect.json index 62a44e16034..20932898b8e 100644 --- a/codegen/sdk-codegen/aws-models/direct-connect.json +++ b/codegen/sdk-codegen/aws-models/direct-connect.json @@ -658,6 +658,32 @@ "smithy.api#input": {} } }, + "com.amazonaws.directconnect#AssociatedCoreNetwork": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.directconnect#CoreNetworkIdentifier", + "traits": { + "smithy.api#documentation": "
The ID of the Cloud WAN core network.
" + } + }, + "ownerAccount": { + "target": "com.amazonaws.directconnect#OwnerAccount", + "traits": { + "smithy.api#documentation": "The account owner of the Cloud WAN core network.
" + } + }, + "attachmentId": { + "target": "com.amazonaws.directconnect#CoreNetworkAttachmentId", + "traits": { + "smithy.api#documentation": "the ID of the Direct Connect attachment
" + } + } + }, + "traits": { + "smithy.api#documentation": "The Amazon Web Services Cloud WAN core network that the Direct Connect attachment is associated with.
" + } + }, "com.amazonaws.directconnect#AssociatedGateway": { "type": "structure", "members": { @@ -1366,6 +1392,26 @@ } } }, + "com.amazonaws.directconnect#CoreNetworkAttachmentId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 12, + "max": 28 + }, + "smithy.api#pattern": "^attachment-([0-9a-f]{1,17})$" + } + }, + "com.amazonaws.directconnect#CoreNetworkIdentifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 14, + "max": 30 + }, + "smithy.api#pattern": "^core-network-([0-9a-f]{1,17})$" + } + }, "com.amazonaws.directconnect#Count": { "type": "integer", "traits": { @@ -3456,6 +3502,12 @@ "smithy.api#documentation": "The Amazon VPC prefixes to advertise to the Direct Connect gateway.
" } }, + "associatedCoreNetwork": { + "target": "com.amazonaws.directconnect#AssociatedCoreNetwork", + "traits": { + "smithy.api#documentation": "The ID of the Cloud WAN core network associated with the Direct Connect attachment.
" + } + }, "virtualGatewayId": { "target": "com.amazonaws.directconnect#VirtualGatewayId", "traits": { diff --git a/codegen/sdk-codegen/aws-models/networkmanager.json b/codegen/sdk-codegen/aws-models/networkmanager.json index 42f5b4a8174..8000d04bff4 100644 --- a/codegen/sdk-codegen/aws-models/networkmanager.json +++ b/codegen/sdk-codegen/aws-models/networkmanager.json @@ -582,7 +582,13 @@ "EdgeLocation": { "target": "com.amazonaws.networkmanager#ExternalRegionCode", "traits": { - "smithy.api#documentation": "The Region where the edge is located.
" + "smithy.api#documentation": "The Region where the edge is located. This is returned for all attachment types except a Direct Connect gateway attachment, which instead returns EdgeLocations
.
The edge locations that the Direct Connect gateway is associated with. This is returned only for Direct Connect gateway attachments. All other attachment types retrun EdgeLocation
.
Creates an Amazon Web Services Direct Connect gateway attachment
", + "smithy.api#http": { + "method": "POST", + "uri": "/direct-connect-gateway-attachments", + "code": 200 + } + } + }, + "com.amazonaws.networkmanager#CreateDirectConnectGatewayAttachmentRequest": { + "type": "structure", + "members": { + "CoreNetworkId": { + "target": "com.amazonaws.networkmanager#CoreNetworkId", + "traits": { + "smithy.api#documentation": "The ID of the Cloud WAN core network that the Direct Connect gateway attachment should be attached to.
", + "smithy.api#required": {} + } + }, + "DirectConnectGatewayArn": { + "target": "com.amazonaws.networkmanager#DirectConnectGatewayArn", + "traits": { + "smithy.api#documentation": "The ARN of the Direct Connect gateway attachment.
", + "smithy.api#required": {} + } + }, + "EdgeLocations": { + "target": "com.amazonaws.networkmanager#ExternalRegionCodeList", + "traits": { + "smithy.api#documentation": "One or more core network edge locations that the Direct Connect gateway attachment is associated with.
", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.networkmanager#TagList", + "traits": { + "smithy.api#documentation": "The key value tags to apply to the Direct Connect gateway attachment during creation.
" + } + }, + "ClientToken": { + "target": "com.amazonaws.networkmanager#ClientToken", + "traits": { + "smithy.api#documentation": "client token
", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.networkmanager#CreateDirectConnectGatewayAttachmentResponse": { + "type": "structure", + "members": { + "DirectConnectGatewayAttachment": { + "target": "com.amazonaws.networkmanager#DirectConnectGatewayAttachment", + "traits": { + "smithy.api#documentation": "Describes the details of a CreateDirectConnectGatewayAttachment
request.
The Direct Connect gateway attachment ARN.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Describes a Direct Connect gateway attachment.
" + } + }, "com.amazonaws.networkmanager#DisassociateConnectPeer": { "type": "operation", "input": { @@ -6140,6 +6290,70 @@ "smithy.api#output": {} } }, + "com.amazonaws.networkmanager#GetDirectConnectGatewayAttachment": { + "type": "operation", + "input": { + "target": "com.amazonaws.networkmanager#GetDirectConnectGatewayAttachmentRequest" + }, + "output": { + "target": "com.amazonaws.networkmanager#GetDirectConnectGatewayAttachmentResponse" + }, + "errors": [ + { + "target": "com.amazonaws.networkmanager#AccessDeniedException" + }, + { + "target": "com.amazonaws.networkmanager#InternalServerException" + }, + { + "target": "com.amazonaws.networkmanager#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.networkmanager#ThrottlingException" + }, + { + "target": "com.amazonaws.networkmanager#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Returns information about a specific Amazon Web Services Direct Connect gateway attachment.
", + "smithy.api#http": { + "method": "GET", + "uri": "/direct-connect-gateway-attachments/{AttachmentId}", + "code": 200 + } + } + }, + "com.amazonaws.networkmanager#GetDirectConnectGatewayAttachmentRequest": { + "type": "structure", + "members": { + "AttachmentId": { + "target": "com.amazonaws.networkmanager#AttachmentId", + "traits": { + "smithy.api#documentation": "The ID of the Direct Connect gateway attachment that you want to see details about.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.networkmanager#GetDirectConnectGatewayAttachmentResponse": { + "type": "structure", + "members": { + "DirectConnectGatewayAttachment": { + "target": "com.amazonaws.networkmanager#DirectConnectGatewayAttachment", + "traits": { + "smithy.api#documentation": "Shows details about the Direct Connect gateway attachment.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.networkmanager#GetLinkAssociations": { "type": "operation", "input": { @@ -8719,6 +8933,9 @@ { "target": "com.amazonaws.networkmanager#CreateDevice" }, + { + "target": "com.amazonaws.networkmanager#CreateDirectConnectGatewayAttachment" + }, { "target": "com.amazonaws.networkmanager#CreateGlobalNetwork" }, @@ -8824,6 +9041,9 @@ { "target": "com.amazonaws.networkmanager#GetDevices" }, + { + "target": "com.amazonaws.networkmanager#GetDirectConnectGatewayAttachment" + }, { "target": "com.amazonaws.networkmanager#GetLinkAssociations" }, @@ -8929,6 +9149,9 @@ { "target": "com.amazonaws.networkmanager#UpdateDevice" }, + { + "target": "com.amazonaws.networkmanager#UpdateDirectConnectGatewayAttachment" + }, { "target": "com.amazonaws.networkmanager#UpdateGlobalNetwork" }, @@ -12606,6 +12829,79 @@ "smithy.api#output": {} } }, + "com.amazonaws.networkmanager#UpdateDirectConnectGatewayAttachment": { + "type": "operation", + "input": { + "target": "com.amazonaws.networkmanager#UpdateDirectConnectGatewayAttachmentRequest" + }, + "output": { + "target": "com.amazonaws.networkmanager#UpdateDirectConnectGatewayAttachmentResponse" + }, + "errors": [ + { + "target": "com.amazonaws.networkmanager#AccessDeniedException" + }, + { + "target": "com.amazonaws.networkmanager#ConflictException" + }, + { + "target": "com.amazonaws.networkmanager#InternalServerException" + }, + { + "target": "com.amazonaws.networkmanager#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.networkmanager#ThrottlingException" + }, + { + "target": "com.amazonaws.networkmanager#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the edge locations associated with an Amazon Web Services Direct Connect gateway attachment.
", + "smithy.api#http": { + "method": "PATCH", + "uri": "/direct-connect-gateway-attachments/{AttachmentId}", + "code": 200 + } + } + }, + "com.amazonaws.networkmanager#UpdateDirectConnectGatewayAttachmentRequest": { + "type": "structure", + "members": { + "AttachmentId": { + "target": "com.amazonaws.networkmanager#AttachmentId", + "traits": { + "smithy.api#documentation": "The ID of the Direct Connect gateway attachment for the updated edge locations.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "EdgeLocations": { + "target": "com.amazonaws.networkmanager#ExternalRegionCodeList", + "traits": { + "smithy.api#documentation": "One or more edge locations to update for the Direct Connect gateway attachment. The updated array of edge locations overwrites the previous array of locations. EdgeLocations
is only used for Direct Connect gateway attachments. Do
Returns details of the Direct Connect gateway attachment with the updated edge locations.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.networkmanager#UpdateGlobalNetwork": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/s3.json b/codegen/sdk-codegen/aws-models/s3.json index dbd1d52d435..307ac393f31 100644 --- a/codegen/sdk-codegen/aws-models/s3.json +++ b/codegen/sdk-codegen/aws-models/s3.json @@ -18559,6 +18559,13 @@ "smithy.api#httpHeader": "x-amz-expected-bucket-owner" } }, + "IfMatch": { + "target": "com.amazonaws.s3#IfMatch", + "traits": { + "smithy.api#documentation": "Uploads the object only if the ETag (entity tag) value provided during the WRITE\n operation matches the ETag of the object in S3. If the ETag values do not match, the\n operation returns a 412 Precondition Failed
error.
If a conflicting operation occurs during the upload S3 returns a 409\n ConditionalRequestConflict
response. On a 409 failure you should fetch the object's ETag, re-initiate the\n multipart upload with CreateMultipartUpload
, and re-upload each part.
Expects the ETag value as a string.
\nFor more information about conditional requests, see RFC 7232, or Conditional requests in the Amazon S3 User Guide.
", + "smithy.api#httpHeader": "If-Match" + } + }, "IfNoneMatch": { "target": "com.amazonaws.s3#IfNoneMatch", "traits": { @@ -31038,7 +31045,7 @@ "requestAlgorithmMember": "ChecksumAlgorithm", "requestChecksumRequired": true }, - "smithy.api#documentation": "This operation is not supported for directory buckets.
\nWhen you enable versioning on a bucket for the first time, it might take a short\n amount of time for the change to be fully propagated. We recommend that you wait for 15\n minutes after enabling versioning before issuing write operations (PUT
or\n DELETE
) on objects in the bucket.
Sets the versioning state of an existing bucket.
\nYou can set the versioning state with one of the following values:
\n\n Enabled—Enables versioning for the objects in the\n bucket. All objects added to the bucket receive a unique version ID.
\n\n Suspended—Disables versioning for the objects in the\n bucket. All objects added to the bucket receive the version ID null.
\nIf the versioning state has never been set on a bucket, it has no versioning state; a\n GetBucketVersioning request does not return a versioning state value.
\nIn order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner\n and want to enable MFA Delete in the bucket versioning configuration, you must include the\n x-amz-mfa request
header and the Status
and the\n MfaDelete
request elements in a request to set the versioning state of the\n bucket.
If you have an object expiration lifecycle configuration in your non-versioned bucket\n and you want to maintain the same permanent delete behavior when you enable versioning,\n you must add a noncurrent expiration policy. The noncurrent expiration lifecycle\n configuration will manage the deletes of the noncurrent object versions in the\n version-enabled bucket. (A version-enabled bucket maintains one current and zero or more\n noncurrent object versions.) For more information, see Lifecycle and Versioning.
\nThe following operations are related to PutBucketVersioning
:
\n CreateBucket\n
\n\n DeleteBucket\n
\n\n GetBucketVersioning\n
\nThis operation is not supported for directory buckets.
\nWhen you enable versioning on a bucket for the first time, it might take a short\n amount of time for the change to be fully propagated. While this change is propagating,\n you may encounter intermittent HTTP 404 NoSuchKey
errors for requests to\n objects created or updated after enabling versioning. We recommend that you wait for 15\n minutes after enabling versioning before issuing write operations (PUT
or\n DELETE
) on objects in the bucket.
Sets the versioning state of an existing bucket.
\nYou can set the versioning state with one of the following values:
\n\n Enabled—Enables versioning for the objects in the\n bucket. All objects added to the bucket receive a unique version ID.
\n\n Suspended—Disables versioning for the objects in the\n bucket. All objects added to the bucket receive the version ID null.
\nIf the versioning state has never been set on a bucket, it has no versioning state; a\n GetBucketVersioning request does not return a versioning state value.
\nIn order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner\n and want to enable MFA Delete in the bucket versioning configuration, you must include the\n x-amz-mfa request
header and the Status
and the\n MfaDelete
request elements in a request to set the versioning state of the\n bucket.
If you have an object expiration lifecycle configuration in your non-versioned bucket\n and you want to maintain the same permanent delete behavior when you enable versioning,\n you must add a noncurrent expiration policy. The noncurrent expiration lifecycle\n configuration will manage the deletes of the noncurrent object versions in the\n version-enabled bucket. (A version-enabled bucket maintains one current and zero or more\n noncurrent object versions.) For more information, see Lifecycle and Versioning.
\nThe following operations are related to PutBucketVersioning
:
\n CreateBucket\n
\n\n DeleteBucket\n
\n\n GetBucketVersioning\n
\nUploads the object only if the ETag (entity tag) value provided during the WRITE\n operation matches the ETag of the object in S3. If the ETag values do not match, the\n operation returns a 412 Precondition Failed
error.
If a conflicting operation occurs during the upload S3 returns a 409 ConditionalRequestConflict
response. On a 409 failure you should fetch the object's ETag and retry the upload.
Expects the ETag value as a string.
\nFor more information about conditional requests, see RFC 7232, or Conditional requests in the Amazon S3 User Guide.
", + "smithy.api#httpHeader": "If-Match" + } + }, "IfNoneMatch": { "target": "com.amazonaws.s3#IfNoneMatch", "traits": {