From 11faec02146b7c3305099eda2f9bc8d26570781e Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 21 Mar 2023 11:22:32 -0700 Subject: [PATCH] Release v1.44.226 (2023-03-21) (#4768) Release v1.44.226 (2023-03-21) === ### Service Client Updates * `service/chime-sdk-messaging`: Updates service API and documentation * `service/cleanrooms`: Updates service API and documentation * `service/ec2`: Updates service API and documentation * This release adds support for AWS Network Firewall, AWS PrivateLink, and Gateway Load Balancers to Amazon VPC Reachability Analyzer, and it makes the path destination optional as long as a destination address in the filter at source is provided. * `service/iotsitewise`: Updates service API and documentation * `service/mgn`: Updates service API, documentation, and paginators --- CHANGELOG.md | 11 + aws/endpoints/defaults.go | 121 + aws/version.go | 2 +- .../chime-sdk-messaging/2021-05-15/api-2.json | 128 + .../2021-05-15/docs-2.json | 52 + .../2021-05-15/endpoint-rule-set-1.json | 401 +- .../2021-05-15/endpoint-tests-1.json | 200 +- models/apis/cleanrooms/2022-02-17/api-2.json | 152 +- models/apis/cleanrooms/2022-02-17/docs-2.json | 77 +- .../2022-02-17/endpoint-rule-set-1.json | 398 +- models/apis/ec2/2016-11-15/api-2.json | 276 +- models/apis/ec2/2016-11-15/docs-2.json | 182 +- .../apis/ec2/2016-11-15/endpoint-tests-1.json | 204 +- models/apis/iotsitewise/2019-12-02/api-2.json | 12 +- .../apis/iotsitewise/2019-12-02/docs-2.json | 4 +- .../2019-12-02/endpoint-rule-set-1.json | 399 +- .../2019-12-02/endpoint-tests-1.json | 556 +- models/apis/mgn/2020-02-26/api-2.json | 450 +- models/apis/mgn/2020-02-26/docs-2.json | 337 + .../mgn/2020-02-26/endpoint-rule-set-1.json | 399 +- .../apis/mgn/2020-02-26/endpoint-tests-1.json | 909 +- models/apis/mgn/2020-02-26/paginators-1.json | 24 + models/endpoints/endpoints.json | 98 +- service/chimesdkmessaging/api.go | 634 + .../chimesdkmessagingiface/interface.go | 12 + service/cleanrooms/api.go | 566 +- .../cleanrooms/cleanroomsiface/interface.go | 12 + service/cleanrooms/doc.go | 6 +- service/ec2/api.go | 765 +- service/iotsitewise/api.go | 30 +- service/mgn/api.go | 10331 ++++++++++------ service/mgn/mgniface/interface.go | 36 + 32 files changed, 11765 insertions(+), 6019 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff926f2e3a..809b35e074 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.44.226 (2023-03-21) +=== + +### Service Client Updates +* `service/chime-sdk-messaging`: Updates service API and documentation +* `service/cleanrooms`: Updates service API and documentation +* `service/ec2`: Updates service API and documentation + * This release adds support for AWS Network Firewall, AWS PrivateLink, and Gateway Load Balancers to Amazon VPC Reachability Analyzer, and it makes the path destination optional as long as a destination address in the filter at source is provided. +* `service/iotsitewise`: Updates service API and documentation +* `service/mgn`: Updates service API, documentation, and paginators + Release v1.44.225 (2023-03-20) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 458f0da378..b47790b185 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -25518,6 +25518,12 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "ssm-sap-fips.ca-central-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -25536,6 +25542,51 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "fips-ca-central-1", + }: endpoint{ + Hostname: "ssm-sap-fips.ca-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-central-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-east-1", + }: endpoint{ + Hostname: "ssm-sap-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-east-2", + }: endpoint{ + Hostname: "ssm-sap-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-1", + }: endpoint{ + Hostname: "ssm-sap-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-2", + }: endpoint{ + Hostname: "ssm-sap-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -25545,15 +25596,39 @@ var awsPartition = partition{ endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "ssm-sap-fips.us-east-1.amazonaws.com", + }, endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "ssm-sap-fips.us-east-2.amazonaws.com", + }, endpointKey{ Region: "us-west-1", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "ssm-sap-fips.us-west-1.amazonaws.com", + }, endpointKey{ Region: "us-west-2", }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "ssm-sap-fips.us-west-2.amazonaws.com", + }, }, }, "sso": service{ @@ -30293,6 +30368,16 @@ var awscnPartition = partition{ }, }, }, + "oam": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "cn-north-1", + }: endpoint{}, + endpointKey{ + Region: "cn-northwest-1", + }: endpoint{}, + }, + }, "organizations": service{ PartitionEndpoint: "aws-cn-global", IsRegionalized: boxedFalse, @@ -31766,6 +31851,24 @@ var awsusgovPartition = partition{ Region: "us-gov-east-1", }, }, + endpointKey{ + Region: "us-gov-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "cassandra.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + }, + endpointKey{ + Region: "us-gov-east-1-fips", + }: endpoint{ + Hostname: "cassandra.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "us-gov-west-1", }: endpoint{ @@ -31774,6 +31877,24 @@ var awsusgovPartition = partition{ Region: "us-gov-west-1", }, }, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "cassandra.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, + endpointKey{ + Region: "us-gov-west-1-fips", + }: endpoint{ + Hostname: "cassandra.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + Deprecated: boxedTrue, + }, }, }, "cloudcontrolapi": service{ diff --git a/aws/version.go b/aws/version.go index 5e4ad9f80c..490bb499e1 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.225" +const SDKVersion = "1.44.226" diff --git a/models/apis/chime-sdk-messaging/2021-05-15/api-2.json b/models/apis/chime-sdk-messaging/2021-05-15/api-2.json index b78564f1aa..a69ee31f2a 100644 --- a/models/apis/chime-sdk-messaging/2021-05-15/api-2.json +++ b/models/apis/chime-sdk-messaging/2021-05-15/api-2.json @@ -274,6 +274,22 @@ {"shape":"ServiceFailureException"} ] }, + "DeleteMessagingStreamingConfigurations":{ + "name":"DeleteMessagingStreamingConfigurations", + "http":{ + "method":"DELETE", + "requestUri":"/app-instances/{appInstanceArn}/streaming-configurations", + "responseCode":204 + }, + "input":{"shape":"DeleteMessagingStreamingConfigurationsRequest"}, + "errors":[ + {"shape":"ForbiddenException"}, + {"shape":"UnauthorizedClientException"}, + {"shape":"ThrottledClientException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ServiceFailureException"} + ] + }, "DescribeChannel":{ "name":"DescribeChannel", "http":{ @@ -494,6 +510,25 @@ {"shape":"ServiceFailureException"} ] }, + "GetMessagingStreamingConfigurations":{ + "name":"GetMessagingStreamingConfigurations", + "http":{ + "method":"GET", + "requestUri":"/app-instances/{appInstanceArn}/streaming-configurations", + "responseCode":200 + }, + "input":{"shape":"GetMessagingStreamingConfigurationsRequest"}, + "output":{"shape":"GetMessagingStreamingConfigurationsResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ForbiddenException"}, + {"shape":"NotFoundException"}, + {"shape":"UnauthorizedClientException"}, + {"shape":"ThrottledClientException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ServiceFailureException"} + ] + }, "ListChannelBans":{ "name":"ListChannelBans", "http":{ @@ -711,6 +746,26 @@ {"shape":"ServiceFailureException"} ] }, + "PutMessagingStreamingConfigurations":{ + "name":"PutMessagingStreamingConfigurations", + "http":{ + "method":"PUT", + "requestUri":"/app-instances/{appInstanceArn}/streaming-configurations", + "responseCode":200 + }, + "input":{"shape":"PutMessagingStreamingConfigurationsRequest"}, + "output":{"shape":"PutMessagingStreamingConfigurationsResponse"}, + "errors":[ + {"shape":"NotFoundException"}, + {"shape":"BadRequestException"}, + {"shape":"ForbiddenException"}, + {"shape":"UnauthorizedClientException"}, + {"shape":"ThrottledClientException"}, + {"shape":"ConflictException"}, + {"shape":"ServiceUnavailableException"}, + {"shape":"ServiceFailureException"} + ] + }, "RedactChannelMessage":{ "name":"RedactChannelMessage", "http":{ @@ -1611,6 +1666,17 @@ } } }, + "DeleteMessagingStreamingConfigurationsRequest":{ + "type":"structure", + "required":["AppInstanceArn"], + "members":{ + "AppInstanceArn":{ + "shape":"ChimeArn", + "location":"uri", + "locationName":"appInstanceArn" + } + } + }, "DescribeChannelBanRequest":{ "type":"structure", "required":[ @@ -2009,6 +2075,23 @@ "Endpoint":{"shape":"MessagingSessionEndpoint"} } }, + "GetMessagingStreamingConfigurationsRequest":{ + "type":"structure", + "required":["AppInstanceArn"], + "members":{ + "AppInstanceArn":{ + "shape":"ChimeArn", + "location":"uri", + "locationName":"appInstanceArn" + } + } + }, + "GetMessagingStreamingConfigurationsResponse":{ + "type":"structure", + "members":{ + "StreamingConfigurations":{"shape":"StreamingConfigurationList"} + } + }, "Identity":{ "type":"structure", "members":{ @@ -2488,6 +2571,13 @@ "min":1, "pattern":"[-_a-zA-Z0-9]*" }, + "MessagingDataType":{ + "type":"string", + "enum":[ + "Channel", + "ChannelMessage" + ] + }, "MessagingSessionEndpoint":{ "type":"structure", "members":{ @@ -2636,6 +2726,27 @@ "Preferences":{"shape":"ChannelMembershipPreferences"} } }, + "PutMessagingStreamingConfigurationsRequest":{ + "type":"structure", + "required":[ + "AppInstanceArn", + "StreamingConfigurations" + ], + "members":{ + "AppInstanceArn":{ + "shape":"ChimeArn", + "location":"uri", + "locationName":"appInstanceArn" + }, + "StreamingConfigurations":{"shape":"StreamingConfigurationList"} + } + }, + "PutMessagingStreamingConfigurationsResponse":{ + "type":"structure", + "members":{ + "StreamingConfigurations":{"shape":"StreamingConfigurationList"} + } + }, "RedactChannelMessageRequest":{ "type":"structure", "required":[ @@ -2833,6 +2944,23 @@ "min":0, "pattern":"[\\s\\S]*" }, + "StreamingConfiguration":{ + "type":"structure", + "required":[ + "DataType", + "ResourceArn" + ], + "members":{ + "DataType":{"shape":"MessagingDataType"}, + "ResourceArn":{"shape":"ChimeArn"} + } + }, + "StreamingConfigurationList":{ + "type":"list", + "member":{"shape":"StreamingConfiguration"}, + "max":2, + "min":1 + }, "String":{"type":"string"}, "SubChannelId":{ "type":"string", diff --git a/models/apis/chime-sdk-messaging/2021-05-15/docs-2.json b/models/apis/chime-sdk-messaging/2021-05-15/docs-2.json index aa7aca0855..c986de78fe 100644 --- a/models/apis/chime-sdk-messaging/2021-05-15/docs-2.json +++ b/models/apis/chime-sdk-messaging/2021-05-15/docs-2.json @@ -16,6 +16,7 @@ "DeleteChannelMembership": "

Removes a member from a channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

", "DeleteChannelMessage": "

Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately. A background process deletes any revisions created by UpdateChannelMessage.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

", "DeleteChannelModerator": "

Deletes a channel moderator.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

", + "DeleteMessagingStreamingConfigurations": "

Deletes the streaming configurations for an AppInstance. For more information, see Streaming messaging data in the Amazon Chime SDK Developer Guide.

", "DescribeChannel": "

Returns the full details of a channel in an Amazon Chime AppInstance.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

", "DescribeChannelBan": "

Returns the full details of a channel ban.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

", "DescribeChannelFlow": "

Returns the full details of a channel flow in an Amazon Chime AppInstance. This is a developer API.

", @@ -28,6 +29,7 @@ "GetChannelMessage": "

Gets the full details of a channel message.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

", "GetChannelMessageStatus": "

Gets message status for a specified messageId. Use this API to determine the intermediate status of messages going through channel flow processing. The API provides an alternative to retrieving message status if the event was not received because a client wasn't connected to a websocket.

Messages can have any one of these statuses.

SENT

Message processed successfully

PENDING

Ongoing processing

FAILED

Processing failed

DENIED

Messasge denied by the processor

", "GetMessagingSessionEndpoint": "

The details of the endpoint for the messaging session.

", + "GetMessagingStreamingConfigurations": "

Retrieves the data streaming configuration for an AppInstance. For more information, see Streaming messaging data in the Amazon Chime SDK Developer Guide.

", "ListChannelBans": "

Lists all the users banned from a particular channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

", "ListChannelFlows": "

Returns a paginated lists of all the channel flows created under a single Chime. This is a developer API.

", "ListChannelMemberships": "

Lists all channel memberships in a channel.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

If you want to list the channels to which a specific app instance user belongs, see the ListChannelMembershipsForAppInstanceUser API.

", @@ -40,6 +42,7 @@ "ListSubChannels": "

Lists all the SubChannels in an elastic channel when given a channel ID. Available only to the app instance admins and channel moderators of elastic channels.

", "ListTagsForResource": "

Lists the tags applied to an Amazon Chime SDK messaging resource.

", "PutChannelMembershipPreferences": "

Sets the membership preferences of an AppInstanceUser for the specified channel. The AppInstanceUser must be a member of the channel. Only the AppInstanceUser who owns the membership can set preferences. Users in the AppInstanceAdmin and channel moderator roles can't set preferences for other users. Banned users can't set membership preferences for the channel from which they are banned.

", + "PutMessagingStreamingConfigurations": "

Sets the data streaming configuration for an AppInstance. For more information, see Streaming messaging data in the Amazon Chime SDK Developer Guide.

", "RedactChannelMessage": "

Redacts message content, but not metadata. The message exists in the back end, but the action returns null content, and the state shows as redacted.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

", "SearchChannels": "

Allows ChimeBearer to search channels by channel members. AppInstanceUsers can search across the channels that they belong to. AppInstanceAdmins can search across all channels.

", "SendChannelMessage": "

Sends a message to a particular channel that the member is a part of.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

Also, STANDARD messages can contain 4KB of data and the 1KB of metadata. CONTROL messages can contain 30 bytes of data and no metadata.

", @@ -422,6 +425,7 @@ "DeleteChannelModeratorRequest$ChimeBearer": "

The AppInstanceUserArn of the user that makes the API call.

", "DeleteChannelRequest$ChannelArn": "

The ARN of the channel being deleted.

", "DeleteChannelRequest$ChimeBearer": "

The AppInstanceUserArn of the user that makes the API call.

", + "DeleteMessagingStreamingConfigurationsRequest$AppInstanceArn": "

The ARN of the streaming configurations being deleted.

", "DescribeChannelBanRequest$ChannelArn": "

The ARN of the channel from which the user is banned.

", "DescribeChannelBanRequest$MemberArn": "

The AppInstanceUserArn of the member being banned.

", "DescribeChannelBanRequest$ChimeBearer": "

The AppInstanceUserArn of the user that makes the API call.

", @@ -451,6 +455,7 @@ "GetChannelMessageRequest$ChimeBearer": "

The AppInstanceUserArn of the user that makes the API call.

", "GetChannelMessageStatusRequest$ChannelArn": "

The ARN of the channel

", "GetChannelMessageStatusRequest$ChimeBearer": "

The AppInstanceUserArn of the user making the API call.

", + "GetMessagingStreamingConfigurationsRequest$AppInstanceArn": "

The ARN of the streaming configurations.

", "Identity$Arn": "

The ARN in an Identity.

", "ListChannelBansRequest$ChannelArn": "

The ARN of the channel.

", "ListChannelBansRequest$ChimeBearer": "

The AppInstanceUserArn of the user that makes the API call.

", @@ -481,6 +486,7 @@ "PutChannelMembershipPreferencesRequest$MemberArn": "

The AppInstanceUserArn of the member setting the preferences.

", "PutChannelMembershipPreferencesRequest$ChimeBearer": "

The AppInstanceUserARN of the user making the API call.

", "PutChannelMembershipPreferencesResponse$ChannelArn": "

The ARN of the channel.

", + "PutMessagingStreamingConfigurationsRequest$AppInstanceArn": "

The ARN of the streaming configuration.

", "RedactChannelMessageRequest$ChannelArn": "

The ARN of the channel containing the messages that you want to redact.

", "RedactChannelMessageRequest$ChimeBearer": "

The AppInstanceUserArn of the user that makes the API call.

", "RedactChannelMessageResponse$ChannelArn": "

The ARN of the channel containing the messages that you want to redact.

", @@ -488,6 +494,7 @@ "SendChannelMessageRequest$ChannelArn": "

The ARN of the channel.

", "SendChannelMessageRequest$ChimeBearer": "

The AppInstanceUserArn of the user that makes the API call.

", "SendChannelMessageResponse$ChannelArn": "

The ARN of the channel.

", + "StreamingConfiguration$ResourceArn": "

The ARN of the resource in the configuration.

", "TagResourceRequest$ResourceARN": "

The resource ARN.

", "UntagResourceRequest$ResourceARN": "

The resource ARN.

", "UpdateChannelFlowRequest$ChannelFlowArn": "

The ARN of the channel flow.

", @@ -604,6 +611,11 @@ "refs": { } }, + "DeleteMessagingStreamingConfigurationsRequest": { + "base": null, + "refs": { + } + }, "DescribeChannelBanRequest": { "base": null, "refs": { @@ -758,6 +770,16 @@ "refs": { } }, + "GetMessagingStreamingConfigurationsRequest": { + "base": null, + "refs": { + } + }, + "GetMessagingStreamingConfigurationsResponse": { + "base": null, + "refs": { + } + }, "Identity": { "base": "

The details of a user.

", "refs": { @@ -999,6 +1021,12 @@ "UpdateChannelMessageResponse$MessageId": "

The ID string of the message being updated.

" } }, + "MessagingDataType": { + "base": null, + "refs": { + "StreamingConfiguration$DataType": "

The data type of the configuration.

" + } + }, "MessagingSessionEndpoint": { "base": "

The websocket endpoint used to connect to Amazon Chime SDK messaging.

", "refs": { @@ -1150,6 +1178,16 @@ "refs": { } }, + "PutMessagingStreamingConfigurationsRequest": { + "base": null, + "refs": { + } + }, + "PutMessagingStreamingConfigurationsResponse": { + "base": null, + "refs": { + } + }, "RedactChannelMessageRequest": { "base": null, "refs": { @@ -1249,6 +1287,20 @@ "ChannelMessageStatusStructure$Detail": "

Contains more details about the messasge status.

" } }, + "StreamingConfiguration": { + "base": "

The configuration for connecting a messaging stream to Amazon Kinesis.

", + "refs": { + "StreamingConfigurationList$member": null + } + }, + "StreamingConfigurationList": { + "base": null, + "refs": { + "GetMessagingStreamingConfigurationsResponse$StreamingConfigurations": "

The streaming settings.

", + "PutMessagingStreamingConfigurationsRequest$StreamingConfigurations": "

The streaming configurations.

", + "PutMessagingStreamingConfigurationsResponse$StreamingConfigurations": "

The requested streaming configurations.

" + } + }, "String": { "base": null, "refs": { diff --git a/models/apis/chime-sdk-messaging/2021-05-15/endpoint-rule-set-1.json b/models/apis/chime-sdk-messaging/2021-05-15/endpoint-rule-set-1.json index 26a18b06fd..998720ae9d 100644 --- a/models/apis/chime-sdk-messaging/2021-05-15/endpoint-rule-set-1.json +++ b/models/apis/chime-sdk-messaging/2021-05-15/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -32,13 +32,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -46,23 +45,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -71,67 +67,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -140,90 +111,215 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] }, - "supportsFIPS" + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] }, { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsDualStack" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsFIPS" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -231,7 +327,7 @@ { "conditions": [], "endpoint": { - "url": "https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -240,74 +336,13 @@ ] } ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "endpoint": { - "url": "https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } diff --git a/models/apis/chime-sdk-messaging/2021-05-15/endpoint-tests-1.json b/models/apis/chime-sdk-messaging/2021-05-15/endpoint-tests-1.json index 57f602352f..7c939f4554 100644 --- a/models/apis/chime-sdk-messaging/2021-05-15/endpoint-tests-1.json +++ b/models/apis/chime-sdk-messaging/2021-05-15/endpoint-tests-1.json @@ -1,111 +1,228 @@ { "testCases": [ { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://messaging-chime.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://messaging-chime-fips.eu-central-1.api.aws" + "url": "https://messaging-chime.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://messaging-chime-fips.us-east-1.amazonaws.com" } }, "params": { "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "UseDualStack": false, + "Region": "us-east-1" } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://messaging-chime-fips.eu-central-1.amazonaws.com" + "url": "https://messaging-chime-fips.us-east-1.api.aws" } }, "params": { "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "UseDualStack": true, + "Region": "us-east-1" } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://messaging-chime.eu-central-1.api.aws" + "url": "https://messaging-chime.us-east-1.api.aws" } }, "params": { "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-east-1" } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://messaging-chime.eu-central-1.amazonaws.com" + "url": "https://messaging-chime-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://messaging-chime-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://messaging-chime.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "UseDualStack": true, + "Region": "cn-north-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://messaging-chime-fips.us-east-1.api.aws" + "url": "https://messaging-chime.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "cn-north-1" + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://messaging-chime-fips.us-gov-east-1.api.aws" } }, "params": { "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://messaging-chime-fips.us-east-1.amazonaws.com" + "url": "https://messaging-chime-fips.us-gov-east-1.amazonaws.com" } }, "params": { "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://messaging-chime.us-east-1.api.aws" + "url": "https://messaging-chime.us-gov-east-1.api.aws" } }, "params": { "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://messaging-chime.us-east-1.amazonaws.com" + "url": "https://messaging-chime.us-gov-east-1.amazonaws.com" } }, "params": { "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://messaging-chime-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://messaging-chime.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "us-iso-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://messaging-chime-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://messaging-chime.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "us-isob-east-1" + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -113,7 +230,20 @@ }, "params": { "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -125,8 +255,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -137,8 +267,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/apis/cleanrooms/2022-02-17/api-2.json b/models/apis/cleanrooms/2022-02-17/api-2.json index 80711ea6a7..362f2777f6 100644 --- a/models/apis/cleanrooms/2022-02-17/api-2.json +++ b/models/apis/cleanrooms/2022-02-17/api-2.json @@ -396,6 +396,7 @@ "input":{"shape":"ListConfiguredTableAssociationsInput"}, "output":{"shape":"ListConfiguredTableAssociationsOutput"}, "errors":[ + {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, @@ -461,6 +462,7 @@ "input":{"shape":"ListProtectedQueriesInput"}, "output":{"shape":"ListProtectedQueriesOutput"}, "errors":[ + {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, @@ -484,6 +486,20 @@ {"shape":"AccessDeniedException"} ] }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"GET", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"ListTagsForResourceInput"}, + "output":{"shape":"ListTagsForResourceOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"} + ] + }, "StartProtectedQuery":{ "name":"StartProtectedQuery", "http":{ @@ -502,6 +518,34 @@ {"shape":"AccessDeniedException"} ] }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"TagResourceInput"}, + "output":{"shape":"TagResourceOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"} + ] + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"DELETE", + "requestUri":"/tags/{resourceArn}", + "responseCode":200 + }, + "input":{"shape":"UntagResourceInput"}, + "output":{"shape":"UntagResourceOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"} + ] + }, "UpdateCollaboration":{ "name":"UpdateCollaboration", "http":{ @@ -675,6 +719,7 @@ "AggregationConstraintMinimumInteger":{ "type":"integer", "box":true, + "max":100000, "min":2 }, "AggregationConstraints":{ @@ -689,7 +734,7 @@ "AllowedColumnList":{ "type":"list", "member":{"shape":"ColumnName"}, - "max":250, + "max":100, "min":1 }, "AnalysisMethod":{ @@ -839,6 +884,12 @@ "type":"boolean", "box":true }, + "CleanroomsArn":{ + "type":"string", + "max":100, + "min":0, + "pattern":"arn:aws:cleanrooms:[\\w]{2}-[\\w]{4,9}-[\\d]:[\\d]{12}:[\\d\\w/-]+" + }, "Collaboration":{ "type":"structure", "required":[ @@ -1169,7 +1220,8 @@ "creatorMemberAbilities":{"shape":"MemberAbilities"}, "creatorDisplayName":{"shape":"DisplayName"}, "dataEncryptionMetadata":{"shape":"DataEncryptionMetadata"}, - "queryLogStatus":{"shape":"CollaborationQueryLogStatus"} + "queryLogStatus":{"shape":"CollaborationQueryLogStatus"}, + "tags":{"shape":"TagMap"} } }, "CreateCollaborationOutput":{ @@ -1220,7 +1272,8 @@ "locationName":"membershipIdentifier" }, "configuredTableIdentifier":{"shape":"ConfiguredTableIdentifier"}, - "roleArn":{"shape":"RoleArn"} + "roleArn":{"shape":"RoleArn"}, + "tags":{"shape":"TagMap"} } }, "CreateConfiguredTableAssociationOutput":{ @@ -1243,7 +1296,8 @@ "description":{"shape":"TableDescription"}, "tableReference":{"shape":"TableReference"}, "allowedColumns":{"shape":"AllowedColumnList"}, - "analysisMethod":{"shape":"AnalysisMethod"} + "analysisMethod":{"shape":"AnalysisMethod"}, + "tags":{"shape":"TagMap"} } }, "CreateConfiguredTableOutput":{ @@ -1261,7 +1315,8 @@ ], "members":{ "collaborationIdentifier":{"shape":"CollaborationIdentifier"}, - "queryLogStatus":{"shape":"MembershipQueryLogStatus"} + "queryLogStatus":{"shape":"MembershipQueryLogStatus"}, + "tags":{"shape":"TagMap"} } }, "CreateMembershipOutput":{ @@ -1852,6 +1907,24 @@ "nextToken":{"shape":"PaginationToken"} } }, + "ListTagsForResourceInput":{ + "type":"structure", + "required":["resourceArn"], + "members":{ + "resourceArn":{ + "shape":"CleanroomsArn", + "location":"uri", + "locationName":"resourceArn" + } + } + }, + "ListTagsForResourceOutput":{ + "type":"structure", + "required":["tags"], + "members":{ + "tags":{"shape":"TagMap"} + } + }, "Long":{ "type":"long", "box":true @@ -2372,6 +2445,48 @@ }, "union":true }, + "TagKey":{ + "type":"string", + "max":128, + "min":1, + "pattern":"(?!aws:).{1,128}" + }, + "TagKeys":{ + "type":"list", + "member":{"shape":"TagKey"} + }, + "TagMap":{ + "type":"map", + "key":{"shape":"TagKey"}, + "value":{"shape":"TagValue"}, + "max":200, + "min":0 + }, + "TagResourceInput":{ + "type":"structure", + "required":[ + "resourceArn", + "tags" + ], + "members":{ + "resourceArn":{ + "shape":"CleanroomsArn", + "location":"uri", + "locationName":"resourceArn" + }, + "tags":{"shape":"TagMap"} + } + }, + "TagResourceOutput":{ + "type":"structure", + "members":{ + } + }, + "TagValue":{ + "type":"string", + "max":256, + "min":0 + }, "TargetProtectedQueryStatus":{ "type":"string", "enum":["CANCELLED"] @@ -2394,6 +2509,30 @@ "min":36, "pattern":".*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}.*" }, + "UntagResourceInput":{ + "type":"structure", + "required":[ + "resourceArn", + "tagKeys" + ], + "members":{ + "resourceArn":{ + "shape":"CleanroomsArn", + "location":"uri", + "locationName":"resourceArn" + }, + "tagKeys":{ + "shape":"TagKeys", + "location":"querystring", + "locationName":"tagKeys" + } + } + }, + "UntagResourceOutput":{ + "type":"structure", + "members":{ + } + }, "UpdateCollaborationInput":{ "type":"structure", "required":["collaborationIdentifier"], @@ -2569,7 +2708,8 @@ "type":"string", "enum":[ "FIELD_VALIDATION_FAILED", - "INVALID_CONFIGURATION" + "INVALID_CONFIGURATION", + "INVALID_QUERY" ] } } diff --git a/models/apis/cleanrooms/2022-02-17/docs-2.json b/models/apis/cleanrooms/2022-02-17/docs-2.json index ee89cb02a4..9e24cb4eda 100644 --- a/models/apis/cleanrooms/2022-02-17/docs-2.json +++ b/models/apis/cleanrooms/2022-02-17/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

AWS Clean Rooms is in preview release and is subject to change.

Welcome to the AWS Clean Rooms API Reference.

AWS Clean Rooms is an AWS service that helps multiple parties to join their data together in a secure collaboration workspace. In the collaboration, members who can query and receive results can get insights into the combined data without either party getting access to the other party's raw data.

To learn more about AWS Clean Rooms concepts, procedures, and best practices, see the AWS Clean Rooms User Guide.

", + "service": "

Welcome to the AWS Clean Rooms API Reference.

AWS Clean Rooms is an AWS service that helps multiple parties to join their data together in a secure collaboration workspace. In the collaboration, members who can query and receive results can get insights into the collective datasets without either party getting access to the other party's raw data.

To learn more about AWS Clean Rooms concepts, procedures, and best practices, see the AWS Clean Rooms User Guide.

", "operations": { "BatchGetSchema": "

Retrieves multiple schemas by their identifiers.

", "CreateCollaboration": "

Creates a new collaboration.

", @@ -29,7 +29,10 @@ "ListMemberships": "

Lists all memberships resources within the caller's account.

", "ListProtectedQueries": "

Lists protected queries, sorted by the most recent query.

", "ListSchemas": "

Lists the schemas for relations within a collaboration.

", + "ListTagsForResource": "

Lists all of the tags that have been added to a resource.

", "StartProtectedQuery": "

Creates a protected query that is started by AWS Clean Rooms.

", + "TagResource": "

Tags a resource.

", + "UntagResource": "

Removes a tag or list of tags from a resource.

", "UpdateCollaboration": "

Updates collaboration metadata and can only be called by the collaboration owner.

", "UpdateConfiguredTable": "

Updates a configured table.

", "UpdateConfiguredTableAnalysisRule": "

Updates a configured table analysis rule.

", @@ -229,6 +232,14 @@ "DataEncryptionMetadata$preserveNulls": "

Indicates whether NULL values are to be copied as NULL to encrypted tables (true) or cryptographically processed (false).

" } }, + "CleanroomsArn": { + "base": null, + "refs": { + "ListTagsForResourceInput$resourceArn": "

The Amazon Resource Name (ARN) associated with the resource you want to list tags on.

", + "TagResourceInput$resourceArn": "

The Amazon Resource Name (ARN) associated with the resource you want to tag.

", + "UntagResourceInput$resourceArn": "

The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.

" + } + }, "Collaboration": { "base": "

The multi-party data share environment. The collaboration contains metadata about its purpose and participants.

", "refs": { @@ -313,7 +324,7 @@ "base": null, "refs": { "Schema$columns": "

The columns for the relation this schema represents.

", - "Schema$partitionKeys": "

The partition keys for the data set underlying this schema.

" + "Schema$partitionKeys": "

The partition keys for the dataset underlying this schema.

" } }, "ColumnName": { @@ -783,6 +794,16 @@ "refs": { } }, + "ListTagsForResourceInput": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceOutput": { + "base": null, + "refs": { + } + }, "Long": { "base": null, "refs": { @@ -1187,12 +1208,52 @@ } }, "TableReference": { - "base": "

A pointer to the data set that underlies this table. Currently, this can only be an AWS Glue table.

", + "base": "

A pointer to the dataset that underlies this table. Currently, this can only be an AWS Glue table.

", "refs": { "ConfiguredTable$tableReference": "

The AWS Glue table that this configured table represents.

", "CreateConfiguredTableInput$tableReference": "

A reference to the AWS Glue table being configured.

" } }, + "TagKey": { + "base": null, + "refs": { + "TagKeys$member": null, + "TagMap$key": null + } + }, + "TagKeys": { + "base": null, + "refs": { + "UntagResourceInput$tagKeys": "

A list of key names of tags to be removed.

" + } + }, + "TagMap": { + "base": "

Map of tags assigned to a resource

", + "refs": { + "CreateCollaborationInput$tags": "

An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.

", + "CreateConfiguredTableAssociationInput$tags": "

An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.

", + "CreateConfiguredTableInput$tags": "

An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.

", + "CreateMembershipInput$tags": "

An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.

", + "ListTagsForResourceOutput$tags": "

A map of objects specifying each key name and value.

", + "TagResourceInput$tags": "

A map of objects specifying each key name and value.

" + } + }, + "TagResourceInput": { + "base": null, + "refs": { + } + }, + "TagResourceOutput": { + "base": null, + "refs": { + } + }, + "TagValue": { + "base": null, + "refs": { + "TagMap$value": null + } + }, "TargetProtectedQueryStatus": { "base": null, "refs": { @@ -1263,6 +1324,16 @@ "SchemaSummary$collaborationId": "

The unique ID for the collaboration that the schema belongs to.

" } }, + "UntagResourceInput": { + "base": null, + "refs": { + } + }, + "UntagResourceOutput": { + "base": null, + "refs": { + } + }, "UpdateCollaborationInput": { "base": null, "refs": { diff --git a/models/apis/cleanrooms/2022-02-17/endpoint-rule-set-1.json b/models/apis/cleanrooms/2022-02-17/endpoint-rule-set-1.json index 10a0cadea8..5ff0ca71b0 100644 --- a/models/apis/cleanrooms/2022-02-17/endpoint-rule-set-1.json +++ b/models/apis/cleanrooms/2022-02-17/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -32,13 +32,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -46,14 +45,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -62,67 +67,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -131,168 +111,238 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, + }, { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cleanrooms.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], - "endpoint": { - "url": "https://cleanrooms.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://cleanrooms.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "endpoint": { - "url": "https://cleanrooms.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index d7df0ec548..3e1a82cb2a 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -5716,6 +5716,30 @@ "Component":{ "shape":"AnalysisComponent", "locationName":"component" + }, + "VpcEndpointService":{ + "shape":"AnalysisComponent", + "locationName":"vpcEndpointService" + }, + "RuleOptions":{ + "shape":"RuleOptionList", + "locationName":"ruleOptionSet" + }, + "RuleGroupTypePairs":{ + "shape":"RuleGroupTypePairList", + "locationName":"ruleGroupTypePairSet" + }, + "RuleGroupRuleOptionsPairs":{ + "shape":"RuleGroupRuleOptionsPairList", + "locationName":"ruleGroupRuleOptionsPairSet" + }, + "ServiceName":{ + "shape":"String", + "locationName":"serviceName" + }, + "LoadBalancers":{ + "shape":"AnalysisComponentList", + "locationName":"loadBalancerSet" } } }, @@ -6308,6 +6332,18 @@ "State":{ "shape":"String", "locationName":"state" + }, + "CarrierGatewayId":{ + "shape":"String", + "locationName":"carrierGatewayId" + }, + "CoreNetworkArn":{ + "shape":"ResourceArn", + "locationName":"coreNetworkArn" + }, + "LocalGatewayId":{ + "shape":"String", + "locationName":"localGatewayId" } } }, @@ -10778,7 +10814,6 @@ "type":"structure", "required":[ "Source", - "Destination", "Protocol", "ClientToken" ], @@ -10797,7 +10832,9 @@ "ClientToken":{ "shape":"String", "idempotencyToken":true - } + }, + "FilterAtSource":{"shape":"PathRequestFilter"}, + "FilterAtDestination":{"shape":"PathRequestFilter"} } }, "CreateNetworkInsightsPathResult":{ @@ -19571,7 +19608,7 @@ "locationName":"format" }, "ImportManifestUrl":{ - "shape":"String", + "shape":"ImportManifestUrl", "locationName":"importManifestUrl" } } @@ -20845,6 +20882,14 @@ "ComponentRegion":{ "shape":"ComponentRegion", "locationName":"componentRegion" + }, + "FirewallStatelessRule":{ + "shape":"FirewallStatelessRule", + "locationName":"firewallStatelessRule" + }, + "FirewallStatefulRule":{ + "shape":"FirewallStatefulRule", + "locationName":"firewallStatefulRule" } } }, @@ -21318,6 +21363,19 @@ "locationName":"Filter" } }, + "FilterPortRange":{ + "type":"structure", + "members":{ + "FromPort":{ + "shape":"Port", + "locationName":"fromPort" + }, + "ToPort":{ + "shape":"Port", + "locationName":"toPort" + } + } + }, "FindingsFound":{ "type":"string", "enum":[ @@ -21326,6 +21384,80 @@ "unknown" ] }, + "FirewallStatefulRule":{ + "type":"structure", + "members":{ + "RuleGroupArn":{ + "shape":"ResourceArn", + "locationName":"ruleGroupArn" + }, + "Sources":{ + "shape":"ValueStringList", + "locationName":"sourceSet" + }, + "Destinations":{ + "shape":"ValueStringList", + "locationName":"destinationSet" + }, + "SourcePorts":{ + "shape":"PortRangeList", + "locationName":"sourcePortSet" + }, + "DestinationPorts":{ + "shape":"PortRangeList", + "locationName":"destinationPortSet" + }, + "Protocol":{ + "shape":"String", + "locationName":"protocol" + }, + "RuleAction":{ + "shape":"String", + "locationName":"ruleAction" + }, + "Direction":{ + "shape":"String", + "locationName":"direction" + } + } + }, + "FirewallStatelessRule":{ + "type":"structure", + "members":{ + "RuleGroupArn":{ + "shape":"ResourceArn", + "locationName":"ruleGroupArn" + }, + "Sources":{ + "shape":"ValueStringList", + "locationName":"sourceSet" + }, + "Destinations":{ + "shape":"ValueStringList", + "locationName":"destinationSet" + }, + "SourcePorts":{ + "shape":"PortRangeList", + "locationName":"sourcePortSet" + }, + "DestinationPorts":{ + "shape":"PortRangeList", + "locationName":"destinationPortSet" + }, + "Protocols":{ + "shape":"ProtocolIntList", + "locationName":"protocolSet" + }, + "RuleAction":{ + "shape":"String", + "locationName":"ruleAction" + }, + "Priority":{ + "shape":"Priority", + "locationName":"priority" + } + } + }, "FleetActivityStatus":{ "type":"string", "enum":[ @@ -24479,6 +24611,10 @@ } } }, + "ImportManifestUrl":{ + "type":"string", + "sensitive":true + }, "ImportSnapshotRequest":{ "type":"structure", "members":{ @@ -32605,6 +32741,14 @@ "Tags":{ "shape":"TagList", "locationName":"tagSet" + }, + "FilterAtSource":{ + "shape":"PathFilter", + "locationName":"filterAtSource" + }, + "FilterAtDestination":{ + "shape":"PathFilter", + "locationName":"filterAtDestination" } } }, @@ -33324,6 +33468,18 @@ "ElasticLoadBalancerListener":{ "shape":"AnalysisComponent", "locationName":"elasticLoadBalancerListener" + }, + "FirewallStatelessRule":{ + "shape":"FirewallStatelessRule", + "locationName":"firewallStatelessRule" + }, + "FirewallStatefulRule":{ + "shape":"FirewallStatefulRule", + "locationName":"firewallStatefulRule" + }, + "ServiceName":{ + "shape":"String", + "locationName":"serviceName" } } }, @@ -33334,6 +33490,36 @@ "locationName":"item" } }, + "PathFilter":{ + "type":"structure", + "members":{ + "SourceAddress":{ + "shape":"IpAddress", + "locationName":"sourceAddress" + }, + "SourcePortRange":{ + "shape":"FilterPortRange", + "locationName":"sourcePortRange" + }, + "DestinationAddress":{ + "shape":"IpAddress", + "locationName":"destinationAddress" + }, + "DestinationPortRange":{ + "shape":"FilterPortRange", + "locationName":"destinationPortRange" + } + } + }, + "PathRequestFilter":{ + "type":"structure", + "members":{ + "SourceAddress":{"shape":"IpAddress"}, + "SourcePortRange":{"shape":"RequestFilterPortRange"}, + "DestinationAddress":{"shape":"IpAddress"}, + "DestinationPortRange":{"shape":"RequestFilterPortRange"} + } + }, "PathStatement":{ "type":"structure", "members":{ @@ -34049,6 +34235,11 @@ "Role" ] }, + "Priority":{ + "type":"integer", + "max":65535, + "min":-1 + }, "PrivateDnsDetails":{ "type":"structure", "members":{ @@ -34242,6 +34433,18 @@ "udp" ] }, + "ProtocolInt":{ + "type":"integer", + "max":255, + "min":0 + }, + "ProtocolIntList":{ + "type":"list", + "member":{ + "shape":"ProtocolInt", + "locationName":"item" + } + }, "ProtocolList":{ "type":"list", "member":{ @@ -35402,6 +35605,13 @@ "impaired" ] }, + "RequestFilterPortRange":{ + "type":"structure", + "members":{ + "FromPort":{"shape":"Port"}, + "ToPort":{"shape":"Port"} + } + }, "RequestHostIdList":{ "type":"list", "member":{ @@ -37054,6 +37264,66 @@ "deny" ] }, + "RuleGroupRuleOptionsPair":{ + "type":"structure", + "members":{ + "RuleGroupArn":{ + "shape":"ResourceArn", + "locationName":"ruleGroupArn" + }, + "RuleOptions":{ + "shape":"RuleOptionList", + "locationName":"ruleOptionSet" + } + } + }, + "RuleGroupRuleOptionsPairList":{ + "type":"list", + "member":{ + "shape":"RuleGroupRuleOptionsPair", + "locationName":"item" + } + }, + "RuleGroupTypePair":{ + "type":"structure", + "members":{ + "RuleGroupArn":{ + "shape":"ResourceArn", + "locationName":"ruleGroupArn" + }, + "RuleGroupType":{ + "shape":"String", + "locationName":"ruleGroupType" + } + } + }, + "RuleGroupTypePairList":{ + "type":"list", + "member":{ + "shape":"RuleGroupTypePair", + "locationName":"item" + } + }, + "RuleOption":{ + "type":"structure", + "members":{ + "Keyword":{ + "shape":"String", + "locationName":"keyword" + }, + "Settings":{ + "shape":"StringList", + "locationName":"settingSet" + } + } + }, + "RuleOptionList":{ + "type":"list", + "member":{ + "shape":"RuleOption", + "locationName":"item" + } + }, "RunInstancesMonitoringEnabled":{ "type":"structure", "required":["Enabled"], diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 732a571aa7..226b6c5e6f 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -12,7 +12,7 @@ "AdvertiseByoipCidr": "

Advertises an IPv4 or IPv6 address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP).

You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time.

We recommend that you stop advertising the BYOIP CIDR from other locations when you advertise it from Amazon Web Services. To minimize down time, you can configure your Amazon Web Services resources to use an address from a BYOIP CIDR before it is advertised, and then simultaneously stop advertising it from the current location and start advertising it through Amazon Web Services.

It can take a few minutes before traffic to the specified addresses starts routing to Amazon Web Services because of BGP propagation delays.

To stop advertising the BYOIP CIDR, use WithdrawByoipCidr.

", "AllocateAddress": "

Allocates an Elastic IP address to your Amazon Web Services account. After you allocate the Elastic IP address you can associate it with an instance or network interface. After you release an Elastic IP address, it is released to the IP address pool and can be allocated to a different Amazon Web Services account.

You can allocate an Elastic IP address from an address pool owned by Amazon Web Services or from an address pool created from a public IPv4 address range that you have brought to Amazon Web Services for use with your Amazon Web Services resources using bring your own IP addresses (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) in the Amazon Elastic Compute Cloud User Guide.

[EC2-VPC] If you release an Elastic IP address, you might be able to recover it. You cannot recover an Elastic IP address that you released after it is allocated to another Amazon Web Services account. You cannot recover an Elastic IP address for EC2-Classic. To attempt to recover an Elastic IP address that you released, specify it in this operation.

An Elastic IP address is for use either in the EC2-Classic platform or in a VPC. By default, you can allocate 5 Elastic IP addresses for EC2-Classic per Region and 5 Elastic IP addresses for EC2-VPC per Region.

For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.

You can allocate a carrier IP address which is a public IP address from a telecommunication carrier, to a network interface which resides in a subnet in a Wavelength Zone (for example an EC2 instance).

We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.

", "AllocateHosts": "

Allocates a Dedicated Host to your account. At a minimum, specify the supported instance type or instance family, the Availability Zone in which to allocate the host, and the number of hosts to allocate.

", - "AllocateIpamPoolCidr": "

Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide.

", + "AllocateIpamPoolCidr": "

Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide.

This action creates an allocation with strong consistency. The returned CIDR will not overlap with any other allocations from the same pool.

", "ApplySecurityGroupsToClientVpnTargetNetwork": "

Applies a security group to the association between the target network and the Client VPN endpoint. This action replaces the existing security groups with the specified security groups.

", "AssignIpv6Addresses": "

Assigns one or more IPv6 addresses to the specified network interface. You can specify one or more specific IPv6 addresses, or you can specify the number of IPv6 addresses to be automatically assigned from within the subnet's IPv6 CIDR block range. You can assign as many IPv6 addresses to a network interface as you can assign private IPv4 addresses, and the limit varies per instance type. For information, see IP Addresses Per Network Interface Per Instance Type in the Amazon Elastic Compute Cloud User Guide.

You must specify either the IPv6 addresses or the IPv6 address count in the request.

You can optionally use Prefix Delegation on the network interface. You must specify either the IPV6 Prefix Delegation prefixes, or the IPv6 Prefix Delegation count. For information, see Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.

", "AssignPrivateIpAddresses": "

Assigns one or more secondary private IP addresses to the specified network interface.

You can specify one or more specific secondary IP addresses, or you can specify the number of secondary IP addresses to be automatically assigned within the subnet's CIDR block range. The number of secondary IP addresses that you can assign to an instance varies by instance type. For information about instance types, see Instance Types in the Amazon Elastic Compute Cloud User Guide. For more information about Elastic IP addresses, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.

When you move a secondary private IP address to another network interface, any Elastic IP address that is associated with the IP address is also moved.

Remapping an IP address is an asynchronous operation. When you move an IP address from one network interface to another, check network/interfaces/macs/mac/local-ipv4s in the instance metadata to confirm that the remapping is complete.

You must specify either the IP addresses or the IP address count in the request.

You can optionally use Prefix Delegation on the network interface. You must specify either the IPv4 Prefix Delegation prefixes, or the IPv4 Prefix Delegation count. For information, see Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.

", @@ -91,7 +91,7 @@ "CreateNetworkAcl": "

Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.

For more information, see Network ACLs in the Amazon Virtual Private Cloud User Guide.

", "CreateNetworkAclEntry": "

Creates an entry (a rule) in a network ACL with the specified rule number. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the ACL, we process the entries in the ACL according to the rule numbers, in ascending order. Each network ACL has a set of ingress rules and a separate set of egress rules.

We recommend that you leave room between the rule numbers (for example, 100, 110, 120, ...), and not number them one right after the other (for example, 101, 102, 103, ...). This makes it easier to add a rule between existing ones without having to renumber the rules.

After you add an entry, you can't modify it; you must either replace it, or create an entry and delete the old one.

For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide.

", "CreateNetworkInsightsAccessScope": "

Creates a Network Access Scope.

Amazon Web Services Network Access Analyzer enables cloud networking and cloud operations teams to verify that their networks on Amazon Web Services conform to their network security and governance objectives. For more information, see the Amazon Web Services Network Access Analyzer Guide.

", - "CreateNetworkInsightsPath": "

Creates a path to analyze for reachability.

Reachability Analyzer enables you to analyze and debug network reachability between two resources in your virtual private cloud (VPC). For more information, see What is Reachability Analyzer.

", + "CreateNetworkInsightsPath": "

Creates a path to analyze for reachability.

Reachability Analyzer enables you to analyze and debug network reachability between two resources in your virtual private cloud (VPC). For more information, see the Reachability Analyzer Guide.

", "CreateNetworkInterface": "

Creates a network interface in the specified subnet.

The number of IP addresses you can assign to a network interface varies by instance type. For more information, see IP Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User Guide.

For more information about network interfaces, see Elastic network interfaces in the Amazon Elastic Compute Cloud User Guide.

", "CreateNetworkInterfacePermission": "

Grants an Amazon Web Services-authorized account permission to attach the specified network interface to an instance in their account.

You can grant permission to a single Amazon Web Services account only, and only one account at a time.

", "CreatePlacementGroup": "

Creates a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group.

A cluster placement group is a logical grouping of instances within a single Availability Zone that benefit from low network latency, high network throughput. A spread placement group places instances on distinct hardware. A partition placement group places groups of instances in different partitions, where instances in one partition do not share the same hardware with instances in another partition.

For more information, see Placement groups in the Amazon EC2 User Guide.

", @@ -102,7 +102,7 @@ "CreateRoute": "

Creates a route in a route table within a VPC.

You must specify either a destination CIDR block or a prefix list ID. You must also specify exactly one of the resources from the parameter list.

When determining how to route traffic, we use the route with the most specific match. For example, traffic is destined for the IPv4 address 192.0.2.3, and the route table includes the following two IPv4 routes:

Both routes apply to the traffic destined for 192.0.2.3. However, the second route in the list covers a smaller number of IP addresses and is therefore more specific, so we use that route to determine where to target the traffic.

For more information about route tables, see Route tables in the Amazon Virtual Private Cloud User Guide.

", "CreateRouteTable": "

Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.

For more information, see Route tables in the Amazon Virtual Private Cloud User Guide.

", "CreateSecurityGroup": "

Creates a security group.

A security group acts as a virtual firewall for your instance to control inbound and outbound traffic. For more information, see Amazon EC2 security groups in the Amazon Elastic Compute Cloud User Guide and Security groups for your VPC in the Amazon Virtual Private Cloud User Guide.

When you create a security group, you specify a friendly name of your choice. You can have a security group for use in EC2-Classic with the same name as a security group for use in a VPC. However, you can't have two security groups for use in EC2-Classic with the same name or two security groups for use in a VPC with the same name.

You have a default security group for use in EC2-Classic and a default security group for use in your VPC. If you don't specify a security group when you launch an instance, the instance is launched into the appropriate default security group. A default security group includes a default rule that grants instances unrestricted network access to each other.

You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress.

For more information about VPC security group limits, see Amazon VPC Limits.

We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.

", - "CreateSnapshot": "

Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance.

You can create snapshots of volumes in a Region and volumes on an Outpost. If you create a snapshot of a volume in a Region, the snapshot must be stored in the same Region as the volume. If you create a snapshot of a volume on an Outpost, the snapshot can be stored on the same Outpost as the volume, or in the Region for that Outpost.

When a snapshot is created, any Amazon Web Services Marketplace product codes that are associated with the source volume are propagated to the snapshot.

You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your Amazon EBS volume at the time the snapshot command is issued; this might exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the volume long enough to take a snapshot, your snapshot should be complete. However, if you cannot pause all file writes to the volume, you should unmount the volume from within the instance, issue the snapshot command, and then remount the volume to ensure a consistent and complete snapshot. You may remount and use your volume while the snapshot status is pending.

To create a snapshot for Amazon EBS volumes that serve as root devices, you should stop the instance before taking the snapshot.

Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes and any associated snapshots always remain protected.

You can tag your snapshots during creation. For more information, see Tag your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.

For more information, see Amazon Elastic Block Store and Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

", + "CreateSnapshot": "

Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance.

You can create snapshots of volumes in a Region and volumes on an Outpost. If you create a snapshot of a volume in a Region, the snapshot must be stored in the same Region as the volume. If you create a snapshot of a volume on an Outpost, the snapshot can be stored on the same Outpost as the volume, or in the Region for that Outpost.

When a snapshot is created, any Amazon Web Services Marketplace product codes that are associated with the source volume are propagated to the snapshot.

You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your Amazon EBS volume at the time the snapshot command is issued; this might exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the volume long enough to take a snapshot, your snapshot should be complete. However, if you cannot pause all file writes to the volume, you should unmount the volume from within the instance, issue the snapshot command, and then remount the volume to ensure a consistent and complete snapshot. You may remount and use your volume while the snapshot status is pending.

When you create a snapshot for an EBS volume that serves as a root device, we recommend that you stop the instance before taking the snapshot.

Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes and any associated snapshots always remain protected.

You can tag your snapshots during creation. For more information, see Tag your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.

For more information, see Amazon Elastic Block Store and Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

", "CreateSnapshots": "

Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3. Volumes are chosen by specifying an instance. Any attached volumes will produce one snapshot each that is crash-consistent across the instance.

You can include all of the volumes currently attached to the instance, or you can exclude the root volume or specific data (non-root) volumes from the multi-volume snapshot set.

You can create multi-volume snapshots of instances in a Region and instances on an Outpost. If you create snapshots from an instance in a Region, the snapshots must be stored in the same Region as the instance. If you create snapshots from an instance on an Outpost, the snapshots can be stored on the same Outpost as the instance, or in the Region for that Outpost.

", "CreateSpotDatafeedSubscription": "

Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per Amazon Web Services account. For more information, see Spot Instance data feed in the Amazon EC2 User Guide for Linux Instances.

", "CreateStoreImageTask": "

Stores an AMI as a single object in an Amazon S3 bucket.

To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide.

For more information, see Store and restore an AMI using Amazon S3 in the Amazon EC2 User Guide.

", @@ -429,7 +429,7 @@ "GetIpamAddressHistory": "

Retrieve historical information about a CIDR within an IPAM scope. For more information, see View the history of IP addresses in the Amazon VPC IPAM User Guide.

", "GetIpamDiscoveredAccounts": "

Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts. Only the IPAM account can get all discovered accounts in the organization.

", "GetIpamDiscoveredResourceCidrs": "

Returns the resource CIDRs that are monitored as part of a resource discovery. A discovered resource is a resource CIDR monitored under a resource discovery. The following resources can be discovered: VPCs, Public IPv4 pools, VPC subnets, and Elastic IP addresses.

", - "GetIpamPoolAllocations": "

Get a list of all the CIDR allocations in an IPAM pool.

", + "GetIpamPoolAllocations": "

Get a list of all the CIDR allocations in an IPAM pool.

If you use this action after AllocateIpamPoolCidr or ReleaseIpamPoolAllocation, note that all EC2 API actions follow an eventual consistency model.

", "GetIpamPoolCidrs": "

Get the CIDRs provisioned to an IPAM pool.

", "GetIpamResourceCidrs": "

Returns resource CIDRs managed by IPAM in a given scope. If an IPAM is associated with more than one resource discovery, the resource CIDRs across all of the resource discoveries is returned. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.

", "GetLaunchTemplateData": "

Retrieves the configuration data of the specified instance. You can use this data to create a launch template.

This action calls on other describe actions to get instance information. Depending on your instance configuration, you may need to allow the following actions in your IAM policy: DescribeSpotInstanceRequests, DescribeInstanceCreditSpecifications, DescribeVolumes, DescribeInstanceAttribute, and DescribeElasticGpus. Or, you can allow describe* depending on your instance requirements.

", @@ -546,7 +546,7 @@ "RejectVpcPeeringConnection": "

Rejects a VPC peering connection request. The VPC peering connection must be in the pending-acceptance state. Use the DescribeVpcPeeringConnections request to view your outstanding VPC peering connection requests. To delete an active VPC peering connection, or to delete a VPC peering connection request that you initiated, use DeleteVpcPeeringConnection.

", "ReleaseAddress": "

Releases the specified Elastic IP address.

[EC2-Classic, default VPC] Releasing an Elastic IP address automatically disassociates it from any instance that it's associated with. To disassociate an Elastic IP address without releasing it, use DisassociateAddress.

We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.

[Nondefault VPC] You must use DisassociateAddress to disassociate the Elastic IP address before you can release it. Otherwise, Amazon EC2 returns an error (InvalidIPAddress.InUse).

After releasing an Elastic IP address, it is released to the IP address pool. Be sure to update your DNS records and any servers or devices that communicate with the address. If you attempt to release an Elastic IP address that you already released, you'll get an AuthFailure error if the address is already allocated to another Amazon Web Services account.

[EC2-VPC] After you release an Elastic IP address for use in a VPC, you might be able to recover it. For more information, see AllocateAddress.

For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.

", "ReleaseHosts": "

When you no longer want to use an On-Demand Dedicated Host it can be released. On-Demand billing is stopped and the host goes into released state. The host ID of Dedicated Hosts that have been released can no longer be specified in another request, for example, to modify the host. You must stop or terminate all instances on a host before it can be released.

When Dedicated Hosts are released, it may take some time for them to stop counting toward your limit and you may receive capacity errors when trying to allocate new Dedicated Hosts. Wait a few minutes and then try again.

Released hosts still appear in a DescribeHosts response.

", - "ReleaseIpamPoolAllocation": "

Release an allocation within an IPAM pool. You can only use this action to release manual allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using ModifyIpamResourceCidr. For more information, see Release an allocation in the Amazon VPC IPAM User Guide.

", + "ReleaseIpamPoolAllocation": "

Release an allocation within an IPAM pool. You can only use this action to release manual allocations. To remove an allocation for a resource without deleting the resource, set its monitored state to false using ModifyIpamResourceCidr. For more information, see Release an allocation in the Amazon VPC IPAM User Guide.

All EC2 API actions follow an eventual consistency model.

", "ReplaceIamInstanceProfileAssociation": "

Replaces an IAM instance profile for the specified running instance. You can use this action to change the IAM instance profile that's associated with an instance without having to disassociate the existing IAM instance profile first.

Use DescribeIamInstanceProfileAssociations to get the association ID.

", "ReplaceNetworkAclAssociation": "

Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information, see Network ACLs in the Amazon Virtual Private Cloud User Guide.

This is an idempotent operation.

", "ReplaceNetworkAclEntry": "

Replaces an entry (rule) in a network ACL. For more information, see Network ACLs in the Amazon Virtual Private Cloud User Guide.

", @@ -860,7 +860,7 @@ } }, "AdditionalDetail": { - "base": "

Describes an additional detail for a path analysis.

", + "base": "

Describes an additional detail for a path analysis. For more information, see Reachability Analyzer additional detail codes.

", "refs": { "AdditionalDetailList$member": null } @@ -1086,6 +1086,7 @@ "base": "

Describes a path component.

", "refs": { "AdditionalDetail$Component": "

The path component.

", + "AdditionalDetail$VpcEndpointService": "

The VPC endpoint service.

", "AnalysisComponentList$member": null, "AnalysisLoadBalancerTarget$Instance": "

Information about the instance.

", "Explanation$Acl": "

The network ACL.

", @@ -1127,6 +1128,7 @@ "AnalysisComponentList": { "base": null, "refs": { + "AdditionalDetail$LoadBalancers": "

The load balancers.

", "Explanation$LoadBalancerTargetGroups": "

The target groups.

", "Explanation$SecurityGroups": "

The security groups.

" } @@ -1222,7 +1224,7 @@ "ArnList": { "base": null, "refs": { - "NetworkInsightsAnalysis$FilterInArns": "

The Amazon Resource Names (ARN) of the Amazon Web Services resources that the path must traverse.

", + "NetworkInsightsAnalysis$FilterInArns": "

The Amazon Resource Names (ARN) of the resources that the path must traverse.

", "StartNetworkInsightsAnalysisRequest$FilterInArns": "

The Amazon Resource Names (ARN) of the resources that the path must traverse.

" } }, @@ -8964,7 +8966,7 @@ "DescribeNetworkInsightsAccessScopeAnalysesRequest$Filters": "

There are no supported filters.

", "DescribeNetworkInsightsAccessScopesRequest$Filters": "

There are no supported filters.

", "DescribeNetworkInsightsAnalysesRequest$Filters": "

The filters. The following are the possible values:

", - "DescribeNetworkInsightsPathsRequest$Filters": "

The filters. The following are the possible values:

", + "DescribeNetworkInsightsPathsRequest$Filters": "

The filters. The following are the possible values:

", "DescribeNetworkInterfacePermissionsRequest$Filters": "

One or more filters.

", "DescribeNetworkInterfacesRequest$Filters": "

One or more filters.

", "DescribePlacementGroupsRequest$Filters": "

The filters.

", @@ -9041,12 +9043,33 @@ "SearchTransitGatewayRoutesRequest$Filters": "

One or more filters. The possible values are:

" } }, + "FilterPortRange": { + "base": "

Describes a port range.

", + "refs": { + "PathFilter$SourcePortRange": "

The source port range.

", + "PathFilter$DestinationPortRange": "

The destination port range.

" + } + }, "FindingsFound": { "base": null, "refs": { "NetworkInsightsAccessScopeAnalysis$FindingsFound": "

Indicates whether there are findings.

" } }, + "FirewallStatefulRule": { + "base": "

Describes a stateful rule.

", + "refs": { + "Explanation$FirewallStatefulRule": "

The Network Firewall stateful rule.

", + "PathComponent$FirewallStatefulRule": "

The Network Firewall stateful rule.

" + } + }, + "FirewallStatelessRule": { + "base": "

Describes a stateless rule.

", + "refs": { + "Explanation$FirewallStatelessRule": "

The Network Firewall stateless rule.

", + "PathComponent$FirewallStatelessRule": "

The Network Firewall stateless rule.

" + } + }, "FleetActivityStatus": { "base": null, "refs": { @@ -10467,6 +10490,12 @@ "refs": { } }, + "ImportManifestUrl": { + "base": null, + "refs": { + "DiskImageDetail$ImportManifestUrl": "

A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the \"Query String Request Authentication Alternative\" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

For information about the import manifest referenced by this API action, see VM Import Manifest.

" + } + }, "ImportSnapshotRequest": { "base": null, "refs": { @@ -11770,12 +11799,16 @@ "base": null, "refs": { "AnalysisLoadBalancerTarget$Address": "

The IP address.

", - "CreateNetworkInsightsPathRequest$SourceIp": "

The IP address of the Amazon Web Services resource that is the source of the path.

", - "CreateNetworkInsightsPathRequest$DestinationIp": "

The IP address of the Amazon Web Services resource that is the destination of the path.

", + "CreateNetworkInsightsPathRequest$SourceIp": "

The IP address of the source.

", + "CreateNetworkInsightsPathRequest$DestinationIp": "

The IP address of the destination.

", "Explanation$Address": "

The IPv4 address, in CIDR notation.

", "IpAddressList$member": null, - "NetworkInsightsPath$SourceIp": "

The IP address of the Amazon Web Services resource that is the source of the path.

", - "NetworkInsightsPath$DestinationIp": "

The IP address of the Amazon Web Services resource that is the destination of the path.

" + "NetworkInsightsPath$SourceIp": "

The IP address of the source.

", + "NetworkInsightsPath$DestinationIp": "

The IP address of the destination.

", + "PathFilter$SourceAddress": "

The source IPv4 address.

", + "PathFilter$DestinationAddress": "

The destination IPv4 address.

", + "PathRequestFilter$SourceAddress": "

The source IPv4 address.

", + "PathRequestFilter$DestinationAddress": "

The destination IPv4 address.

" } }, "IpAddressList": { @@ -14718,8 +14751,8 @@ "NetworkInsightsResourceId": { "base": null, "refs": { - "CreateNetworkInsightsPathRequest$Source": "

The Amazon Web Services resource that is the source of the path.

", - "CreateNetworkInsightsPathRequest$Destination": "

The Amazon Web Services resource that is the destination of the path.

" + "CreateNetworkInsightsPathRequest$Source": "

The ID or ARN of the source. If the resource is in another account, you must specify an ARN.

", + "CreateNetworkInsightsPathRequest$Destination": "

The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.

" } }, "NetworkInterface": { @@ -15134,6 +15167,20 @@ "NetworkInsightsAnalysis$ReturnPathComponents": "

The components in the path from destination to source.

" } }, + "PathFilter": { + "base": "

Describes a set of filters for a path analysis. Use path filters to scope the analysis when there can be multiple resulting paths.

", + "refs": { + "NetworkInsightsPath$FilterAtSource": "

Scopes the analysis to network paths that match specific filters at the source.

", + "NetworkInsightsPath$FilterAtDestination": "

Scopes the analysis to network paths that match specific filters at the destination.

" + } + }, + "PathRequestFilter": { + "base": "

Describes a set of filters for a path analysis. Use path filters to scope the analysis when there can be multiple resulting paths.

", + "refs": { + "CreateNetworkInsightsPathRequest$FilterAtSource": "

Scopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can't specify the parameters for the source IP address or the destination port.

", + "CreateNetworkInsightsPathRequest$FilterAtDestination": "

Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can't specify the parameter for the destination IP address.

" + } + }, "PathStatement": { "base": "

Describes a path statement.

", "refs": { @@ -15503,7 +15550,11 @@ "CreateNetworkInsightsPathRequest$DestinationPort": "

The destination port.

", "Explanation$LoadBalancerListenerPort": "

The listener port of the load balancer.

", "Explanation$LoadBalancerTargetPort": "

The target port.

", - "Explanation$Port": "

The port.

" + "Explanation$Port": "

The port.

", + "FilterPortRange$FromPort": "

The first port in the range.

", + "FilterPortRange$ToPort": "

The last port in the range.

", + "RequestFilterPortRange$FromPort": "

The first port in the range.

", + "RequestFilterPortRange$ToPort": "

The last port in the range.

" } }, "PortRange": { @@ -15522,7 +15573,11 @@ "refs": { "AnalysisPacketHeader$DestinationPortRanges": "

The destination port ranges.

", "AnalysisPacketHeader$SourcePortRanges": "

The source port ranges.

", - "Explanation$PortRanges": "

The port ranges.

" + "Explanation$PortRanges": "

The port ranges.

", + "FirewallStatefulRule$SourcePorts": "

The source ports.

", + "FirewallStatefulRule$DestinationPorts": "

The destination ports.

", + "FirewallStatelessRule$SourcePorts": "

The source ports.

", + "FirewallStatelessRule$DestinationPorts": "

The destination ports.

" } }, "PrefixList": { @@ -15679,6 +15734,12 @@ "AllowedPrincipal$PrincipalType": "

The type of principal.

" } }, + "Priority": { + "base": null, + "refs": { + "FirewallStatelessRule$Priority": "

The rule priority.

" + } + }, "PrivateDnsDetails": { "base": "

Information about the Private DNS name for interface endpoints.

", "refs": { @@ -15820,6 +15881,18 @@ "ProtocolList$member": null } }, + "ProtocolInt": { + "base": null, + "refs": { + "ProtocolIntList$member": null + } + }, + "ProtocolIntList": { + "base": null, + "refs": { + "FirewallStatelessRule$Protocols": "

The protocols.

" + } + }, "ProtocolList": { "base": null, "refs": { @@ -16313,6 +16386,13 @@ "ReportInstanceStatusRequest$Status": "

The status of all instances listed.

" } }, + "RequestFilterPortRange": { + "base": "

Describes a port range.

", + "refs": { + "PathRequestFilter$SourcePortRange": "

The source port range.

", + "PathRequestFilter$DestinationPortRange": "

The destination port range.

" + } + }, "RequestHostIdList": { "base": null, "refs": { @@ -16666,10 +16746,13 @@ "ResourceArn": { "base": null, "refs": { + "AnalysisRouteTableRoute$CoreNetworkArn": "

The Amazon Resource Name (ARN) of a core network.

", "ArnList$member": null, "AssociatedRole$AssociatedRoleArn": "

The ARN of the associated IAM role.

", "CoipPool$PoolArn": "

The ARN of the address pool.

", "Explanation$LoadBalancerArn": "

The Amazon Resource Name (ARN) of the load balancer.

", + "FirewallStatefulRule$RuleGroupArn": "

The ARN of the stateful rule group.

", + "FirewallStatelessRule$RuleGroupArn": "

The ARN of the stateless rule group.

", "Ipam$IpamArn": "

The Amazon Resource Name (ARN) of the IPAM.

", "IpamPool$IpamPoolArn": "

The Amazon Resource Name (ARN) of the IPAM pool.

", "IpamPool$IpamScopeArn": "

The ARN of the scope of the IPAM pool.

", @@ -16687,7 +16770,9 @@ "NetworkInsightsAnalysis$NetworkInsightsAnalysisArn": "

The Amazon Resource Name (ARN) of the network insights analysis.

", "NetworkInsightsPath$NetworkInsightsPathArn": "

The Amazon Resource Name (ARN) of the path.

", "NetworkInsightsPath$SourceArn": "

The Amazon Resource Name (ARN) of the source.

", - "NetworkInsightsPath$DestinationArn": "

The Amazon Resource Name (ARN) of the destination.

" + "NetworkInsightsPath$DestinationArn": "

The Amazon Resource Name (ARN) of the destination.

", + "RuleGroupRuleOptionsPair$RuleGroupArn": "

The ARN of the rule group.

", + "RuleGroupTypePair$RuleGroupArn": "

The ARN of the rule group.

" } }, "ResourceIdList": { @@ -16979,6 +17064,43 @@ "ReplaceNetworkAclEntryRequest$RuleAction": "

Indicates whether to allow or deny the traffic that matches the rule.

" } }, + "RuleGroupRuleOptionsPair": { + "base": "

Describes the rule options for a stateful rule group.

", + "refs": { + "RuleGroupRuleOptionsPairList$member": null + } + }, + "RuleGroupRuleOptionsPairList": { + "base": null, + "refs": { + "AdditionalDetail$RuleGroupRuleOptionsPairs": "

The rule options.

" + } + }, + "RuleGroupTypePair": { + "base": "

Describes the type of a stateful rule group.

", + "refs": { + "RuleGroupTypePairList$member": null + } + }, + "RuleGroupTypePairList": { + "base": null, + "refs": { + "AdditionalDetail$RuleGroupTypePairs": "

The rule group type.

" + } + }, + "RuleOption": { + "base": "

Describes additional settings for a stateful rule.

", + "refs": { + "RuleOptionList$member": null + } + }, + "RuleOptionList": { + "base": null, + "refs": { + "AdditionalDetail$RuleOptions": "

The rule options.

", + "RuleGroupRuleOptionsPair$RuleOptions": "

The rule options.

" + } + }, "RunInstancesMonitoringEnabled": { "base": "

Describes the monitoring of an instance.

", "refs": { @@ -17945,7 +18067,8 @@ "AddedPrincipal$Principal": "

The Amazon Resource Name (ARN) of the principal.

", "AddedPrincipal$ServicePermissionId": "

The ID of the service permission.

", "AddedPrincipal$ServiceId": "

The ID of the service.

", - "AdditionalDetail$AdditionalDetailType": "

The information type.

", + "AdditionalDetail$AdditionalDetailType": "

The additional detail code.

", + "AdditionalDetail$ServiceName": "

The name of the VPC endpoint service.

", "Address$InstanceId": "

The ID of the instance that the address is associated with (if any).

", "Address$PublicIp": "

The Elastic IP address.

", "Address$AllocationId": "

The ID representing the allocation of the address for use with EC2-VPC.

", @@ -18004,6 +18127,8 @@ "AnalysisRouteTableRoute$TransitGatewayId": "

The ID of a transit gateway.

", "AnalysisRouteTableRoute$VpcPeeringConnectionId": "

The ID of a VPC peering connection.

", "AnalysisRouteTableRoute$State": "

The state. The following are the possible values:

", + "AnalysisRouteTableRoute$CarrierGatewayId": "

The ID of a carrier gateway.

", + "AnalysisRouteTableRoute$LocalGatewayId": "

The ID of a local gateway.

", "AnalysisSecurityGroupRule$Cidr": "

The IPv4 address range, in CIDR notation.

", "AnalysisSecurityGroupRule$Direction": "

The direction. The following are the possible values:

", "AnalysisSecurityGroupRule$SecurityGroupId": "

The security group ID.

", @@ -18274,7 +18399,7 @@ "CreateRestoreImageTaskResult$ImageId": "

The AMI ID.

", "CreateRouteRequest$DestinationCidrBlock": "

The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

", "CreateRouteRequest$DestinationIpv6CidrBlock": "

The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.

", - "CreateSecurityGroupRequest$Description": "

A description for the security group. This is informational only.

Constraints: Up to 255 characters in length

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

", + "CreateSecurityGroupRequest$Description": "

A description for the security group.

Constraints: Up to 255 characters in length

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

", "CreateSecurityGroupRequest$GroupName": "

The name of the security group.

Constraints: Up to 255 characters in length. Cannot start with sg-.

Constraints for EC2-Classic: ASCII characters

Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*

", "CreateSecurityGroupResult$GroupId": "

The ID of the security group.

", "CreateSnapshotRequest$Description": "

A description for the snapshot.

", @@ -18621,7 +18746,6 @@ "DiskImage$Description": "

A description of the disk image.

", "DiskImageDescription$Checksum": "

The checksum computed for the disk image.

", "DiskImageDescription$ImportManifestUrl": "

A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the \"Query String Request Authentication Alternative\" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

For information about the import manifest referenced by this API action, see VM Import Manifest.

", - "DiskImageDetail$ImportManifestUrl": "

A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the \"Query String Request Authentication Alternative\" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

For information about the import manifest referenced by this API action, see VM Import Manifest.

", "DiskImageVolumeDescription$Id": "

The volume identifier.

", "DnsEntry$DnsName": "

The DNS name.

", "DnsEntry$HostedZoneId": "

The ID of the private hosted zone.

", @@ -18707,6 +18831,10 @@ "FederatedAuthenticationRequest$SAMLProviderArn": "

The Amazon Resource Name (ARN) of the IAM SAML identity provider.

", "FederatedAuthenticationRequest$SelfServiceSAMLProviderArn": "

The Amazon Resource Name (ARN) of the IAM SAML identity provider for the self-service portal.

", "Filter$Name": "

The name of the filter. Filter names are case-sensitive.

", + "FirewallStatefulRule$Protocol": "

The protocol.

", + "FirewallStatefulRule$RuleAction": "

The rule action. The possible values are pass, drop, and alert.

", + "FirewallStatefulRule$Direction": "

The direction. The possible values are FORWARD and ANY.

", + "FirewallStatelessRule$RuleAction": "

The rule action. The possible values are pass, drop, and forward_to_site.

", "FleetCapacityReservation$AvailabilityZoneId": "

The ID of the Availability Zone in which the Capacity Reservation reserves capacity.

", "FleetCapacityReservation$AvailabilityZone": "

The Availability Zone in which the Capacity Reservation reserves capacity.

", "FleetData$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

Constraints: Maximum 64 ASCII characters

", @@ -19247,8 +19375,8 @@ "NetworkInsightsAccessScopeAnalysis$WarningMessage": "

The warning message.

", "NetworkInsightsAnalysis$StatusMessage": "

The status message, if the status is failed.

", "NetworkInsightsAnalysis$WarningMessage": "

The warning message.

", - "NetworkInsightsPath$Source": "

The Amazon Web Services resource that is the source of the path.

", - "NetworkInsightsPath$Destination": "

The Amazon Web Services resource that is the destination of the path.

", + "NetworkInsightsPath$Source": "

The ID of the source.

", + "NetworkInsightsPath$Destination": "

The ID of the destination.

", "NetworkInterface$AvailabilityZone": "

The Availability Zone.

", "NetworkInterface$Description": "

A description.

", "NetworkInterface$MacAddress": "

The MAC address.

", @@ -19292,6 +19420,7 @@ "OrganizationArnStringList$member": null, "OrganizationalUnitArnStringList$member": null, "OwnerStringList$member": null, + "PathComponent$ServiceName": "

The name of the VPC endpoint service.

", "PciId$DeviceId": "

The ID of the device.

", "PciId$VendorId": "

The ID of the vendor.

", "PciId$SubsystemId": "

The ID of the subsystem.

", @@ -19487,6 +19616,8 @@ "RouteTableAssociation$SubnetId": "

The ID of the subnet. A subnet ID is not returned for an implicit association.

", "RouteTableAssociation$GatewayId": "

The ID of the internet gateway or virtual private gateway.

", "RouteTableAssociationState$StatusMessage": "

The status message, if applicable.

", + "RuleGroupTypePair$RuleGroupType": "

The rule group type. The possible values are Domain List and Suricata.

", + "RuleOption$Keyword": "

The Suricata keyword.

", "RunInstancesRequest$AdditionalInfo": "

Reserved.

", "RunInstancesRequest$ClientToken": "

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.

For more information, see Ensuring Idempotency.

Constraints: Maximum 64 ASCII characters

", "RunInstancesRequest$PrivateIpAddress": "

[EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.

Only one private IP address can be designated as primary. You can't specify this option if you've specified the option to designate a private IP address as the primary IP address in a network interface specification. You cannot specify this option if you're launching more than one instance in the request.

You cannot specify this option and the network interfaces option in the same request.

", @@ -19951,7 +20082,8 @@ "StringList": { "base": null, "refs": { - "Explanation$Protocols": "

The protocols.

" + "Explanation$Protocols": "

The protocols.

", + "RuleOption$Settings": "

The settings for the keyword.

" } }, "StringType": { @@ -21857,6 +21989,10 @@ "Explanation$AvailabilityZones": "

The Availability Zones.

", "Explanation$Cidrs": "

The CIDR ranges.

", "Filter$Values": "

The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

", + "FirewallStatefulRule$Sources": "

The source IP addresses, in CIDR notation.

", + "FirewallStatefulRule$Destinations": "

The destination IP addresses, in CIDR notation.

", + "FirewallStatelessRule$Sources": "

The source IP addresses, in CIDR notation.

", + "FirewallStatelessRule$Destinations": "

The destination IP addresses, in CIDR notation.

", "ModifyVpcEndpointConnectionNotificationRequest$ConnectionEvents": "

The events for the endpoint. Valid values are Accept, Connect, Delete, and Reject.

", "ModifyVpcEndpointServiceConfigurationRequest$AddNetworkLoadBalancerArns": "

The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.

", "ModifyVpcEndpointServiceConfigurationRequest$RemoveNetworkLoadBalancerArns": "

The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.

", diff --git a/models/apis/ec2/2016-11-15/endpoint-tests-1.json b/models/apis/ec2/2016-11-15/endpoint-tests-1.json index 6772612098..f438a23ab8 100644 --- a/models/apis/ec2/2016-11-15/endpoint-tests-1.json +++ b/models/apis/ec2/2016-11-15/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "Region": "af-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -22,8 +22,8 @@ }, "params": { "Region": "ap-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -35,8 +35,8 @@ }, "params": { "Region": "ap-northeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -48,8 +48,8 @@ }, "params": { "Region": "ap-northeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -61,8 +61,8 @@ }, "params": { "Region": "ap-northeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -74,8 +74,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -87,8 +87,8 @@ }, "params": { "Region": "ap-south-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -100,8 +100,8 @@ }, "params": { "Region": "ap-southeast-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -113,8 +113,8 @@ }, "params": { "Region": "ap-southeast-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -126,8 +126,8 @@ }, "params": { "Region": "ap-southeast-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -139,8 +139,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -152,8 +152,8 @@ }, "params": { "Region": "ca-central-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -165,8 +165,8 @@ }, "params": { "Region": "eu-central-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -178,8 +178,8 @@ }, "params": { "Region": "eu-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -191,8 +191,8 @@ }, "params": { "Region": "eu-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -204,8 +204,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -217,8 +217,8 @@ }, "params": { "Region": "eu-west-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -230,8 +230,8 @@ }, "params": { "Region": "eu-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -243,8 +243,8 @@ }, "params": { "Region": "eu-west-3", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -256,8 +256,8 @@ }, "params": { "Region": "me-south-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -269,8 +269,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -282,8 +282,8 @@ }, "params": { "Region": "sa-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -295,8 +295,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -308,8 +308,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -321,8 +321,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -334,8 +334,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -347,8 +347,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -360,8 +360,8 @@ }, "params": { "Region": "us-east-2", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -373,8 +373,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -386,8 +386,8 @@ }, "params": { "Region": "us-west-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -399,8 +399,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -412,8 +412,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -425,8 +425,8 @@ }, "params": { "Region": "us-west-2", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -438,8 +438,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -451,8 +451,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -464,8 +464,8 @@ }, "params": { "Region": "cn-northwest-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -477,8 +477,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -490,8 +490,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -503,8 +503,8 @@ }, "params": { "Region": "cn-north-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -516,8 +516,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -529,8 +529,8 @@ }, "params": { "Region": "us-gov-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -542,8 +542,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -555,8 +555,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -568,8 +568,8 @@ }, "params": { "Region": "us-gov-east-1", - "UseDualStack": true, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -581,8 +581,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -594,8 +594,8 @@ }, "params": { "Region": "us-iso-west-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -607,8 +607,8 @@ }, "params": { "Region": "us-iso-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -620,8 +620,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { @@ -633,8 +633,8 @@ }, "params": { "Region": "us-isob-east-1", - "UseDualStack": false, - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -646,8 +646,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -659,8 +659,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -671,8 +671,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -683,8 +683,8 @@ }, "params": { "Region": "us-east-1", - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } } diff --git a/models/apis/iotsitewise/2019-12-02/api-2.json b/models/apis/iotsitewise/2019-12-02/api-2.json index 1a358e3f57..73128b7085 100644 --- a/models/apis/iotsitewise/2019-12-02/api-2.json +++ b/models/apis/iotsitewise/2019-12-02/api-2.json @@ -3250,7 +3250,8 @@ "timeSeriesId", "dataType", "timeSeriesCreationDate", - "timeSeriesLastUpdateDate" + "timeSeriesLastUpdateDate", + "timeSeriesArn" ], "members":{ "assetId":{"shape":"ID"}, @@ -3260,7 +3261,8 @@ "dataType":{"shape":"PropertyDataType"}, "dataTypeSpec":{"shape":"Name"}, "timeSeriesCreationDate":{"shape":"Timestamp"}, - "timeSeriesLastUpdateDate":{"shape":"Timestamp"} + "timeSeriesLastUpdateDate":{"shape":"Timestamp"}, + "timeSeriesArn":{"shape":"ARN"} } }, "Description":{ @@ -4984,7 +4986,8 @@ "timeSeriesId", "dataType", "timeSeriesCreationDate", - "timeSeriesLastUpdateDate" + "timeSeriesLastUpdateDate", + "timeSeriesArn" ], "members":{ "assetId":{"shape":"ID"}, @@ -4994,7 +4997,8 @@ "dataType":{"shape":"PropertyDataType"}, "dataTypeSpec":{"shape":"Name"}, "timeSeriesCreationDate":{"shape":"Timestamp"}, - "timeSeriesLastUpdateDate":{"shape":"Timestamp"} + "timeSeriesLastUpdateDate":{"shape":"Timestamp"}, + "timeSeriesArn":{"shape":"ARN"} } }, "Timestamp":{"type":"timestamp"}, diff --git a/models/apis/iotsitewise/2019-12-02/docs-2.json b/models/apis/iotsitewise/2019-12-02/docs-2.json index 7945c4a9e3..b96e891b70 100644 --- a/models/apis/iotsitewise/2019-12-02/docs-2.json +++ b/models/apis/iotsitewise/2019-12-02/docs-2.json @@ -106,12 +106,14 @@ "DescribePortalResponse$portalArn": "

The ARN of the portal, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:portal/${PortalId}

", "DescribePortalResponse$roleArn": "

The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.

", "DescribeProjectResponse$projectArn": "

The ARN of the project, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}

", + "DescribeTimeSeriesResponse$timeSeriesArn": "

The ARN of the time series, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}

", "Greengrass$groupArn": "

The ARN of the Greengrass group. For more information about how to find a group's ARN, see ListGroups and GetGroup in the IoT Greengrass API Reference.

", "IAMRoleIdentity$arn": "

The ARN of the IAM role. For more information, see IAM ARNs in the IAM User Guide.

", "IAMUserIdentity$arn": "

The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide.

If you delete the IAM user, access policies that contain this identity include an empty arn. You can delete the access policy for the IAM user that no longer exists.

", "ListAccessPoliciesRequest$iamArn": "

The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide. This parameter is required if you specify IAM for identityType.

", "PortalSummary$roleArn": "

The ARN of the service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.

", "PutDefaultEncryptionConfigurationResponse$kmsKeyArn": "

The Key ARN of the KMS key used for KMS encryption if you use KMS_BASED_ENCRYPTION.

", + "TimeSeriesSummary$timeSeriesArn": "

The ARN of the time series, which has the following format.

arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId}

", "UpdatePortalRequest$roleArn": "

The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.

" } }, @@ -623,7 +625,7 @@ "BatchGetAssetPropertyValueEntries": { "base": null, "refs": { - "BatchGetAssetPropertyValueRequest$entries": "

The list of asset property value entries for the batch get request. You can specify up to 16 entries per request.

" + "BatchGetAssetPropertyValueRequest$entries": "

The list of asset property value entries for the batch get request. You can specify up to 128 entries per request.

" } }, "BatchGetAssetPropertyValueEntry": { diff --git a/models/apis/iotsitewise/2019-12-02/endpoint-rule-set-1.json b/models/apis/iotsitewise/2019-12-02/endpoint-rule-set-1.json index fb779a32e3..4d0aa7174f 100644 --- a/models/apis/iotsitewise/2019-12-02/endpoint-rule-set-1.json +++ b/models/apis/iotsitewise/2019-12-02/endpoint-rule-set-1.json @@ -32,13 +32,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -46,23 +45,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -71,67 +67,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -140,90 +111,215 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://iotsitewise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } ] }, { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsDualStack" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://iotsitewise-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotsitewise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsFIPS" + true ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://iotsitewise.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -231,7 +327,7 @@ { "conditions": [], "endpoint": { - "url": "https://iotsitewise-fips.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://iotsitewise.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -240,74 +336,13 @@ ] } ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://iotsitewise.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "endpoint": { - "url": "https://iotsitewise.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } diff --git a/models/apis/iotsitewise/2019-12-02/endpoint-tests-1.json b/models/apis/iotsitewise/2019-12-02/endpoint-tests-1.json index 44fb0f09bd..549d8c6d13 100644 --- a/models/apis/iotsitewise/2019-12-02/endpoint-tests-1.json +++ b/models/apis/iotsitewise/2019-12-02/endpoint-tests-1.json @@ -1,42 +1,29 @@ { "testCases": [ { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.ap-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-south-1" - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.ap-south-1.amazonaws.com" + "url": "https://iotsitewise.ap-northeast-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "ap-northeast-1", "UseDualStack": false, - "Region": "ap-south-1" + "UseFIPS": false } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.ap-south-1.api.aws" + "url": "https://iotsitewise.ap-northeast-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-south-1" + "Region": "ap-northeast-2", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -47,100 +34,35 @@ } }, "params": { - "UseFIPS": false, + "Region": "ap-south-1", "UseDualStack": false, - "Region": "ap-south-1" - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.us-gov-east-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.us-gov-east-1.amazonaws.com" + "url": "https://iotsitewise.ap-southeast-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "ap-southeast-1", "UseDualStack": false, - "Region": "us-gov-east-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ca-central-1" + "UseFIPS": false } }, { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.ca-central-1.amazonaws.com" + "url": "https://iotsitewise.ap-southeast-2.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "ap-southeast-2", "UseDualStack": false, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ca-central-1" + "UseFIPS": false } }, { @@ -151,48 +73,22 @@ } }, "params": { - "UseFIPS": false, + "Region": "ca-central-1", "UseDualStack": false, - "Region": "ca-central-1" + "UseFIPS": false } }, { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.eu-central-1.amazonaws.com" + "url": "https://iotsitewise-fips.ca-central-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "ca-central-1", "UseDualStack": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-central-1" + "UseFIPS": true } }, { @@ -203,217 +99,139 @@ } }, "params": { - "UseFIPS": false, + "Region": "eu-central-1", "UseDualStack": false, - "Region": "eu-central-1" + "UseFIPS": false } }, { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.us-west-2.amazonaws.com" + "url": "https://iotsitewise.eu-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "eu-west-1", "UseDualStack": false, - "Region": "us-west-2" + "UseFIPS": false } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.us-west-2.amazonaws.com" + "url": "https://iotsitewise.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": false, - "Region": "us-west-2" + "UseFIPS": false } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.eu-west-1.amazonaws.com" + "url": "https://iotsitewise-fips.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "us-east-1", "UseDualStack": false, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "eu-west-1" + "UseFIPS": true } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.eu-west-1.amazonaws.com" + "url": "https://iotsitewise.us-east-2.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-east-2", "UseDualStack": false, - "Region": "eu-west-1" + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.ap-northeast-2.amazonaws.com" + "url": "https://iotsitewise-fips.us-east-2.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "us-east-2", "UseDualStack": false, - "Region": "ap-northeast-2" + "UseFIPS": true } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.ap-northeast-2.api.aws" + "url": "https://iotsitewise.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-northeast-2" + "Region": "us-west-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.ap-northeast-2.amazonaws.com" + "url": "https://iotsitewise-fips.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-west-2", "UseDualStack": false, - "Region": "ap-northeast-2" + "UseFIPS": true } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.ap-northeast-1.api.aws" + "url": "https://iotsitewise-fips.us-east-1.api.aws" } }, "params": { - "UseFIPS": true, + "Region": "us-east-1", "UseDualStack": true, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "ap-northeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://iotsitewise.ap-northeast-1.api.aws" + "url": "https://iotsitewise.us-east-1.api.aws" } }, "params": { - "UseFIPS": false, + "Region": "us-east-1", "UseDualStack": true, - "Region": "ap-northeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.ap-northeast-1.amazonaws.com" + "url": "https://iotsitewise.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, + "Region": "cn-north-1", "UseDualStack": false, - "Region": "ap-northeast-1" + "UseFIPS": false } }, { @@ -424,9 +242,9 @@ } }, "params": { - "UseFIPS": true, + "Region": "cn-north-1", "UseDualStack": true, - "Region": "cn-north-1" + "UseFIPS": true } }, { @@ -437,9 +255,9 @@ } }, "params": { - "UseFIPS": true, + "Region": "cn-north-1", "UseDualStack": false, - "Region": "cn-north-1" + "UseFIPS": true } }, { @@ -450,35 +268,22 @@ } }, "params": { - "UseFIPS": false, + "Region": "cn-north-1", "UseDualStack": true, - "Region": "cn-north-1" + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.cn-north-1.amazonaws.com.cn" + "url": "https://iotsitewise.us-gov-west-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-gov-west-1", "UseDualStack": false, - "Region": "cn-north-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.us-gov-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-gov-west-1" + "UseFIPS": false } }, { @@ -489,256 +294,139 @@ } }, "params": { - "UseFIPS": true, - "UseDualStack": false, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.us-gov-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, + "Region": "us-gov-west-1", "UseDualStack": false, - "Region": "us-gov-west-1" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.ap-southeast-1.api.aws" + "url": "https://iotsitewise-fips.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": true, + "Region": "us-gov-east-1", "UseDualStack": true, - "Region": "ap-southeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.ap-southeast-1.amazonaws.com" + "url": "https://iotsitewise-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, + "Region": "us-gov-east-1", "UseDualStack": false, - "Region": "ap-southeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://iotsitewise.ap-southeast-1.api.aws" + "url": "https://iotsitewise.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": false, + "Region": "us-gov-east-1", "UseDualStack": true, - "Region": "ap-southeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.ap-southeast-1.amazonaws.com" + "url": "https://iotsitewise.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, + "Region": "us-gov-east-1", "UseDualStack": false, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.ap-southeast-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "ap-southeast-2" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.ap-southeast-2.amazonaws.com" + "url": "https://iotsitewise-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": true, + "Region": "us-iso-east-1", "UseDualStack": false, - "Region": "ap-southeast-2" - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.ap-southeast-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "ap-southeast-2" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.ap-southeast-2.amazonaws.com" + "url": "https://iotsitewise.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": false, + "Region": "us-iso-east-1", "UseDualStack": false, - "Region": "ap-southeast-2" + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.us-east-1.api.aws" + "url": "https://iotsitewise-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, + "Region": "us-isob-east-1", "UseDualStack": false, - "Region": "us-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise.us-east-1.api.aws" + "url": "https://iotsitewise.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.us-east-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, + "Region": "us-isob-east-1", "UseDualStack": false, - "Region": "us-east-1" + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://iotsitewise-fips.us-east-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "UseDualStack": true, - "Region": "us-east-2" - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise-fips.us-east-2.amazonaws.com" + "url": "https://example.com" } }, "params": { - "UseFIPS": true, + "Region": "us-east-1", "UseDualStack": false, - "Region": "us-east-2" - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.us-east-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": true, - "Region": "us-east-2" - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://iotsitewise.us-east-2.amazonaws.com" - } - }, - "params": { "UseFIPS": false, - "UseDualStack": false, - "Region": "us-east-2" + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseFIPS": false, "UseDualStack": false, - "Region": "us-east-1", + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -748,9 +436,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, - "UseDualStack": false, "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -760,9 +448,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, - "UseDualStack": true, "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/models/apis/mgn/2020-02-26/api-2.json b/models/apis/mgn/2020-02-26/api-2.json index 90d9b0d170..9b1799f432 100644 --- a/models/apis/mgn/2020-02-26/api-2.json +++ b/models/apis/mgn/2020-02-26/api-2.json @@ -473,6 +473,61 @@ {"shape":"UninitializedAccountException"} ] }, + "ListExportErrors":{ + "name":"ListExportErrors", + "http":{ + "method":"POST", + "requestUri":"/ListExportErrors", + "responseCode":200 + }, + "input":{"shape":"ListExportErrorsRequest"}, + "output":{"shape":"ListExportErrorsResponse"}, + "errors":[ + {"shape":"UninitializedAccountException"}, + {"shape":"ValidationException"} + ] + }, + "ListExports":{ + "name":"ListExports", + "http":{ + "method":"POST", + "requestUri":"/ListExports", + "responseCode":200 + }, + "input":{"shape":"ListExportsRequest"}, + "output":{"shape":"ListExportsResponse"}, + "errors":[ + {"shape":"UninitializedAccountException"} + ] + }, + "ListImportErrors":{ + "name":"ListImportErrors", + "http":{ + "method":"POST", + "requestUri":"/ListImportErrors", + "responseCode":200 + }, + "input":{"shape":"ListImportErrorsRequest"}, + "output":{"shape":"ListImportErrorsResponse"}, + "errors":[ + {"shape":"UninitializedAccountException"}, + {"shape":"ValidationException"} + ] + }, + "ListImports":{ + "name":"ListImports", + "http":{ + "method":"POST", + "requestUri":"/ListImports", + "responseCode":200 + }, + "input":{"shape":"ListImportsRequest"}, + "output":{"shape":"ListImportsResponse"}, + "errors":[ + {"shape":"UninitializedAccountException"}, + {"shape":"ValidationException"} + ] + }, "ListSourceServerActions":{ "name":"ListSourceServerActions", "http":{ @@ -638,6 +693,38 @@ {"shape":"ConflictException"} ] }, + "StartExport":{ + "name":"StartExport", + "http":{ + "method":"POST", + "requestUri":"/StartExport", + "responseCode":202 + }, + "input":{"shape":"StartExportRequest"}, + "output":{"shape":"StartExportResponse"}, + "errors":[ + {"shape":"UninitializedAccountException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ] + }, + "StartImport":{ + "name":"StartImport", + "http":{ + "method":"POST", + "requestUri":"/StartImport", + "responseCode":202 + }, + "input":{"shape":"StartImportRequest"}, + "output":{"shape":"StartImportResponse"}, + "errors":[ + {"shape":"UninitializedAccountException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"} + ] + }, "StartReplication":{ "name":"StartReplication", "http":{ @@ -883,6 +970,33 @@ }, "exception":true }, + "AccountID":{ + "type":"string", + "max":12, + "min":12, + "pattern":"[0-9]{12,}" + }, + "ActionCategory":{ + "type":"string", + "enum":[ + "DISASTER_RECOVERY", + "OPERATING_SYSTEM", + "LICENSE_AND_SUBSCRIPTION", + "VALIDATION", + "OBSERVABILITY", + "SECURITY", + "NETWORKING", + "CONFIGURATION", + "BACKUP", + "OTHER" + ] + }, + "ActionDescription":{ + "type":"string", + "max":256, + "min":0, + "pattern":"^[0-9a-zA-Z ():/.,'-_#*; ]*$" + }, "ActionID":{ "type":"string", "max":64, @@ -1076,6 +1190,11 @@ "CUTOVER" ] }, + "ClientIdempotencyToken":{ + "type":"string", + "max":64, + "min":0 + }, "CloudWatchLogGroupName":{ "type":"string", "max":512, @@ -1594,6 +1713,64 @@ "resourceType":{"shape":"LargeBoundedString"} } }, + "ExportErrorData":{ + "type":"structure", + "members":{ + "rawError":{"shape":"LargeBoundedString"} + } + }, + "ExportErrors":{ + "type":"list", + "member":{"shape":"ExportTaskError"} + }, + "ExportID":{ + "type":"string", + "max":24, + "min":24, + "pattern":"^export-[0-9a-zA-Z]{17}$" + }, + "ExportStatus":{ + "type":"string", + "enum":[ + "PENDING", + "STARTED", + "FAILED", + "SUCCEEDED" + ] + }, + "ExportTask":{ + "type":"structure", + "members":{ + "creationDateTime":{"shape":"ISO8601DatetimeString"}, + "endDateTime":{"shape":"ISO8601DatetimeString"}, + "exportID":{"shape":"ExportID"}, + "progressPercentage":{"shape":"Float"}, + "s3Bucket":{"shape":"S3BucketName"}, + "s3BucketOwner":{"shape":"AccountID"}, + "s3Key":{"shape":"S3Key"}, + "status":{"shape":"ExportStatus"}, + "summary":{"shape":"ExportTaskSummary"} + } + }, + "ExportTaskError":{ + "type":"structure", + "members":{ + "errorData":{"shape":"ExportErrorData"}, + "errorDateTime":{"shape":"ISO8601DatetimeString"} + } + }, + "ExportTaskSummary":{ + "type":"structure", + "members":{ + "applicationsCount":{"shape":"PositiveInteger"}, + "serversCount":{"shape":"PositiveInteger"}, + "wavesCount":{"shape":"PositiveInteger"} + } + }, + "ExportsList":{ + "type":"list", + "member":{"shape":"ExportTask"} + }, "FinalizeCutoverRequest":{ "type":"structure", "required":["sourceServerID"], @@ -1610,6 +1787,10 @@ "STOPPED" ] }, + "Float":{ + "type":"float", + "box":true + }, "GetLaunchConfigurationRequest":{ "type":"structure", "required":["sourceServerID"], @@ -1649,6 +1830,102 @@ "vmWareUuid":{"shape":"BoundedString"} } }, + "ImportErrorData":{ + "type":"structure", + "members":{ + "applicationID":{"shape":"ApplicationID"}, + "ec2LaunchTemplateID":{"shape":"BoundedString"}, + "rawError":{"shape":"LargeBoundedString"}, + "rowNumber":{"shape":"PositiveInteger"}, + "sourceServerID":{"shape":"SourceServerID"}, + "waveID":{"shape":"WaveID"} + } + }, + "ImportErrorType":{ + "type":"string", + "enum":[ + "VALIDATION_ERROR", + "PROCESSING_ERROR" + ] + }, + "ImportErrors":{ + "type":"list", + "member":{"shape":"ImportTaskError"} + }, + "ImportID":{ + "type":"string", + "max":24, + "min":24, + "pattern":"^import-[0-9a-zA-Z]{17}$" + }, + "ImportIDsFilter":{ + "type":"list", + "member":{"shape":"ImportID"}, + "max":10, + "min":0 + }, + "ImportList":{ + "type":"list", + "member":{"shape":"ImportTask"} + }, + "ImportStatus":{ + "type":"string", + "enum":[ + "PENDING", + "STARTED", + "FAILED", + "SUCCEEDED" + ] + }, + "ImportTask":{ + "type":"structure", + "members":{ + "creationDateTime":{"shape":"ISO8601DatetimeString"}, + "endDateTime":{"shape":"ISO8601DatetimeString"}, + "importID":{"shape":"ImportID"}, + "progressPercentage":{"shape":"Float"}, + "s3BucketSource":{"shape":"S3BucketSource"}, + "status":{"shape":"ImportStatus"}, + "summary":{"shape":"ImportTaskSummary"} + } + }, + "ImportTaskError":{ + "type":"structure", + "members":{ + "errorData":{"shape":"ImportErrorData"}, + "errorDateTime":{"shape":"ISO8601DatetimeString"}, + "errorType":{"shape":"ImportErrorType"} + } + }, + "ImportTaskSummary":{ + "type":"structure", + "members":{ + "applications":{"shape":"ImportTaskSummaryApplications"}, + "servers":{"shape":"ImportTaskSummaryServers"}, + "waves":{"shape":"ImportTaskSummaryWaves"} + } + }, + "ImportTaskSummaryApplications":{ + "type":"structure", + "members":{ + "createdCount":{"shape":"PositiveInteger"}, + "modifiedCount":{"shape":"PositiveInteger"} + } + }, + "ImportTaskSummaryServers":{ + "type":"structure", + "members":{ + "createdCount":{"shape":"PositiveInteger"}, + "modifiedCount":{"shape":"PositiveInteger"} + } + }, + "ImportTaskSummaryWaves":{ + "type":"structure", + "members":{ + "createdCount":{"shape":"PositiveInteger"}, + "modifiedCount":{"shape":"PositiveInteger"} + } + }, "InitializeServiceRequest":{ "type":"structure", "members":{ @@ -1683,6 +1960,12 @@ "exception":true, "fault":true }, + "JmesPathString":{ + "type":"string", + "max":1011, + "min":1, + "pattern":"^[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_\\[\\]]+)*$" + }, "Job":{ "type":"structure", "required":["jobID"], @@ -1954,7 +2237,8 @@ "CUTTING_OVER", "CUTOVER", "DISCONNECTED", - "DISCOVERED" + "DISCOVERED", + "PENDING_INSTALLATION" ] }, "LifeCycleStates":{ @@ -1986,6 +2270,86 @@ "nextToken":{"shape":"PaginationToken"} } }, + "ListExportErrorsRequest":{ + "type":"structure", + "required":["exportID"], + "members":{ + "exportID":{"shape":"ExportID"}, + "maxResults":{"shape":"MaxResultsType"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "ListExportErrorsResponse":{ + "type":"structure", + "members":{ + "items":{"shape":"ExportErrors"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "ListExportsRequest":{ + "type":"structure", + "members":{ + "filters":{"shape":"ListExportsRequestFilters"}, + "maxResults":{"shape":"MaxResultsType"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "ListExportsRequestFilters":{ + "type":"structure", + "members":{ + "exportIDs":{"shape":"ListExportsRequestFiltersExportIDs"} + } + }, + "ListExportsRequestFiltersExportIDs":{ + "type":"list", + "member":{"shape":"ExportID"}, + "max":10, + "min":0 + }, + "ListExportsResponse":{ + "type":"structure", + "members":{ + "items":{"shape":"ExportsList"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "ListImportErrorsRequest":{ + "type":"structure", + "required":["importID"], + "members":{ + "importID":{"shape":"ImportID"}, + "maxResults":{"shape":"MaxResultsType"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "ListImportErrorsResponse":{ + "type":"structure", + "members":{ + "items":{"shape":"ImportErrors"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "ListImportsRequest":{ + "type":"structure", + "members":{ + "filters":{"shape":"ListImportsRequestFilters"}, + "maxResults":{"shape":"MaxResultsType"}, + "nextToken":{"shape":"PaginationToken"} + } + }, + "ListImportsRequestFilters":{ + "type":"structure", + "members":{ + "importIDs":{"shape":"ImportIDsFilter"} + } + }, + "ListImportsResponse":{ + "type":"structure", + "members":{ + "items":{"shape":"ImportList"}, + "nextToken":{"shape":"PaginationToken"} + } + }, "ListSourceServerActionsRequest":{ "type":"structure", "required":["sourceServerID"], @@ -2173,8 +2537,11 @@ "actionID":{"shape":"ActionID"}, "actionName":{"shape":"ActionName"}, "active":{"shape":"Boolean"}, + "category":{"shape":"ActionCategory"}, + "description":{"shape":"ActionDescription"}, "documentIdentifier":{"shape":"BoundedString"}, "documentVersion":{"shape":"DocumentVersion"}, + "externalParameters":{"shape":"SsmDocumentExternalParameters"}, "mustSucceedForCutover":{"shape":"Boolean"}, "order":{"shape":"OrderType"}, "parameters":{"shape":"SsmDocumentParameters"}, @@ -2195,8 +2562,11 @@ "actionID":{"shape":"ActionID"}, "actionName":{"shape":"BoundedString"}, "active":{"shape":"Boolean"}, + "category":{"shape":"ActionCategory"}, + "description":{"shape":"ActionDescription"}, "documentIdentifier":{"shape":"BoundedString"}, "documentVersion":{"shape":"DocumentVersion"}, + "externalParameters":{"shape":"SsmDocumentExternalParameters"}, "launchConfigurationTemplateID":{"shape":"LaunchConfigurationTemplateID"}, "mustSucceedForCutover":{"shape":"Boolean"}, "operatingSystem":{"shape":"OperatingSystemString"}, @@ -2385,6 +2755,26 @@ "sourceServerID":{"shape":"SourceServerID"} } }, + "S3BucketName":{ + "type":"string", + "pattern":"^[a-zA-Z0-9.\\-_]{1,255}$" + }, + "S3BucketSource":{ + "type":"structure", + "required":[ + "s3Bucket", + "s3Key" + ], + "members":{ + "s3Bucket":{"shape":"S3BucketName"}, + "s3BucketOwner":{"shape":"AccountID"}, + "s3Key":{"shape":"S3Key"} + } + }, + "S3Key":{ + "type":"string", + "pattern":"^[^\\x00]{1,1020}\\.csv$" + }, "S3LogBucketName":{ "type":"string", "max":63, @@ -2437,6 +2827,7 @@ "applicationID":{"shape":"ApplicationID"}, "arn":{"shape":"ARN"}, "dataReplicationInfo":{"shape":"DataReplicationInfo"}, + "fqdnForActionFramework":{"shape":"BoundedString"}, "isArchived":{"shape":"Boolean"}, "launchedInstance":{"shape":"LaunchedInstance"}, "lifeCycle":{"shape":"LifeCycle"}, @@ -2444,6 +2835,7 @@ "sourceProperties":{"shape":"SourceProperties"}, "sourceServerID":{"shape":"SourceServerID"}, "tags":{"shape":"TagsMap"}, + "userProvidedID":{"shape":"BoundedString"}, "vcenterClientID":{"shape":"VcenterClientID"} } }, @@ -2453,8 +2845,11 @@ "actionID":{"shape":"ActionID"}, "actionName":{"shape":"ActionName"}, "active":{"shape":"Boolean"}, + "category":{"shape":"ActionCategory"}, + "description":{"shape":"ActionDescription"}, "documentIdentifier":{"shape":"BoundedString"}, "documentVersion":{"shape":"DocumentVersion"}, + "externalParameters":{"shape":"SsmDocumentExternalParameters"}, "mustSucceedForCutover":{"shape":"Boolean"}, "order":{"shape":"OrderType"}, "parameters":{"shape":"SsmDocumentParameters"}, @@ -2491,12 +2886,20 @@ ], "members":{ "actionName":{"shape":"BoundedString"}, + "externalParameters":{"shape":"SsmDocumentExternalParameters"}, "mustSucceedForCutover":{"shape":"Boolean"}, "parameters":{"shape":"SsmDocumentParameters"}, "ssmDocumentName":{"shape":"SsmDocumentName"}, "timeoutSeconds":{"shape":"StrictlyPositiveInteger"} } }, + "SsmDocumentExternalParameters":{ + "type":"map", + "key":{"shape":"SsmDocumentParameterName"}, + "value":{"shape":"SsmExternalParameter"}, + "max":20, + "min":0 + }, "SsmDocumentName":{ "type":"string", "max":172, @@ -2529,6 +2932,13 @@ "max":10, "min":0 }, + "SsmExternalParameter":{ + "type":"structure", + "members":{ + "dynamicPath":{"shape":"JmesPathString"} + }, + "union":true + }, "SsmParameterStoreParameter":{ "type":"structure", "required":[ @@ -2576,6 +2986,41 @@ "job":{"shape":"Job"} } }, + "StartExportRequest":{ + "type":"structure", + "required":[ + "s3Bucket", + "s3Key" + ], + "members":{ + "s3Bucket":{"shape":"S3BucketName"}, + "s3BucketOwner":{"shape":"AccountID"}, + "s3Key":{"shape":"S3Key"} + } + }, + "StartExportResponse":{ + "type":"structure", + "members":{ + "exportTask":{"shape":"ExportTask"} + } + }, + "StartImportRequest":{ + "type":"structure", + "required":["s3BucketSource"], + "members":{ + "clientToken":{ + "shape":"ClientIdempotencyToken", + "idempotencyToken":true + }, + "s3BucketSource":{"shape":"S3BucketSource"} + } + }, + "StartImportResponse":{ + "type":"structure", + "members":{ + "importTask":{"shape":"ImportTask"} + } + }, "StartReplicationRequest":{ "type":"structure", "required":["sourceServerID"], @@ -2662,8 +3107,11 @@ "actionID":{"shape":"ActionID"}, "actionName":{"shape":"BoundedString"}, "active":{"shape":"Boolean"}, + "category":{"shape":"ActionCategory"}, + "description":{"shape":"ActionDescription"}, "documentIdentifier":{"shape":"BoundedString"}, "documentVersion":{"shape":"DocumentVersion"}, + "externalParameters":{"shape":"SsmDocumentExternalParameters"}, "mustSucceedForCutover":{"shape":"Boolean"}, "operatingSystem":{"shape":"OperatingSystemString"}, "order":{"shape":"OrderType"}, diff --git a/models/apis/mgn/2020-02-26/docs-2.json b/models/apis/mgn/2020-02-26/docs-2.json index d774d1a779..86ab0d2494 100644 --- a/models/apis/mgn/2020-02-26/docs-2.json +++ b/models/apis/mgn/2020-02-26/docs-2.json @@ -32,6 +32,10 @@ "GetReplicationConfiguration": "

Lists all ReplicationConfigurations, filtered by Source Server ID.

", "InitializeService": "

Initialize Application Migration Service.

", "ListApplications": "

Retrieves all applications or multiple applications by ID.

", + "ListExportErrors": "

List export errors.

", + "ListExports": "

List exports.

", + "ListImportErrors": "

List import errors.

", + "ListImports": "

List imports.

", "ListSourceServerActions": "

List source server post migration custom actions.

", "ListTagsForResource": "

List all tags for your Application Migration Service resources.

", "ListTemplateActions": "

List template post migration custom actions.

", @@ -43,6 +47,8 @@ "RemoveTemplateAction": "

Remove template post migration custom action.

", "RetryDataReplication": "

Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.

", "StartCutover": "

Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.

", + "StartExport": "

Start export.

", + "StartImport": "

Start import.

", "StartReplication": "

Starts replication for SNAPSHOT_SHIPPING agents.

", "StartTest": "

Launches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.

", "TagResource": "

Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.

", @@ -85,6 +91,32 @@ "refs": { } }, + "AccountID": { + "base": null, + "refs": { + "ExportTask$s3BucketOwner": "

Export task s3 bucket owner.

", + "S3BucketSource$s3BucketOwner": "

S3 bucket source s3 bucket owner.

", + "StartExportRequest$s3BucketOwner": "

Start export request s3 bucket owner.

" + } + }, + "ActionCategory": { + "base": null, + "refs": { + "PutSourceServerActionRequest$category": "

Source server post migration custom action category.

", + "PutTemplateActionRequest$category": "

Template post migration custom action category.

", + "SourceServerActionDocument$category": "

Source server post migration custom action category.

", + "TemplateActionDocument$category": "

Template post migration custom action category.

" + } + }, + "ActionDescription": { + "base": null, + "refs": { + "PutSourceServerActionRequest$description": "

Source server post migration custom action description.

", + "PutTemplateActionRequest$description": "

Template post migration custom action description.

", + "SourceServerActionDocument$description": "

Source server post migration custom action description.

", + "TemplateActionDocument$description": "

Template post migration custom action description.

" + } + }, "ActionID": { "base": null, "refs": { @@ -148,6 +180,7 @@ "DeleteApplicationRequest$applicationID": "

Application ID.

", "DescribeSourceServersRequestApplicationIDs$member": null, "DisassociateSourceServersRequest$applicationID": "

Application ID.

", + "ImportErrorData$applicationID": "

Import error data application ID.

", "SourceServer$applicationID": "

Source server application ID.

", "UnarchiveApplicationRequest$applicationID": "

Application ID.

", "UpdateApplicationRequest$applicationID": "

Application ID.

" @@ -300,6 +333,7 @@ "IdentificationHints$hostname": "

Hostname identification hint.

", "IdentificationHints$vmPath": "

vCenter VM path identification hint.

", "IdentificationHints$vmWareUuid": "

vmWare UUID identification hint.

", + "ImportErrorData$ec2LaunchTemplateID": "

Import error data ec2 LaunchTemplate ID.

", "JobPostLaunchActionsLaunchStatus$executionID": "

AWS Systems Manager Document's execution ID of the of the Job Post Launch Actions.

", "JobPostLaunchActionsLaunchStatus$failureReason": "

AWS Systems Manager Document's failure reason.

", "LaunchConfiguration$ec2LaunchTemplateID": "

Launch configuration EC2 Launch template ID.

", @@ -310,6 +344,8 @@ "PutTemplateActionRequest$actionName": "

Template post migration custom action name.

", "PutTemplateActionRequest$documentIdentifier": "

Template post migration custom action document identifier.

", "ReplicationConfigurationReplicatedDisk$deviceName": "

Replication Configuration replicated disk device name.

", + "SourceServer$fqdnForActionFramework": "

Source server fqdn for action framework.

", + "SourceServer$userProvidedID": "

Source server user provided ID.

", "SourceServerActionDocument$documentIdentifier": "

Source server post migration custom action document identifier.

", "SsmDocument$actionName": "

User-friendly name for the AWS Systems Manager Document.

", "TemplateActionDocument$actionName": "

Template post migration custom action name.

", @@ -342,6 +378,12 @@ "ChangeServerLifeCycleStateSourceServerLifecycle$state": "

The request to change the source server migration lifecycle state.

" } }, + "ClientIdempotencyToken": { + "base": null, + "refs": { + "StartImportRequest$clientToken": "

Start import request client token.

" + } + }, "CloudWatchLogGroupName": { "base": null, "refs": { @@ -691,6 +733,57 @@ "ConflictExceptionErrors$member": null } }, + "ExportErrorData": { + "base": "

Export errors data.

", + "refs": { + "ExportTaskError$errorData": "

Export task error data.

" + } + }, + "ExportErrors": { + "base": null, + "refs": { + "ListExportErrorsResponse$items": "

List export errors response items.

" + } + }, + "ExportID": { + "base": null, + "refs": { + "ExportTask$exportID": "

Export task id.

", + "ListExportErrorsRequest$exportID": "

List export errors request export id.

", + "ListExportsRequestFiltersExportIDs$member": null + } + }, + "ExportStatus": { + "base": null, + "refs": { + "ExportTask$status": "

Export task status.

" + } + }, + "ExportTask": { + "base": "

Export task.

", + "refs": { + "ExportsList$member": null, + "StartExportResponse$exportTask": "

Start export response export task.

" + } + }, + "ExportTaskError": { + "base": "

Export task error.

", + "refs": { + "ExportErrors$member": null + } + }, + "ExportTaskSummary": { + "base": "

Export task summary.

", + "refs": { + "ExportTask$summary": "

Export task summary.

" + } + }, + "ExportsList": { + "base": null, + "refs": { + "ListExportsResponse$items": "

List export response items.

" + } + }, "FinalizeCutoverRequest": { "base": null, "refs": { @@ -702,6 +795,13 @@ "LaunchedInstance$firstBoot": "

Launched instance first boot.

" } }, + "Float": { + "base": null, + "refs": { + "ExportTask$progressPercentage": "

Export task progress percentage.

", + "ImportTask$progressPercentage": "

Import task progress percentage.

" + } + }, "GetLaunchConfigurationRequest": { "base": null, "refs": { @@ -730,6 +830,12 @@ "DataReplicationInitiation$startDateTime": "

Request to query data initiation start date and time.

", "DescribeJobsRequestFilters$fromDate": "

Request to describe Job log filters by date.

", "DescribeJobsRequestFilters$toDate": "

Request to describe job log items by last date.

", + "ExportTask$creationDateTime": "

Export task creation datetime.

", + "ExportTask$endDateTime": "

Export task end datetime.

", + "ExportTaskError$errorDateTime": "

Export task error datetime.

", + "ImportTask$creationDateTime": "

Import task creation datetime.

", + "ImportTask$endDateTime": "

Import task end datetime.

", + "ImportTaskError$errorDateTime": "

Import task error datetime.

", "Job$creationDateTime": "

Job creation time.

", "Job$endDateTime": "

Job end time.

", "JobLog$logDateTime": "

Job log event date and time.

", @@ -764,6 +870,87 @@ "SourceProperties$identificationHints": "

Source server identification hints.

" } }, + "ImportErrorData": { + "base": "

Import error data.

", + "refs": { + "ImportTaskError$errorData": "

Import task error data.

" + } + }, + "ImportErrorType": { + "base": null, + "refs": { + "ImportTaskError$errorType": "

Import task error type.

" + } + }, + "ImportErrors": { + "base": null, + "refs": { + "ListImportErrorsResponse$items": "

List imports errors response items.

" + } + }, + "ImportID": { + "base": null, + "refs": { + "ImportIDsFilter$member": null, + "ImportTask$importID": "

Import task id.

", + "ListImportErrorsRequest$importID": "

List import errors request import id.

" + } + }, + "ImportIDsFilter": { + "base": null, + "refs": { + "ListImportsRequestFilters$importIDs": "

List imports request filters import IDs.

" + } + }, + "ImportList": { + "base": null, + "refs": { + "ListImportsResponse$items": "

List import response items.

" + } + }, + "ImportStatus": { + "base": null, + "refs": { + "ImportTask$status": "

Import task status.

" + } + }, + "ImportTask": { + "base": "

Import task.

", + "refs": { + "ImportList$member": null, + "StartImportResponse$importTask": "

Start import response import task.

" + } + }, + "ImportTaskError": { + "base": "

Import task error.

", + "refs": { + "ImportErrors$member": null + } + }, + "ImportTaskSummary": { + "base": "

Import task summary.

", + "refs": { + "ImportTask$summary": "

Import task summary.

" + } + }, + "ImportTaskSummaryApplications": { + "base": "

Import task summary applications.

", + "refs": { + "ImportTaskSummary$applications": "

Import task summary applications.

" + } + }, + "ImportTaskSummaryServers": { + "base": "

Import task summary servers.

", + "refs": { + "ImportTaskSummary$servers": "

Import task summary servers.

" + } + }, + "ImportTaskSummaryWaves": { + "base": "

Import task summery waves.

", + "refs": { + "ImportTaskSummary$waves": "

Import task summary waves.

" + } + }, "InitializeServiceRequest": { "base": null, "refs": { @@ -785,6 +972,12 @@ "refs": { } }, + "JmesPathString": { + "base": null, + "refs": { + "SsmExternalParameter$dynamicPath": "

AWS Systems Manager Document external parameters dynamic path.

" + } + }, "Job": { "base": "

Job.

", "refs": { @@ -867,6 +1060,8 @@ "ErrorDetails$message": "

Error details message.

", "ErrorDetails$resourceId": "

Error details resourceId.

", "ErrorDetails$resourceType": "

Error details resourceType.

", + "ExportErrorData$rawError": "

Export errors data raw error.

", + "ImportErrorData$rawError": "

Import error data raw error.

", "InternalServerException$message": null, "JobLogEventData$rawError": "

Job error.

", "ResourceNotFoundException$code": null, @@ -1052,6 +1247,64 @@ "refs": { } }, + "ListExportErrorsRequest": { + "base": "

List export errors request.

", + "refs": { + } + }, + "ListExportErrorsResponse": { + "base": "

List export errors response.

", + "refs": { + } + }, + "ListExportsRequest": { + "base": "

List export request.

", + "refs": { + } + }, + "ListExportsRequestFilters": { + "base": "

List exports request filters.

", + "refs": { + "ListExportsRequest$filters": null + } + }, + "ListExportsRequestFiltersExportIDs": { + "base": null, + "refs": { + "ListExportsRequestFilters$exportIDs": "

List exports request filters export ids.

" + } + }, + "ListExportsResponse": { + "base": "

List export response.

", + "refs": { + } + }, + "ListImportErrorsRequest": { + "base": "

List import errors request.

", + "refs": { + } + }, + "ListImportErrorsResponse": { + "base": "

List imports errors response.

", + "refs": { + } + }, + "ListImportsRequest": { + "base": "

List imports request.

", + "refs": { + } + }, + "ListImportsRequestFilters": { + "base": "

List imports request filters.

", + "refs": { + "ListImportsRequest$filters": "

List imports request filters.

" + } + }, + "ListImportsResponse": { + "base": "

List import response.

", + "refs": { + } + }, "ListSourceServerActionsRequest": { "base": null, "refs": { @@ -1113,6 +1366,10 @@ "DescribeSourceServersRequest$maxResults": "

Request to filter Source Servers list by maximum results.

", "DescribeVcenterClientsRequest$maxResults": "

Maximum results to be returned in DescribeVcenterClients.

", "ListApplicationsRequest$maxResults": "

Maximum results to return when listing applications.

", + "ListExportErrorsRequest$maxResults": "

List export errors request max results.

", + "ListExportsRequest$maxResults": "

List export request max results.

", + "ListImportErrorsRequest$maxResults": "

List import errors request max results.

", + "ListImportsRequest$maxResults": "

List imports request max results.

", "ListSourceServerActionsRequest$maxResults": "

Maximum amount of items to return when listing source server post migration custom actions.

", "ListTemplateActionsRequest$maxResults": "

Maximum amount of items to return when listing template post migration custom actions.

", "ListWavesRequest$maxResults": "

Maximum results to return when listing waves.

" @@ -1169,6 +1426,14 @@ "DescribeVcenterClientsResponse$nextToken": "

Next pagination token returned from DescribeVcenterClients.

", "ListApplicationsRequest$nextToken": "

Request next token.

", "ListApplicationsResponse$nextToken": "

Response next token.

", + "ListExportErrorsRequest$nextToken": "

List export errors request next token.

", + "ListExportErrorsResponse$nextToken": "

List export errors response next token.

", + "ListExportsRequest$nextToken": "

List export request next token.

", + "ListExportsResponse$nextToken": "

List export response next token.

", + "ListImportErrorsRequest$nextToken": "

List import errors request next token.

", + "ListImportErrorsResponse$nextToken": "

List imports errors response next token.

", + "ListImportsRequest$nextToken": "

List imports request next token.

", + "ListImportsResponse$nextToken": "

List import response next token.

", "ListSourceServerActionsRequest$nextToken": "

Next token to use when listing source server post migration custom actions.

", "ListSourceServerActionsResponse$nextToken": "

Next token returned when listing source server post migration custom actions.

", "ListTemplateActionsRequest$nextToken": "

Next token to use when listing template post migration custom actions.

", @@ -1201,6 +1466,16 @@ "DataReplicationInfoReplicatedDisk$rescannedStorageBytes": "

Request to query amount of data rescanned in bytes.

", "DataReplicationInfoReplicatedDisk$totalStorageBytes": "

Request to query total amount of data replicated in bytes.

", "Disk$bytes": "

The amount of storage on the disk in bytes.

", + "ExportTaskSummary$applicationsCount": "

Export task summary applications count.

", + "ExportTaskSummary$serversCount": "

Export task summary servers count.

", + "ExportTaskSummary$wavesCount": "

Export task summary waves count.

", + "ImportErrorData$rowNumber": "

Import error data row number.

", + "ImportTaskSummaryApplications$createdCount": "

Import task summary applications created count.

", + "ImportTaskSummaryApplications$modifiedCount": "

Import task summary applications modified count.

", + "ImportTaskSummaryServers$createdCount": "

Import task summary servers created count.

", + "ImportTaskSummaryServers$modifiedCount": "

Import task summary servers modified count.

", + "ImportTaskSummaryWaves$createdCount": "

Import task summery waves created count.

", + "ImportTaskSummaryWaves$modifiedCount": "

Import task summery waves modified count.

", "InternalServerException$retryAfterSeconds": "

The server encountered an unexpected condition that prevented it from fulfilling the request. The request will be retried again after x seconds.

", "LaunchConfigurationTemplate$smallVolumeMaxSize": "

Small volume maximum size.

", "LaunchTemplateDiskConf$iops": "

Launch template disk iops configuration.

", @@ -1395,6 +1670,29 @@ "refs": { } }, + "S3BucketName": { + "base": null, + "refs": { + "ExportTask$s3Bucket": "

Export task s3 bucket.

", + "S3BucketSource$s3Bucket": "

S3 bucket source s3 bucket.

", + "StartExportRequest$s3Bucket": "

Start export request s3 bucket.

" + } + }, + "S3BucketSource": { + "base": "

S3 bucket source.

", + "refs": { + "ImportTask$s3BucketSource": "

Import task s3 bucket source.

", + "StartImportRequest$s3BucketSource": "

Start import request s3 bucket source.

" + } + }, + "S3Key": { + "base": null, + "refs": { + "ExportTask$s3Key": "

Export task s3 key.

", + "S3BucketSource$s3Key": "

S3 bucket source s3 key.

", + "StartExportRequest$s3Key": "

Start export request s3key.

" + } + }, "S3LogBucketName": { "base": null, "refs": { @@ -1463,6 +1761,7 @@ "FinalizeCutoverRequest$sourceServerID": "

Request to finalize Cutover by Source Server ID.

", "GetLaunchConfigurationRequest$sourceServerID": "

Request to get Launch Configuration information by Source Server ID.

", "GetReplicationConfigurationRequest$sourceServerID": "

Request to get Replication Configuration by Source Server ID.

", + "ImportErrorData$sourceServerID": "

Import error data source server ID.

", "JobLogEventData$sourceServerID": "

Job Event Source Server ID.

", "LaunchConfiguration$sourceServerID": "

Launch configuration Source Server ID.

", "ListSourceServerActionsRequest$sourceServerID": "

Source server ID.

", @@ -1495,6 +1794,16 @@ "SsmDocuments$member": null } }, + "SsmDocumentExternalParameters": { + "base": null, + "refs": { + "PutSourceServerActionRequest$externalParameters": "

Source server post migration custom action external parameters.

", + "PutTemplateActionRequest$externalParameters": "

Template post migration custom action external parameters.

", + "SourceServerActionDocument$externalParameters": "

Source server post migration custom action external parameters.

", + "SsmDocument$externalParameters": "

AWS Systems Manager Document external parameters.

", + "TemplateActionDocument$externalParameters": "

Template post migration custom action external parameters.

" + } + }, "SsmDocumentName": { "base": null, "refs": { @@ -1504,6 +1813,7 @@ "SsmDocumentParameterName": { "base": null, "refs": { + "SsmDocumentExternalParameters$key": null, "SsmDocumentParameters$key": null } }, @@ -1529,6 +1839,12 @@ "PostLaunchActions$ssmDocuments": "

AWS Systems Manager Documents.

" } }, + "SsmExternalParameter": { + "base": "

AWS Systems Manager Document external parameter.

", + "refs": { + "SsmDocumentExternalParameters$value": null + } + }, "SsmParameterStoreParameter": { "base": "

AWS Systems Manager Parameter Store parameter.

", "refs": { @@ -1569,6 +1885,26 @@ "refs": { } }, + "StartExportRequest": { + "base": "

Start export request.

", + "refs": { + } + }, + "StartExportResponse": { + "base": "

Start export response.

", + "refs": { + } + }, + "StartImportRequest": { + "base": "

Start import request.

", + "refs": { + } + }, + "StartImportResponse": { + "base": "

Start import response.

", + "refs": { + } + }, "StartReplicationRequest": { "base": null, "refs": { @@ -1854,6 +2190,7 @@ "AssociateApplicationsRequest$waveID": "

Wave ID.

", "DeleteWaveRequest$waveID": "

Wave ID.

", "DisassociateApplicationsRequest$waveID": "

Wave ID.

", + "ImportErrorData$waveID": "

Import error data wave id.

", "UnarchiveWaveRequest$waveID": "

Wave ID.

", "UpdateWaveRequest$waveID": "

Wave ID.

", "Wave$waveID": "

Wave ID.

", diff --git a/models/apis/mgn/2020-02-26/endpoint-rule-set-1.json b/models/apis/mgn/2020-02-26/endpoint-rule-set-1.json index 1d5c3b554e..33f645d40e 100644 --- a/models/apis/mgn/2020-02-26/endpoint-rule-set-1.json +++ b/models/apis/mgn/2020-02-26/endpoint-rule-set-1.json @@ -32,13 +32,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -46,23 +45,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -71,67 +67,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -140,90 +111,215 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://mgn-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } ] }, { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsDualStack" + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://mgn-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mgn-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsFIPS" + true ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://mgn.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -231,7 +327,7 @@ { "conditions": [], "endpoint": { - "url": "https://mgn-fips.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://mgn.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -240,74 +336,13 @@ ] } ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://mgn.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "endpoint": { - "url": "https://mgn.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } diff --git a/models/apis/mgn/2020-02-26/endpoint-tests-1.json b/models/apis/mgn/2020-02-26/endpoint-tests-1.json index 531244afb5..fcda59beb3 100644 --- a/models/apis/mgn/2020-02-26/endpoint-tests-1.json +++ b/models/apis/mgn/2020-02-26/endpoint-tests-1.json @@ -1,614 +1,55 @@ { "testCases": [ { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.ap-south-1.api.aws" - } - }, - "params": { - "Region": "ap-south-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.ap-south-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-south-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.ap-south-1.api.aws" - } - }, - "params": { - "Region": "ap-south-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.ap-south-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-south-1.api.aws" - } - }, - "params": { - "Region": "eu-south-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-south-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-south-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.eu-south-1.api.aws" - } - }, - "params": { - "Region": "eu-south-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.eu-south-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.ca-central-1.api.aws" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.ca-central-1.api.aws" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-central-1.api.aws" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.eu-central-1.api.aws" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.us-west-1.api.aws" - } - }, - "params": { - "Region": "us-west-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.us-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-west-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.us-west-1.api.aws" - } - }, - "params": { - "Region": "us-west-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.us-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.us-west-2.api.aws" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.us-west-2.api.aws" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.af-south-1.api.aws" - } - }, - "params": { - "Region": "af-south-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.af-south-1.amazonaws.com" - } - }, - "params": { - "Region": "af-south-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.af-south-1.api.aws" - } - }, - "params": { - "Region": "af-south-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.af-south-1.amazonaws.com" - } - }, - "params": { - "Region": "af-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-north-1.api.aws" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.eu-north-1.api.aws" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.eu-north-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-west-3.api.aws" - } - }, - "params": { - "Region": "eu-west-3", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-west-3.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-3", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.eu-west-3.api.aws" - } - }, - "params": { - "Region": "eu-west-3", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.eu-west-3.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-3", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-west-2.api.aws" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.eu-west-2.api.aws" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-west-1.api.aws" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.eu-west-1.api.aws" + "url": "https://mgn.af-south-1.amazonaws.com" } }, "params": { - "Region": "eu-west-1", + "Region": "af-south-1", "UseFIPS": false, - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.eu-west-1.amazonaws.com" + "url": "https://mgn.ap-east-1.amazonaws.com" } }, "params": { - "Region": "eu-west-1", + "Region": "ap-east-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.ap-northeast-3.api.aws" - } - }, - "params": { - "Region": "ap-northeast-3", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-3 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-northeast-3.amazonaws.com" + "url": "https://mgn.ap-northeast-1.amazonaws.com" } }, "params": { - "Region": "ap-northeast-3", - "UseFIPS": true, + "Region": "ap-northeast-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.ap-northeast-3.api.aws" + "url": "https://mgn.ap-northeast-2.amazonaws.com" } }, "params": { - "Region": "ap-northeast-3", + "Region": "ap-northeast-2", "UseFIPS": false, - "UseDualStack": true + "UseDualStack": false } }, { @@ -625,146 +66,133 @@ } }, { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-northeast-2.amazonaws.com" + "url": "https://mgn.ap-south-1.amazonaws.com" } }, "params": { - "Region": "ap-northeast-2", - "UseFIPS": true, + "Region": "ap-south-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.ap-northeast-2.api.aws" + "url": "https://mgn.ap-southeast-1.amazonaws.com" } }, "params": { - "Region": "ap-northeast-2", + "Region": "ap-southeast-1", "UseFIPS": false, - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.ap-northeast-2.amazonaws.com" + "url": "https://mgn.ap-southeast-2.amazonaws.com" } }, "params": { - "Region": "ap-northeast-2", + "Region": "ap-southeast-2", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-northeast-1.api.aws" + "url": "https://mgn.ca-central-1.amazonaws.com" } }, "params": { - "Region": "ap-northeast-1", - "UseFIPS": true, - "UseDualStack": true + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-northeast-1.amazonaws.com" + "url": "https://mgn.eu-central-1.amazonaws.com" } }, "params": { - "Region": "ap-northeast-1", - "UseFIPS": true, + "Region": "eu-central-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.ap-northeast-1.api.aws" + "url": "https://mgn.eu-north-1.amazonaws.com" } }, "params": { - "Region": "ap-northeast-1", + "Region": "eu-north-1", "UseFIPS": false, - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.ap-northeast-1.amazonaws.com" + "url": "https://mgn.eu-south-1.amazonaws.com" } }, "params": { - "Region": "ap-northeast-1", + "Region": "eu-south-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.me-south-1.api.aws" + "url": "https://mgn.eu-west-1.amazonaws.com" } }, "params": { - "Region": "me-south-1", - "UseFIPS": true, - "UseDualStack": true + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.me-south-1.amazonaws.com" + "url": "https://mgn.eu-west-2.amazonaws.com" } }, "params": { - "Region": "me-south-1", - "UseFIPS": true, + "Region": "eu-west-2", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.me-south-1.api.aws" + "url": "https://mgn.eu-west-3.amazonaws.com" } }, "params": { - "Region": "me-south-1", + "Region": "eu-west-3", "UseFIPS": false, - "UseDualStack": true + "UseDualStack": false } }, { @@ -780,45 +208,6 @@ "UseDualStack": false } }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.sa-east-1.api.aws" - } - }, - "params": { - "Region": "sa-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.sa-east-1.amazonaws.com" - } - }, - "params": { - "Region": "sa-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.sa-east-1.api.aws" - } - }, - "params": { - "Region": "sa-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, { "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { @@ -833,326 +222,274 @@ } }, { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-east-1.api.aws" + "url": "https://mgn.us-east-1.amazonaws.com" } }, "params": { - "Region": "ap-east-1", - "UseFIPS": true, - "UseDualStack": true + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-east-1.amazonaws.com" + "url": "https://mgn.us-east-2.amazonaws.com" } }, "params": { - "Region": "ap-east-1", - "UseFIPS": true, + "Region": "us-east-2", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.ap-east-1.api.aws" + "url": "https://mgn.us-west-1.amazonaws.com" } }, "params": { - "Region": "ap-east-1", + "Region": "us-west-1", "UseFIPS": false, - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.ap-east-1.amazonaws.com" + "url": "https://mgn.us-west-2.amazonaws.com" } }, "params": { - "Region": "ap-east-1", + "Region": "us-west-2", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-southeast-1.api.aws" + "url": "https://mgn-fips.us-east-1.api.aws" } }, "params": { - "Region": "ap-southeast-1", + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-southeast-1.amazonaws.com" + "url": "https://mgn-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "ap-southeast-1", + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mgn.ap-southeast-1.api.aws" + "url": "https://mgn.us-east-1.api.aws" } }, "params": { - "Region": "ap-southeast-1", + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://mgn.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-southeast-2.api.aws" + "url": "https://mgn-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "ap-southeast-2", + "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-southeast-2.amazonaws.com" + "url": "https://mgn-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "Region": "ap-southeast-2", + "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mgn.ap-southeast-2.api.aws" + "url": "https://mgn.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "ap-southeast-2", + "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.ap-southeast-2.amazonaws.com" + "url": "https://mgn.cn-north-1.amazonaws.com.cn" } }, "params": { - "Region": "ap-southeast-2", + "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-southeast-3.api.aws" + "url": "https://mgn-fips.us-gov-east-1.api.aws" } }, "params": { - "Region": "ap-southeast-3", + "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region ap-southeast-3 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.ap-southeast-3.amazonaws.com" + "url": "https://mgn-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "ap-southeast-3", + "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://mgn.ap-southeast-3.api.aws" + "url": "https://mgn.us-gov-east-1.api.aws" } }, "params": { - "Region": "ap-southeast-3", + "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.ap-southeast-3.amazonaws.com" + "url": "https://mgn.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "ap-southeast-3", + "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.us-east-1.amazonaws.com" + "url": "https://mgn-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.us-east-1.amazonaws.com" + "url": "https://mgn.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://mgn-fips.us-east-2.api.aws" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn-fips.us-east-2.amazonaws.com" + "url": "https://mgn-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "Region": "us-east-2", + "Region": "us-isob-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://mgn.us-east-2.api.aws" + "url": "https://mgn.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "Region": "us-east-2", + "Region": "us-isob-east-1", "UseFIPS": false, - "UseDualStack": true + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://mgn.us-east-2.amazonaws.com" + "url": "https://example.com" } }, "params": { - "Region": "us-east-2", + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false + "UseDualStack": false, + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" diff --git a/models/apis/mgn/2020-02-26/paginators-1.json b/models/apis/mgn/2020-02-26/paginators-1.json index 04af579e20..f243b0f48e 100644 --- a/models/apis/mgn/2020-02-26/paginators-1.json +++ b/models/apis/mgn/2020-02-26/paginators-1.json @@ -42,6 +42,30 @@ "limit_key": "maxResults", "result_key": "items" }, + "ListExportErrors": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + }, + "ListExports": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + }, + "ListImportErrors": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + }, + "ListImports": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + }, "ListSourceServerActions": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 8f730cb2d9..2ed06f3214 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -14735,19 +14735,79 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, - "ca-central-1" : { }, + "ca-central-1" : { + "variants" : [ { + "hostname" : "ssm-sap-fips.ca-central-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-north-1" : { }, "eu-south-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips-ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "deprecated" : true, + "hostname" : "ssm-sap-fips.ca-central-1.amazonaws.com" + }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "ssm-sap-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "ssm-sap-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "ssm-sap-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "ssm-sap-fips.us-west-2.amazonaws.com" + }, "me-south-1" : { }, "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } + "us-east-1" : { + "variants" : [ { + "hostname" : "ssm-sap-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-2" : { + "variants" : [ { + "hostname" : "ssm-sap-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "hostname" : "ssm-sap-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "ssm-sap-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "sso" : { @@ -17638,6 +17698,12 @@ } } }, + "oam" : { + "endpoints" : { + "cn-north-1" : { }, + "cn-northwest-1" : { } + } + }, "organizations" : { "endpoints" : { "aws-cn-global" : { @@ -18639,12 +18705,34 @@ "credentialScope" : { "region" : "us-gov-east-1" }, + "hostname" : "cassandra.us-gov-east-1.amazonaws.com", + "variants" : [ { + "hostname" : "cassandra.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-east-1-fips" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "deprecated" : true, "hostname" : "cassandra.us-gov-east-1.amazonaws.com" }, "us-gov-west-1" : { "credentialScope" : { "region" : "us-gov-west-1" }, + "hostname" : "cassandra.us-gov-west-1.amazonaws.com", + "variants" : [ { + "hostname" : "cassandra.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1-fips" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, "hostname" : "cassandra.us-gov-west-1.amazonaws.com" } } diff --git a/service/chimesdkmessaging/api.go b/service/chimesdkmessaging/api.go index bdcaeb8ae4..56e0bf0878 100644 --- a/service/chimesdkmessaging/api.go +++ b/service/chimesdkmessaging/api.go @@ -1501,6 +1501,100 @@ func (c *ChimeSDKMessaging) DeleteChannelModeratorWithContext(ctx aws.Context, i return out, req.Send() } +const opDeleteMessagingStreamingConfigurations = "DeleteMessagingStreamingConfigurations" + +// DeleteMessagingStreamingConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the DeleteMessagingStreamingConfigurations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteMessagingStreamingConfigurations for more information on using the DeleteMessagingStreamingConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DeleteMessagingStreamingConfigurationsRequest method. +// req, resp := client.DeleteMessagingStreamingConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations +func (c *ChimeSDKMessaging) DeleteMessagingStreamingConfigurationsRequest(input *DeleteMessagingStreamingConfigurationsInput) (req *request.Request, output *DeleteMessagingStreamingConfigurationsOutput) { + op := &request.Operation{ + Name: opDeleteMessagingStreamingConfigurations, + HTTPMethod: "DELETE", + HTTPPath: "/app-instances/{appInstanceArn}/streaming-configurations", + } + + if input == nil { + input = &DeleteMessagingStreamingConfigurationsInput{} + } + + output = &DeleteMessagingStreamingConfigurationsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteMessagingStreamingConfigurations API operation for Amazon Chime SDK Messaging. +// +// Deletes the streaming configurations for an AppInstance. For more information, +// see Streaming messaging data (https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html) +// in the Amazon Chime SDK Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Chime SDK Messaging's +// API operation DeleteMessagingStreamingConfigurations for usage and error information. +// +// Returned Error Types: +// +// - ForbiddenException +// The client is permanently forbidden from making the request. +// +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ThrottledClientException +// The client exceeded its request rate limit. +// +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations +func (c *ChimeSDKMessaging) DeleteMessagingStreamingConfigurations(input *DeleteMessagingStreamingConfigurationsInput) (*DeleteMessagingStreamingConfigurationsOutput, error) { + req, out := c.DeleteMessagingStreamingConfigurationsRequest(input) + return out, req.Send() +} + +// DeleteMessagingStreamingConfigurationsWithContext is the same as DeleteMessagingStreamingConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteMessagingStreamingConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ChimeSDKMessaging) DeleteMessagingStreamingConfigurationsWithContext(ctx aws.Context, input *DeleteMessagingStreamingConfigurationsInput, opts ...request.Option) (*DeleteMessagingStreamingConfigurationsOutput, error) { + req, out := c.DeleteMessagingStreamingConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeChannel = "DescribeChannel" // DescribeChannelRequest generates a "aws/request.Request" representing the @@ -2708,6 +2802,105 @@ func (c *ChimeSDKMessaging) GetMessagingSessionEndpointWithContext(ctx aws.Conte return out, req.Send() } +const opGetMessagingStreamingConfigurations = "GetMessagingStreamingConfigurations" + +// GetMessagingStreamingConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the GetMessagingStreamingConfigurations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetMessagingStreamingConfigurations for more information on using the GetMessagingStreamingConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetMessagingStreamingConfigurationsRequest method. +// req, resp := client.GetMessagingStreamingConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations +func (c *ChimeSDKMessaging) GetMessagingStreamingConfigurationsRequest(input *GetMessagingStreamingConfigurationsInput) (req *request.Request, output *GetMessagingStreamingConfigurationsOutput) { + op := &request.Operation{ + Name: opGetMessagingStreamingConfigurations, + HTTPMethod: "GET", + HTTPPath: "/app-instances/{appInstanceArn}/streaming-configurations", + } + + if input == nil { + input = &GetMessagingStreamingConfigurationsInput{} + } + + output = &GetMessagingStreamingConfigurationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetMessagingStreamingConfigurations API operation for Amazon Chime SDK Messaging. +// +// Retrieves the data streaming configuration for an AppInstance. For more information, +// see Streaming messaging data (https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html) +// in the Amazon Chime SDK Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Chime SDK Messaging's +// API operation GetMessagingStreamingConfigurations for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ThrottledClientException +// The client exceeded its request rate limit. +// +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations +func (c *ChimeSDKMessaging) GetMessagingStreamingConfigurations(input *GetMessagingStreamingConfigurationsInput) (*GetMessagingStreamingConfigurationsOutput, error) { + req, out := c.GetMessagingStreamingConfigurationsRequest(input) + return out, req.Send() +} + +// GetMessagingStreamingConfigurationsWithContext is the same as GetMessagingStreamingConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See GetMessagingStreamingConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ChimeSDKMessaging) GetMessagingStreamingConfigurationsWithContext(ctx aws.Context, input *GetMessagingStreamingConfigurationsInput, opts ...request.Option) (*GetMessagingStreamingConfigurationsOutput, error) { + req, out := c.GetMessagingStreamingConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListChannelBans = "ListChannelBans" // ListChannelBansRequest generates a "aws/request.Request" representing the @@ -4459,6 +4652,109 @@ func (c *ChimeSDKMessaging) PutChannelMembershipPreferencesWithContext(ctx aws.C return out, req.Send() } +const opPutMessagingStreamingConfigurations = "PutMessagingStreamingConfigurations" + +// PutMessagingStreamingConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the PutMessagingStreamingConfigurations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutMessagingStreamingConfigurations for more information on using the PutMessagingStreamingConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the PutMessagingStreamingConfigurationsRequest method. +// req, resp := client.PutMessagingStreamingConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations +func (c *ChimeSDKMessaging) PutMessagingStreamingConfigurationsRequest(input *PutMessagingStreamingConfigurationsInput) (req *request.Request, output *PutMessagingStreamingConfigurationsOutput) { + op := &request.Operation{ + Name: opPutMessagingStreamingConfigurations, + HTTPMethod: "PUT", + HTTPPath: "/app-instances/{appInstanceArn}/streaming-configurations", + } + + if input == nil { + input = &PutMessagingStreamingConfigurationsInput{} + } + + output = &PutMessagingStreamingConfigurationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutMessagingStreamingConfigurations API operation for Amazon Chime SDK Messaging. +// +// Sets the data streaming configuration for an AppInstance. For more information, +// see Streaming messaging data (https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html) +// in the Amazon Chime SDK Developer Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Chime SDK Messaging's +// API operation PutMessagingStreamingConfigurations for usage and error information. +// +// Returned Error Types: +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. +// +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ThrottledClientException +// The client exceeded its request rate limit. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. +// +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations +func (c *ChimeSDKMessaging) PutMessagingStreamingConfigurations(input *PutMessagingStreamingConfigurationsInput) (*PutMessagingStreamingConfigurationsOutput, error) { + req, out := c.PutMessagingStreamingConfigurationsRequest(input) + return out, req.Send() +} + +// PutMessagingStreamingConfigurationsWithContext is the same as PutMessagingStreamingConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See PutMessagingStreamingConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ChimeSDKMessaging) PutMessagingStreamingConfigurationsWithContext(ctx aws.Context, input *PutMessagingStreamingConfigurationsInput, opts ...request.Option) (*PutMessagingStreamingConfigurationsOutput, error) { + req, out := c.PutMessagingStreamingConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRedactChannelMessage = "RedactChannelMessage" // RedactChannelMessageRequest generates a "aws/request.Request" representing the @@ -8831,6 +9127,77 @@ func (s DeleteChannelOutput) GoString() string { return s.String() } +type DeleteMessagingStreamingConfigurationsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ARN of the streaming configurations being deleted. + // + // AppInstanceArn is a required field + AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteMessagingStreamingConfigurationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteMessagingStreamingConfigurationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteMessagingStreamingConfigurationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteMessagingStreamingConfigurationsInput"} + if s.AppInstanceArn == nil { + invalidParams.Add(request.NewErrParamRequired("AppInstanceArn")) + } + if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 { + invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppInstanceArn sets the AppInstanceArn field's value. +func (s *DeleteMessagingStreamingConfigurationsInput) SetAppInstanceArn(v string) *DeleteMessagingStreamingConfigurationsInput { + s.AppInstanceArn = &v + return s +} + +type DeleteMessagingStreamingConfigurationsOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteMessagingStreamingConfigurationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteMessagingStreamingConfigurationsOutput) GoString() string { + return s.String() +} + type DescribeChannelBanInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -10294,6 +10661,86 @@ func (s *GetMessagingSessionEndpointOutput) SetEndpoint(v *MessagingSessionEndpo return s } +type GetMessagingStreamingConfigurationsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ARN of the streaming configurations. + // + // AppInstanceArn is a required field + AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetMessagingStreamingConfigurationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetMessagingStreamingConfigurationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetMessagingStreamingConfigurationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMessagingStreamingConfigurationsInput"} + if s.AppInstanceArn == nil { + invalidParams.Add(request.NewErrParamRequired("AppInstanceArn")) + } + if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 { + invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppInstanceArn sets the AppInstanceArn field's value. +func (s *GetMessagingStreamingConfigurationsInput) SetAppInstanceArn(v string) *GetMessagingStreamingConfigurationsInput { + s.AppInstanceArn = &v + return s +} + +type GetMessagingStreamingConfigurationsOutput struct { + _ struct{} `type:"structure"` + + // The streaming settings. + StreamingConfigurations []*StreamingConfiguration `min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetMessagingStreamingConfigurationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetMessagingStreamingConfigurationsOutput) GoString() string { + return s.String() +} + +// SetStreamingConfigurations sets the StreamingConfigurations field's value. +func (s *GetMessagingStreamingConfigurationsOutput) SetStreamingConfigurations(v []*StreamingConfiguration) *GetMessagingStreamingConfigurationsOutput { + s.StreamingConfigurations = v + return s +} + // The details of a user. type Identity struct { _ struct{} `type:"structure"` @@ -12504,6 +12951,113 @@ func (s *PutChannelMembershipPreferencesOutput) SetPreferences(v *ChannelMembers return s } +type PutMessagingStreamingConfigurationsInput struct { + _ struct{} `type:"structure"` + + // The ARN of the streaming configuration. + // + // AppInstanceArn is a required field + AppInstanceArn *string `location:"uri" locationName:"appInstanceArn" min:"5" type:"string" required:"true"` + + // The streaming configurations. + // + // StreamingConfigurations is a required field + StreamingConfigurations []*StreamingConfiguration `min:"1" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutMessagingStreamingConfigurationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutMessagingStreamingConfigurationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutMessagingStreamingConfigurationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutMessagingStreamingConfigurationsInput"} + if s.AppInstanceArn == nil { + invalidParams.Add(request.NewErrParamRequired("AppInstanceArn")) + } + if s.AppInstanceArn != nil && len(*s.AppInstanceArn) < 5 { + invalidParams.Add(request.NewErrParamMinLen("AppInstanceArn", 5)) + } + if s.StreamingConfigurations == nil { + invalidParams.Add(request.NewErrParamRequired("StreamingConfigurations")) + } + if s.StreamingConfigurations != nil && len(s.StreamingConfigurations) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StreamingConfigurations", 1)) + } + if s.StreamingConfigurations != nil { + for i, v := range s.StreamingConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StreamingConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAppInstanceArn sets the AppInstanceArn field's value. +func (s *PutMessagingStreamingConfigurationsInput) SetAppInstanceArn(v string) *PutMessagingStreamingConfigurationsInput { + s.AppInstanceArn = &v + return s +} + +// SetStreamingConfigurations sets the StreamingConfigurations field's value. +func (s *PutMessagingStreamingConfigurationsInput) SetStreamingConfigurations(v []*StreamingConfiguration) *PutMessagingStreamingConfigurationsInput { + s.StreamingConfigurations = v + return s +} + +type PutMessagingStreamingConfigurationsOutput struct { + _ struct{} `type:"structure"` + + // The requested streaming configurations. + StreamingConfigurations []*StreamingConfiguration `min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutMessagingStreamingConfigurationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutMessagingStreamingConfigurationsOutput) GoString() string { + return s.String() +} + +// SetStreamingConfigurations sets the StreamingConfigurations field's value. +func (s *PutMessagingStreamingConfigurationsOutput) SetStreamingConfigurations(v []*StreamingConfiguration) *PutMessagingStreamingConfigurationsOutput { + s.StreamingConfigurations = v + return s +} + type RedactChannelMessageInput struct { _ struct{} `type:"structure"` @@ -13313,6 +13867,70 @@ func (s *ServiceUnavailableException) RequestID() string { return s.RespMetadata.RequestID } +// The configuration for connecting a messaging stream to Amazon Kinesis. +type StreamingConfiguration struct { + _ struct{} `type:"structure"` + + // The data type of the configuration. + // + // DataType is a required field + DataType *string `type:"string" required:"true" enum:"MessagingDataType"` + + // The ARN of the resource in the configuration. + // + // ResourceArn is a required field + ResourceArn *string `min:"5" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StreamingConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StreamingConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StreamingConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StreamingConfiguration"} + if s.DataType == nil { + invalidParams.Add(request.NewErrParamRequired("DataType")) + } + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 5 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataType sets the DataType field's value. +func (s *StreamingConfiguration) SetDataType(v string) *StreamingConfiguration { + s.DataType = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *StreamingConfiguration) SetResourceArn(v string) *StreamingConfiguration { + s.ResourceArn = &v + return s +} + // Summary of the sub-channels associated with the elastic channel. type SubChannelSummary struct { _ struct{} `type:"structure"` @@ -14530,6 +15148,22 @@ func InvocationType_Values() []string { } } +const ( + // MessagingDataTypeChannel is a MessagingDataType enum value + MessagingDataTypeChannel = "Channel" + + // MessagingDataTypeChannelMessage is a MessagingDataType enum value + MessagingDataTypeChannelMessage = "ChannelMessage" +) + +// MessagingDataType_Values returns all elements of the MessagingDataType enum +func MessagingDataType_Values() []string { + return []string{ + MessagingDataTypeChannel, + MessagingDataTypeChannelMessage, + } +} + const ( // PushNotificationTypeDefault is a PushNotificationType enum value PushNotificationTypeDefault = "DEFAULT" diff --git a/service/chimesdkmessaging/chimesdkmessagingiface/interface.go b/service/chimesdkmessaging/chimesdkmessagingiface/interface.go index 62b02d36b6..10894b0e80 100644 --- a/service/chimesdkmessaging/chimesdkmessagingiface/interface.go +++ b/service/chimesdkmessaging/chimesdkmessagingiface/interface.go @@ -116,6 +116,10 @@ type ChimeSDKMessagingAPI interface { DeleteChannelModeratorWithContext(aws.Context, *chimesdkmessaging.DeleteChannelModeratorInput, ...request.Option) (*chimesdkmessaging.DeleteChannelModeratorOutput, error) DeleteChannelModeratorRequest(*chimesdkmessaging.DeleteChannelModeratorInput) (*request.Request, *chimesdkmessaging.DeleteChannelModeratorOutput) + DeleteMessagingStreamingConfigurations(*chimesdkmessaging.DeleteMessagingStreamingConfigurationsInput) (*chimesdkmessaging.DeleteMessagingStreamingConfigurationsOutput, error) + DeleteMessagingStreamingConfigurationsWithContext(aws.Context, *chimesdkmessaging.DeleteMessagingStreamingConfigurationsInput, ...request.Option) (*chimesdkmessaging.DeleteMessagingStreamingConfigurationsOutput, error) + DeleteMessagingStreamingConfigurationsRequest(*chimesdkmessaging.DeleteMessagingStreamingConfigurationsInput) (*request.Request, *chimesdkmessaging.DeleteMessagingStreamingConfigurationsOutput) + DescribeChannel(*chimesdkmessaging.DescribeChannelInput) (*chimesdkmessaging.DescribeChannelOutput, error) DescribeChannelWithContext(aws.Context, *chimesdkmessaging.DescribeChannelInput, ...request.Option) (*chimesdkmessaging.DescribeChannelOutput, error) DescribeChannelRequest(*chimesdkmessaging.DescribeChannelInput) (*request.Request, *chimesdkmessaging.DescribeChannelOutput) @@ -164,6 +168,10 @@ type ChimeSDKMessagingAPI interface { GetMessagingSessionEndpointWithContext(aws.Context, *chimesdkmessaging.GetMessagingSessionEndpointInput, ...request.Option) (*chimesdkmessaging.GetMessagingSessionEndpointOutput, error) GetMessagingSessionEndpointRequest(*chimesdkmessaging.GetMessagingSessionEndpointInput) (*request.Request, *chimesdkmessaging.GetMessagingSessionEndpointOutput) + GetMessagingStreamingConfigurations(*chimesdkmessaging.GetMessagingStreamingConfigurationsInput) (*chimesdkmessaging.GetMessagingStreamingConfigurationsOutput, error) + GetMessagingStreamingConfigurationsWithContext(aws.Context, *chimesdkmessaging.GetMessagingStreamingConfigurationsInput, ...request.Option) (*chimesdkmessaging.GetMessagingStreamingConfigurationsOutput, error) + GetMessagingStreamingConfigurationsRequest(*chimesdkmessaging.GetMessagingStreamingConfigurationsInput) (*request.Request, *chimesdkmessaging.GetMessagingStreamingConfigurationsOutput) + ListChannelBans(*chimesdkmessaging.ListChannelBansInput) (*chimesdkmessaging.ListChannelBansOutput, error) ListChannelBansWithContext(aws.Context, *chimesdkmessaging.ListChannelBansInput, ...request.Option) (*chimesdkmessaging.ListChannelBansOutput, error) ListChannelBansRequest(*chimesdkmessaging.ListChannelBansInput) (*request.Request, *chimesdkmessaging.ListChannelBansOutput) @@ -242,6 +250,10 @@ type ChimeSDKMessagingAPI interface { PutChannelMembershipPreferencesWithContext(aws.Context, *chimesdkmessaging.PutChannelMembershipPreferencesInput, ...request.Option) (*chimesdkmessaging.PutChannelMembershipPreferencesOutput, error) PutChannelMembershipPreferencesRequest(*chimesdkmessaging.PutChannelMembershipPreferencesInput) (*request.Request, *chimesdkmessaging.PutChannelMembershipPreferencesOutput) + PutMessagingStreamingConfigurations(*chimesdkmessaging.PutMessagingStreamingConfigurationsInput) (*chimesdkmessaging.PutMessagingStreamingConfigurationsOutput, error) + PutMessagingStreamingConfigurationsWithContext(aws.Context, *chimesdkmessaging.PutMessagingStreamingConfigurationsInput, ...request.Option) (*chimesdkmessaging.PutMessagingStreamingConfigurationsOutput, error) + PutMessagingStreamingConfigurationsRequest(*chimesdkmessaging.PutMessagingStreamingConfigurationsInput) (*request.Request, *chimesdkmessaging.PutMessagingStreamingConfigurationsOutput) + RedactChannelMessage(*chimesdkmessaging.RedactChannelMessageInput) (*chimesdkmessaging.RedactChannelMessageOutput, error) RedactChannelMessageWithContext(aws.Context, *chimesdkmessaging.RedactChannelMessageInput, ...request.Option) (*chimesdkmessaging.RedactChannelMessageOutput, error) RedactChannelMessageRequest(*chimesdkmessaging.RedactChannelMessageInput) (*request.Request, *chimesdkmessaging.RedactChannelMessageOutput) diff --git a/service/cleanrooms/api.go b/service/cleanrooms/api.go index 17add0c1cc..4ab6fb1e98 100644 --- a/service/cleanrooms/api.go +++ b/service/cleanrooms/api.go @@ -2080,6 +2080,9 @@ func (c *CleanRooms) ListConfiguredTableAssociationsRequest(input *ListConfigure // // Returned Error Types: // +// - ResourceNotFoundException +// Request references a resource which does not exist. +// // - InternalServerException // Unexpected error during processing of request. // @@ -2663,6 +2666,9 @@ func (c *CleanRooms) ListProtectedQueriesRequest(input *ListProtectedQueriesInpu // // Returned Error Types: // +// - ResourceNotFoundException +// Request references a resource which does not exist. +// // - InternalServerException // Unexpected error during processing of request. // @@ -2896,6 +2902,88 @@ func (c *CleanRooms) ListSchemasPagesWithContext(ctx aws.Context, input *ListSch return p.Err() } +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource +func (c *CleanRooms) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for AWS Clean Rooms Service. +// +// Lists all of the tags that have been added to a resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Clean Rooms Service's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource +func (c *CleanRooms) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CleanRooms) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStartProtectedQuery = "StartProtectedQuery" // StartProtectedQueryRequest generates a "aws/request.Request" representing the @@ -2990,6 +3078,172 @@ func (c *CleanRooms) StartProtectedQueryWithContext(ctx aws.Context, input *Star return out, req.Send() } +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TagResource for more information on using the TagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource +func (c *CleanRooms) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for AWS Clean Rooms Service. +// +// Tags a resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Clean Rooms Service's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource +func (c *CleanRooms) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CleanRooms) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UntagResource for more information on using the UntagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource +func (c *CleanRooms) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for AWS Clean Rooms Service. +// +// Removes a tag or list of tags from a resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Clean Rooms Service's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource +func (c *CleanRooms) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CleanRooms) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateCollaboration = "UpdateCollaboration" // UpdateCollaborationRequest generates a "aws/request.Request" representing the @@ -5452,6 +5706,12 @@ type CreateCollaborationInput struct { // // QueryLogStatus is a required field QueryLogStatus *string `locationName:"queryLogStatus" type:"string" required:"true" enum:"CollaborationQueryLogStatus"` + + // An optional label that you can assign to a resource when you create it. Each + // tag consists of a key and an optional value, both of which you define. When + // you use tagging, you can also use tag-based access control in IAM policies + // to control access to this resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -5566,6 +5826,12 @@ func (s *CreateCollaborationInput) SetQueryLogStatus(v string) *CreateCollaborat return s } +// SetTags sets the Tags field's value. +func (s *CreateCollaborationInput) SetTags(v map[string]*string) *CreateCollaborationInput { + s.Tags = v + return s +} + type CreateCollaborationOutput struct { _ struct{} `type:"structure"` @@ -5745,6 +6011,12 @@ type CreateConfiguredTableAssociationInput struct { // // RoleArn is a required field RoleArn *string `locationName:"roleArn" min:"32" type:"string" required:"true"` + + // An optional label that you can assign to a resource when you create it. Each + // tag consists of a key and an optional value, both of which you define. When + // you use tagging, you can also use tag-based access control in IAM policies + // to control access to this resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -5826,6 +6098,12 @@ func (s *CreateConfiguredTableAssociationInput) SetRoleArn(v string) *CreateConf return s } +// SetTags sets the Tags field's value. +func (s *CreateConfiguredTableAssociationInput) SetTags(v map[string]*string) *CreateConfiguredTableAssociationInput { + s.Tags = v + return s +} + type CreateConfiguredTableAssociationOutput struct { _ struct{} `type:"structure"` @@ -5886,6 +6164,12 @@ type CreateConfiguredTableInput struct { // // TableReference is a required field TableReference *TableReference `locationName:"tableReference" type:"structure" required:"true"` + + // An optional label that you can assign to a resource when you create it. Each + // tag consists of a key and an optional value, both of which you define. When + // you use tagging, you can also use tag-based access control in IAM policies + // to control access to this resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -5969,6 +6253,12 @@ func (s *CreateConfiguredTableInput) SetTableReference(v *TableReference) *Creat return s } +// SetTags sets the Tags field's value. +func (s *CreateConfiguredTableInput) SetTags(v map[string]*string) *CreateConfiguredTableInput { + s.Tags = v + return s +} + type CreateConfiguredTableOutput struct { _ struct{} `type:"structure"` @@ -6015,6 +6305,12 @@ type CreateMembershipInput struct { // // QueryLogStatus is a required field QueryLogStatus *string `locationName:"queryLogStatus" type:"string" required:"true" enum:"MembershipQueryLogStatus"` + + // An optional label that you can assign to a resource when you create it. Each + // tag consists of a key and an optional value, both of which you define. When + // you use tagging, you can also use tag-based access control in IAM policies + // to control access to this resource. + Tags map[string]*string `locationName:"tags" type:"map"` } // String returns the string representation. @@ -6066,6 +6362,12 @@ func (s *CreateMembershipInput) SetQueryLogStatus(v string) *CreateMembershipInp return s } +// SetTags sets the Tags field's value. +func (s *CreateMembershipInput) SetTags(v map[string]*string) *CreateMembershipInput { + s.Tags = v + return s +} + type CreateMembershipOutput struct { _ struct{} `type:"structure"` @@ -8358,6 +8660,89 @@ func (s *ListSchemasOutput) SetSchemaSummaries(v []*SchemaSummary) *ListSchemasO return s } +type ListTagsForResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Resource Name (ARN) associated with the resource you want to list + // tags on. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { + s.ResourceArn = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // A map of objects specifying each key name and value. + // + // Tags is a required field + Tags map[string]*string `locationName:"tags" type:"map" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { + s.Tags = v + return s +} + // Basic metadata used to construct a new member. type MemberSpecification struct { _ struct{} `type:"structure"` @@ -9580,7 +9965,7 @@ type Schema struct { // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` - // The partition keys for the data set underlying this schema. + // The partition keys for the dataset underlying this schema. // // PartitionKeys is a required field PartitionKeys []*Column `locationName:"partitionKeys" type:"list" required:"true"` @@ -10020,8 +10405,8 @@ func (s *StartProtectedQueryOutput) SetProtectedQuery(v *ProtectedQuery) *StartP return s } -// A pointer to the data set that underlies this table. Currently, this can -// only be an AWS Glue table. +// A pointer to the dataset that underlies this table. Currently, this can only +// be an AWS Glue table. type TableReference struct { _ struct{} `type:"structure"` @@ -10068,6 +10453,91 @@ func (s *TableReference) SetGlue(v *GlueTableReference) *TableReference { return s } +type TagResourceInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) associated with the resource you want to tag. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + + // A map of objects specifying each key name and value. + // + // Tags is a required field + Tags map[string]*string `locationName:"tags" type:"map" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.Tags == nil { + invalidParams.Add(request.NewErrParamRequired("Tags")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { + s.Tags = v + return s +} + +type TagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceOutput) GoString() string { + return s.String() +} + // Request was denied due to request throttling. type ThrottlingException struct { _ struct{} `type:"structure"` @@ -10132,6 +10602,92 @@ func (s *ThrottlingException) RequestID() string { return s.RespMetadata.RequestID } +type UntagResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The Amazon Resource Name (ARN) associated with the resource you want to remove + // the tag from. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + + // A list of key names of tags to be removed. + // + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTagKeys sets the TagKeys field's value. +func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { + s.TagKeys = v + return s +} + +type UntagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceOutput) GoString() string { + return s.String() +} + type UpdateCollaborationInput struct { _ struct{} `type:"structure"` @@ -11322,6 +11878,9 @@ const ( // ValidationExceptionReasonInvalidConfiguration is a ValidationExceptionReason enum value ValidationExceptionReasonInvalidConfiguration = "INVALID_CONFIGURATION" + + // ValidationExceptionReasonInvalidQuery is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidQuery = "INVALID_QUERY" ) // ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum @@ -11329,5 +11888,6 @@ func ValidationExceptionReason_Values() []string { return []string{ ValidationExceptionReasonFieldValidationFailed, ValidationExceptionReasonInvalidConfiguration, + ValidationExceptionReasonInvalidQuery, } } diff --git a/service/cleanrooms/cleanroomsiface/interface.go b/service/cleanrooms/cleanroomsiface/interface.go index 6f1e248bb2..d3c115cdee 100644 --- a/service/cleanrooms/cleanroomsiface/interface.go +++ b/service/cleanrooms/cleanroomsiface/interface.go @@ -189,10 +189,22 @@ type CleanRoomsAPI interface { ListSchemasPages(*cleanrooms.ListSchemasInput, func(*cleanrooms.ListSchemasOutput, bool) bool) error ListSchemasPagesWithContext(aws.Context, *cleanrooms.ListSchemasInput, func(*cleanrooms.ListSchemasOutput, bool) bool, ...request.Option) error + ListTagsForResource(*cleanrooms.ListTagsForResourceInput) (*cleanrooms.ListTagsForResourceOutput, error) + ListTagsForResourceWithContext(aws.Context, *cleanrooms.ListTagsForResourceInput, ...request.Option) (*cleanrooms.ListTagsForResourceOutput, error) + ListTagsForResourceRequest(*cleanrooms.ListTagsForResourceInput) (*request.Request, *cleanrooms.ListTagsForResourceOutput) + StartProtectedQuery(*cleanrooms.StartProtectedQueryInput) (*cleanrooms.StartProtectedQueryOutput, error) StartProtectedQueryWithContext(aws.Context, *cleanrooms.StartProtectedQueryInput, ...request.Option) (*cleanrooms.StartProtectedQueryOutput, error) StartProtectedQueryRequest(*cleanrooms.StartProtectedQueryInput) (*request.Request, *cleanrooms.StartProtectedQueryOutput) + TagResource(*cleanrooms.TagResourceInput) (*cleanrooms.TagResourceOutput, error) + TagResourceWithContext(aws.Context, *cleanrooms.TagResourceInput, ...request.Option) (*cleanrooms.TagResourceOutput, error) + TagResourceRequest(*cleanrooms.TagResourceInput) (*request.Request, *cleanrooms.TagResourceOutput) + + UntagResource(*cleanrooms.UntagResourceInput) (*cleanrooms.UntagResourceOutput, error) + UntagResourceWithContext(aws.Context, *cleanrooms.UntagResourceInput, ...request.Option) (*cleanrooms.UntagResourceOutput, error) + UntagResourceRequest(*cleanrooms.UntagResourceInput) (*request.Request, *cleanrooms.UntagResourceOutput) + UpdateCollaboration(*cleanrooms.UpdateCollaborationInput) (*cleanrooms.UpdateCollaborationOutput, error) UpdateCollaborationWithContext(aws.Context, *cleanrooms.UpdateCollaborationInput, ...request.Option) (*cleanrooms.UpdateCollaborationOutput, error) UpdateCollaborationRequest(*cleanrooms.UpdateCollaborationInput) (*request.Request, *cleanrooms.UpdateCollaborationOutput) diff --git a/service/cleanrooms/doc.go b/service/cleanrooms/doc.go index aede054108..b050019f90 100644 --- a/service/cleanrooms/doc.go +++ b/service/cleanrooms/doc.go @@ -3,14 +3,12 @@ // Package cleanrooms provides the client and types for making API // requests to AWS Clean Rooms Service. // -// AWS Clean Rooms is in preview release and is subject to change. -// // Welcome to the AWS Clean Rooms API Reference. // // AWS Clean Rooms is an AWS service that helps multiple parties to join their // data together in a secure collaboration workspace. In the collaboration, -// members who can query and receive results can get insights into the combined -// data without either party getting access to the other party's raw data. +// members who can query and receive results can get insights into the collective +// datasets without either party getting access to the other party's raw data. // // To learn more about AWS Clean Rooms concepts, procedures, and best practices, // see the AWS Clean Rooms User Guide (https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html). diff --git a/service/ec2/api.go b/service/ec2/api.go index 10a883bf17..5349249631 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -855,6 +855,9 @@ func (c *EC2) AllocateIpamPoolCidrRequest(input *AllocateIpamPoolCidrInput) (req // see Allocate CIDRs (https://docs.aws.amazon.com/vpc/latest/ipam/allocate-cidrs-ipam.html) // in the Amazon VPC IPAM User Guide. // +// This action creates an allocation with strong consistency. The returned CIDR +// will not overlap with any other allocations from the same pool. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -7286,7 +7289,7 @@ func (c *EC2) CreateNetworkInsightsPathRequest(input *CreateNetworkInsightsPathI // // Reachability Analyzer enables you to analyze and debug network reachability // between two resources in your virtual private cloud (VPC). For more information, -// see What is Reachability Analyzer (https://docs.aws.amazon.com/vpc/latest/reachability/). +// see the Reachability Analyzer Guide (https://docs.aws.amazon.com/vpc/latest/reachability/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8228,8 +8231,8 @@ func (c *EC2) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Re // snapshot. You may remount and use your volume while the snapshot status is // pending. // -// To create a snapshot for Amazon EBS volumes that serve as root devices, you -// should stop the instance before taking the snapshot. +// When you create a snapshot for an EBS volume that serves as a root device, +// we recommend that you stop the instance before taking the snapshot. // // Snapshots that are taken from encrypted volumes are automatically encrypted. // Volumes that are created from encrypted snapshots are also automatically @@ -40166,6 +40169,11 @@ func (c *EC2) GetIpamPoolAllocationsRequest(input *GetIpamPoolAllocationsInput) // // Get a list of all the CIDR allocations in an IPAM pool. // +// If you use this action after AllocateIpamPoolCidr (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AllocateIpamPoolCidr.html) +// or ReleaseIpamPoolAllocation (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ReleaseIpamPoolAllocation.html), +// note that all EC2 API actions follow an eventual consistency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#eventual-consistency) +// model. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -50330,6 +50338,9 @@ func (c *EC2) ReleaseIpamPoolAllocationRequest(input *ReleaseIpamPoolAllocationI // For more information, see Release an allocation (https://docs.aws.amazon.com/vpc/latest/ipam/release-pool-alloc-ipam.html) // in the Amazon VPC IPAM User Guide. // +// All EC2 API actions follow an eventual consistency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/query-api-troubleshooting.html#eventual-consistency) +// model. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -55393,15 +55404,34 @@ func (s *AddedPrincipal) SetServicePermissionId(v string) *AddedPrincipal { return s } -// Describes an additional detail for a path analysis. +// Describes an additional detail for a path analysis. For more information, +// see Reachability Analyzer additional detail codes (https://docs.aws.amazon.com/vpc/latest/reachability/additional-detail-codes.html). type AdditionalDetail struct { _ struct{} `type:"structure"` - // The information type. + // The additional detail code. AdditionalDetailType *string `locationName:"additionalDetailType" type:"string"` // The path component. Component *AnalysisComponent `locationName:"component" type:"structure"` + + // The load balancers. + LoadBalancers []*AnalysisComponent `locationName:"loadBalancerSet" locationNameList:"item" type:"list"` + + // The rule options. + RuleGroupRuleOptionsPairs []*RuleGroupRuleOptionsPair `locationName:"ruleGroupRuleOptionsPairSet" locationNameList:"item" type:"list"` + + // The rule group type. + RuleGroupTypePairs []*RuleGroupTypePair `locationName:"ruleGroupTypePairSet" locationNameList:"item" type:"list"` + + // The rule options. + RuleOptions []*RuleOption `locationName:"ruleOptionSet" locationNameList:"item" type:"list"` + + // The name of the VPC endpoint service. + ServiceName *string `locationName:"serviceName" type:"string"` + + // The VPC endpoint service. + VpcEndpointService *AnalysisComponent `locationName:"vpcEndpointService" type:"structure"` } // String returns the string representation. @@ -55434,6 +55464,42 @@ func (s *AdditionalDetail) SetComponent(v *AnalysisComponent) *AdditionalDetail return s } +// SetLoadBalancers sets the LoadBalancers field's value. +func (s *AdditionalDetail) SetLoadBalancers(v []*AnalysisComponent) *AdditionalDetail { + s.LoadBalancers = v + return s +} + +// SetRuleGroupRuleOptionsPairs sets the RuleGroupRuleOptionsPairs field's value. +func (s *AdditionalDetail) SetRuleGroupRuleOptionsPairs(v []*RuleGroupRuleOptionsPair) *AdditionalDetail { + s.RuleGroupRuleOptionsPairs = v + return s +} + +// SetRuleGroupTypePairs sets the RuleGroupTypePairs field's value. +func (s *AdditionalDetail) SetRuleGroupTypePairs(v []*RuleGroupTypePair) *AdditionalDetail { + s.RuleGroupTypePairs = v + return s +} + +// SetRuleOptions sets the RuleOptions field's value. +func (s *AdditionalDetail) SetRuleOptions(v []*RuleOption) *AdditionalDetail { + s.RuleOptions = v + return s +} + +// SetServiceName sets the ServiceName field's value. +func (s *AdditionalDetail) SetServiceName(v string) *AdditionalDetail { + s.ServiceName = &v + return s +} + +// SetVpcEndpointService sets the VpcEndpointService field's value. +func (s *AdditionalDetail) SetVpcEndpointService(v *AnalysisComponent) *AdditionalDetail { + s.VpcEndpointService = v + return s +} + // Describes an Elastic IP address, or a carrier IP address. type Address struct { _ struct{} `type:"structure"` @@ -56790,6 +56856,12 @@ func (s *AnalysisPacketHeader) SetSourcePortRanges(v []*PortRange) *AnalysisPack type AnalysisRouteTableRoute struct { _ struct{} `type:"structure"` + // The ID of a carrier gateway. + CarrierGatewayId *string `locationName:"carrierGatewayId" type:"string"` + + // The Amazon Resource Name (ARN) of a core network. + CoreNetworkArn *string `locationName:"coreNetworkArn" min:"1" type:"string"` + // The destination IPv4 address, in CIDR notation. DestinationCidr *string `locationName:"destinationCidr" type:"string"` @@ -56805,6 +56877,9 @@ type AnalysisRouteTableRoute struct { // The ID of the instance, such as a NAT instance. InstanceId *string `locationName:"instanceId" type:"string"` + // The ID of a local gateway. + LocalGatewayId *string `locationName:"localGatewayId" type:"string"` + // The ID of a NAT gateway. NatGatewayId *string `locationName:"natGatewayId" type:"string"` @@ -56853,6 +56928,18 @@ func (s AnalysisRouteTableRoute) GoString() string { return s.String() } +// SetCarrierGatewayId sets the CarrierGatewayId field's value. +func (s *AnalysisRouteTableRoute) SetCarrierGatewayId(v string) *AnalysisRouteTableRoute { + s.CarrierGatewayId = &v + return s +} + +// SetCoreNetworkArn sets the CoreNetworkArn field's value. +func (s *AnalysisRouteTableRoute) SetCoreNetworkArn(v string) *AnalysisRouteTableRoute { + s.CoreNetworkArn = &v + return s +} + // SetDestinationCidr sets the DestinationCidr field's value. func (s *AnalysisRouteTableRoute) SetDestinationCidr(v string) *AnalysisRouteTableRoute { s.DestinationCidr = &v @@ -56883,6 +56970,12 @@ func (s *AnalysisRouteTableRoute) SetInstanceId(v string) *AnalysisRouteTableRou return s } +// SetLocalGatewayId sets the LocalGatewayId field's value. +func (s *AnalysisRouteTableRoute) SetLocalGatewayId(v string) *AnalysisRouteTableRoute { + s.LocalGatewayId = &v + return s +} + // SetNatGatewayId sets the NatGatewayId field's value. func (s *AnalysisRouteTableRoute) SetNatGatewayId(v string) *AnalysisRouteTableRoute { s.NatGatewayId = &v @@ -72128,13 +72221,11 @@ type CreateNetworkInsightsPathInput struct { // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` - // The Amazon Web Services resource that is the destination of the path. - // - // Destination is a required field - Destination *string `type:"string" required:"true"` + // The ID or ARN of the destination. If the resource is in another account, + // you must specify an ARN. + Destination *string `type:"string"` - // The IP address of the Amazon Web Services resource that is the destination - // of the path. + // The IP address of the destination. DestinationIp *string `type:"string"` // The destination port. @@ -72146,18 +72237,28 @@ type CreateNetworkInsightsPathInput struct { // it is UnauthorizedOperation. DryRun *bool `type:"boolean"` + // Scopes the analysis to network paths that match specific filters at the destination. + // If you specify this parameter, you can't specify the parameter for the destination + // IP address. + FilterAtDestination *PathRequestFilter `type:"structure"` + + // Scopes the analysis to network paths that match specific filters at the source. + // If you specify this parameter, you can't specify the parameters for the source + // IP address or the destination port. + FilterAtSource *PathRequestFilter `type:"structure"` + // The protocol. // // Protocol is a required field Protocol *string `type:"string" required:"true" enum:"Protocol"` - // The Amazon Web Services resource that is the source of the path. + // The ID or ARN of the source. If the resource is in another account, you must + // specify an ARN. // // Source is a required field Source *string `type:"string" required:"true"` - // The IP address of the Amazon Web Services resource that is the source of - // the path. + // The IP address of the source. SourceIp *string `type:"string"` // The tags to add to the path. @@ -72185,9 +72286,6 @@ func (s CreateNetworkInsightsPathInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *CreateNetworkInsightsPathInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "CreateNetworkInsightsPathInput"} - if s.Destination == nil { - invalidParams.Add(request.NewErrParamRequired("Destination")) - } if s.Protocol == nil { invalidParams.Add(request.NewErrParamRequired("Protocol")) } @@ -72231,6 +72329,18 @@ func (s *CreateNetworkInsightsPathInput) SetDryRun(v bool) *CreateNetworkInsight return s } +// SetFilterAtDestination sets the FilterAtDestination field's value. +func (s *CreateNetworkInsightsPathInput) SetFilterAtDestination(v *PathRequestFilter) *CreateNetworkInsightsPathInput { + s.FilterAtDestination = v + return s +} + +// SetFilterAtSource sets the FilterAtSource field's value. +func (s *CreateNetworkInsightsPathInput) SetFilterAtSource(v *PathRequestFilter) *CreateNetworkInsightsPathInput { + s.FilterAtSource = v + return s +} + // SetProtocol sets the Protocol field's value. func (s *CreateNetworkInsightsPathInput) SetProtocol(v string) *CreateNetworkInsightsPathInput { s.Protocol = &v @@ -73607,7 +73717,7 @@ func (s *CreateRouteTableOutput) SetRouteTable(v *RouteTable) *CreateRouteTableO type CreateSecurityGroupInput struct { _ struct{} `type:"structure"` - // A description for the security group. This is informational only. + // A description for the security group. // // Constraints: Up to 255 characters in length // @@ -98063,7 +98173,27 @@ type DescribeNetworkInsightsPathsInput struct { // // * destination - The ID of the resource. // - // * destination-port - The destination port. + // * filter-at-source.source-address - The source IPv4 address at the source. + // + // * filter-at-source.source-port-range - The source port range at the source. + // + // * filter-at-source.destination-address - The destination IPv4 address + // at the source. + // + // * filter-at-source.destination-port-range - The destination port range + // at the source. + // + // * filter-at-destination.source-address - The source IPv4 address at the + // destination. + // + // * filter-at-destination.source-port-range - The source port range at the + // destination. + // + // * filter-at-destination.destination-address - The destination IPv4 address + // at the destination. + // + // * filter-at-destination.destination-port-range - The destination port + // range at the destination. // // * protocol - The protocol. // @@ -111584,8 +111714,12 @@ type DiskImageDetail struct { // For information about the import manifest referenced by this API action, // see VM Import Manifest (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/manifest.html). // + // ImportManifestUrl is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by DiskImageDetail's + // String and GoString methods. + // // ImportManifestUrl is a required field - ImportManifestUrl *string `locationName:"importManifestUrl" type:"string" required:"true"` + ImportManifestUrl *string `locationName:"importManifestUrl" type:"string" required:"true" sensitive:"true"` } // String returns the string representation. @@ -114777,6 +114911,12 @@ type Explanation struct { // The explanation code. ExplanationCode *string `locationName:"explanationCode" type:"string"` + // The Network Firewall stateful rule. + FirewallStatefulRule *FirewallStatefulRule `locationName:"firewallStatefulRule" type:"structure"` + + // The Network Firewall stateless rule. + FirewallStatelessRule *FirewallStatelessRule `locationName:"firewallStatelessRule" type:"structure"` + // The route table. IngressRouteTable *AnalysisComponent `locationName:"ingressRouteTable" type:"structure"` @@ -115000,6 +115140,18 @@ func (s *Explanation) SetExplanationCode(v string) *Explanation { return s } +// SetFirewallStatefulRule sets the FirewallStatefulRule field's value. +func (s *Explanation) SetFirewallStatefulRule(v *FirewallStatefulRule) *Explanation { + s.FirewallStatefulRule = v + return s +} + +// SetFirewallStatelessRule sets the FirewallStatelessRule field's value. +func (s *Explanation) SetFirewallStatelessRule(v *FirewallStatelessRule) *Explanation { + s.FirewallStatelessRule = v + return s +} + // SetIngressRouteTable sets the IngressRouteTable field's value. func (s *Explanation) SetIngressRouteTable(v *AnalysisComponent) *Explanation { s.IngressRouteTable = v @@ -116585,6 +116737,237 @@ func (s *Filter) SetValues(v []*string) *Filter { return s } +// Describes a port range. +type FilterPortRange struct { + _ struct{} `type:"structure"` + + // The first port in the range. + FromPort *int64 `locationName:"fromPort" type:"integer"` + + // The last port in the range. + ToPort *int64 `locationName:"toPort" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FilterPortRange) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FilterPortRange) GoString() string { + return s.String() +} + +// SetFromPort sets the FromPort field's value. +func (s *FilterPortRange) SetFromPort(v int64) *FilterPortRange { + s.FromPort = &v + return s +} + +// SetToPort sets the ToPort field's value. +func (s *FilterPortRange) SetToPort(v int64) *FilterPortRange { + s.ToPort = &v + return s +} + +// Describes a stateful rule. +type FirewallStatefulRule struct { + _ struct{} `type:"structure"` + + // The destination ports. + DestinationPorts []*PortRange `locationName:"destinationPortSet" locationNameList:"item" type:"list"` + + // The destination IP addresses, in CIDR notation. + Destinations []*string `locationName:"destinationSet" locationNameList:"item" type:"list"` + + // The direction. The possible values are FORWARD and ANY. + Direction *string `locationName:"direction" type:"string"` + + // The protocol. + Protocol *string `locationName:"protocol" type:"string"` + + // The rule action. The possible values are pass, drop, and alert. + RuleAction *string `locationName:"ruleAction" type:"string"` + + // The ARN of the stateful rule group. + RuleGroupArn *string `locationName:"ruleGroupArn" min:"1" type:"string"` + + // The source ports. + SourcePorts []*PortRange `locationName:"sourcePortSet" locationNameList:"item" type:"list"` + + // The source IP addresses, in CIDR notation. + Sources []*string `locationName:"sourceSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FirewallStatefulRule) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FirewallStatefulRule) GoString() string { + return s.String() +} + +// SetDestinationPorts sets the DestinationPorts field's value. +func (s *FirewallStatefulRule) SetDestinationPorts(v []*PortRange) *FirewallStatefulRule { + s.DestinationPorts = v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *FirewallStatefulRule) SetDestinations(v []*string) *FirewallStatefulRule { + s.Destinations = v + return s +} + +// SetDirection sets the Direction field's value. +func (s *FirewallStatefulRule) SetDirection(v string) *FirewallStatefulRule { + s.Direction = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *FirewallStatefulRule) SetProtocol(v string) *FirewallStatefulRule { + s.Protocol = &v + return s +} + +// SetRuleAction sets the RuleAction field's value. +func (s *FirewallStatefulRule) SetRuleAction(v string) *FirewallStatefulRule { + s.RuleAction = &v + return s +} + +// SetRuleGroupArn sets the RuleGroupArn field's value. +func (s *FirewallStatefulRule) SetRuleGroupArn(v string) *FirewallStatefulRule { + s.RuleGroupArn = &v + return s +} + +// SetSourcePorts sets the SourcePorts field's value. +func (s *FirewallStatefulRule) SetSourcePorts(v []*PortRange) *FirewallStatefulRule { + s.SourcePorts = v + return s +} + +// SetSources sets the Sources field's value. +func (s *FirewallStatefulRule) SetSources(v []*string) *FirewallStatefulRule { + s.Sources = v + return s +} + +// Describes a stateless rule. +type FirewallStatelessRule struct { + _ struct{} `type:"structure"` + + // The destination ports. + DestinationPorts []*PortRange `locationName:"destinationPortSet" locationNameList:"item" type:"list"` + + // The destination IP addresses, in CIDR notation. + Destinations []*string `locationName:"destinationSet" locationNameList:"item" type:"list"` + + // The rule priority. + Priority *int64 `locationName:"priority" type:"integer"` + + // The protocols. + Protocols []*int64 `locationName:"protocolSet" locationNameList:"item" type:"list"` + + // The rule action. The possible values are pass, drop, and forward_to_site. + RuleAction *string `locationName:"ruleAction" type:"string"` + + // The ARN of the stateless rule group. + RuleGroupArn *string `locationName:"ruleGroupArn" min:"1" type:"string"` + + // The source ports. + SourcePorts []*PortRange `locationName:"sourcePortSet" locationNameList:"item" type:"list"` + + // The source IP addresses, in CIDR notation. + Sources []*string `locationName:"sourceSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FirewallStatelessRule) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FirewallStatelessRule) GoString() string { + return s.String() +} + +// SetDestinationPorts sets the DestinationPorts field's value. +func (s *FirewallStatelessRule) SetDestinationPorts(v []*PortRange) *FirewallStatelessRule { + s.DestinationPorts = v + return s +} + +// SetDestinations sets the Destinations field's value. +func (s *FirewallStatelessRule) SetDestinations(v []*string) *FirewallStatelessRule { + s.Destinations = v + return s +} + +// SetPriority sets the Priority field's value. +func (s *FirewallStatelessRule) SetPriority(v int64) *FirewallStatelessRule { + s.Priority = &v + return s +} + +// SetProtocols sets the Protocols field's value. +func (s *FirewallStatelessRule) SetProtocols(v []*int64) *FirewallStatelessRule { + s.Protocols = v + return s +} + +// SetRuleAction sets the RuleAction field's value. +func (s *FirewallStatelessRule) SetRuleAction(v string) *FirewallStatelessRule { + s.RuleAction = &v + return s +} + +// SetRuleGroupArn sets the RuleGroupArn field's value. +func (s *FirewallStatelessRule) SetRuleGroupArn(v string) *FirewallStatelessRule { + s.RuleGroupArn = &v + return s +} + +// SetSourcePorts sets the SourcePorts field's value. +func (s *FirewallStatelessRule) SetSourcePorts(v []*PortRange) *FirewallStatelessRule { + s.SourcePorts = v + return s +} + +// SetSources sets the Sources field's value. +func (s *FirewallStatelessRule) SetSources(v []*string) *FirewallStatelessRule { + s.Sources = v + return s +} + // Information about a Capacity Reservation in a Capacity Reservation Fleet. type FleetCapacityReservation struct { _ struct{} `type:"structure"` @@ -149262,8 +149645,7 @@ type NetworkInsightsAnalysis struct { // codes (https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html). Explanations []*Explanation `locationName:"explanationSet" locationNameList:"item" type:"list"` - // The Amazon Resource Names (ARN) of the Amazon Web Services resources that - // the path must traverse. + // The Amazon Resource Names (ARN) of the resources that the path must traverse. FilterInArns []*string `locationName:"filterInArnSet" locationNameList:"item" type:"list"` // The components in the path from source to destination. @@ -149424,19 +149806,24 @@ type NetworkInsightsPath struct { // The time stamp when the path was created. CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` - // The Amazon Web Services resource that is the destination of the path. + // The ID of the destination. Destination *string `locationName:"destination" type:"string"` // The Amazon Resource Name (ARN) of the destination. DestinationArn *string `locationName:"destinationArn" min:"1" type:"string"` - // The IP address of the Amazon Web Services resource that is the destination - // of the path. + // The IP address of the destination. DestinationIp *string `locationName:"destinationIp" type:"string"` // The destination port. DestinationPort *int64 `locationName:"destinationPort" type:"integer"` + // Scopes the analysis to network paths that match specific filters at the destination. + FilterAtDestination *PathFilter `locationName:"filterAtDestination" type:"structure"` + + // Scopes the analysis to network paths that match specific filters at the source. + FilterAtSource *PathFilter `locationName:"filterAtSource" type:"structure"` + // The Amazon Resource Name (ARN) of the path. NetworkInsightsPathArn *string `locationName:"networkInsightsPathArn" min:"1" type:"string"` @@ -149446,14 +149833,13 @@ type NetworkInsightsPath struct { // The protocol. Protocol *string `locationName:"protocol" type:"string" enum:"Protocol"` - // The Amazon Web Services resource that is the source of the path. + // The ID of the source. Source *string `locationName:"source" type:"string"` // The Amazon Resource Name (ARN) of the source. SourceArn *string `locationName:"sourceArn" min:"1" type:"string"` - // The IP address of the Amazon Web Services resource that is the source of - // the path. + // The IP address of the source. SourceIp *string `locationName:"sourceIp" type:"string"` // The tags associated with the path. @@ -149508,6 +149894,18 @@ func (s *NetworkInsightsPath) SetDestinationPort(v int64) *NetworkInsightsPath { return s } +// SetFilterAtDestination sets the FilterAtDestination field's value. +func (s *NetworkInsightsPath) SetFilterAtDestination(v *PathFilter) *NetworkInsightsPath { + s.FilterAtDestination = v + return s +} + +// SetFilterAtSource sets the FilterAtSource field's value. +func (s *NetworkInsightsPath) SetFilterAtSource(v *PathFilter) *NetworkInsightsPath { + s.FilterAtSource = v + return s +} + // SetNetworkInsightsPathArn sets the NetworkInsightsPathArn field's value. func (s *NetworkInsightsPath) SetNetworkInsightsPathArn(v string) *NetworkInsightsPath { s.NetworkInsightsPathArn = &v @@ -150872,6 +151270,12 @@ type PathComponent struct { // The explanation codes. Explanations []*Explanation `locationName:"explanationSet" locationNameList:"item" type:"list"` + // The Network Firewall stateful rule. + FirewallStatefulRule *FirewallStatefulRule `locationName:"firewallStatefulRule" type:"structure"` + + // The Network Firewall stateless rule. + FirewallStatelessRule *FirewallStatelessRule `locationName:"firewallStatelessRule" type:"structure"` + // The inbound header. InboundHeader *AnalysisPacketHeader `locationName:"inboundHeader" type:"structure"` @@ -150887,6 +151291,9 @@ type PathComponent struct { // The sequence number. SequenceNumber *int64 `locationName:"sequenceNumber" type:"integer"` + // The name of the VPC endpoint service. + ServiceName *string `locationName:"serviceName" type:"string"` + // The source VPC. SourceVpc *AnalysisComponent `locationName:"sourceVpc" type:"structure"` @@ -150963,6 +151370,18 @@ func (s *PathComponent) SetExplanations(v []*Explanation) *PathComponent { return s } +// SetFirewallStatefulRule sets the FirewallStatefulRule field's value. +func (s *PathComponent) SetFirewallStatefulRule(v *FirewallStatefulRule) *PathComponent { + s.FirewallStatefulRule = v + return s +} + +// SetFirewallStatelessRule sets the FirewallStatelessRule field's value. +func (s *PathComponent) SetFirewallStatelessRule(v *FirewallStatelessRule) *PathComponent { + s.FirewallStatelessRule = v + return s +} + // SetInboundHeader sets the InboundHeader field's value. func (s *PathComponent) SetInboundHeader(v *AnalysisPacketHeader) *PathComponent { s.InboundHeader = v @@ -150993,6 +151412,12 @@ func (s *PathComponent) SetSequenceNumber(v int64) *PathComponent { return s } +// SetServiceName sets the ServiceName field's value. +func (s *PathComponent) SetServiceName(v string) *PathComponent { + s.ServiceName = &v + return s +} + // SetSourceVpc sets the SourceVpc field's value. func (s *PathComponent) SetSourceVpc(v *AnalysisComponent) *PathComponent { s.SourceVpc = v @@ -151023,6 +151448,126 @@ func (s *PathComponent) SetVpc(v *AnalysisComponent) *PathComponent { return s } +// Describes a set of filters for a path analysis. Use path filters to scope +// the analysis when there can be multiple resulting paths. +type PathFilter struct { + _ struct{} `type:"structure"` + + // The destination IPv4 address. + DestinationAddress *string `locationName:"destinationAddress" type:"string"` + + // The destination port range. + DestinationPortRange *FilterPortRange `locationName:"destinationPortRange" type:"structure"` + + // The source IPv4 address. + SourceAddress *string `locationName:"sourceAddress" type:"string"` + + // The source port range. + SourcePortRange *FilterPortRange `locationName:"sourcePortRange" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PathFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PathFilter) GoString() string { + return s.String() +} + +// SetDestinationAddress sets the DestinationAddress field's value. +func (s *PathFilter) SetDestinationAddress(v string) *PathFilter { + s.DestinationAddress = &v + return s +} + +// SetDestinationPortRange sets the DestinationPortRange field's value. +func (s *PathFilter) SetDestinationPortRange(v *FilterPortRange) *PathFilter { + s.DestinationPortRange = v + return s +} + +// SetSourceAddress sets the SourceAddress field's value. +func (s *PathFilter) SetSourceAddress(v string) *PathFilter { + s.SourceAddress = &v + return s +} + +// SetSourcePortRange sets the SourcePortRange field's value. +func (s *PathFilter) SetSourcePortRange(v *FilterPortRange) *PathFilter { + s.SourcePortRange = v + return s +} + +// Describes a set of filters for a path analysis. Use path filters to scope +// the analysis when there can be multiple resulting paths. +type PathRequestFilter struct { + _ struct{} `type:"structure"` + + // The destination IPv4 address. + DestinationAddress *string `type:"string"` + + // The destination port range. + DestinationPortRange *RequestFilterPortRange `type:"structure"` + + // The source IPv4 address. + SourceAddress *string `type:"string"` + + // The source port range. + SourcePortRange *RequestFilterPortRange `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PathRequestFilter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PathRequestFilter) GoString() string { + return s.String() +} + +// SetDestinationAddress sets the DestinationAddress field's value. +func (s *PathRequestFilter) SetDestinationAddress(v string) *PathRequestFilter { + s.DestinationAddress = &v + return s +} + +// SetDestinationPortRange sets the DestinationPortRange field's value. +func (s *PathRequestFilter) SetDestinationPortRange(v *RequestFilterPortRange) *PathRequestFilter { + s.DestinationPortRange = v + return s +} + +// SetSourceAddress sets the SourceAddress field's value. +func (s *PathRequestFilter) SetSourceAddress(v string) *PathRequestFilter { + s.SourceAddress = &v + return s +} + +// SetSourcePortRange sets the SourcePortRange field's value. +func (s *PathRequestFilter) SetSourcePortRange(v *RequestFilterPortRange) *PathRequestFilter { + s.SourcePortRange = v + return s +} + // Describes a path statement. type PathStatement struct { _ struct{} `type:"structure"` @@ -157004,6 +157549,47 @@ func (s ReportInstanceStatusOutput) GoString() string { return s.String() } +// Describes a port range. +type RequestFilterPortRange struct { + _ struct{} `type:"structure"` + + // The first port in the range. + FromPort *int64 `type:"integer"` + + // The last port in the range. + ToPort *int64 `type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RequestFilterPortRange) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RequestFilterPortRange) GoString() string { + return s.String() +} + +// SetFromPort sets the FromPort field's value. +func (s *RequestFilterPortRange) SetFromPort(v int64) *RequestFilterPortRange { + s.FromPort = &v + return s +} + +// SetToPort sets the ToPort field's value. +func (s *RequestFilterPortRange) SetToPort(v int64) *RequestFilterPortRange { + s.ToPort = &v + return s +} + // A tag on an IPAM resource. type RequestIpamResourceTag struct { _ struct{} `type:"structure"` @@ -161657,6 +162243,129 @@ func (s *RouteTableAssociationState) SetStatusMessage(v string) *RouteTableAssoc return s } +// Describes the rule options for a stateful rule group. +type RuleGroupRuleOptionsPair struct { + _ struct{} `type:"structure"` + + // The ARN of the rule group. + RuleGroupArn *string `locationName:"ruleGroupArn" min:"1" type:"string"` + + // The rule options. + RuleOptions []*RuleOption `locationName:"ruleOptionSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleGroupRuleOptionsPair) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleGroupRuleOptionsPair) GoString() string { + return s.String() +} + +// SetRuleGroupArn sets the RuleGroupArn field's value. +func (s *RuleGroupRuleOptionsPair) SetRuleGroupArn(v string) *RuleGroupRuleOptionsPair { + s.RuleGroupArn = &v + return s +} + +// SetRuleOptions sets the RuleOptions field's value. +func (s *RuleGroupRuleOptionsPair) SetRuleOptions(v []*RuleOption) *RuleGroupRuleOptionsPair { + s.RuleOptions = v + return s +} + +// Describes the type of a stateful rule group. +type RuleGroupTypePair struct { + _ struct{} `type:"structure"` + + // The ARN of the rule group. + RuleGroupArn *string `locationName:"ruleGroupArn" min:"1" type:"string"` + + // The rule group type. The possible values are Domain List and Suricata. + RuleGroupType *string `locationName:"ruleGroupType" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleGroupTypePair) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleGroupTypePair) GoString() string { + return s.String() +} + +// SetRuleGroupArn sets the RuleGroupArn field's value. +func (s *RuleGroupTypePair) SetRuleGroupArn(v string) *RuleGroupTypePair { + s.RuleGroupArn = &v + return s +} + +// SetRuleGroupType sets the RuleGroupType field's value. +func (s *RuleGroupTypePair) SetRuleGroupType(v string) *RuleGroupTypePair { + s.RuleGroupType = &v + return s +} + +// Describes additional settings for a stateful rule. +type RuleOption struct { + _ struct{} `type:"structure"` + + // The Suricata keyword. + Keyword *string `locationName:"keyword" type:"string"` + + // The settings for the keyword. + Settings []*string `locationName:"settingSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleOption) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleOption) GoString() string { + return s.String() +} + +// SetKeyword sets the Keyword field's value. +func (s *RuleOption) SetKeyword(v string) *RuleOption { + s.Keyword = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *RuleOption) SetSettings(v []*string) *RuleOption { + s.Settings = v + return s +} + type RunInstancesInput struct { _ struct{} `type:"structure"` diff --git a/service/iotsitewise/api.go b/service/iotsitewise/api.go index f06d6660f9..b55f0cd84a 100644 --- a/service/iotsitewise/api.go +++ b/service/iotsitewise/api.go @@ -12389,7 +12389,7 @@ type BatchGetAssetPropertyValueInput struct { _ struct{} `type:"structure"` // The list of asset property value entries for the batch get request. You can - // specify up to 16 entries per request. + // specify up to 128 entries per request. // // Entries is a required field Entries []*BatchGetAssetPropertyValueEntry `locationName:"entries" type:"list" required:"true"` @@ -17524,6 +17524,14 @@ type DescribeTimeSeriesOutput struct { // The ID of the asset property. PropertyId *string `locationName:"propertyId" min:"36" type:"string"` + // The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the time series, which has the following format. + // + // arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId} + // + // TimeSeriesArn is a required field + TimeSeriesArn *string `locationName:"timeSeriesArn" min:"1" type:"string" required:"true"` + // The date that the time series was created, in Unix epoch time. // // TimeSeriesCreationDate is a required field @@ -17588,6 +17596,12 @@ func (s *DescribeTimeSeriesOutput) SetPropertyId(v string) *DescribeTimeSeriesOu return s } +// SetTimeSeriesArn sets the TimeSeriesArn field's value. +func (s *DescribeTimeSeriesOutput) SetTimeSeriesArn(v string) *DescribeTimeSeriesOutput { + s.TimeSeriesArn = &v + return s +} + // SetTimeSeriesCreationDate sets the TimeSeriesCreationDate field's value. func (s *DescribeTimeSeriesOutput) SetTimeSeriesCreationDate(v time.Time) *DescribeTimeSeriesOutput { s.TimeSeriesCreationDate = &v @@ -24099,6 +24113,14 @@ type TimeSeriesSummary struct { // The ID of the asset property. PropertyId *string `locationName:"propertyId" min:"36" type:"string"` + // The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) + // of the time series, which has the following format. + // + // arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId} + // + // TimeSeriesArn is a required field + TimeSeriesArn *string `locationName:"timeSeriesArn" min:"1" type:"string" required:"true"` + // The date that the time series was created, in Unix epoch time. // // TimeSeriesCreationDate is a required field @@ -24163,6 +24185,12 @@ func (s *TimeSeriesSummary) SetPropertyId(v string) *TimeSeriesSummary { return s } +// SetTimeSeriesArn sets the TimeSeriesArn field's value. +func (s *TimeSeriesSummary) SetTimeSeriesArn(v string) *TimeSeriesSummary { + s.TimeSeriesArn = &v + return s +} + // SetTimeSeriesCreationDate sets the TimeSeriesCreationDate field's value. func (s *TimeSeriesSummary) SetTimeSeriesCreationDate(v time.Time) *TimeSeriesSummary { s.TimeSeriesCreationDate = &v diff --git a/service/mgn/api.go b/service/mgn/api.go index f973796cfd..c6d7abba75 100644 --- a/service/mgn/api.go +++ b/service/mgn/api.go @@ -3012,36 +3012,36 @@ func (c *Mgn) ListApplicationsPagesWithContext(ctx aws.Context, input *ListAppli return p.Err() } -const opListSourceServerActions = "ListSourceServerActions" +const opListExportErrors = "ListExportErrors" -// ListSourceServerActionsRequest generates a "aws/request.Request" representing the -// client's request for the ListSourceServerActions operation. The "output" return +// ListExportErrorsRequest generates a "aws/request.Request" representing the +// client's request for the ListExportErrors operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListSourceServerActions for more information on using the ListSourceServerActions +// See ListExportErrors for more information on using the ListExportErrors // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListSourceServerActionsRequest method. -// req, resp := client.ListSourceServerActionsRequest(params) +// // Example sending a request using the ListExportErrorsRequest method. +// req, resp := client.ListExportErrorsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListSourceServerActions -func (c *Mgn) ListSourceServerActionsRequest(input *ListSourceServerActionsInput) (req *request.Request, output *ListSourceServerActionsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListExportErrors +func (c *Mgn) ListExportErrorsRequest(input *ListExportErrorsInput) (req *request.Request, output *ListExportErrorsOutput) { op := &request.Operation{ - Name: opListSourceServerActions, + Name: opListExportErrors, HTTPMethod: "POST", - HTTPPath: "/ListSourceServerActions", + HTTPPath: "/ListExportErrors", Paginator: &request.Paginator{ InputTokens: []string{"nextToken"}, OutputTokens: []string{"nextToken"}, @@ -3051,91 +3051,91 @@ func (c *Mgn) ListSourceServerActionsRequest(input *ListSourceServerActionsInput } if input == nil { - input = &ListSourceServerActionsInput{} + input = &ListExportErrorsInput{} } - output = &ListSourceServerActionsOutput{} + output = &ListExportErrorsOutput{} req = c.newRequest(op, input, output) return } -// ListSourceServerActions API operation for Application Migration Service. +// ListExportErrors API operation for Application Migration Service. // -// List source server post migration custom actions. +// List export errors. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation ListSourceServerActions for usage and error information. +// API operation ListExportErrors for usage and error information. // // Returned Error Types: // // - UninitializedAccountException // Uninitialized account exception. // -// - ResourceNotFoundException -// Resource not found exception. +// - ValidationException +// Validate exception. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListSourceServerActions -func (c *Mgn) ListSourceServerActions(input *ListSourceServerActionsInput) (*ListSourceServerActionsOutput, error) { - req, out := c.ListSourceServerActionsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListExportErrors +func (c *Mgn) ListExportErrors(input *ListExportErrorsInput) (*ListExportErrorsOutput, error) { + req, out := c.ListExportErrorsRequest(input) return out, req.Send() } -// ListSourceServerActionsWithContext is the same as ListSourceServerActions with the addition of +// ListExportErrorsWithContext is the same as ListExportErrors with the addition of // the ability to pass a context and additional request options. // -// See ListSourceServerActions for details on how to use this API operation. +// See ListExportErrors for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) ListSourceServerActionsWithContext(ctx aws.Context, input *ListSourceServerActionsInput, opts ...request.Option) (*ListSourceServerActionsOutput, error) { - req, out := c.ListSourceServerActionsRequest(input) +func (c *Mgn) ListExportErrorsWithContext(ctx aws.Context, input *ListExportErrorsInput, opts ...request.Option) (*ListExportErrorsOutput, error) { + req, out := c.ListExportErrorsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListSourceServerActionsPages iterates over the pages of a ListSourceServerActions operation, +// ListExportErrorsPages iterates over the pages of a ListExportErrors operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListSourceServerActions method for more information on how to use this operation. +// See ListExportErrors method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSourceServerActions operation. +// // Example iterating over at most 3 pages of a ListExportErrors operation. // pageNum := 0 -// err := client.ListSourceServerActionsPages(params, -// func(page *mgn.ListSourceServerActionsOutput, lastPage bool) bool { +// err := client.ListExportErrorsPages(params, +// func(page *mgn.ListExportErrorsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *Mgn) ListSourceServerActionsPages(input *ListSourceServerActionsInput, fn func(*ListSourceServerActionsOutput, bool) bool) error { - return c.ListSourceServerActionsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *Mgn) ListExportErrorsPages(input *ListExportErrorsInput, fn func(*ListExportErrorsOutput, bool) bool) error { + return c.ListExportErrorsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListSourceServerActionsPagesWithContext same as ListSourceServerActionsPages except +// ListExportErrorsPagesWithContext same as ListExportErrorsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) ListSourceServerActionsPagesWithContext(ctx aws.Context, input *ListSourceServerActionsInput, fn func(*ListSourceServerActionsOutput, bool) bool, opts ...request.Option) error { +func (c *Mgn) ListExportErrorsPagesWithContext(ctx aws.Context, input *ListExportErrorsInput, fn func(*ListExportErrorsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListSourceServerActionsInput + var inCpy *ListExportErrorsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListSourceServerActionsRequest(inCpy) + req, _ := c.ListExportErrorsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -3143,7 +3143,7 @@ func (c *Mgn) ListSourceServerActionsPagesWithContext(ctx aws.Context, input *Li } for p.Next() { - if !fn(p.Page().(*ListSourceServerActionsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListExportErrorsOutput), !p.HasNextPage()) { break } } @@ -3151,128 +3151,171 @@ func (c *Mgn) ListSourceServerActionsPagesWithContext(ctx aws.Context, input *Li return p.Err() } -const opListTagsForResource = "ListTagsForResource" +const opListExports = "ListExports" -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return +// ListExportsRequest generates a "aws/request.Request" representing the +// client's request for the ListExports operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListTagsForResource for more information on using the ListTagsForResource +// See ListExports for more information on using the ListExports // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) +// // Example sending a request using the ListExportsRequest method. +// req, resp := client.ListExportsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTagsForResource -func (c *Mgn) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListExports +func (c *Mgn) ListExportsRequest(input *ListExportsInput) (req *request.Request, output *ListExportsOutput) { op := &request.Operation{ - Name: opListTagsForResource, - HTTPMethod: "GET", - HTTPPath: "/tags/{resourceArn}", + Name: opListExports, + HTTPMethod: "POST", + HTTPPath: "/ListExports", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &ListTagsForResourceInput{} + input = &ListExportsInput{} } - output = &ListTagsForResourceOutput{} + output = &ListExportsOutput{} req = c.newRequest(op, input, output) return } -// ListTagsForResource API operation for Application Migration Service. +// ListExports API operation for Application Migration Service. // -// List all tags for your Application Migration Service resources. +// List exports. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation ListTagsForResource for usage and error information. +// API operation ListExports for usage and error information. // // Returned Error Types: +// - UninitializedAccountException +// Uninitialized account exception. // -// - ResourceNotFoundException -// Resource not found exception. -// -// - ThrottlingException -// Reached throttling quota exception. -// -// - ValidationException -// Validate exception. -// -// - AccessDeniedException -// Operating denied due to a file permission or access check error. -// -// - InternalServerException -// The server encountered an unexpected condition that prevented it from fulfilling -// the request. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTagsForResource -func (c *Mgn) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListExports +func (c *Mgn) ListExports(input *ListExportsInput) (*ListExportsOutput, error) { + req, out := c.ListExportsRequest(input) return out, req.Send() } -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// ListExportsWithContext is the same as ListExports with the addition of // the ability to pass a context and additional request options. // -// See ListTagsForResource for details on how to use this API operation. +// See ListExports for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +func (c *Mgn) ListExportsWithContext(ctx aws.Context, input *ListExportsInput, opts ...request.Option) (*ListExportsOutput, error) { + req, out := c.ListExportsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListTemplateActions = "ListTemplateActions" +// ListExportsPages iterates over the pages of a ListExports operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListExports method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListExports operation. +// pageNum := 0 +// err := client.ListExportsPages(params, +// func(page *mgn.ListExportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Mgn) ListExportsPages(input *ListExportsInput, fn func(*ListExportsOutput, bool) bool) error { + return c.ListExportsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// ListTemplateActionsRequest generates a "aws/request.Request" representing the -// client's request for the ListTemplateActions operation. The "output" return +// ListExportsPagesWithContext same as ListExportsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Mgn) ListExportsPagesWithContext(ctx aws.Context, input *ListExportsInput, fn func(*ListExportsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListExportsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListExportsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListExportsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListImportErrors = "ListImportErrors" + +// ListImportErrorsRequest generates a "aws/request.Request" representing the +// client's request for the ListImportErrors operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListTemplateActions for more information on using the ListTemplateActions +// See ListImportErrors for more information on using the ListImportErrors // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListTemplateActionsRequest method. -// req, resp := client.ListTemplateActionsRequest(params) +// // Example sending a request using the ListImportErrorsRequest method. +// req, resp := client.ListImportErrorsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTemplateActions -func (c *Mgn) ListTemplateActionsRequest(input *ListTemplateActionsInput) (req *request.Request, output *ListTemplateActionsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListImportErrors +func (c *Mgn) ListImportErrorsRequest(input *ListImportErrorsInput) (req *request.Request, output *ListImportErrorsOutput) { op := &request.Operation{ - Name: opListTemplateActions, + Name: opListImportErrors, HTTPMethod: "POST", - HTTPPath: "/ListTemplateActions", + HTTPPath: "/ListImportErrors", Paginator: &request.Paginator{ InputTokens: []string{"nextToken"}, OutputTokens: []string{"nextToken"}, @@ -3282,91 +3325,91 @@ func (c *Mgn) ListTemplateActionsRequest(input *ListTemplateActionsInput) (req * } if input == nil { - input = &ListTemplateActionsInput{} + input = &ListImportErrorsInput{} } - output = &ListTemplateActionsOutput{} + output = &ListImportErrorsOutput{} req = c.newRequest(op, input, output) return } -// ListTemplateActions API operation for Application Migration Service. +// ListImportErrors API operation for Application Migration Service. // -// List template post migration custom actions. +// List import errors. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation ListTemplateActions for usage and error information. +// API operation ListImportErrors for usage and error information. // // Returned Error Types: // // - UninitializedAccountException // Uninitialized account exception. // -// - ResourceNotFoundException -// Resource not found exception. +// - ValidationException +// Validate exception. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTemplateActions -func (c *Mgn) ListTemplateActions(input *ListTemplateActionsInput) (*ListTemplateActionsOutput, error) { - req, out := c.ListTemplateActionsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListImportErrors +func (c *Mgn) ListImportErrors(input *ListImportErrorsInput) (*ListImportErrorsOutput, error) { + req, out := c.ListImportErrorsRequest(input) return out, req.Send() } -// ListTemplateActionsWithContext is the same as ListTemplateActions with the addition of +// ListImportErrorsWithContext is the same as ListImportErrors with the addition of // the ability to pass a context and additional request options. // -// See ListTemplateActions for details on how to use this API operation. +// See ListImportErrors for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) ListTemplateActionsWithContext(ctx aws.Context, input *ListTemplateActionsInput, opts ...request.Option) (*ListTemplateActionsOutput, error) { - req, out := c.ListTemplateActionsRequest(input) +func (c *Mgn) ListImportErrorsWithContext(ctx aws.Context, input *ListImportErrorsInput, opts ...request.Option) (*ListImportErrorsOutput, error) { + req, out := c.ListImportErrorsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListTemplateActionsPages iterates over the pages of a ListTemplateActions operation, +// ListImportErrorsPages iterates over the pages of a ListImportErrors operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListTemplateActions method for more information on how to use this operation. +// See ListImportErrors method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTemplateActions operation. +// // Example iterating over at most 3 pages of a ListImportErrors operation. // pageNum := 0 -// err := client.ListTemplateActionsPages(params, -// func(page *mgn.ListTemplateActionsOutput, lastPage bool) bool { +// err := client.ListImportErrorsPages(params, +// func(page *mgn.ListImportErrorsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *Mgn) ListTemplateActionsPages(input *ListTemplateActionsInput, fn func(*ListTemplateActionsOutput, bool) bool) error { - return c.ListTemplateActionsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *Mgn) ListImportErrorsPages(input *ListImportErrorsInput, fn func(*ListImportErrorsOutput, bool) bool) error { + return c.ListImportErrorsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListTemplateActionsPagesWithContext same as ListTemplateActionsPages except +// ListImportErrorsPagesWithContext same as ListImportErrorsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) ListTemplateActionsPagesWithContext(ctx aws.Context, input *ListTemplateActionsInput, fn func(*ListTemplateActionsOutput, bool) bool, opts ...request.Option) error { +func (c *Mgn) ListImportErrorsPagesWithContext(ctx aws.Context, input *ListImportErrorsInput, fn func(*ListImportErrorsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListTemplateActionsInput + var inCpy *ListImportErrorsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListTemplateActionsRequest(inCpy) + req, _ := c.ListImportErrorsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -3374,7 +3417,7 @@ func (c *Mgn) ListTemplateActionsPagesWithContext(ctx aws.Context, input *ListTe } for p.Next() { - if !fn(p.Page().(*ListTemplateActionsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListImportErrorsOutput), !p.HasNextPage()) { break } } @@ -3382,36 +3425,36 @@ func (c *Mgn) ListTemplateActionsPagesWithContext(ctx aws.Context, input *ListTe return p.Err() } -const opListWaves = "ListWaves" +const opListImports = "ListImports" -// ListWavesRequest generates a "aws/request.Request" representing the -// client's request for the ListWaves operation. The "output" return +// ListImportsRequest generates a "aws/request.Request" representing the +// client's request for the ListImports operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListWaves for more information on using the ListWaves +// See ListImports for more information on using the ListImports // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the ListWavesRequest method. -// req, resp := client.ListWavesRequest(params) +// // Example sending a request using the ListImportsRequest method. +// req, resp := client.ListImportsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListWaves -func (c *Mgn) ListWavesRequest(input *ListWavesInput) (req *request.Request, output *ListWavesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListImports +func (c *Mgn) ListImportsRequest(input *ListImportsInput) (req *request.Request, output *ListImportsOutput) { op := &request.Operation{ - Name: opListWaves, + Name: opListImports, HTTPMethod: "POST", - HTTPPath: "/ListWaves", + HTTPPath: "/ListImports", Paginator: &request.Paginator{ InputTokens: []string{"nextToken"}, OutputTokens: []string{"nextToken"}, @@ -3421,87 +3464,91 @@ func (c *Mgn) ListWavesRequest(input *ListWavesInput) (req *request.Request, out } if input == nil { - input = &ListWavesInput{} + input = &ListImportsInput{} } - output = &ListWavesOutput{} + output = &ListImportsOutput{} req = c.newRequest(op, input, output) return } -// ListWaves API operation for Application Migration Service. +// ListImports API operation for Application Migration Service. // -// Retrieves all waves or multiple waves by ID. +// List imports. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation ListWaves for usage and error information. +// API operation ListImports for usage and error information. // // Returned Error Types: +// // - UninitializedAccountException // Uninitialized account exception. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListWaves -func (c *Mgn) ListWaves(input *ListWavesInput) (*ListWavesOutput, error) { - req, out := c.ListWavesRequest(input) +// - ValidationException +// Validate exception. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListImports +func (c *Mgn) ListImports(input *ListImportsInput) (*ListImportsOutput, error) { + req, out := c.ListImportsRequest(input) return out, req.Send() } -// ListWavesWithContext is the same as ListWaves with the addition of +// ListImportsWithContext is the same as ListImports with the addition of // the ability to pass a context and additional request options. // -// See ListWaves for details on how to use this API operation. +// See ListImports for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) ListWavesWithContext(ctx aws.Context, input *ListWavesInput, opts ...request.Option) (*ListWavesOutput, error) { - req, out := c.ListWavesRequest(input) +func (c *Mgn) ListImportsWithContext(ctx aws.Context, input *ListImportsInput, opts ...request.Option) (*ListImportsOutput, error) { + req, out := c.ListImportsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListWavesPages iterates over the pages of a ListWaves operation, +// ListImportsPages iterates over the pages of a ListImports operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListWaves method for more information on how to use this operation. +// See ListImports method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWaves operation. +// // Example iterating over at most 3 pages of a ListImports operation. // pageNum := 0 -// err := client.ListWavesPages(params, -// func(page *mgn.ListWavesOutput, lastPage bool) bool { +// err := client.ListImportsPages(params, +// func(page *mgn.ListImportsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) -func (c *Mgn) ListWavesPages(input *ListWavesInput, fn func(*ListWavesOutput, bool) bool) error { - return c.ListWavesPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *Mgn) ListImportsPages(input *ListImportsInput, fn func(*ListImportsOutput, bool) bool) error { + return c.ListImportsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListWavesPagesWithContext same as ListWavesPages except +// ListImportsPagesWithContext same as ListImportsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) ListWavesPagesWithContext(ctx aws.Context, input *ListWavesInput, fn func(*ListWavesOutput, bool) bool, opts ...request.Option) error { +func (c *Mgn) ListImportsPagesWithContext(ctx aws.Context, input *ListImportsInput, fn func(*ListImportsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListWavesInput + var inCpy *ListImportsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListWavesRequest(inCpy) + req, _ := c.ListImportsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -3509,7 +3556,7 @@ func (c *Mgn) ListWavesPagesWithContext(ctx aws.Context, input *ListWavesInput, } for p.Next() { - if !fn(p.Page().(*ListWavesOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListImportsOutput), !p.HasNextPage()) { break } } @@ -3517,59 +3564,63 @@ func (c *Mgn) ListWavesPagesWithContext(ctx aws.Context, input *ListWavesInput, return p.Err() } -const opMarkAsArchived = "MarkAsArchived" +const opListSourceServerActions = "ListSourceServerActions" -// MarkAsArchivedRequest generates a "aws/request.Request" representing the -// client's request for the MarkAsArchived operation. The "output" return +// ListSourceServerActionsRequest generates a "aws/request.Request" representing the +// client's request for the ListSourceServerActions operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See MarkAsArchived for more information on using the MarkAsArchived +// See ListSourceServerActions for more information on using the ListSourceServerActions // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the MarkAsArchivedRequest method. -// req, resp := client.MarkAsArchivedRequest(params) +// // Example sending a request using the ListSourceServerActionsRequest method. +// req, resp := client.ListSourceServerActionsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/MarkAsArchived -func (c *Mgn) MarkAsArchivedRequest(input *MarkAsArchivedInput) (req *request.Request, output *MarkAsArchivedOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListSourceServerActions +func (c *Mgn) ListSourceServerActionsRequest(input *ListSourceServerActionsInput) (req *request.Request, output *ListSourceServerActionsOutput) { op := &request.Operation{ - Name: opMarkAsArchived, + Name: opListSourceServerActions, HTTPMethod: "POST", - HTTPPath: "/MarkAsArchived", + HTTPPath: "/ListSourceServerActions", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &MarkAsArchivedInput{} + input = &ListSourceServerActionsInput{} } - output = &MarkAsArchivedOutput{} + output = &ListSourceServerActionsOutput{} req = c.newRequest(op, input, output) return } -// MarkAsArchived API operation for Application Migration Service. +// ListSourceServerActions API operation for Application Migration Service. // -// Archives specific Source Servers by setting the SourceServer.isArchived property -// to true for specified SourceServers by ID. This command only works for SourceServers -// with a lifecycle. state which equals DISCONNECTED or CUTOVER. +// List source server post migration custom actions. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation MarkAsArchived for usage and error information. +// API operation ListSourceServerActions for usage and error information. // // Returned Error Types: // @@ -3579,172 +3630,228 @@ func (c *Mgn) MarkAsArchivedRequest(input *MarkAsArchivedInput) (req *request.Re // - ResourceNotFoundException // Resource not found exception. // -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/MarkAsArchived -func (c *Mgn) MarkAsArchived(input *MarkAsArchivedInput) (*MarkAsArchivedOutput, error) { - req, out := c.MarkAsArchivedRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListSourceServerActions +func (c *Mgn) ListSourceServerActions(input *ListSourceServerActionsInput) (*ListSourceServerActionsOutput, error) { + req, out := c.ListSourceServerActionsRequest(input) return out, req.Send() } -// MarkAsArchivedWithContext is the same as MarkAsArchived with the addition of +// ListSourceServerActionsWithContext is the same as ListSourceServerActions with the addition of // the ability to pass a context and additional request options. // -// See MarkAsArchived for details on how to use this API operation. +// See ListSourceServerActions for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) MarkAsArchivedWithContext(ctx aws.Context, input *MarkAsArchivedInput, opts ...request.Option) (*MarkAsArchivedOutput, error) { - req, out := c.MarkAsArchivedRequest(input) - req.SetContext(ctx) +func (c *Mgn) ListSourceServerActionsWithContext(ctx aws.Context, input *ListSourceServerActionsInput, opts ...request.Option) (*ListSourceServerActionsOutput, error) { + req, out := c.ListSourceServerActionsRequest(input) + req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opPutSourceServerAction = "PutSourceServerAction" +// ListSourceServerActionsPages iterates over the pages of a ListSourceServerActions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListSourceServerActions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListSourceServerActions operation. +// pageNum := 0 +// err := client.ListSourceServerActionsPages(params, +// func(page *mgn.ListSourceServerActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Mgn) ListSourceServerActionsPages(input *ListSourceServerActionsInput, fn func(*ListSourceServerActionsOutput, bool) bool) error { + return c.ListSourceServerActionsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// PutSourceServerActionRequest generates a "aws/request.Request" representing the -// client's request for the PutSourceServerAction operation. The "output" return +// ListSourceServerActionsPagesWithContext same as ListSourceServerActionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Mgn) ListSourceServerActionsPagesWithContext(ctx aws.Context, input *ListSourceServerActionsInput, fn func(*ListSourceServerActionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListSourceServerActionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListSourceServerActionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListSourceServerActionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See PutSourceServerAction for more information on using the PutSourceServerAction +// See ListTagsForResource for more information on using the ListTagsForResource // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the PutSourceServerActionRequest method. -// req, resp := client.PutSourceServerActionRequest(params) +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/PutSourceServerAction -func (c *Mgn) PutSourceServerActionRequest(input *PutSourceServerActionInput) (req *request.Request, output *PutSourceServerActionOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTagsForResource +func (c *Mgn) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ - Name: opPutSourceServerAction, - HTTPMethod: "POST", - HTTPPath: "/PutSourceServerAction", + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{resourceArn}", } if input == nil { - input = &PutSourceServerActionInput{} + input = &ListTagsForResourceInput{} } - output = &PutSourceServerActionOutput{} + output = &ListTagsForResourceOutput{} req = c.newRequest(op, input, output) return } -// PutSourceServerAction API operation for Application Migration Service. +// ListTagsForResource API operation for Application Migration Service. // -// Put source server post migration custom action. +// List all tags for your Application Migration Service resources. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation PutSourceServerAction for usage and error information. +// API operation ListTagsForResource for usage and error information. // // Returned Error Types: // -// - UninitializedAccountException -// Uninitialized account exception. -// // - ResourceNotFoundException // Resource not found exception. // +// - ThrottlingException +// Reached throttling quota exception. +// // - ValidationException // Validate exception. // -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - AccessDeniedException +// Operating denied due to a file permission or access check error. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/PutSourceServerAction -func (c *Mgn) PutSourceServerAction(input *PutSourceServerActionInput) (*PutSourceServerActionOutput, error) { - req, out := c.PutSourceServerActionRequest(input) +// - InternalServerException +// The server encountered an unexpected condition that prevented it from fulfilling +// the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTagsForResource +func (c *Mgn) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) return out, req.Send() } -// PutSourceServerActionWithContext is the same as PutSourceServerAction with the addition of +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of // the ability to pass a context and additional request options. // -// See PutSourceServerAction for details on how to use this API operation. +// See ListTagsForResource for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) PutSourceServerActionWithContext(ctx aws.Context, input *PutSourceServerActionInput, opts ...request.Option) (*PutSourceServerActionOutput, error) { - req, out := c.PutSourceServerActionRequest(input) +func (c *Mgn) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opPutTemplateAction = "PutTemplateAction" +const opListTemplateActions = "ListTemplateActions" -// PutTemplateActionRequest generates a "aws/request.Request" representing the -// client's request for the PutTemplateAction operation. The "output" return +// ListTemplateActionsRequest generates a "aws/request.Request" representing the +// client's request for the ListTemplateActions operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See PutTemplateAction for more information on using the PutTemplateAction +// See ListTemplateActions for more information on using the ListTemplateActions // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the PutTemplateActionRequest method. -// req, resp := client.PutTemplateActionRequest(params) +// // Example sending a request using the ListTemplateActionsRequest method. +// req, resp := client.ListTemplateActionsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/PutTemplateAction -func (c *Mgn) PutTemplateActionRequest(input *PutTemplateActionInput) (req *request.Request, output *PutTemplateActionOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTemplateActions +func (c *Mgn) ListTemplateActionsRequest(input *ListTemplateActionsInput) (req *request.Request, output *ListTemplateActionsOutput) { op := &request.Operation{ - Name: opPutTemplateAction, + Name: opListTemplateActions, HTTPMethod: "POST", - HTTPPath: "/PutTemplateAction", + HTTPPath: "/ListTemplateActions", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &PutTemplateActionInput{} + input = &ListTemplateActionsInput{} } - output = &PutTemplateActionOutput{} + output = &ListTemplateActionsOutput{} req = c.newRequest(op, input, output) return } -// PutTemplateAction API operation for Application Migration Service. +// ListTemplateActions API operation for Application Migration Service. // -// Put template post migration custom action. +// List template post migration custom actions. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation PutTemplateAction for usage and error information. +// API operation ListTemplateActions for usage and error information. // // Returned Error Types: // @@ -3754,173 +3861,267 @@ func (c *Mgn) PutTemplateActionRequest(input *PutTemplateActionInput) (req *requ // - ResourceNotFoundException // Resource not found exception. // -// - ValidationException -// Validate exception. -// -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/PutTemplateAction -func (c *Mgn) PutTemplateAction(input *PutTemplateActionInput) (*PutTemplateActionOutput, error) { - req, out := c.PutTemplateActionRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTemplateActions +func (c *Mgn) ListTemplateActions(input *ListTemplateActionsInput) (*ListTemplateActionsOutput, error) { + req, out := c.ListTemplateActionsRequest(input) return out, req.Send() } -// PutTemplateActionWithContext is the same as PutTemplateAction with the addition of +// ListTemplateActionsWithContext is the same as ListTemplateActions with the addition of // the ability to pass a context and additional request options. // -// See PutTemplateAction for details on how to use this API operation. +// See ListTemplateActions for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) PutTemplateActionWithContext(ctx aws.Context, input *PutTemplateActionInput, opts ...request.Option) (*PutTemplateActionOutput, error) { - req, out := c.PutTemplateActionRequest(input) +func (c *Mgn) ListTemplateActionsWithContext(ctx aws.Context, input *ListTemplateActionsInput, opts ...request.Option) (*ListTemplateActionsOutput, error) { + req, out := c.ListTemplateActionsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRemoveSourceServerAction = "RemoveSourceServerAction" +// ListTemplateActionsPages iterates over the pages of a ListTemplateActions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListTemplateActions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListTemplateActions operation. +// pageNum := 0 +// err := client.ListTemplateActionsPages(params, +// func(page *mgn.ListTemplateActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Mgn) ListTemplateActionsPages(input *ListTemplateActionsInput, fn func(*ListTemplateActionsOutput, bool) bool) error { + return c.ListTemplateActionsPagesWithContext(aws.BackgroundContext(), input, fn) +} -// RemoveSourceServerActionRequest generates a "aws/request.Request" representing the -// client's request for the RemoveSourceServerAction operation. The "output" return +// ListTemplateActionsPagesWithContext same as ListTemplateActionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Mgn) ListTemplateActionsPagesWithContext(ctx aws.Context, input *ListTemplateActionsInput, fn func(*ListTemplateActionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListTemplateActionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListTemplateActionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListTemplateActionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListWaves = "ListWaves" + +// ListWavesRequest generates a "aws/request.Request" representing the +// client's request for the ListWaves operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See RemoveSourceServerAction for more information on using the RemoveSourceServerAction +// See ListWaves for more information on using the ListWaves // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the RemoveSourceServerActionRequest method. -// req, resp := client.RemoveSourceServerActionRequest(params) +// // Example sending a request using the ListWavesRequest method. +// req, resp := client.ListWavesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RemoveSourceServerAction -func (c *Mgn) RemoveSourceServerActionRequest(input *RemoveSourceServerActionInput) (req *request.Request, output *RemoveSourceServerActionOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListWaves +func (c *Mgn) ListWavesRequest(input *ListWavesInput) (req *request.Request, output *ListWavesOutput) { op := &request.Operation{ - Name: opRemoveSourceServerAction, + Name: opListWaves, HTTPMethod: "POST", - HTTPPath: "/RemoveSourceServerAction", + HTTPPath: "/ListWaves", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { - input = &RemoveSourceServerActionInput{} + input = &ListWavesInput{} } - output = &RemoveSourceServerActionOutput{} + output = &ListWavesOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// RemoveSourceServerAction API operation for Application Migration Service. +// ListWaves API operation for Application Migration Service. // -// Remove source server post migration custom action. +// Retrieves all waves or multiple waves by ID. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation RemoveSourceServerAction for usage and error information. +// API operation ListWaves for usage and error information. // // Returned Error Types: -// // - UninitializedAccountException // Uninitialized account exception. // -// - ResourceNotFoundException -// Resource not found exception. -// -// - ValidationException -// Validate exception. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RemoveSourceServerAction -func (c *Mgn) RemoveSourceServerAction(input *RemoveSourceServerActionInput) (*RemoveSourceServerActionOutput, error) { - req, out := c.RemoveSourceServerActionRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListWaves +func (c *Mgn) ListWaves(input *ListWavesInput) (*ListWavesOutput, error) { + req, out := c.ListWavesRequest(input) return out, req.Send() } -// RemoveSourceServerActionWithContext is the same as RemoveSourceServerAction with the addition of +// ListWavesWithContext is the same as ListWaves with the addition of // the ability to pass a context and additional request options. // -// See RemoveSourceServerAction for details on how to use this API operation. +// See ListWaves for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) RemoveSourceServerActionWithContext(ctx aws.Context, input *RemoveSourceServerActionInput, opts ...request.Option) (*RemoveSourceServerActionOutput, error) { - req, out := c.RemoveSourceServerActionRequest(input) +func (c *Mgn) ListWavesWithContext(ctx aws.Context, input *ListWavesInput, opts ...request.Option) (*ListWavesOutput, error) { + req, out := c.ListWavesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRemoveTemplateAction = "RemoveTemplateAction" +// ListWavesPages iterates over the pages of a ListWaves operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListWaves method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListWaves operation. +// pageNum := 0 +// err := client.ListWavesPages(params, +// func(page *mgn.ListWavesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Mgn) ListWavesPages(input *ListWavesInput, fn func(*ListWavesOutput, bool) bool) error { + return c.ListWavesPagesWithContext(aws.BackgroundContext(), input, fn) +} -// RemoveTemplateActionRequest generates a "aws/request.Request" representing the -// client's request for the RemoveTemplateAction operation. The "output" return +// ListWavesPagesWithContext same as ListWavesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Mgn) ListWavesPagesWithContext(ctx aws.Context, input *ListWavesInput, fn func(*ListWavesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListWavesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListWavesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListWavesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opMarkAsArchived = "MarkAsArchived" + +// MarkAsArchivedRequest generates a "aws/request.Request" representing the +// client's request for the MarkAsArchived operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See RemoveTemplateAction for more information on using the RemoveTemplateAction +// See MarkAsArchived for more information on using the MarkAsArchived // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the RemoveTemplateActionRequest method. -// req, resp := client.RemoveTemplateActionRequest(params) +// // Example sending a request using the MarkAsArchivedRequest method. +// req, resp := client.MarkAsArchivedRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RemoveTemplateAction -func (c *Mgn) RemoveTemplateActionRequest(input *RemoveTemplateActionInput) (req *request.Request, output *RemoveTemplateActionOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/MarkAsArchived +func (c *Mgn) MarkAsArchivedRequest(input *MarkAsArchivedInput) (req *request.Request, output *MarkAsArchivedOutput) { op := &request.Operation{ - Name: opRemoveTemplateAction, + Name: opMarkAsArchived, HTTPMethod: "POST", - HTTPPath: "/RemoveTemplateAction", + HTTPPath: "/MarkAsArchived", } if input == nil { - input = &RemoveTemplateActionInput{} + input = &MarkAsArchivedInput{} } - output = &RemoveTemplateActionOutput{} + output = &MarkAsArchivedOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// RemoveTemplateAction API operation for Application Migration Service. +// MarkAsArchived API operation for Application Migration Service. // -// Remove template post migration custom action. +// Archives specific Source Servers by setting the SourceServer.isArchived property +// to true for specified SourceServers by ID. This command only works for SourceServers +// with a lifecycle. state which equals DISCONNECTED or CUTOVER. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation RemoveTemplateAction for usage and error information. +// API operation MarkAsArchived for usage and error information. // // Returned Error Types: // @@ -3930,85 +4131,83 @@ func (c *Mgn) RemoveTemplateActionRequest(input *RemoveTemplateActionInput) (req // - ResourceNotFoundException // Resource not found exception. // -// - ValidationException -// Validate exception. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RemoveTemplateAction -func (c *Mgn) RemoveTemplateAction(input *RemoveTemplateActionInput) (*RemoveTemplateActionOutput, error) { - req, out := c.RemoveTemplateActionRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/MarkAsArchived +func (c *Mgn) MarkAsArchived(input *MarkAsArchivedInput) (*MarkAsArchivedOutput, error) { + req, out := c.MarkAsArchivedRequest(input) return out, req.Send() } -// RemoveTemplateActionWithContext is the same as RemoveTemplateAction with the addition of +// MarkAsArchivedWithContext is the same as MarkAsArchived with the addition of // the ability to pass a context and additional request options. // -// See RemoveTemplateAction for details on how to use this API operation. +// See MarkAsArchived for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) RemoveTemplateActionWithContext(ctx aws.Context, input *RemoveTemplateActionInput, opts ...request.Option) (*RemoveTemplateActionOutput, error) { - req, out := c.RemoveTemplateActionRequest(input) +func (c *Mgn) MarkAsArchivedWithContext(ctx aws.Context, input *MarkAsArchivedInput, opts ...request.Option) (*MarkAsArchivedOutput, error) { + req, out := c.MarkAsArchivedRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opRetryDataReplication = "RetryDataReplication" +const opPutSourceServerAction = "PutSourceServerAction" -// RetryDataReplicationRequest generates a "aws/request.Request" representing the -// client's request for the RetryDataReplication operation. The "output" return +// PutSourceServerActionRequest generates a "aws/request.Request" representing the +// client's request for the PutSourceServerAction operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See RetryDataReplication for more information on using the RetryDataReplication +// See PutSourceServerAction for more information on using the PutSourceServerAction // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the RetryDataReplicationRequest method. -// req, resp := client.RetryDataReplicationRequest(params) +// // Example sending a request using the PutSourceServerActionRequest method. +// req, resp := client.PutSourceServerActionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RetryDataReplication -func (c *Mgn) RetryDataReplicationRequest(input *RetryDataReplicationInput) (req *request.Request, output *RetryDataReplicationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/PutSourceServerAction +func (c *Mgn) PutSourceServerActionRequest(input *PutSourceServerActionInput) (req *request.Request, output *PutSourceServerActionOutput) { op := &request.Operation{ - Name: opRetryDataReplication, + Name: opPutSourceServerAction, HTTPMethod: "POST", - HTTPPath: "/RetryDataReplication", + HTTPPath: "/PutSourceServerAction", } if input == nil { - input = &RetryDataReplicationInput{} + input = &PutSourceServerActionInput{} } - output = &RetryDataReplicationOutput{} + output = &PutSourceServerActionOutput{} req = c.newRequest(op, input, output) return } -// RetryDataReplication API operation for Application Migration Service. +// PutSourceServerAction API operation for Application Migration Service. // -// Causes the data replication initiation sequence to begin immediately upon -// next Handshake for specified SourceServer IDs, regardless of when the previous -// initiation started. This command will not work if the SourceServer is not -// stalled or is in a DISCONNECTED or STOPPED state. +// Put source server post migration custom action. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation RetryDataReplication for usage and error information. +// API operation PutSourceServerAction for usage and error information. // // Returned Error Types: // @@ -4021,87 +4220,92 @@ func (c *Mgn) RetryDataReplicationRequest(input *RetryDataReplicationInput) (req // - ValidationException // Validate exception. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RetryDataReplication -func (c *Mgn) RetryDataReplication(input *RetryDataReplicationInput) (*RetryDataReplicationOutput, error) { - req, out := c.RetryDataReplicationRequest(input) +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/PutSourceServerAction +func (c *Mgn) PutSourceServerAction(input *PutSourceServerActionInput) (*PutSourceServerActionOutput, error) { + req, out := c.PutSourceServerActionRequest(input) return out, req.Send() } -// RetryDataReplicationWithContext is the same as RetryDataReplication with the addition of +// PutSourceServerActionWithContext is the same as PutSourceServerAction with the addition of // the ability to pass a context and additional request options. // -// See RetryDataReplication for details on how to use this API operation. +// See PutSourceServerAction for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) RetryDataReplicationWithContext(ctx aws.Context, input *RetryDataReplicationInput, opts ...request.Option) (*RetryDataReplicationOutput, error) { - req, out := c.RetryDataReplicationRequest(input) +func (c *Mgn) PutSourceServerActionWithContext(ctx aws.Context, input *PutSourceServerActionInput, opts ...request.Option) (*PutSourceServerActionOutput, error) { + req, out := c.PutSourceServerActionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartCutover = "StartCutover" +const opPutTemplateAction = "PutTemplateAction" -// StartCutoverRequest generates a "aws/request.Request" representing the -// client's request for the StartCutover operation. The "output" return +// PutTemplateActionRequest generates a "aws/request.Request" representing the +// client's request for the PutTemplateAction operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartCutover for more information on using the StartCutover +// See PutTemplateAction for more information on using the PutTemplateAction // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StartCutoverRequest method. -// req, resp := client.StartCutoverRequest(params) +// // Example sending a request using the PutTemplateActionRequest method. +// req, resp := client.PutTemplateActionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartCutover -func (c *Mgn) StartCutoverRequest(input *StartCutoverInput) (req *request.Request, output *StartCutoverOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/PutTemplateAction +func (c *Mgn) PutTemplateActionRequest(input *PutTemplateActionInput) (req *request.Request, output *PutTemplateActionOutput) { op := &request.Operation{ - Name: opStartCutover, + Name: opPutTemplateAction, HTTPMethod: "POST", - HTTPPath: "/StartCutover", + HTTPPath: "/PutTemplateAction", } if input == nil { - input = &StartCutoverInput{} + input = &PutTemplateActionInput{} } - output = &StartCutoverOutput{} + output = &PutTemplateActionOutput{} req = c.newRequest(op, input, output) return } -// StartCutover API operation for Application Migration Service. +// PutTemplateAction API operation for Application Migration Service. // -// Launches a Cutover Instance for specific Source Servers. This command starts -// a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state -// property to CUTTING_OVER. +// Put template post migration custom action. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation StartCutover for usage and error information. +// API operation PutTemplateAction for usage and error information. // // Returned Error Types: // // - UninitializedAccountException // Uninitialized account exception. // +// - ResourceNotFoundException +// Resource not found exception. +// // - ValidationException // Validate exception. // @@ -4109,79 +4313,80 @@ func (c *Mgn) StartCutoverRequest(input *StartCutoverInput) (req *request.Reques // The request could not be completed due to a conflict with the current state // of the target resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartCutover -func (c *Mgn) StartCutover(input *StartCutoverInput) (*StartCutoverOutput, error) { - req, out := c.StartCutoverRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/PutTemplateAction +func (c *Mgn) PutTemplateAction(input *PutTemplateActionInput) (*PutTemplateActionOutput, error) { + req, out := c.PutTemplateActionRequest(input) return out, req.Send() } -// StartCutoverWithContext is the same as StartCutover with the addition of +// PutTemplateActionWithContext is the same as PutTemplateAction with the addition of // the ability to pass a context and additional request options. // -// See StartCutover for details on how to use this API operation. +// See PutTemplateAction for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) StartCutoverWithContext(ctx aws.Context, input *StartCutoverInput, opts ...request.Option) (*StartCutoverOutput, error) { - req, out := c.StartCutoverRequest(input) +func (c *Mgn) PutTemplateActionWithContext(ctx aws.Context, input *PutTemplateActionInput, opts ...request.Option) (*PutTemplateActionOutput, error) { + req, out := c.PutTemplateActionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartReplication = "StartReplication" +const opRemoveSourceServerAction = "RemoveSourceServerAction" -// StartReplicationRequest generates a "aws/request.Request" representing the -// client's request for the StartReplication operation. The "output" return +// RemoveSourceServerActionRequest generates a "aws/request.Request" representing the +// client's request for the RemoveSourceServerAction operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartReplication for more information on using the StartReplication +// See RemoveSourceServerAction for more information on using the RemoveSourceServerAction // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StartReplicationRequest method. -// req, resp := client.StartReplicationRequest(params) +// // Example sending a request using the RemoveSourceServerActionRequest method. +// req, resp := client.RemoveSourceServerActionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartReplication -func (c *Mgn) StartReplicationRequest(input *StartReplicationInput) (req *request.Request, output *StartReplicationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RemoveSourceServerAction +func (c *Mgn) RemoveSourceServerActionRequest(input *RemoveSourceServerActionInput) (req *request.Request, output *RemoveSourceServerActionOutput) { op := &request.Operation{ - Name: opStartReplication, + Name: opRemoveSourceServerAction, HTTPMethod: "POST", - HTTPPath: "/StartReplication", + HTTPPath: "/RemoveSourceServerAction", } if input == nil { - input = &StartReplicationInput{} + input = &RemoveSourceServerActionInput{} } - output = &StartReplicationOutput{} + output = &RemoveSourceServerActionOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// StartReplication API operation for Application Migration Service. +// RemoveSourceServerAction API operation for Application Migration Service. // -// Starts replication for SNAPSHOT_SHIPPING agents. +// Remove source server post migration custom action. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation StartReplication for usage and error information. +// API operation RemoveSourceServerAction for usage and error information. // // Returned Error Types: // @@ -4194,272 +4399,255 @@ func (c *Mgn) StartReplicationRequest(input *StartReplicationInput) (req *reques // - ValidationException // Validate exception. // -// - ServiceQuotaExceededException -// The request could not be completed because its exceeded the service quota. -// -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartReplication -func (c *Mgn) StartReplication(input *StartReplicationInput) (*StartReplicationOutput, error) { - req, out := c.StartReplicationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RemoveSourceServerAction +func (c *Mgn) RemoveSourceServerAction(input *RemoveSourceServerActionInput) (*RemoveSourceServerActionOutput, error) { + req, out := c.RemoveSourceServerActionRequest(input) return out, req.Send() } -// StartReplicationWithContext is the same as StartReplication with the addition of +// RemoveSourceServerActionWithContext is the same as RemoveSourceServerAction with the addition of // the ability to pass a context and additional request options. // -// See StartReplication for details on how to use this API operation. +// See RemoveSourceServerAction for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) StartReplicationWithContext(ctx aws.Context, input *StartReplicationInput, opts ...request.Option) (*StartReplicationOutput, error) { - req, out := c.StartReplicationRequest(input) +func (c *Mgn) RemoveSourceServerActionWithContext(ctx aws.Context, input *RemoveSourceServerActionInput, opts ...request.Option) (*RemoveSourceServerActionOutput, error) { + req, out := c.RemoveSourceServerActionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opStartTest = "StartTest" +const opRemoveTemplateAction = "RemoveTemplateAction" -// StartTestRequest generates a "aws/request.Request" representing the -// client's request for the StartTest operation. The "output" return +// RemoveTemplateActionRequest generates a "aws/request.Request" representing the +// client's request for the RemoveTemplateAction operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See StartTest for more information on using the StartTest +// See RemoveTemplateAction for more information on using the RemoveTemplateAction // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the StartTestRequest method. -// req, resp := client.StartTestRequest(params) +// // Example sending a request using the RemoveTemplateActionRequest method. +// req, resp := client.RemoveTemplateActionRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartTest -func (c *Mgn) StartTestRequest(input *StartTestInput) (req *request.Request, output *StartTestOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RemoveTemplateAction +func (c *Mgn) RemoveTemplateActionRequest(input *RemoveTemplateActionInput) (req *request.Request, output *RemoveTemplateActionOutput) { op := &request.Operation{ - Name: opStartTest, + Name: opRemoveTemplateAction, HTTPMethod: "POST", - HTTPPath: "/StartTest", + HTTPPath: "/RemoveTemplateAction", } if input == nil { - input = &StartTestInput{} + input = &RemoveTemplateActionInput{} } - output = &StartTestOutput{} + output = &RemoveTemplateActionOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// StartTest API operation for Application Migration Service. +// RemoveTemplateAction API operation for Application Migration Service. // -// Launches a Test Instance for specific Source Servers. This command starts -// a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state -// property to TESTING. +// Remove template post migration custom action. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation StartTest for usage and error information. +// API operation RemoveTemplateAction for usage and error information. // // Returned Error Types: // // - UninitializedAccountException // Uninitialized account exception. // +// - ResourceNotFoundException +// Resource not found exception. +// // - ValidationException // Validate exception. // -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartTest -func (c *Mgn) StartTest(input *StartTestInput) (*StartTestOutput, error) { - req, out := c.StartTestRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RemoveTemplateAction +func (c *Mgn) RemoveTemplateAction(input *RemoveTemplateActionInput) (*RemoveTemplateActionOutput, error) { + req, out := c.RemoveTemplateActionRequest(input) return out, req.Send() } -// StartTestWithContext is the same as StartTest with the addition of +// RemoveTemplateActionWithContext is the same as RemoveTemplateAction with the addition of // the ability to pass a context and additional request options. // -// See StartTest for details on how to use this API operation. +// See RemoveTemplateAction for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) StartTestWithContext(ctx aws.Context, input *StartTestInput, opts ...request.Option) (*StartTestOutput, error) { - req, out := c.StartTestRequest(input) +func (c *Mgn) RemoveTemplateActionWithContext(ctx aws.Context, input *RemoveTemplateActionInput, opts ...request.Option) (*RemoveTemplateActionOutput, error) { + req, out := c.RemoveTemplateActionRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opTagResource = "TagResource" +const opRetryDataReplication = "RetryDataReplication" -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource operation. The "output" return +// RetryDataReplicationRequest generates a "aws/request.Request" representing the +// client's request for the RetryDataReplication operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See TagResource for more information on using the TagResource +// See RetryDataReplication for more information on using the RetryDataReplication // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) +// // Example sending a request using the RetryDataReplicationRequest method. +// req, resp := client.RetryDataReplicationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TagResource -func (c *Mgn) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RetryDataReplication +func (c *Mgn) RetryDataReplicationRequest(input *RetryDataReplicationInput) (req *request.Request, output *RetryDataReplicationOutput) { op := &request.Operation{ - Name: opTagResource, + Name: opRetryDataReplication, HTTPMethod: "POST", - HTTPPath: "/tags/{resourceArn}", + HTTPPath: "/RetryDataReplication", } if input == nil { - input = &TagResourceInput{} + input = &RetryDataReplicationInput{} } - output = &TagResourceOutput{} + output = &RetryDataReplicationOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TagResource API operation for Application Migration Service. +// RetryDataReplication API operation for Application Migration Service. // -// Adds or overwrites only the specified tags for the specified Application -// Migration Service resource or resources. When you specify an existing tag -// key, the value is overwritten with the new value. Each resource can have -// a maximum of 50 tags. Each tag consists of a key and optional value. +// Causes the data replication initiation sequence to begin immediately upon +// next Handshake for specified SourceServer IDs, regardless of when the previous +// initiation started. This command will not work if the SourceServer is not +// stalled or is in a DISCONNECTED or STOPPED state. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation TagResource for usage and error information. +// API operation RetryDataReplication for usage and error information. // // Returned Error Types: // +// - UninitializedAccountException +// Uninitialized account exception. +// // - ResourceNotFoundException // Resource not found exception. // -// - ThrottlingException -// Reached throttling quota exception. -// // - ValidationException // Validate exception. // -// - AccessDeniedException -// Operating denied due to a file permission or access check error. -// -// - InternalServerException -// The server encountered an unexpected condition that prevented it from fulfilling -// the request. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TagResource -func (c *Mgn) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RetryDataReplication +func (c *Mgn) RetryDataReplication(input *RetryDataReplicationInput) (*RetryDataReplicationOutput, error) { + req, out := c.RetryDataReplicationRequest(input) return out, req.Send() } -// TagResourceWithContext is the same as TagResource with the addition of +// RetryDataReplicationWithContext is the same as RetryDataReplication with the addition of // the ability to pass a context and additional request options. // -// See TagResource for details on how to use this API operation. +// See RetryDataReplication for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +func (c *Mgn) RetryDataReplicationWithContext(ctx aws.Context, input *RetryDataReplicationInput, opts ...request.Option) (*RetryDataReplicationOutput, error) { + req, out := c.RetryDataReplicationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opTerminateTargetInstances = "TerminateTargetInstances" +const opStartCutover = "StartCutover" -// TerminateTargetInstancesRequest generates a "aws/request.Request" representing the -// client's request for the TerminateTargetInstances operation. The "output" return +// StartCutoverRequest generates a "aws/request.Request" representing the +// client's request for the StartCutover operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See TerminateTargetInstances for more information on using the TerminateTargetInstances +// See StartCutover for more information on using the StartCutover // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the TerminateTargetInstancesRequest method. -// req, resp := client.TerminateTargetInstancesRequest(params) +// // Example sending a request using the StartCutoverRequest method. +// req, resp := client.StartCutoverRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TerminateTargetInstances -func (c *Mgn) TerminateTargetInstancesRequest(input *TerminateTargetInstancesInput) (req *request.Request, output *TerminateTargetInstancesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartCutover +func (c *Mgn) StartCutoverRequest(input *StartCutoverInput) (req *request.Request, output *StartCutoverOutput) { op := &request.Operation{ - Name: opTerminateTargetInstances, + Name: opStartCutover, HTTPMethod: "POST", - HTTPPath: "/TerminateTargetInstances", + HTTPPath: "/StartCutover", } if input == nil { - input = &TerminateTargetInstancesInput{} + input = &StartCutoverInput{} } - output = &TerminateTargetInstancesOutput{} + output = &StartCutoverOutput{} req = c.newRequest(op, input, output) return } -// TerminateTargetInstances API operation for Application Migration Service. +// StartCutover API operation for Application Migration Service. // -// Starts a job that terminates specific launched EC2 Test and Cutover instances. -// This command will not work for any Source Server with a lifecycle.state of -// TESTING, CUTTING_OVER, or CUTOVER. +// Launches a Cutover Instance for specific Source Servers. This command starts +// a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state +// property to CUTTING_OVER. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation TerminateTargetInstances for usage and error information. +// API operation StartCutover for usage and error information. // // Returned Error Types: // @@ -4473,164 +4661,164 @@ func (c *Mgn) TerminateTargetInstancesRequest(input *TerminateTargetInstancesInp // The request could not be completed due to a conflict with the current state // of the target resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TerminateTargetInstances -func (c *Mgn) TerminateTargetInstances(input *TerminateTargetInstancesInput) (*TerminateTargetInstancesOutput, error) { - req, out := c.TerminateTargetInstancesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartCutover +func (c *Mgn) StartCutover(input *StartCutoverInput) (*StartCutoverOutput, error) { + req, out := c.StartCutoverRequest(input) return out, req.Send() } -// TerminateTargetInstancesWithContext is the same as TerminateTargetInstances with the addition of +// StartCutoverWithContext is the same as StartCutover with the addition of // the ability to pass a context and additional request options. // -// See TerminateTargetInstances for details on how to use this API operation. +// See StartCutover for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) TerminateTargetInstancesWithContext(ctx aws.Context, input *TerminateTargetInstancesInput, opts ...request.Option) (*TerminateTargetInstancesOutput, error) { - req, out := c.TerminateTargetInstancesRequest(input) +func (c *Mgn) StartCutoverWithContext(ctx aws.Context, input *StartCutoverInput, opts ...request.Option) (*StartCutoverOutput, error) { + req, out := c.StartCutoverRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUnarchiveApplication = "UnarchiveApplication" +const opStartExport = "StartExport" -// UnarchiveApplicationRequest generates a "aws/request.Request" representing the -// client's request for the UnarchiveApplication operation. The "output" return +// StartExportRequest generates a "aws/request.Request" representing the +// client's request for the StartExport operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UnarchiveApplication for more information on using the UnarchiveApplication +// See StartExport for more information on using the StartExport // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UnarchiveApplicationRequest method. -// req, resp := client.UnarchiveApplicationRequest(params) +// // Example sending a request using the StartExportRequest method. +// req, resp := client.StartExportRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UnarchiveApplication -func (c *Mgn) UnarchiveApplicationRequest(input *UnarchiveApplicationInput) (req *request.Request, output *UnarchiveApplicationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartExport +func (c *Mgn) StartExportRequest(input *StartExportInput) (req *request.Request, output *StartExportOutput) { op := &request.Operation{ - Name: opUnarchiveApplication, + Name: opStartExport, HTTPMethod: "POST", - HTTPPath: "/UnarchiveApplication", + HTTPPath: "/StartExport", } if input == nil { - input = &UnarchiveApplicationInput{} + input = &StartExportInput{} } - output = &UnarchiveApplicationOutput{} + output = &StartExportOutput{} req = c.newRequest(op, input, output) return } -// UnarchiveApplication API operation for Application Migration Service. +// StartExport API operation for Application Migration Service. // -// Unarchive application. +// Start export. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation UnarchiveApplication for usage and error information. +// API operation StartExport for usage and error information. // // Returned Error Types: // // - UninitializedAccountException // Uninitialized account exception. // -// - ResourceNotFoundException -// Resource not found exception. +// - ValidationException +// Validate exception. // // - ServiceQuotaExceededException // The request could not be completed because its exceeded the service quota. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UnarchiveApplication -func (c *Mgn) UnarchiveApplication(input *UnarchiveApplicationInput) (*UnarchiveApplicationOutput, error) { - req, out := c.UnarchiveApplicationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartExport +func (c *Mgn) StartExport(input *StartExportInput) (*StartExportOutput, error) { + req, out := c.StartExportRequest(input) return out, req.Send() } -// UnarchiveApplicationWithContext is the same as UnarchiveApplication with the addition of +// StartExportWithContext is the same as StartExport with the addition of // the ability to pass a context and additional request options. // -// See UnarchiveApplication for details on how to use this API operation. +// See StartExport for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) UnarchiveApplicationWithContext(ctx aws.Context, input *UnarchiveApplicationInput, opts ...request.Option) (*UnarchiveApplicationOutput, error) { - req, out := c.UnarchiveApplicationRequest(input) +func (c *Mgn) StartExportWithContext(ctx aws.Context, input *StartExportInput, opts ...request.Option) (*StartExportOutput, error) { + req, out := c.StartExportRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUnarchiveWave = "UnarchiveWave" +const opStartImport = "StartImport" -// UnarchiveWaveRequest generates a "aws/request.Request" representing the -// client's request for the UnarchiveWave operation. The "output" return +// StartImportRequest generates a "aws/request.Request" representing the +// client's request for the StartImport operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UnarchiveWave for more information on using the UnarchiveWave +// See StartImport for more information on using the StartImport // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UnarchiveWaveRequest method. -// req, resp := client.UnarchiveWaveRequest(params) +// // Example sending a request using the StartImportRequest method. +// req, resp := client.StartImportRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UnarchiveWave -func (c *Mgn) UnarchiveWaveRequest(input *UnarchiveWaveInput) (req *request.Request, output *UnarchiveWaveOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartImport +func (c *Mgn) StartImportRequest(input *StartImportInput) (req *request.Request, output *StartImportOutput) { op := &request.Operation{ - Name: opUnarchiveWave, + Name: opStartImport, HTTPMethod: "POST", - HTTPPath: "/UnarchiveWave", + HTTPPath: "/StartImport", } if input == nil { - input = &UnarchiveWaveInput{} + input = &StartImportInput{} } - output = &UnarchiveWaveOutput{} + output = &StartImportOutput{} req = c.newRequest(op, input, output) return } -// UnarchiveWave API operation for Application Migration Service. +// StartImport API operation for Application Migration Service. // -// Unarchive wave. +// Start import. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation UnarchiveWave for usage and error information. +// API operation StartImport for usage and error information. // // Returned Error Types: // @@ -4640,440 +4828,453 @@ func (c *Mgn) UnarchiveWaveRequest(input *UnarchiveWaveInput) (req *request.Requ // - ResourceNotFoundException // Resource not found exception. // +// - ValidationException +// Validate exception. +// // - ServiceQuotaExceededException // The request could not be completed because its exceeded the service quota. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UnarchiveWave -func (c *Mgn) UnarchiveWave(input *UnarchiveWaveInput) (*UnarchiveWaveOutput, error) { - req, out := c.UnarchiveWaveRequest(input) +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartImport +func (c *Mgn) StartImport(input *StartImportInput) (*StartImportOutput, error) { + req, out := c.StartImportRequest(input) return out, req.Send() } -// UnarchiveWaveWithContext is the same as UnarchiveWave with the addition of +// StartImportWithContext is the same as StartImport with the addition of // the ability to pass a context and additional request options. // -// See UnarchiveWave for details on how to use this API operation. +// See StartImport for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) UnarchiveWaveWithContext(ctx aws.Context, input *UnarchiveWaveInput, opts ...request.Option) (*UnarchiveWaveOutput, error) { - req, out := c.UnarchiveWaveRequest(input) +func (c *Mgn) StartImportWithContext(ctx aws.Context, input *StartImportInput, opts ...request.Option) (*StartImportOutput, error) { + req, out := c.StartImportRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUntagResource = "UntagResource" +const opStartReplication = "StartReplication" -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource operation. The "output" return +// StartReplicationRequest generates a "aws/request.Request" representing the +// client's request for the StartReplication operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UntagResource for more information on using the UntagResource +// See StartReplication for more information on using the StartReplication // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// +// // Example sending a request using the StartReplicationRequest method. +// req, resp := client.StartReplicationRequest(params) +// // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UntagResource -func (c *Mgn) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartReplication +func (c *Mgn) StartReplicationRequest(input *StartReplicationInput) (req *request.Request, output *StartReplicationOutput) { op := &request.Operation{ - Name: opUntagResource, - HTTPMethod: "DELETE", - HTTPPath: "/tags/{resourceArn}", + Name: opStartReplication, + HTTPMethod: "POST", + HTTPPath: "/StartReplication", } if input == nil { - input = &UntagResourceInput{} + input = &StartReplicationInput{} } - output = &UntagResourceOutput{} + output = &StartReplicationOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UntagResource API operation for Application Migration Service. +// StartReplication API operation for Application Migration Service. // -// Deletes the specified set of tags from the specified set of Application Migration -// Service resources. +// Starts replication for SNAPSHOT_SHIPPING agents. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation UntagResource for usage and error information. +// API operation StartReplication for usage and error information. // // Returned Error Types: // +// - UninitializedAccountException +// Uninitialized account exception. +// // - ResourceNotFoundException // Resource not found exception. // -// - ThrottlingException -// Reached throttling quota exception. -// // - ValidationException // Validate exception. // -// - AccessDeniedException -// Operating denied due to a file permission or access check error. +// - ServiceQuotaExceededException +// The request could not be completed because its exceeded the service quota. // -// - InternalServerException -// The server encountered an unexpected condition that prevented it from fulfilling -// the request. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UntagResource -func (c *Mgn) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartReplication +func (c *Mgn) StartReplication(input *StartReplicationInput) (*StartReplicationOutput, error) { + req, out := c.StartReplicationRequest(input) return out, req.Send() } -// UntagResourceWithContext is the same as UntagResource with the addition of +// StartReplicationWithContext is the same as StartReplication with the addition of // the ability to pass a context and additional request options. // -// See UntagResource for details on how to use this API operation. +// See StartReplication for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +func (c *Mgn) StartReplicationWithContext(ctx aws.Context, input *StartReplicationInput, opts ...request.Option) (*StartReplicationOutput, error) { + req, out := c.StartReplicationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateApplication = "UpdateApplication" +const opStartTest = "StartTest" -// UpdateApplicationRequest generates a "aws/request.Request" representing the -// client's request for the UpdateApplication operation. The "output" return +// StartTestRequest generates a "aws/request.Request" representing the +// client's request for the StartTest operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateApplication for more information on using the UpdateApplication +// See StartTest for more information on using the StartTest // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) +// // Example sending a request using the StartTestRequest method. +// req, resp := client.StartTestRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateApplication -func (c *Mgn) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartTest +func (c *Mgn) StartTestRequest(input *StartTestInput) (req *request.Request, output *StartTestOutput) { op := &request.Operation{ - Name: opUpdateApplication, + Name: opStartTest, HTTPMethod: "POST", - HTTPPath: "/UpdateApplication", + HTTPPath: "/StartTest", } if input == nil { - input = &UpdateApplicationInput{} + input = &StartTestInput{} } - output = &UpdateApplicationOutput{} + output = &StartTestOutput{} req = c.newRequest(op, input, output) return } -// UpdateApplication API operation for Application Migration Service. +// StartTest API operation for Application Migration Service. // -// Update application. +// Launches a Test Instance for specific Source Servers. This command starts +// a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state +// property to TESTING. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation UpdateApplication for usage and error information. +// API operation StartTest for usage and error information. // // Returned Error Types: // // - UninitializedAccountException // Uninitialized account exception. // -// - ResourceNotFoundException -// Resource not found exception. +// - ValidationException +// Validate exception. // // - ConflictException // The request could not be completed due to a conflict with the current state // of the target resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateApplication -func (c *Mgn) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { - req, out := c.UpdateApplicationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartTest +func (c *Mgn) StartTest(input *StartTestInput) (*StartTestOutput, error) { + req, out := c.StartTestRequest(input) return out, req.Send() } -// UpdateApplicationWithContext is the same as UpdateApplication with the addition of +// StartTestWithContext is the same as StartTest with the addition of // the ability to pass a context and additional request options. // -// See UpdateApplication for details on how to use this API operation. +// See StartTest for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error) { - req, out := c.UpdateApplicationRequest(input) +func (c *Mgn) StartTestWithContext(ctx aws.Context, input *StartTestInput, opts ...request.Option) (*StartTestOutput, error) { + req, out := c.StartTestRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateLaunchConfiguration = "UpdateLaunchConfiguration" +const opTagResource = "TagResource" -// UpdateLaunchConfigurationRequest generates a "aws/request.Request" representing the -// client's request for the UpdateLaunchConfiguration operation. The "output" return +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateLaunchConfiguration for more information on using the UpdateLaunchConfiguration +// See TagResource for more information on using the TagResource // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateLaunchConfigurationRequest method. -// req, resp := client.UpdateLaunchConfigurationRequest(params) +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfiguration -func (c *Mgn) UpdateLaunchConfigurationRequest(input *UpdateLaunchConfigurationInput) (req *request.Request, output *UpdateLaunchConfigurationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TagResource +func (c *Mgn) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ - Name: opUpdateLaunchConfiguration, + Name: opTagResource, HTTPMethod: "POST", - HTTPPath: "/UpdateLaunchConfiguration", + HTTPPath: "/tags/{resourceArn}", } if input == nil { - input = &UpdateLaunchConfigurationInput{} + input = &TagResourceInput{} } - output = &UpdateLaunchConfigurationOutput{} + output = &TagResourceOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateLaunchConfiguration API operation for Application Migration Service. +// TagResource API operation for Application Migration Service. // -// Updates multiple LaunchConfigurations by Source Server ID. +// Adds or overwrites only the specified tags for the specified Application +// Migration Service resource or resources. When you specify an existing tag +// key, the value is overwritten with the new value. Each resource can have +// a maximum of 50 tags. Each tag consists of a key and optional value. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation UpdateLaunchConfiguration for usage and error information. +// API operation TagResource for usage and error information. // // Returned Error Types: // -// - UninitializedAccountException -// Uninitialized account exception. -// // - ResourceNotFoundException // Resource not found exception. // +// - ThrottlingException +// Reached throttling quota exception. +// // - ValidationException // Validate exception. // -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - AccessDeniedException +// Operating denied due to a file permission or access check error. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfiguration -func (c *Mgn) UpdateLaunchConfiguration(input *UpdateLaunchConfigurationInput) (*UpdateLaunchConfigurationOutput, error) { - req, out := c.UpdateLaunchConfigurationRequest(input) +// - InternalServerException +// The server encountered an unexpected condition that prevented it from fulfilling +// the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TagResource +func (c *Mgn) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) return out, req.Send() } -// UpdateLaunchConfigurationWithContext is the same as UpdateLaunchConfiguration with the addition of +// TagResourceWithContext is the same as TagResource with the addition of // the ability to pass a context and additional request options. // -// See UpdateLaunchConfiguration for details on how to use this API operation. +// See TagResource for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) UpdateLaunchConfigurationWithContext(ctx aws.Context, input *UpdateLaunchConfigurationInput, opts ...request.Option) (*UpdateLaunchConfigurationOutput, error) { - req, out := c.UpdateLaunchConfigurationRequest(input) +func (c *Mgn) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateLaunchConfigurationTemplate = "UpdateLaunchConfigurationTemplate" +const opTerminateTargetInstances = "TerminateTargetInstances" -// UpdateLaunchConfigurationTemplateRequest generates a "aws/request.Request" representing the -// client's request for the UpdateLaunchConfigurationTemplate operation. The "output" return +// TerminateTargetInstancesRequest generates a "aws/request.Request" representing the +// client's request for the TerminateTargetInstances operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateLaunchConfigurationTemplate for more information on using the UpdateLaunchConfigurationTemplate +// See TerminateTargetInstances for more information on using the TerminateTargetInstances // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateLaunchConfigurationTemplateRequest method. -// req, resp := client.UpdateLaunchConfigurationTemplateRequest(params) +// // Example sending a request using the TerminateTargetInstancesRequest method. +// req, resp := client.TerminateTargetInstancesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfigurationTemplate -func (c *Mgn) UpdateLaunchConfigurationTemplateRequest(input *UpdateLaunchConfigurationTemplateInput) (req *request.Request, output *UpdateLaunchConfigurationTemplateOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TerminateTargetInstances +func (c *Mgn) TerminateTargetInstancesRequest(input *TerminateTargetInstancesInput) (req *request.Request, output *TerminateTargetInstancesOutput) { op := &request.Operation{ - Name: opUpdateLaunchConfigurationTemplate, + Name: opTerminateTargetInstances, HTTPMethod: "POST", - HTTPPath: "/UpdateLaunchConfigurationTemplate", + HTTPPath: "/TerminateTargetInstances", } if input == nil { - input = &UpdateLaunchConfigurationTemplateInput{} + input = &TerminateTargetInstancesInput{} } - output = &UpdateLaunchConfigurationTemplateOutput{} + output = &TerminateTargetInstancesOutput{} req = c.newRequest(op, input, output) return } -// UpdateLaunchConfigurationTemplate API operation for Application Migration Service. +// TerminateTargetInstances API operation for Application Migration Service. // -// Updates an existing Launch Configuration Template by ID. +// Starts a job that terminates specific launched EC2 Test and Cutover instances. +// This command will not work for any Source Server with a lifecycle.state of +// TESTING, CUTTING_OVER, or CUTOVER. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation UpdateLaunchConfigurationTemplate for usage and error information. +// API operation TerminateTargetInstances for usage and error information. // // Returned Error Types: // // - UninitializedAccountException // Uninitialized account exception. // -// - ResourceNotFoundException -// Resource not found exception. -// // - ValidationException // Validate exception. // -// - AccessDeniedException -// Operating denied due to a file permission or access check error. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfigurationTemplate -func (c *Mgn) UpdateLaunchConfigurationTemplate(input *UpdateLaunchConfigurationTemplateInput) (*UpdateLaunchConfigurationTemplateOutput, error) { - req, out := c.UpdateLaunchConfigurationTemplateRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TerminateTargetInstances +func (c *Mgn) TerminateTargetInstances(input *TerminateTargetInstancesInput) (*TerminateTargetInstancesOutput, error) { + req, out := c.TerminateTargetInstancesRequest(input) return out, req.Send() } -// UpdateLaunchConfigurationTemplateWithContext is the same as UpdateLaunchConfigurationTemplate with the addition of +// TerminateTargetInstancesWithContext is the same as TerminateTargetInstances with the addition of // the ability to pass a context and additional request options. // -// See UpdateLaunchConfigurationTemplate for details on how to use this API operation. +// See TerminateTargetInstances for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) UpdateLaunchConfigurationTemplateWithContext(ctx aws.Context, input *UpdateLaunchConfigurationTemplateInput, opts ...request.Option) (*UpdateLaunchConfigurationTemplateOutput, error) { - req, out := c.UpdateLaunchConfigurationTemplateRequest(input) +func (c *Mgn) TerminateTargetInstancesWithContext(ctx aws.Context, input *TerminateTargetInstancesInput, opts ...request.Option) (*TerminateTargetInstancesOutput, error) { + req, out := c.TerminateTargetInstancesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateReplicationConfiguration = "UpdateReplicationConfiguration" +const opUnarchiveApplication = "UnarchiveApplication" -// UpdateReplicationConfigurationRequest generates a "aws/request.Request" representing the -// client's request for the UpdateReplicationConfiguration operation. The "output" return +// UnarchiveApplicationRequest generates a "aws/request.Request" representing the +// client's request for the UnarchiveApplication operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateReplicationConfiguration for more information on using the UpdateReplicationConfiguration +// See UnarchiveApplication for more information on using the UnarchiveApplication // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateReplicationConfigurationRequest method. -// req, resp := client.UpdateReplicationConfigurationRequest(params) +// // Example sending a request using the UnarchiveApplicationRequest method. +// req, resp := client.UnarchiveApplicationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfiguration -func (c *Mgn) UpdateReplicationConfigurationRequest(input *UpdateReplicationConfigurationInput) (req *request.Request, output *UpdateReplicationConfigurationOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UnarchiveApplication +func (c *Mgn) UnarchiveApplicationRequest(input *UnarchiveApplicationInput) (req *request.Request, output *UnarchiveApplicationOutput) { op := &request.Operation{ - Name: opUpdateReplicationConfiguration, + Name: opUnarchiveApplication, HTTPMethod: "POST", - HTTPPath: "/UpdateReplicationConfiguration", + HTTPPath: "/UnarchiveApplication", } if input == nil { - input = &UpdateReplicationConfigurationInput{} + input = &UnarchiveApplicationInput{} } - output = &UpdateReplicationConfigurationOutput{} + output = &UnarchiveApplicationOutput{} req = c.newRequest(op, input, output) return } -// UpdateReplicationConfiguration API operation for Application Migration Service. +// UnarchiveApplication API operation for Application Migration Service. // -// Allows you to update multiple ReplicationConfigurations by Source Server -// ID. +// Unarchive application. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation UpdateReplicationConfiguration for usage and error information. +// API operation UnarchiveApplication for usage and error information. // // Returned Error Types: // @@ -5083,89 +5284,82 @@ func (c *Mgn) UpdateReplicationConfigurationRequest(input *UpdateReplicationConf // - ResourceNotFoundException // Resource not found exception. // -// - ValidationException -// Validate exception. -// -// - AccessDeniedException -// Operating denied due to a file permission or access check error. -// -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ServiceQuotaExceededException +// The request could not be completed because its exceeded the service quota. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfiguration -func (c *Mgn) UpdateReplicationConfiguration(input *UpdateReplicationConfigurationInput) (*UpdateReplicationConfigurationOutput, error) { - req, out := c.UpdateReplicationConfigurationRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UnarchiveApplication +func (c *Mgn) UnarchiveApplication(input *UnarchiveApplicationInput) (*UnarchiveApplicationOutput, error) { + req, out := c.UnarchiveApplicationRequest(input) return out, req.Send() } -// UpdateReplicationConfigurationWithContext is the same as UpdateReplicationConfiguration with the addition of +// UnarchiveApplicationWithContext is the same as UnarchiveApplication with the addition of // the ability to pass a context and additional request options. // -// See UpdateReplicationConfiguration for details on how to use this API operation. +// See UnarchiveApplication for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) UpdateReplicationConfigurationWithContext(ctx aws.Context, input *UpdateReplicationConfigurationInput, opts ...request.Option) (*UpdateReplicationConfigurationOutput, error) { - req, out := c.UpdateReplicationConfigurationRequest(input) +func (c *Mgn) UnarchiveApplicationWithContext(ctx aws.Context, input *UnarchiveApplicationInput, opts ...request.Option) (*UnarchiveApplicationOutput, error) { + req, out := c.UnarchiveApplicationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateReplicationConfigurationTemplate = "UpdateReplicationConfigurationTemplate" +const opUnarchiveWave = "UnarchiveWave" -// UpdateReplicationConfigurationTemplateRequest generates a "aws/request.Request" representing the -// client's request for the UpdateReplicationConfigurationTemplate operation. The "output" return +// UnarchiveWaveRequest generates a "aws/request.Request" representing the +// client's request for the UnarchiveWave operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateReplicationConfigurationTemplate for more information on using the UpdateReplicationConfigurationTemplate +// See UnarchiveWave for more information on using the UnarchiveWave // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateReplicationConfigurationTemplateRequest method. -// req, resp := client.UpdateReplicationConfigurationTemplateRequest(params) +// // Example sending a request using the UnarchiveWaveRequest method. +// req, resp := client.UnarchiveWaveRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfigurationTemplate -func (c *Mgn) UpdateReplicationConfigurationTemplateRequest(input *UpdateReplicationConfigurationTemplateInput) (req *request.Request, output *UpdateReplicationConfigurationTemplateOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UnarchiveWave +func (c *Mgn) UnarchiveWaveRequest(input *UnarchiveWaveInput) (req *request.Request, output *UnarchiveWaveOutput) { op := &request.Operation{ - Name: opUpdateReplicationConfigurationTemplate, + Name: opUnarchiveWave, HTTPMethod: "POST", - HTTPPath: "/UpdateReplicationConfigurationTemplate", + HTTPPath: "/UnarchiveWave", } if input == nil { - input = &UpdateReplicationConfigurationTemplateInput{} + input = &UnarchiveWaveInput{} } - output = &UpdateReplicationConfigurationTemplateOutput{} + output = &UnarchiveWaveOutput{} req = c.newRequest(op, input, output) return } -// UpdateReplicationConfigurationTemplate API operation for Application Migration Service. +// UnarchiveWave API operation for Application Migration Service. // -// Updates multiple ReplicationConfigurationTemplates by ID. +// Unarchive wave. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation UpdateReplicationConfigurationTemplate for usage and error information. +// API operation UnarchiveWave for usage and error information. // // Returned Error Types: // @@ -5175,175 +5369,176 @@ func (c *Mgn) UpdateReplicationConfigurationTemplateRequest(input *UpdateReplica // - ResourceNotFoundException // Resource not found exception. // -// - ValidationException -// Validate exception. -// -// - AccessDeniedException -// Operating denied due to a file permission or access check error. +// - ServiceQuotaExceededException +// The request could not be completed because its exceeded the service quota. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfigurationTemplate -func (c *Mgn) UpdateReplicationConfigurationTemplate(input *UpdateReplicationConfigurationTemplateInput) (*UpdateReplicationConfigurationTemplateOutput, error) { - req, out := c.UpdateReplicationConfigurationTemplateRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UnarchiveWave +func (c *Mgn) UnarchiveWave(input *UnarchiveWaveInput) (*UnarchiveWaveOutput, error) { + req, out := c.UnarchiveWaveRequest(input) return out, req.Send() } -// UpdateReplicationConfigurationTemplateWithContext is the same as UpdateReplicationConfigurationTemplate with the addition of +// UnarchiveWaveWithContext is the same as UnarchiveWave with the addition of // the ability to pass a context and additional request options. // -// See UpdateReplicationConfigurationTemplate for details on how to use this API operation. +// See UnarchiveWave for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) UpdateReplicationConfigurationTemplateWithContext(ctx aws.Context, input *UpdateReplicationConfigurationTemplateInput, opts ...request.Option) (*UpdateReplicationConfigurationTemplateOutput, error) { - req, out := c.UpdateReplicationConfigurationTemplateRequest(input) +func (c *Mgn) UnarchiveWaveWithContext(ctx aws.Context, input *UnarchiveWaveInput, opts ...request.Option) (*UnarchiveWaveOutput, error) { + req, out := c.UnarchiveWaveRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateSourceServerReplicationType = "UpdateSourceServerReplicationType" +const opUntagResource = "UntagResource" -// UpdateSourceServerReplicationTypeRequest generates a "aws/request.Request" representing the -// client's request for the UpdateSourceServerReplicationType operation. The "output" return +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateSourceServerReplicationType for more information on using the UpdateSourceServerReplicationType +// See UntagResource for more information on using the UntagResource // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateSourceServerReplicationTypeRequest method. -// req, resp := client.UpdateSourceServerReplicationTypeRequest(params) +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateSourceServerReplicationType -func (c *Mgn) UpdateSourceServerReplicationTypeRequest(input *UpdateSourceServerReplicationTypeInput) (req *request.Request, output *UpdateSourceServerReplicationTypeOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UntagResource +func (c *Mgn) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ - Name: opUpdateSourceServerReplicationType, - HTTPMethod: "POST", - HTTPPath: "/UpdateSourceServerReplicationType", + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{resourceArn}", } if input == nil { - input = &UpdateSourceServerReplicationTypeInput{} + input = &UntagResourceInput{} } - output = &UpdateSourceServerReplicationTypeOutput{} + output = &UntagResourceOutput{} req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateSourceServerReplicationType API operation for Application Migration Service. +// UntagResource API operation for Application Migration Service. // -// Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING -// replication type. +// Deletes the specified set of tags from the specified set of Application Migration +// Service resources. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation UpdateSourceServerReplicationType for usage and error information. +// API operation UntagResource for usage and error information. // // Returned Error Types: // -// - UninitializedAccountException -// Uninitialized account exception. -// // - ResourceNotFoundException // Resource not found exception. // +// - ThrottlingException +// Reached throttling quota exception. +// // - ValidationException // Validate exception. // -// - ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - AccessDeniedException +// Operating denied due to a file permission or access check error. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateSourceServerReplicationType -func (c *Mgn) UpdateSourceServerReplicationType(input *UpdateSourceServerReplicationTypeInput) (*UpdateSourceServerReplicationTypeOutput, error) { - req, out := c.UpdateSourceServerReplicationTypeRequest(input) +// - InternalServerException +// The server encountered an unexpected condition that prevented it from fulfilling +// the request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UntagResource +func (c *Mgn) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) return out, req.Send() } -// UpdateSourceServerReplicationTypeWithContext is the same as UpdateSourceServerReplicationType with the addition of +// UntagResourceWithContext is the same as UntagResource with the addition of // the ability to pass a context and additional request options. // -// See UpdateSourceServerReplicationType for details on how to use this API operation. +// See UntagResource for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) UpdateSourceServerReplicationTypeWithContext(ctx aws.Context, input *UpdateSourceServerReplicationTypeInput, opts ...request.Option) (*UpdateSourceServerReplicationTypeOutput, error) { - req, out := c.UpdateSourceServerReplicationTypeRequest(input) +func (c *Mgn) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateWave = "UpdateWave" +const opUpdateApplication = "UpdateApplication" -// UpdateWaveRequest generates a "aws/request.Request" representing the -// client's request for the UpdateWave operation. The "output" return +// UpdateApplicationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateApplication operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateWave for more information on using the UpdateWave +// See UpdateApplication for more information on using the UpdateApplication // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // -// // Example sending a request using the UpdateWaveRequest method. -// req, resp := client.UpdateWaveRequest(params) +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateWave -func (c *Mgn) UpdateWaveRequest(input *UpdateWaveInput) (req *request.Request, output *UpdateWaveOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateApplication +func (c *Mgn) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { op := &request.Operation{ - Name: opUpdateWave, + Name: opUpdateApplication, HTTPMethod: "POST", - HTTPPath: "/UpdateWave", + HTTPPath: "/UpdateApplication", } if input == nil { - input = &UpdateWaveInput{} + input = &UpdateApplicationInput{} } - output = &UpdateWaveOutput{} + output = &UpdateApplicationOutput{} req = c.newRequest(op, input, output) return } -// UpdateWave API operation for Application Migration Service. +// UpdateApplication API operation for Application Migration Service. // -// Update wave. +// Update application. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Application Migration Service's -// API operation UpdateWave for usage and error information. +// API operation UpdateApplication for usage and error information. // // Returned Error Types: // @@ -5357,130 +5552,1455 @@ func (c *Mgn) UpdateWaveRequest(input *UpdateWaveInput) (req *request.Request, o // The request could not be completed due to a conflict with the current state // of the target resource. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateWave -func (c *Mgn) UpdateWave(input *UpdateWaveInput) (*UpdateWaveOutput, error) { - req, out := c.UpdateWaveRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateApplication +func (c *Mgn) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { + req, out := c.UpdateApplicationRequest(input) return out, req.Send() } -// UpdateWaveWithContext is the same as UpdateWave with the addition of +// UpdateApplicationWithContext is the same as UpdateApplication with the addition of // the ability to pass a context and additional request options. // -// See UpdateWave for details on how to use this API operation. +// See UpdateApplication for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Mgn) UpdateWaveWithContext(ctx aws.Context, input *UpdateWaveInput, opts ...request.Option) (*UpdateWaveOutput, error) { - req, out := c.UpdateWaveRequest(input) +func (c *Mgn) UpdateApplicationWithContext(ctx aws.Context, input *UpdateApplicationInput, opts ...request.Option) (*UpdateApplicationOutput, error) { + req, out := c.UpdateApplicationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// Operating denied due to a file permission or access check error. -type AccessDeniedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Code_ *string `locationName:"code" type:"string"` - - Message_ *string `locationName:"message" type:"string"` -} +const opUpdateLaunchConfiguration = "UpdateLaunchConfiguration" -// String returns the string representation. +// UpdateLaunchConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateLaunchConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. // -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AccessDeniedException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. // -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AccessDeniedException) GoString() string { - return s.String() -} - -func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { - return &AccessDeniedException{ - RespMetadata: v, +// See UpdateLaunchConfiguration for more information on using the UpdateLaunchConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateLaunchConfigurationRequest method. +// req, resp := client.UpdateLaunchConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfiguration +func (c *Mgn) UpdateLaunchConfigurationRequest(input *UpdateLaunchConfigurationInput) (req *request.Request, output *UpdateLaunchConfigurationOutput) { + op := &request.Operation{ + Name: opUpdateLaunchConfiguration, + HTTPMethod: "POST", + HTTPPath: "/UpdateLaunchConfiguration", } -} - -// Code returns the exception type name. -func (s *AccessDeniedException) Code() string { - return "AccessDeniedException" -} -// Message returns the exception's message. -func (s *AccessDeniedException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if input == nil { + input = &UpdateLaunchConfigurationInput{} } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *AccessDeniedException) OrigErr() error { - return nil + output = &UpdateLaunchConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateLaunchConfiguration API operation for Application Migration Service. +// +// Updates multiple LaunchConfigurations by Source Server ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Application Migration Service's +// API operation UpdateLaunchConfiguration for usage and error information. +// +// Returned Error Types: +// +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. +// +// - ValidationException +// Validate exception. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfiguration +func (c *Mgn) UpdateLaunchConfiguration(input *UpdateLaunchConfigurationInput) (*UpdateLaunchConfigurationOutput, error) { + req, out := c.UpdateLaunchConfigurationRequest(input) + return out, req.Send() +} + +// UpdateLaunchConfigurationWithContext is the same as UpdateLaunchConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateLaunchConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Mgn) UpdateLaunchConfigurationWithContext(ctx aws.Context, input *UpdateLaunchConfigurationInput, opts ...request.Option) (*UpdateLaunchConfigurationOutput, error) { + req, out := c.UpdateLaunchConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateLaunchConfigurationTemplate = "UpdateLaunchConfigurationTemplate" + +// UpdateLaunchConfigurationTemplateRequest generates a "aws/request.Request" representing the +// client's request for the UpdateLaunchConfigurationTemplate operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateLaunchConfigurationTemplate for more information on using the UpdateLaunchConfigurationTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateLaunchConfigurationTemplateRequest method. +// req, resp := client.UpdateLaunchConfigurationTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfigurationTemplate +func (c *Mgn) UpdateLaunchConfigurationTemplateRequest(input *UpdateLaunchConfigurationTemplateInput) (req *request.Request, output *UpdateLaunchConfigurationTemplateOutput) { + op := &request.Operation{ + Name: opUpdateLaunchConfigurationTemplate, + HTTPMethod: "POST", + HTTPPath: "/UpdateLaunchConfigurationTemplate", + } + + if input == nil { + input = &UpdateLaunchConfigurationTemplateInput{} + } + + output = &UpdateLaunchConfigurationTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateLaunchConfigurationTemplate API operation for Application Migration Service. +// +// Updates an existing Launch Configuration Template by ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Application Migration Service's +// API operation UpdateLaunchConfigurationTemplate for usage and error information. +// +// Returned Error Types: +// +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. +// +// - ValidationException +// Validate exception. +// +// - AccessDeniedException +// Operating denied due to a file permission or access check error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfigurationTemplate +func (c *Mgn) UpdateLaunchConfigurationTemplate(input *UpdateLaunchConfigurationTemplateInput) (*UpdateLaunchConfigurationTemplateOutput, error) { + req, out := c.UpdateLaunchConfigurationTemplateRequest(input) + return out, req.Send() +} + +// UpdateLaunchConfigurationTemplateWithContext is the same as UpdateLaunchConfigurationTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateLaunchConfigurationTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Mgn) UpdateLaunchConfigurationTemplateWithContext(ctx aws.Context, input *UpdateLaunchConfigurationTemplateInput, opts ...request.Option) (*UpdateLaunchConfigurationTemplateOutput, error) { + req, out := c.UpdateLaunchConfigurationTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateReplicationConfiguration = "UpdateReplicationConfiguration" + +// UpdateReplicationConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateReplicationConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateReplicationConfiguration for more information on using the UpdateReplicationConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateReplicationConfigurationRequest method. +// req, resp := client.UpdateReplicationConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfiguration +func (c *Mgn) UpdateReplicationConfigurationRequest(input *UpdateReplicationConfigurationInput) (req *request.Request, output *UpdateReplicationConfigurationOutput) { + op := &request.Operation{ + Name: opUpdateReplicationConfiguration, + HTTPMethod: "POST", + HTTPPath: "/UpdateReplicationConfiguration", + } + + if input == nil { + input = &UpdateReplicationConfigurationInput{} + } + + output = &UpdateReplicationConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateReplicationConfiguration API operation for Application Migration Service. +// +// Allows you to update multiple ReplicationConfigurations by Source Server +// ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Application Migration Service's +// API operation UpdateReplicationConfiguration for usage and error information. +// +// Returned Error Types: +// +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. +// +// - ValidationException +// Validate exception. +// +// - AccessDeniedException +// Operating denied due to a file permission or access check error. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfiguration +func (c *Mgn) UpdateReplicationConfiguration(input *UpdateReplicationConfigurationInput) (*UpdateReplicationConfigurationOutput, error) { + req, out := c.UpdateReplicationConfigurationRequest(input) + return out, req.Send() +} + +// UpdateReplicationConfigurationWithContext is the same as UpdateReplicationConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateReplicationConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Mgn) UpdateReplicationConfigurationWithContext(ctx aws.Context, input *UpdateReplicationConfigurationInput, opts ...request.Option) (*UpdateReplicationConfigurationOutput, error) { + req, out := c.UpdateReplicationConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateReplicationConfigurationTemplate = "UpdateReplicationConfigurationTemplate" + +// UpdateReplicationConfigurationTemplateRequest generates a "aws/request.Request" representing the +// client's request for the UpdateReplicationConfigurationTemplate operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateReplicationConfigurationTemplate for more information on using the UpdateReplicationConfigurationTemplate +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateReplicationConfigurationTemplateRequest method. +// req, resp := client.UpdateReplicationConfigurationTemplateRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfigurationTemplate +func (c *Mgn) UpdateReplicationConfigurationTemplateRequest(input *UpdateReplicationConfigurationTemplateInput) (req *request.Request, output *UpdateReplicationConfigurationTemplateOutput) { + op := &request.Operation{ + Name: opUpdateReplicationConfigurationTemplate, + HTTPMethod: "POST", + HTTPPath: "/UpdateReplicationConfigurationTemplate", + } + + if input == nil { + input = &UpdateReplicationConfigurationTemplateInput{} + } + + output = &UpdateReplicationConfigurationTemplateOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateReplicationConfigurationTemplate API operation for Application Migration Service. +// +// Updates multiple ReplicationConfigurationTemplates by ID. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Application Migration Service's +// API operation UpdateReplicationConfigurationTemplate for usage and error information. +// +// Returned Error Types: +// +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. +// +// - ValidationException +// Validate exception. +// +// - AccessDeniedException +// Operating denied due to a file permission or access check error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfigurationTemplate +func (c *Mgn) UpdateReplicationConfigurationTemplate(input *UpdateReplicationConfigurationTemplateInput) (*UpdateReplicationConfigurationTemplateOutput, error) { + req, out := c.UpdateReplicationConfigurationTemplateRequest(input) + return out, req.Send() +} + +// UpdateReplicationConfigurationTemplateWithContext is the same as UpdateReplicationConfigurationTemplate with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateReplicationConfigurationTemplate for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Mgn) UpdateReplicationConfigurationTemplateWithContext(ctx aws.Context, input *UpdateReplicationConfigurationTemplateInput, opts ...request.Option) (*UpdateReplicationConfigurationTemplateOutput, error) { + req, out := c.UpdateReplicationConfigurationTemplateRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateSourceServerReplicationType = "UpdateSourceServerReplicationType" + +// UpdateSourceServerReplicationTypeRequest generates a "aws/request.Request" representing the +// client's request for the UpdateSourceServerReplicationType operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateSourceServerReplicationType for more information on using the UpdateSourceServerReplicationType +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateSourceServerReplicationTypeRequest method. +// req, resp := client.UpdateSourceServerReplicationTypeRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateSourceServerReplicationType +func (c *Mgn) UpdateSourceServerReplicationTypeRequest(input *UpdateSourceServerReplicationTypeInput) (req *request.Request, output *UpdateSourceServerReplicationTypeOutput) { + op := &request.Operation{ + Name: opUpdateSourceServerReplicationType, + HTTPMethod: "POST", + HTTPPath: "/UpdateSourceServerReplicationType", + } + + if input == nil { + input = &UpdateSourceServerReplicationTypeInput{} + } + + output = &UpdateSourceServerReplicationTypeOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateSourceServerReplicationType API operation for Application Migration Service. +// +// Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING +// replication type. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Application Migration Service's +// API operation UpdateSourceServerReplicationType for usage and error information. +// +// Returned Error Types: +// +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. +// +// - ValidationException +// Validate exception. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateSourceServerReplicationType +func (c *Mgn) UpdateSourceServerReplicationType(input *UpdateSourceServerReplicationTypeInput) (*UpdateSourceServerReplicationTypeOutput, error) { + req, out := c.UpdateSourceServerReplicationTypeRequest(input) + return out, req.Send() +} + +// UpdateSourceServerReplicationTypeWithContext is the same as UpdateSourceServerReplicationType with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateSourceServerReplicationType for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Mgn) UpdateSourceServerReplicationTypeWithContext(ctx aws.Context, input *UpdateSourceServerReplicationTypeInput, opts ...request.Option) (*UpdateSourceServerReplicationTypeOutput, error) { + req, out := c.UpdateSourceServerReplicationTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateWave = "UpdateWave" + +// UpdateWaveRequest generates a "aws/request.Request" representing the +// client's request for the UpdateWave operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateWave for more information on using the UpdateWave +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the UpdateWaveRequest method. +// req, resp := client.UpdateWaveRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateWave +func (c *Mgn) UpdateWaveRequest(input *UpdateWaveInput) (req *request.Request, output *UpdateWaveOutput) { + op := &request.Operation{ + Name: opUpdateWave, + HTTPMethod: "POST", + HTTPPath: "/UpdateWave", + } + + if input == nil { + input = &UpdateWaveInput{} + } + + output = &UpdateWaveOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateWave API operation for Application Migration Service. +// +// Update wave. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Application Migration Service's +// API operation UpdateWave for usage and error information. +// +// Returned Error Types: +// +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateWave +func (c *Mgn) UpdateWave(input *UpdateWaveInput) (*UpdateWaveOutput, error) { + req, out := c.UpdateWaveRequest(input) + return out, req.Send() +} + +// UpdateWaveWithContext is the same as UpdateWave with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateWave for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Mgn) UpdateWaveWithContext(ctx aws.Context, input *UpdateWaveInput, opts ...request.Option) (*UpdateWaveOutput, error) { + req, out := c.UpdateWaveRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// Operating denied due to a file permission or access check error. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Code_ *string `locationName:"code" type:"string"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil } func (s *AccessDeniedException) Error() string { return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// Status code returns the HTTP status code for the request's response error. -func (s *AccessDeniedException) StatusCode() int { - return s.RespMetadata.StatusCode +// Status code returns the HTTP status code for the request's response error. +func (s *AccessDeniedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + +type Application struct { + _ struct{} `type:"structure"` + + // Application aggregated status. + ApplicationAggregatedStatus *ApplicationAggregatedStatus `locationName:"applicationAggregatedStatus" type:"structure"` + + // Application ID. + ApplicationID *string `locationName:"applicationID" min:"21" type:"string"` + + // Application ARN. + Arn *string `locationName:"arn" min:"20" type:"string"` + + // Application creation dateTime. + CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` + + // Application description. + Description *string `locationName:"description" type:"string"` + + // Application archival status. + IsArchived *bool `locationName:"isArchived" type:"boolean"` + + // Application last modified dateTime. + LastModifiedDateTime *string `locationName:"lastModifiedDateTime" min:"19" type:"string"` + + // Application name. + Name *string `locationName:"name" min:"1" type:"string"` + + // Application tags. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by Application's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Application wave ID. + WaveID *string `locationName:"waveID" min:"22" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Application) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Application) GoString() string { + return s.String() +} + +// SetApplicationAggregatedStatus sets the ApplicationAggregatedStatus field's value. +func (s *Application) SetApplicationAggregatedStatus(v *ApplicationAggregatedStatus) *Application { + s.ApplicationAggregatedStatus = v + return s +} + +// SetApplicationID sets the ApplicationID field's value. +func (s *Application) SetApplicationID(v string) *Application { + s.ApplicationID = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *Application) SetArn(v string) *Application { + s.Arn = &v + return s +} + +// SetCreationDateTime sets the CreationDateTime field's value. +func (s *Application) SetCreationDateTime(v string) *Application { + s.CreationDateTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Application) SetDescription(v string) *Application { + s.Description = &v + return s +} + +// SetIsArchived sets the IsArchived field's value. +func (s *Application) SetIsArchived(v bool) *Application { + s.IsArchived = &v + return s +} + +// SetLastModifiedDateTime sets the LastModifiedDateTime field's value. +func (s *Application) SetLastModifiedDateTime(v string) *Application { + s.LastModifiedDateTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *Application) SetName(v string) *Application { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *Application) SetTags(v map[string]*string) *Application { + s.Tags = v + return s +} + +// SetWaveID sets the WaveID field's value. +func (s *Application) SetWaveID(v string) *Application { + s.WaveID = &v + return s +} + +// Application aggregated status. +type ApplicationAggregatedStatus struct { + _ struct{} `type:"structure"` + + // Application aggregated status health status. + HealthStatus *string `locationName:"healthStatus" type:"string" enum:"ApplicationHealthStatus"` + + // Application aggregated status last update dateTime. + LastUpdateDateTime *string `locationName:"lastUpdateDateTime" min:"19" type:"string"` + + // Application aggregated status progress status. + ProgressStatus *string `locationName:"progressStatus" type:"string" enum:"ApplicationProgressStatus"` + + // Application aggregated status total source servers amount. + TotalSourceServers *int64 `locationName:"totalSourceServers" type:"long"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ApplicationAggregatedStatus) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ApplicationAggregatedStatus) GoString() string { + return s.String() +} + +// SetHealthStatus sets the HealthStatus field's value. +func (s *ApplicationAggregatedStatus) SetHealthStatus(v string) *ApplicationAggregatedStatus { + s.HealthStatus = &v + return s +} + +// SetLastUpdateDateTime sets the LastUpdateDateTime field's value. +func (s *ApplicationAggregatedStatus) SetLastUpdateDateTime(v string) *ApplicationAggregatedStatus { + s.LastUpdateDateTime = &v + return s +} + +// SetProgressStatus sets the ProgressStatus field's value. +func (s *ApplicationAggregatedStatus) SetProgressStatus(v string) *ApplicationAggregatedStatus { + s.ProgressStatus = &v + return s +} + +// SetTotalSourceServers sets the TotalSourceServers field's value. +func (s *ApplicationAggregatedStatus) SetTotalSourceServers(v int64) *ApplicationAggregatedStatus { + s.TotalSourceServers = &v + return s +} + +type ArchiveApplicationInput struct { + _ struct{} `type:"structure"` + + // Application ID. + // + // ApplicationID is a required field + ApplicationID *string `locationName:"applicationID" min:"21" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveApplicationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveApplicationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ArchiveApplicationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ArchiveApplicationInput"} + if s.ApplicationID == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationID")) + } + if s.ApplicationID != nil && len(*s.ApplicationID) < 21 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationID", 21)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationID sets the ApplicationID field's value. +func (s *ArchiveApplicationInput) SetApplicationID(v string) *ArchiveApplicationInput { + s.ApplicationID = &v + return s +} + +type ArchiveApplicationOutput struct { + _ struct{} `type:"structure"` + + // Application aggregated status. + ApplicationAggregatedStatus *ApplicationAggregatedStatus `locationName:"applicationAggregatedStatus" type:"structure"` + + // Application ID. + ApplicationID *string `locationName:"applicationID" min:"21" type:"string"` + + // Application ARN. + Arn *string `locationName:"arn" min:"20" type:"string"` + + // Application creation dateTime. + CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` + + // Application description. + Description *string `locationName:"description" type:"string"` + + // Application archival status. + IsArchived *bool `locationName:"isArchived" type:"boolean"` + + // Application last modified dateTime. + LastModifiedDateTime *string `locationName:"lastModifiedDateTime" min:"19" type:"string"` + + // Application name. + Name *string `locationName:"name" min:"1" type:"string"` + + // Application tags. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ArchiveApplicationOutput's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Application wave ID. + WaveID *string `locationName:"waveID" min:"22" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveApplicationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveApplicationOutput) GoString() string { + return s.String() +} + +// SetApplicationAggregatedStatus sets the ApplicationAggregatedStatus field's value. +func (s *ArchiveApplicationOutput) SetApplicationAggregatedStatus(v *ApplicationAggregatedStatus) *ArchiveApplicationOutput { + s.ApplicationAggregatedStatus = v + return s +} + +// SetApplicationID sets the ApplicationID field's value. +func (s *ArchiveApplicationOutput) SetApplicationID(v string) *ArchiveApplicationOutput { + s.ApplicationID = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *ArchiveApplicationOutput) SetArn(v string) *ArchiveApplicationOutput { + s.Arn = &v + return s +} + +// SetCreationDateTime sets the CreationDateTime field's value. +func (s *ArchiveApplicationOutput) SetCreationDateTime(v string) *ArchiveApplicationOutput { + s.CreationDateTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ArchiveApplicationOutput) SetDescription(v string) *ArchiveApplicationOutput { + s.Description = &v + return s +} + +// SetIsArchived sets the IsArchived field's value. +func (s *ArchiveApplicationOutput) SetIsArchived(v bool) *ArchiveApplicationOutput { + s.IsArchived = &v + return s +} + +// SetLastModifiedDateTime sets the LastModifiedDateTime field's value. +func (s *ArchiveApplicationOutput) SetLastModifiedDateTime(v string) *ArchiveApplicationOutput { + s.LastModifiedDateTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *ArchiveApplicationOutput) SetName(v string) *ArchiveApplicationOutput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ArchiveApplicationOutput) SetTags(v map[string]*string) *ArchiveApplicationOutput { + s.Tags = v + return s +} + +// SetWaveID sets the WaveID field's value. +func (s *ArchiveApplicationOutput) SetWaveID(v string) *ArchiveApplicationOutput { + s.WaveID = &v + return s +} + +type ArchiveWaveInput struct { + _ struct{} `type:"structure"` + + // Wave ID. + // + // WaveID is a required field + WaveID *string `locationName:"waveID" min:"22" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveWaveInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveWaveInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ArchiveWaveInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ArchiveWaveInput"} + if s.WaveID == nil { + invalidParams.Add(request.NewErrParamRequired("WaveID")) + } + if s.WaveID != nil && len(*s.WaveID) < 22 { + invalidParams.Add(request.NewErrParamMinLen("WaveID", 22)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetWaveID sets the WaveID field's value. +func (s *ArchiveWaveInput) SetWaveID(v string) *ArchiveWaveInput { + s.WaveID = &v + return s +} + +type ArchiveWaveOutput struct { + _ struct{} `type:"structure"` + + // Wave ARN. + Arn *string `locationName:"arn" min:"20" type:"string"` + + // Wave creation dateTime. + CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` + + // Wave description. + Description *string `locationName:"description" type:"string"` + + // Wave archival status. + IsArchived *bool `locationName:"isArchived" type:"boolean"` + + // Wave last modified dateTime. + LastModifiedDateTime *string `locationName:"lastModifiedDateTime" min:"19" type:"string"` + + // Wave name. + Name *string `locationName:"name" min:"1" type:"string"` + + // Wave tags. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ArchiveWaveOutput's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Wave aggregated status. + WaveAggregatedStatus *WaveAggregatedStatus `locationName:"waveAggregatedStatus" type:"structure"` + + // Wave ID. + WaveID *string `locationName:"waveID" min:"22" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveWaveOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ArchiveWaveOutput) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ArchiveWaveOutput) SetArn(v string) *ArchiveWaveOutput { + s.Arn = &v + return s +} + +// SetCreationDateTime sets the CreationDateTime field's value. +func (s *ArchiveWaveOutput) SetCreationDateTime(v string) *ArchiveWaveOutput { + s.CreationDateTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ArchiveWaveOutput) SetDescription(v string) *ArchiveWaveOutput { + s.Description = &v + return s +} + +// SetIsArchived sets the IsArchived field's value. +func (s *ArchiveWaveOutput) SetIsArchived(v bool) *ArchiveWaveOutput { + s.IsArchived = &v + return s +} + +// SetLastModifiedDateTime sets the LastModifiedDateTime field's value. +func (s *ArchiveWaveOutput) SetLastModifiedDateTime(v string) *ArchiveWaveOutput { + s.LastModifiedDateTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *ArchiveWaveOutput) SetName(v string) *ArchiveWaveOutput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ArchiveWaveOutput) SetTags(v map[string]*string) *ArchiveWaveOutput { + s.Tags = v + return s +} + +// SetWaveAggregatedStatus sets the WaveAggregatedStatus field's value. +func (s *ArchiveWaveOutput) SetWaveAggregatedStatus(v *WaveAggregatedStatus) *ArchiveWaveOutput { + s.WaveAggregatedStatus = v + return s +} + +// SetWaveID sets the WaveID field's value. +func (s *ArchiveWaveOutput) SetWaveID(v string) *ArchiveWaveOutput { + s.WaveID = &v + return s +} + +type AssociateApplicationsInput struct { + _ struct{} `type:"structure"` + + // Application IDs list. + // + // ApplicationIDs is a required field + ApplicationIDs []*string `locationName:"applicationIDs" min:"1" type:"list" required:"true"` + + // Wave ID. + // + // WaveID is a required field + WaveID *string `locationName:"waveID" min:"22" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AssociateApplicationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AssociateApplicationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AssociateApplicationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateApplicationsInput"} + if s.ApplicationIDs == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationIDs")) + } + if s.ApplicationIDs != nil && len(s.ApplicationIDs) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationIDs", 1)) + } + if s.WaveID == nil { + invalidParams.Add(request.NewErrParamRequired("WaveID")) + } + if s.WaveID != nil && len(*s.WaveID) < 22 { + invalidParams.Add(request.NewErrParamMinLen("WaveID", 22)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationIDs sets the ApplicationIDs field's value. +func (s *AssociateApplicationsInput) SetApplicationIDs(v []*string) *AssociateApplicationsInput { + s.ApplicationIDs = v + return s +} + +// SetWaveID sets the WaveID field's value. +func (s *AssociateApplicationsInput) SetWaveID(v string) *AssociateApplicationsInput { + s.WaveID = &v + return s +} + +type AssociateApplicationsOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AssociateApplicationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AssociateApplicationsOutput) GoString() string { + return s.String() +} + +type AssociateSourceServersInput struct { + _ struct{} `type:"structure"` + + // Application ID. + // + // ApplicationID is a required field + ApplicationID *string `locationName:"applicationID" min:"21" type:"string" required:"true"` + + // Source server IDs list. + // + // SourceServerIDs is a required field + SourceServerIDs []*string `locationName:"sourceServerIDs" min:"1" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AssociateSourceServersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AssociateSourceServersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AssociateSourceServersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateSourceServersInput"} + if s.ApplicationID == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationID")) + } + if s.ApplicationID != nil && len(*s.ApplicationID) < 21 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationID", 21)) + } + if s.SourceServerIDs == nil { + invalidParams.Add(request.NewErrParamRequired("SourceServerIDs")) + } + if s.SourceServerIDs != nil && len(s.SourceServerIDs) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceServerIDs", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationID sets the ApplicationID field's value. +func (s *AssociateSourceServersInput) SetApplicationID(v string) *AssociateSourceServersInput { + s.ApplicationID = &v + return s +} + +// SetSourceServerIDs sets the SourceServerIDs field's value. +func (s *AssociateSourceServersInput) SetSourceServerIDs(v []*string) *AssociateSourceServersInput { + s.SourceServerIDs = v + return s +} + +type AssociateSourceServersOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AssociateSourceServersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AssociateSourceServersOutput) GoString() string { + return s.String() +} + +// Source server CPU information. +type CPU struct { + _ struct{} `type:"structure"` + + // The number of CPU cores on the source server. + Cores *int64 `locationName:"cores" type:"long"` + + // The source server's CPU model name. + ModelName *string `locationName:"modelName" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CPU) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CPU) GoString() string { + return s.String() +} + +// SetCores sets the Cores field's value. +func (s *CPU) SetCores(v int64) *CPU { + s.Cores = &v + return s +} + +// SetModelName sets the ModelName field's value. +func (s *CPU) SetModelName(v string) *CPU { + s.ModelName = &v + return s +} + +type ChangeServerLifeCycleStateInput struct { + _ struct{} `type:"structure"` + + // The request to change the source server migration lifecycle state. + // + // LifeCycle is a required field + LifeCycle *ChangeServerLifeCycleStateSourceServerLifecycle `locationName:"lifeCycle" type:"structure" required:"true"` + + // The request to change the source server migration lifecycle state by source + // server ID. + // + // SourceServerID is a required field + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ChangeServerLifeCycleStateInput) String() string { + return awsutil.Prettify(s) } -// RequestID returns the service's response RequestID for request. -func (s *AccessDeniedException) RequestID() string { - return s.RespMetadata.RequestID +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ChangeServerLifeCycleStateInput) GoString() string { + return s.String() } -type Application struct { - _ struct{} `type:"structure"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *ChangeServerLifeCycleStateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ChangeServerLifeCycleStateInput"} + if s.LifeCycle == nil { + invalidParams.Add(request.NewErrParamRequired("LifeCycle")) + } + if s.SourceServerID == nil { + invalidParams.Add(request.NewErrParamRequired("SourceServerID")) + } + if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { + invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) + } + if s.LifeCycle != nil { + if err := s.LifeCycle.Validate(); err != nil { + invalidParams.AddNested("LifeCycle", err.(request.ErrInvalidParams)) + } + } - // Application aggregated status. - ApplicationAggregatedStatus *ApplicationAggregatedStatus `locationName:"applicationAggregatedStatus" type:"structure"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // Application ID. +// SetLifeCycle sets the LifeCycle field's value. +func (s *ChangeServerLifeCycleStateInput) SetLifeCycle(v *ChangeServerLifeCycleStateSourceServerLifecycle) *ChangeServerLifeCycleStateInput { + s.LifeCycle = v + return s +} + +// SetSourceServerID sets the SourceServerID field's value. +func (s *ChangeServerLifeCycleStateInput) SetSourceServerID(v string) *ChangeServerLifeCycleStateInput { + s.SourceServerID = &v + return s +} + +type ChangeServerLifeCycleStateOutput struct { + _ struct{} `type:"structure"` + + // Source server application ID. ApplicationID *string `locationName:"applicationID" min:"21" type:"string"` - // Application ARN. + // Source server ARN. Arn *string `locationName:"arn" min:"20" type:"string"` - // Application creation dateTime. - CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` + // Source server data replication info. + DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` - // Application description. - Description *string `locationName:"description" type:"string"` + // Source server fqdn for action framework. + FqdnForActionFramework *string `locationName:"fqdnForActionFramework" type:"string"` - // Application archival status. + // Source server archived status. IsArchived *bool `locationName:"isArchived" type:"boolean"` - // Application last modified dateTime. - LastModifiedDateTime *string `locationName:"lastModifiedDateTime" min:"19" type:"string"` + // Source server launched instance. + LaunchedInstance *LaunchedInstance `locationName:"launchedInstance" type:"structure"` - // Application name. - Name *string `locationName:"name" min:"1" type:"string"` + // Source server lifecycle state. + LifeCycle *LifeCycle `locationName:"lifeCycle" type:"structure"` - // Application tags. + // Source server replication type. + ReplicationType *string `locationName:"replicationType" type:"string" enum:"ReplicationType"` + + // Source server properties. + SourceProperties *SourceProperties `locationName:"sourceProperties" type:"structure"` + + // Source server ID. + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` + + // Source server Tags. // // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by Application's + // replaced with "sensitive" in string returned by ChangeServerLifeCycleStateOutput's // String and GoString methods. Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` - // Application wave ID. - WaveID *string `locationName:"waveID" min:"22" type:"string"` + // Source server user provided ID. + UserProvidedID *string `locationName:"userProvidedID" type:"string"` + + // Source server vCenter client id. + VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` } // String returns the string representation. @@ -5488,7 +7008,7 @@ type Application struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Application) String() string { +func (s ChangeServerLifeCycleStateOutput) String() string { return awsutil.Prettify(s) } @@ -5497,85 +7017,153 @@ func (s Application) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Application) GoString() string { +func (s ChangeServerLifeCycleStateOutput) GoString() string { return s.String() } -// SetApplicationAggregatedStatus sets the ApplicationAggregatedStatus field's value. -func (s *Application) SetApplicationAggregatedStatus(v *ApplicationAggregatedStatus) *Application { - s.ApplicationAggregatedStatus = v - return s -} - // SetApplicationID sets the ApplicationID field's value. -func (s *Application) SetApplicationID(v string) *Application { +func (s *ChangeServerLifeCycleStateOutput) SetApplicationID(v string) *ChangeServerLifeCycleStateOutput { s.ApplicationID = &v return s } // SetArn sets the Arn field's value. -func (s *Application) SetArn(v string) *Application { +func (s *ChangeServerLifeCycleStateOutput) SetArn(v string) *ChangeServerLifeCycleStateOutput { s.Arn = &v return s } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *Application) SetCreationDateTime(v string) *Application { - s.CreationDateTime = &v +// SetDataReplicationInfo sets the DataReplicationInfo field's value. +func (s *ChangeServerLifeCycleStateOutput) SetDataReplicationInfo(v *DataReplicationInfo) *ChangeServerLifeCycleStateOutput { + s.DataReplicationInfo = v return s } -// SetDescription sets the Description field's value. -func (s *Application) SetDescription(v string) *Application { - s.Description = &v +// SetFqdnForActionFramework sets the FqdnForActionFramework field's value. +func (s *ChangeServerLifeCycleStateOutput) SetFqdnForActionFramework(v string) *ChangeServerLifeCycleStateOutput { + s.FqdnForActionFramework = &v return s } // SetIsArchived sets the IsArchived field's value. -func (s *Application) SetIsArchived(v bool) *Application { +func (s *ChangeServerLifeCycleStateOutput) SetIsArchived(v bool) *ChangeServerLifeCycleStateOutput { s.IsArchived = &v return s } -// SetLastModifiedDateTime sets the LastModifiedDateTime field's value. -func (s *Application) SetLastModifiedDateTime(v string) *Application { - s.LastModifiedDateTime = &v +// SetLaunchedInstance sets the LaunchedInstance field's value. +func (s *ChangeServerLifeCycleStateOutput) SetLaunchedInstance(v *LaunchedInstance) *ChangeServerLifeCycleStateOutput { + s.LaunchedInstance = v return s } -// SetName sets the Name field's value. -func (s *Application) SetName(v string) *Application { - s.Name = &v +// SetLifeCycle sets the LifeCycle field's value. +func (s *ChangeServerLifeCycleStateOutput) SetLifeCycle(v *LifeCycle) *ChangeServerLifeCycleStateOutput { + s.LifeCycle = v + return s +} + +// SetReplicationType sets the ReplicationType field's value. +func (s *ChangeServerLifeCycleStateOutput) SetReplicationType(v string) *ChangeServerLifeCycleStateOutput { + s.ReplicationType = &v + return s +} + +// SetSourceProperties sets the SourceProperties field's value. +func (s *ChangeServerLifeCycleStateOutput) SetSourceProperties(v *SourceProperties) *ChangeServerLifeCycleStateOutput { + s.SourceProperties = v + return s +} + +// SetSourceServerID sets the SourceServerID field's value. +func (s *ChangeServerLifeCycleStateOutput) SetSourceServerID(v string) *ChangeServerLifeCycleStateOutput { + s.SourceServerID = &v return s } // SetTags sets the Tags field's value. -func (s *Application) SetTags(v map[string]*string) *Application { +func (s *ChangeServerLifeCycleStateOutput) SetTags(v map[string]*string) *ChangeServerLifeCycleStateOutput { s.Tags = v return s } -// SetWaveID sets the WaveID field's value. -func (s *Application) SetWaveID(v string) *Application { - s.WaveID = &v +// SetUserProvidedID sets the UserProvidedID field's value. +func (s *ChangeServerLifeCycleStateOutput) SetUserProvidedID(v string) *ChangeServerLifeCycleStateOutput { + s.UserProvidedID = &v return s } -// Application aggregated status. -type ApplicationAggregatedStatus struct { +// SetVcenterClientID sets the VcenterClientID field's value. +func (s *ChangeServerLifeCycleStateOutput) SetVcenterClientID(v string) *ChangeServerLifeCycleStateOutput { + s.VcenterClientID = &v + return s +} + +// The request to change the source server migration lifecycle state. +type ChangeServerLifeCycleStateSourceServerLifecycle struct { _ struct{} `type:"structure"` - // Application aggregated status health status. - HealthStatus *string `locationName:"healthStatus" type:"string" enum:"ApplicationHealthStatus"` + // The request to change the source server migration lifecycle state. + // + // State is a required field + State *string `locationName:"state" type:"string" required:"true" enum:"ChangeServerLifeCycleStateSourceServerLifecycleState"` +} - // Application aggregated status last update dateTime. - LastUpdateDateTime *string `locationName:"lastUpdateDateTime" min:"19" type:"string"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ChangeServerLifeCycleStateSourceServerLifecycle) String() string { + return awsutil.Prettify(s) +} - // Application aggregated status progress status. - ProgressStatus *string `locationName:"progressStatus" type:"string" enum:"ApplicationProgressStatus"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ChangeServerLifeCycleStateSourceServerLifecycle) GoString() string { + return s.String() +} - // Application aggregated status total source servers amount. - TotalSourceServers *int64 `locationName:"totalSourceServers" type:"long"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *ChangeServerLifeCycleStateSourceServerLifecycle) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ChangeServerLifeCycleStateSourceServerLifecycle"} + if s.State == nil { + invalidParams.Add(request.NewErrParamRequired("State")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetState sets the State field's value. +func (s *ChangeServerLifeCycleStateSourceServerLifecycle) SetState(v string) *ChangeServerLifeCycleStateSourceServerLifecycle { + s.State = &v + return s +} + +// The request could not be completed due to a conflict with the current state +// of the target resource. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Code_ *string `locationName:"code" type:"string"` + + // Conflict Exception specific errors. + Errors []*ErrorDetails `locationName:"errors" type:"list"` + + Message_ *string `locationName:"message" type:"string"` + + // A conflict occurred when prompting for the Resource ID. + ResourceId *string `locationName:"resourceId" type:"string"` + + // A conflict occurred when prompting for resource type. + ResourceType *string `locationName:"resourceType" type:"string"` } // String returns the string representation. @@ -5583,50 +7171,74 @@ type ApplicationAggregatedStatus struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ApplicationAggregatedStatus) String() string { +func (s ConflictException) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ApplicationAggregatedStatus) GoString() string { - return s.String() +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetHealthStatus sets the HealthStatus field's value. -func (s *ApplicationAggregatedStatus) SetHealthStatus(v string) *ApplicationAggregatedStatus { - s.HealthStatus = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil } -// SetLastUpdateDateTime sets the LastUpdateDateTime field's value. -func (s *ApplicationAggregatedStatus) SetLastUpdateDateTime(v string) *ApplicationAggregatedStatus { - s.LastUpdateDateTime = &v - return s +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// SetProgressStatus sets the ProgressStatus field's value. -func (s *ApplicationAggregatedStatus) SetProgressStatus(v string) *ApplicationAggregatedStatus { - s.ProgressStatus = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetTotalSourceServers sets the TotalSourceServers field's value. -func (s *ApplicationAggregatedStatus) SetTotalSourceServers(v int64) *ApplicationAggregatedStatus { - s.TotalSourceServers = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID } -type ArchiveApplicationInput struct { +type CreateApplicationInput struct { _ struct{} `type:"structure"` - // Application ID. + // Application description. + Description *string `locationName:"description" type:"string"` + + // Application name. // - // ApplicationID is a required field - ApplicationID *string `locationName:"applicationID" min:"21" type:"string" required:"true"` + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Application tags. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateApplicationInput's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` } // String returns the string representation. @@ -5634,7 +7246,7 @@ type ArchiveApplicationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveApplicationInput) String() string { +func (s CreateApplicationInput) String() string { return awsutil.Prettify(s) } @@ -5643,18 +7255,18 @@ func (s ArchiveApplicationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveApplicationInput) GoString() string { +func (s CreateApplicationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ArchiveApplicationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ArchiveApplicationInput"} - if s.ApplicationID == nil { - invalidParams.Add(request.NewErrParamRequired("ApplicationID")) +func (s *CreateApplicationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateApplicationInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.ApplicationID != nil && len(*s.ApplicationID) < 21 { - invalidParams.Add(request.NewErrParamMinLen("ApplicationID", 21)) + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } if invalidParams.Len() > 0 { @@ -5663,13 +7275,25 @@ func (s *ArchiveApplicationInput) Validate() error { return nil } -// SetApplicationID sets the ApplicationID field's value. -func (s *ArchiveApplicationInput) SetApplicationID(v string) *ArchiveApplicationInput { - s.ApplicationID = &v +// SetDescription sets the Description field's value. +func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput { + s.Description = &v return s } -type ArchiveApplicationOutput struct { +// SetName sets the Name field's value. +func (s *CreateApplicationInput) SetName(v string) *CreateApplicationInput { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateApplicationInput) SetTags(v map[string]*string) *CreateApplicationInput { + s.Tags = v + return s +} + +type CreateApplicationOutput struct { _ struct{} `type:"structure"` // Application aggregated status. @@ -5699,7 +7323,7 @@ type ArchiveApplicationOutput struct { // Application tags. // // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by ArchiveApplicationOutput's + // replaced with "sensitive" in string returned by CreateApplicationOutput's // String and GoString methods. Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` @@ -5712,7 +7336,7 @@ type ArchiveApplicationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveApplicationOutput) String() string { +func (s CreateApplicationOutput) String() string { return awsutil.Prettify(s) } @@ -5721,77 +7345,118 @@ func (s ArchiveApplicationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveApplicationOutput) GoString() string { +func (s CreateApplicationOutput) GoString() string { return s.String() } // SetApplicationAggregatedStatus sets the ApplicationAggregatedStatus field's value. -func (s *ArchiveApplicationOutput) SetApplicationAggregatedStatus(v *ApplicationAggregatedStatus) *ArchiveApplicationOutput { +func (s *CreateApplicationOutput) SetApplicationAggregatedStatus(v *ApplicationAggregatedStatus) *CreateApplicationOutput { s.ApplicationAggregatedStatus = v return s } // SetApplicationID sets the ApplicationID field's value. -func (s *ArchiveApplicationOutput) SetApplicationID(v string) *ArchiveApplicationOutput { +func (s *CreateApplicationOutput) SetApplicationID(v string) *CreateApplicationOutput { s.ApplicationID = &v return s } // SetArn sets the Arn field's value. -func (s *ArchiveApplicationOutput) SetArn(v string) *ArchiveApplicationOutput { +func (s *CreateApplicationOutput) SetArn(v string) *CreateApplicationOutput { s.Arn = &v return s } // SetCreationDateTime sets the CreationDateTime field's value. -func (s *ArchiveApplicationOutput) SetCreationDateTime(v string) *ArchiveApplicationOutput { +func (s *CreateApplicationOutput) SetCreationDateTime(v string) *CreateApplicationOutput { s.CreationDateTime = &v return s } // SetDescription sets the Description field's value. -func (s *ArchiveApplicationOutput) SetDescription(v string) *ArchiveApplicationOutput { +func (s *CreateApplicationOutput) SetDescription(v string) *CreateApplicationOutput { s.Description = &v return s } // SetIsArchived sets the IsArchived field's value. -func (s *ArchiveApplicationOutput) SetIsArchived(v bool) *ArchiveApplicationOutput { +func (s *CreateApplicationOutput) SetIsArchived(v bool) *CreateApplicationOutput { s.IsArchived = &v return s } // SetLastModifiedDateTime sets the LastModifiedDateTime field's value. -func (s *ArchiveApplicationOutput) SetLastModifiedDateTime(v string) *ArchiveApplicationOutput { +func (s *CreateApplicationOutput) SetLastModifiedDateTime(v string) *CreateApplicationOutput { s.LastModifiedDateTime = &v return s } // SetName sets the Name field's value. -func (s *ArchiveApplicationOutput) SetName(v string) *ArchiveApplicationOutput { +func (s *CreateApplicationOutput) SetName(v string) *CreateApplicationOutput { s.Name = &v return s } // SetTags sets the Tags field's value. -func (s *ArchiveApplicationOutput) SetTags(v map[string]*string) *ArchiveApplicationOutput { +func (s *CreateApplicationOutput) SetTags(v map[string]*string) *CreateApplicationOutput { s.Tags = v return s } // SetWaveID sets the WaveID field's value. -func (s *ArchiveApplicationOutput) SetWaveID(v string) *ArchiveApplicationOutput { +func (s *CreateApplicationOutput) SetWaveID(v string) *CreateApplicationOutput { s.WaveID = &v return s } -type ArchiveWaveInput struct { +type CreateLaunchConfigurationTemplateInput struct { _ struct{} `type:"structure"` - // Wave ID. + // Associate public Ip address. + AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` + + // Launch configuration template boot mode. + BootMode *string `locationName:"bootMode" type:"string" enum:"BootMode"` + + // Copy private Ip. + CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` + + // Copy tags. + CopyTags *bool `locationName:"copyTags" type:"boolean"` + + // Enable map auto tagging. + EnableMapAutoTagging *bool `locationName:"enableMapAutoTagging" type:"boolean"` + + // Large volume config. + LargeVolumeConf *LaunchTemplateDiskConf `locationName:"largeVolumeConf" type:"structure"` + + // Launch disposition. + LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + + // Configure Licensing. + Licensing *Licensing `locationName:"licensing" type:"structure"` + + // Launch configuration template map auto tagging MPE ID. + MapAutoTaggingMpeID *string `locationName:"mapAutoTaggingMpeID" type:"string"` + + // Launch configuration template post launch actions. + PostLaunchActions *PostLaunchActions `locationName:"postLaunchActions" type:"structure"` + + // Small volume config. + SmallVolumeConf *LaunchTemplateDiskConf `locationName:"smallVolumeConf" type:"structure"` + + // Small volume maximum size. + SmallVolumeMaxSize *int64 `locationName:"smallVolumeMaxSize" type:"long"` + + // Request to associate tags during creation of a Launch Configuration Template. // - // WaveID is a required field - WaveID *string `locationName:"waveID" min:"22" type:"string" required:"true"` + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateLaunchConfigurationTemplateInput's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Target instance type right-sizing method. + TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` } // String returns the string representation. @@ -5799,7 +7464,7 @@ type ArchiveWaveInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveWaveInput) String() string { +func (s CreateLaunchConfigurationTemplateInput) String() string { return awsutil.Prettify(s) } @@ -5808,18 +7473,17 @@ func (s ArchiveWaveInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ArchiveWaveInput) GoString() string { +func (s CreateLaunchConfigurationTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ArchiveWaveInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ArchiveWaveInput"} - if s.WaveID == nil { - invalidParams.Add(request.NewErrParamRequired("WaveID")) - } - if s.WaveID != nil && len(*s.WaveID) < 22 { - invalidParams.Add(request.NewErrParamMinLen("WaveID", 22)) +func (s *CreateLaunchConfigurationTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateLaunchConfigurationTemplateInput"} + if s.PostLaunchActions != nil { + if err := s.PostLaunchActions.Validate(); err != nil { + invalidParams.AddNested("PostLaunchActions", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -5828,131 +7492,149 @@ func (s *ArchiveWaveInput) Validate() error { return nil } -// SetWaveID sets the WaveID field's value. -func (s *ArchiveWaveInput) SetWaveID(v string) *ArchiveWaveInput { - s.WaveID = &v +// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetAssociatePublicIpAddress(v bool) *CreateLaunchConfigurationTemplateInput { + s.AssociatePublicIpAddress = &v return s } -type ArchiveWaveOutput struct { - _ struct{} `type:"structure"` - - // Wave ARN. - Arn *string `locationName:"arn" min:"20" type:"string"` - - // Wave creation dateTime. - CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` - - // Wave description. - Description *string `locationName:"description" type:"string"` - - // Wave archival status. - IsArchived *bool `locationName:"isArchived" type:"boolean"` - - // Wave last modified dateTime. - LastModifiedDateTime *string `locationName:"lastModifiedDateTime" min:"19" type:"string"` - - // Wave name. - Name *string `locationName:"name" min:"1" type:"string"` - - // Wave tags. - // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by ArchiveWaveOutput's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` - - // Wave aggregated status. - WaveAggregatedStatus *WaveAggregatedStatus `locationName:"waveAggregatedStatus" type:"structure"` +// SetBootMode sets the BootMode field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetBootMode(v string) *CreateLaunchConfigurationTemplateInput { + s.BootMode = &v + return s +} - // Wave ID. - WaveID *string `locationName:"waveID" min:"22" type:"string"` +// SetCopyPrivateIp sets the CopyPrivateIp field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetCopyPrivateIp(v bool) *CreateLaunchConfigurationTemplateInput { + s.CopyPrivateIp = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ArchiveWaveOutput) String() string { - return awsutil.Prettify(s) +// SetCopyTags sets the CopyTags field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetCopyTags(v bool) *CreateLaunchConfigurationTemplateInput { + s.CopyTags = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ArchiveWaveOutput) GoString() string { - return s.String() +// SetEnableMapAutoTagging sets the EnableMapAutoTagging field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetEnableMapAutoTagging(v bool) *CreateLaunchConfigurationTemplateInput { + s.EnableMapAutoTagging = &v + return s } -// SetArn sets the Arn field's value. -func (s *ArchiveWaveOutput) SetArn(v string) *ArchiveWaveOutput { - s.Arn = &v +// SetLargeVolumeConf sets the LargeVolumeConf field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetLargeVolumeConf(v *LaunchTemplateDiskConf) *CreateLaunchConfigurationTemplateInput { + s.LargeVolumeConf = v return s } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *ArchiveWaveOutput) SetCreationDateTime(v string) *ArchiveWaveOutput { - s.CreationDateTime = &v +// SetLaunchDisposition sets the LaunchDisposition field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetLaunchDisposition(v string) *CreateLaunchConfigurationTemplateInput { + s.LaunchDisposition = &v return s } -// SetDescription sets the Description field's value. -func (s *ArchiveWaveOutput) SetDescription(v string) *ArchiveWaveOutput { - s.Description = &v +// SetLicensing sets the Licensing field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetLicensing(v *Licensing) *CreateLaunchConfigurationTemplateInput { + s.Licensing = v return s } -// SetIsArchived sets the IsArchived field's value. -func (s *ArchiveWaveOutput) SetIsArchived(v bool) *ArchiveWaveOutput { - s.IsArchived = &v +// SetMapAutoTaggingMpeID sets the MapAutoTaggingMpeID field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetMapAutoTaggingMpeID(v string) *CreateLaunchConfigurationTemplateInput { + s.MapAutoTaggingMpeID = &v return s } -// SetLastModifiedDateTime sets the LastModifiedDateTime field's value. -func (s *ArchiveWaveOutput) SetLastModifiedDateTime(v string) *ArchiveWaveOutput { - s.LastModifiedDateTime = &v +// SetPostLaunchActions sets the PostLaunchActions field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetPostLaunchActions(v *PostLaunchActions) *CreateLaunchConfigurationTemplateInput { + s.PostLaunchActions = v return s } -// SetName sets the Name field's value. -func (s *ArchiveWaveOutput) SetName(v string) *ArchiveWaveOutput { - s.Name = &v +// SetSmallVolumeConf sets the SmallVolumeConf field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetSmallVolumeConf(v *LaunchTemplateDiskConf) *CreateLaunchConfigurationTemplateInput { + s.SmallVolumeConf = v return s } -// SetTags sets the Tags field's value. -func (s *ArchiveWaveOutput) SetTags(v map[string]*string) *ArchiveWaveOutput { - s.Tags = v +// SetSmallVolumeMaxSize sets the SmallVolumeMaxSize field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetSmallVolumeMaxSize(v int64) *CreateLaunchConfigurationTemplateInput { + s.SmallVolumeMaxSize = &v return s } -// SetWaveAggregatedStatus sets the WaveAggregatedStatus field's value. -func (s *ArchiveWaveOutput) SetWaveAggregatedStatus(v *WaveAggregatedStatus) *ArchiveWaveOutput { - s.WaveAggregatedStatus = v +// SetTags sets the Tags field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetTags(v map[string]*string) *CreateLaunchConfigurationTemplateInput { + s.Tags = v return s } -// SetWaveID sets the WaveID field's value. -func (s *ArchiveWaveOutput) SetWaveID(v string) *ArchiveWaveOutput { - s.WaveID = &v +// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. +func (s *CreateLaunchConfigurationTemplateInput) SetTargetInstanceTypeRightSizingMethod(v string) *CreateLaunchConfigurationTemplateInput { + s.TargetInstanceTypeRightSizingMethod = &v return s } -type AssociateApplicationsInput struct { +type CreateLaunchConfigurationTemplateOutput struct { _ struct{} `type:"structure"` - // Application IDs list. + // ARN of the Launch Configuration Template. + Arn *string `locationName:"arn" min:"20" type:"string"` + + // Associate public Ip address. + AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` + + // Launch configuration template boot mode. + BootMode *string `locationName:"bootMode" type:"string" enum:"BootMode"` + + // Copy private Ip. + CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` + + // Copy tags. + CopyTags *bool `locationName:"copyTags" type:"boolean"` + + // EC2 launch template ID. + Ec2LaunchTemplateID *string `locationName:"ec2LaunchTemplateID" min:"20" type:"string"` + + // Enable map auto tagging. + EnableMapAutoTagging *bool `locationName:"enableMapAutoTagging" type:"boolean"` + + // Large volume config. + LargeVolumeConf *LaunchTemplateDiskConf `locationName:"largeVolumeConf" type:"structure"` + + // ID of the Launch Configuration Template. // - // ApplicationIDs is a required field - ApplicationIDs []*string `locationName:"applicationIDs" min:"1" type:"list" required:"true"` + // LaunchConfigurationTemplateID is a required field + LaunchConfigurationTemplateID *string `locationName:"launchConfigurationTemplateID" min:"21" type:"string" required:"true"` - // Wave ID. + // Launch disposition. + LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + + // Configure Licensing. + Licensing *Licensing `locationName:"licensing" type:"structure"` + + // Launch configuration template map auto tagging MPE ID. + MapAutoTaggingMpeID *string `locationName:"mapAutoTaggingMpeID" type:"string"` + + // Post Launch Actions of the Launch Configuration Template. + PostLaunchActions *PostLaunchActions `locationName:"postLaunchActions" type:"structure"` + + // Small volume config. + SmallVolumeConf *LaunchTemplateDiskConf `locationName:"smallVolumeConf" type:"structure"` + + // Small volume maximum size. + SmallVolumeMaxSize *int64 `locationName:"smallVolumeMaxSize" type:"long"` + + // Tags of the Launch Configuration Template. // - // WaveID is a required field - WaveID *string `locationName:"waveID" min:"22" type:"string" required:"true"` + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateLaunchConfigurationTemplateOutput's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Target instance type right-sizing method. + TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` } // String returns the string representation. @@ -5960,7 +7642,7 @@ type AssociateApplicationsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AssociateApplicationsInput) String() string { +func (s CreateLaunchConfigurationTemplateOutput) String() string { return awsutil.Prettify(s) } @@ -5969,208 +7651,194 @@ func (s AssociateApplicationsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s AssociateApplicationsInput) GoString() string { +func (s CreateLaunchConfigurationTemplateOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AssociateApplicationsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AssociateApplicationsInput"} - if s.ApplicationIDs == nil { - invalidParams.Add(request.NewErrParamRequired("ApplicationIDs")) - } - if s.ApplicationIDs != nil && len(s.ApplicationIDs) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ApplicationIDs", 1)) - } - if s.WaveID == nil { - invalidParams.Add(request.NewErrParamRequired("WaveID")) - } - if s.WaveID != nil && len(*s.WaveID) < 22 { - invalidParams.Add(request.NewErrParamMinLen("WaveID", 22)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetArn(v string) *CreateLaunchConfigurationTemplateOutput { + s.Arn = &v + return s } -// SetApplicationIDs sets the ApplicationIDs field's value. -func (s *AssociateApplicationsInput) SetApplicationIDs(v []*string) *AssociateApplicationsInput { - s.ApplicationIDs = v +// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetAssociatePublicIpAddress(v bool) *CreateLaunchConfigurationTemplateOutput { + s.AssociatePublicIpAddress = &v return s } -// SetWaveID sets the WaveID field's value. -func (s *AssociateApplicationsInput) SetWaveID(v string) *AssociateApplicationsInput { - s.WaveID = &v +// SetBootMode sets the BootMode field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetBootMode(v string) *CreateLaunchConfigurationTemplateOutput { + s.BootMode = &v return s } -type AssociateApplicationsOutput struct { - _ struct{} `type:"structure"` +// SetCopyPrivateIp sets the CopyPrivateIp field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetCopyPrivateIp(v bool) *CreateLaunchConfigurationTemplateOutput { + s.CopyPrivateIp = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AssociateApplicationsOutput) String() string { - return awsutil.Prettify(s) +// SetCopyTags sets the CopyTags field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetCopyTags(v bool) *CreateLaunchConfigurationTemplateOutput { + s.CopyTags = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AssociateApplicationsOutput) GoString() string { - return s.String() +// SetEc2LaunchTemplateID sets the Ec2LaunchTemplateID field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetEc2LaunchTemplateID(v string) *CreateLaunchConfigurationTemplateOutput { + s.Ec2LaunchTemplateID = &v + return s } -type AssociateSourceServersInput struct { - _ struct{} `type:"structure"` - - // Application ID. - // - // ApplicationID is a required field - ApplicationID *string `locationName:"applicationID" min:"21" type:"string" required:"true"` +// SetEnableMapAutoTagging sets the EnableMapAutoTagging field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetEnableMapAutoTagging(v bool) *CreateLaunchConfigurationTemplateOutput { + s.EnableMapAutoTagging = &v + return s +} - // Source server IDs list. - // - // SourceServerIDs is a required field - SourceServerIDs []*string `locationName:"sourceServerIDs" min:"1" type:"list" required:"true"` +// SetLargeVolumeConf sets the LargeVolumeConf field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetLargeVolumeConf(v *LaunchTemplateDiskConf) *CreateLaunchConfigurationTemplateOutput { + s.LargeVolumeConf = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AssociateSourceServersInput) String() string { - return awsutil.Prettify(s) +// SetLaunchConfigurationTemplateID sets the LaunchConfigurationTemplateID field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetLaunchConfigurationTemplateID(v string) *CreateLaunchConfigurationTemplateOutput { + s.LaunchConfigurationTemplateID = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AssociateSourceServersInput) GoString() string { - return s.String() +// SetLaunchDisposition sets the LaunchDisposition field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetLaunchDisposition(v string) *CreateLaunchConfigurationTemplateOutput { + s.LaunchDisposition = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *AssociateSourceServersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AssociateSourceServersInput"} - if s.ApplicationID == nil { - invalidParams.Add(request.NewErrParamRequired("ApplicationID")) - } - if s.ApplicationID != nil && len(*s.ApplicationID) < 21 { - invalidParams.Add(request.NewErrParamMinLen("ApplicationID", 21)) - } - if s.SourceServerIDs == nil { - invalidParams.Add(request.NewErrParamRequired("SourceServerIDs")) - } - if s.SourceServerIDs != nil && len(s.SourceServerIDs) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SourceServerIDs", 1)) - } +// SetLicensing sets the Licensing field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetLicensing(v *Licensing) *CreateLaunchConfigurationTemplateOutput { + s.Licensing = v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetMapAutoTaggingMpeID sets the MapAutoTaggingMpeID field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetMapAutoTaggingMpeID(v string) *CreateLaunchConfigurationTemplateOutput { + s.MapAutoTaggingMpeID = &v + return s } -// SetApplicationID sets the ApplicationID field's value. -func (s *AssociateSourceServersInput) SetApplicationID(v string) *AssociateSourceServersInput { - s.ApplicationID = &v +// SetPostLaunchActions sets the PostLaunchActions field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetPostLaunchActions(v *PostLaunchActions) *CreateLaunchConfigurationTemplateOutput { + s.PostLaunchActions = v return s } -// SetSourceServerIDs sets the SourceServerIDs field's value. -func (s *AssociateSourceServersInput) SetSourceServerIDs(v []*string) *AssociateSourceServersInput { - s.SourceServerIDs = v +// SetSmallVolumeConf sets the SmallVolumeConf field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetSmallVolumeConf(v *LaunchTemplateDiskConf) *CreateLaunchConfigurationTemplateOutput { + s.SmallVolumeConf = v return s } -type AssociateSourceServersOutput struct { - _ struct{} `type:"structure"` +// SetSmallVolumeMaxSize sets the SmallVolumeMaxSize field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetSmallVolumeMaxSize(v int64) *CreateLaunchConfigurationTemplateOutput { + s.SmallVolumeMaxSize = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AssociateSourceServersOutput) String() string { - return awsutil.Prettify(s) +// SetTags sets the Tags field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetTags(v map[string]*string) *CreateLaunchConfigurationTemplateOutput { + s.Tags = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AssociateSourceServersOutput) GoString() string { - return s.String() +// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. +func (s *CreateLaunchConfigurationTemplateOutput) SetTargetInstanceTypeRightSizingMethod(v string) *CreateLaunchConfigurationTemplateOutput { + s.TargetInstanceTypeRightSizingMethod = &v + return s } -// Source server CPU information. -type CPU struct { +type CreateReplicationConfigurationTemplateInput struct { _ struct{} `type:"structure"` - // The number of CPU cores on the source server. - Cores *int64 `locationName:"cores" type:"long"` + // Request to associate the default Application Migration Service Security group + // with the Replication Settings template. + // + // AssociateDefaultSecurityGroup is a required field + AssociateDefaultSecurityGroup *bool `locationName:"associateDefaultSecurityGroup" type:"boolean" required:"true"` - // The source server's CPU model name. - ModelName *string `locationName:"modelName" type:"string"` -} + // Request to configure bandwidth throttling during Replication Settings template + // creation. + // + // BandwidthThrottling is a required field + BandwidthThrottling *int64 `locationName:"bandwidthThrottling" type:"long" required:"true"` -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CPU) String() string { - return awsutil.Prettify(s) -} + // Request to create Public IP during Replication Settings template creation. + // + // CreatePublicIP is a required field + CreatePublicIP *bool `locationName:"createPublicIP" type:"boolean" required:"true"` -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CPU) GoString() string { - return s.String() -} + // Request to configure data plane routing during Replication Settings template + // creation. + // + // DataPlaneRouting is a required field + DataPlaneRouting *string `locationName:"dataPlaneRouting" type:"string" required:"true" enum:"ReplicationConfigurationDataPlaneRouting"` -// SetCores sets the Cores field's value. -func (s *CPU) SetCores(v int64) *CPU { - s.Cores = &v - return s -} + // Request to configure the default large staging disk EBS volume type during + // Replication Settings template creation. + // + // DefaultLargeStagingDiskType is a required field + DefaultLargeStagingDiskType *string `locationName:"defaultLargeStagingDiskType" type:"string" required:"true" enum:"ReplicationConfigurationDefaultLargeStagingDiskType"` -// SetModelName sets the ModelName field's value. -func (s *CPU) SetModelName(v string) *CPU { - s.ModelName = &v - return s -} + // Request to configure EBS encryption during Replication Settings template + // creation. + // + // EbsEncryption is a required field + EbsEncryption *string `locationName:"ebsEncryption" type:"string" required:"true" enum:"ReplicationConfigurationEbsEncryption"` -type ChangeServerLifeCycleStateInput struct { - _ struct{} `type:"structure"` + // Request to configure an EBS encryption key during Replication Settings template + // creation. + EbsEncryptionKeyArn *string `locationName:"ebsEncryptionKeyArn" min:"20" type:"string"` - // The request to change the source server migration lifecycle state. + // Request to configure the Replication Server instance type during Replication + // Settings template creation. // - // LifeCycle is a required field - LifeCycle *ChangeServerLifeCycleStateSourceServerLifecycle `locationName:"lifeCycle" type:"structure" required:"true"` + // ReplicationServerInstanceType is a required field + ReplicationServerInstanceType *string `locationName:"replicationServerInstanceType" type:"string" required:"true"` - // The request to change the source server migration lifecycle state by source - // server ID. + // Request to configure the Replication Server Security group ID during Replication + // Settings template creation. // - // SourceServerID is a required field - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` + // ReplicationServersSecurityGroupsIDs is a required field + ReplicationServersSecurityGroupsIDs []*string `locationName:"replicationServersSecurityGroupsIDs" type:"list" required:"true"` + + // Request to configure the Staging Area subnet ID during Replication Settings + // template creation. + // + // StagingAreaSubnetId is a required field + StagingAreaSubnetId *string `locationName:"stagingAreaSubnetId" type:"string" required:"true"` + + // Request to configure Staging Area tags during Replication Settings template + // creation. + // + // StagingAreaTags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateReplicationConfigurationTemplateInput's + // String and GoString methods. + // + // StagingAreaTags is a required field + StagingAreaTags map[string]*string `locationName:"stagingAreaTags" type:"map" required:"true" sensitive:"true"` + + // Request to configure tags during Replication Settings template creation. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateReplicationConfigurationTemplateInput's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Request to use Dedicated Replication Servers during Replication Settings + // template creation. + // + // UseDedicatedReplicationServer is a required field + UseDedicatedReplicationServer *bool `locationName:"useDedicatedReplicationServer" type:"boolean" required:"true"` } // String returns the string representation. @@ -6178,7 +7846,7 @@ type ChangeServerLifeCycleStateInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ChangeServerLifeCycleStateInput) String() string { +func (s CreateReplicationConfigurationTemplateInput) String() string { return awsutil.Prettify(s) } @@ -6187,179 +7855,192 @@ func (s ChangeServerLifeCycleStateInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ChangeServerLifeCycleStateInput) GoString() string { +func (s CreateReplicationConfigurationTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ChangeServerLifeCycleStateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ChangeServerLifeCycleStateInput"} - if s.LifeCycle == nil { - invalidParams.Add(request.NewErrParamRequired("LifeCycle")) +func (s *CreateReplicationConfigurationTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateReplicationConfigurationTemplateInput"} + if s.AssociateDefaultSecurityGroup == nil { + invalidParams.Add(request.NewErrParamRequired("AssociateDefaultSecurityGroup")) } - if s.SourceServerID == nil { - invalidParams.Add(request.NewErrParamRequired("SourceServerID")) + if s.BandwidthThrottling == nil { + invalidParams.Add(request.NewErrParamRequired("BandwidthThrottling")) } - if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { - invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) + if s.CreatePublicIP == nil { + invalidParams.Add(request.NewErrParamRequired("CreatePublicIP")) } - if s.LifeCycle != nil { - if err := s.LifeCycle.Validate(); err != nil { - invalidParams.AddNested("LifeCycle", err.(request.ErrInvalidParams)) - } + if s.DataPlaneRouting == nil { + invalidParams.Add(request.NewErrParamRequired("DataPlaneRouting")) + } + if s.DefaultLargeStagingDiskType == nil { + invalidParams.Add(request.NewErrParamRequired("DefaultLargeStagingDiskType")) + } + if s.EbsEncryption == nil { + invalidParams.Add(request.NewErrParamRequired("EbsEncryption")) + } + if s.EbsEncryptionKeyArn != nil && len(*s.EbsEncryptionKeyArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("EbsEncryptionKeyArn", 20)) + } + if s.ReplicationServerInstanceType == nil { + invalidParams.Add(request.NewErrParamRequired("ReplicationServerInstanceType")) + } + if s.ReplicationServersSecurityGroupsIDs == nil { + invalidParams.Add(request.NewErrParamRequired("ReplicationServersSecurityGroupsIDs")) + } + if s.StagingAreaSubnetId == nil { + invalidParams.Add(request.NewErrParamRequired("StagingAreaSubnetId")) + } + if s.StagingAreaTags == nil { + invalidParams.Add(request.NewErrParamRequired("StagingAreaTags")) + } + if s.UseDedicatedReplicationServer == nil { + invalidParams.Add(request.NewErrParamRequired("UseDedicatedReplicationServer")) } if invalidParams.Len() > 0 { return invalidParams } - return nil -} - -// SetLifeCycle sets the LifeCycle field's value. -func (s *ChangeServerLifeCycleStateInput) SetLifeCycle(v *ChangeServerLifeCycleStateSourceServerLifecycle) *ChangeServerLifeCycleStateInput { - s.LifeCycle = v - return s -} - -// SetSourceServerID sets the SourceServerID field's value. -func (s *ChangeServerLifeCycleStateInput) SetSourceServerID(v string) *ChangeServerLifeCycleStateInput { - s.SourceServerID = &v - return s -} - -type ChangeServerLifeCycleStateOutput struct { - _ struct{} `type:"structure"` - - // Source server application ID. - ApplicationID *string `locationName:"applicationID" min:"21" type:"string"` - - // Source server ARN. - Arn *string `locationName:"arn" min:"20" type:"string"` - - // Source server data replication info. - DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` - - // Source server archived status. - IsArchived *bool `locationName:"isArchived" type:"boolean"` - - // Source server launched instance. - LaunchedInstance *LaunchedInstance `locationName:"launchedInstance" type:"structure"` - - // Source server lifecycle state. - LifeCycle *LifeCycle `locationName:"lifeCycle" type:"structure"` - - // Source server replication type. - ReplicationType *string `locationName:"replicationType" type:"string" enum:"ReplicationType"` - - // Source server properties. - SourceProperties *SourceProperties `locationName:"sourceProperties" type:"structure"` - - // Source server ID. - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` - - // Source server Tags. - // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by ChangeServerLifeCycleStateOutput's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` - - // Source server vCenter client id. - VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` + return nil } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ChangeServerLifeCycleStateOutput) String() string { - return awsutil.Prettify(s) +// SetAssociateDefaultSecurityGroup sets the AssociateDefaultSecurityGroup field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetAssociateDefaultSecurityGroup(v bool) *CreateReplicationConfigurationTemplateInput { + s.AssociateDefaultSecurityGroup = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ChangeServerLifeCycleStateOutput) GoString() string { - return s.String() +// SetBandwidthThrottling sets the BandwidthThrottling field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetBandwidthThrottling(v int64) *CreateReplicationConfigurationTemplateInput { + s.BandwidthThrottling = &v + return s } -// SetApplicationID sets the ApplicationID field's value. -func (s *ChangeServerLifeCycleStateOutput) SetApplicationID(v string) *ChangeServerLifeCycleStateOutput { - s.ApplicationID = &v +// SetCreatePublicIP sets the CreatePublicIP field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetCreatePublicIP(v bool) *CreateReplicationConfigurationTemplateInput { + s.CreatePublicIP = &v return s } -// SetArn sets the Arn field's value. -func (s *ChangeServerLifeCycleStateOutput) SetArn(v string) *ChangeServerLifeCycleStateOutput { - s.Arn = &v +// SetDataPlaneRouting sets the DataPlaneRouting field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetDataPlaneRouting(v string) *CreateReplicationConfigurationTemplateInput { + s.DataPlaneRouting = &v return s } -// SetDataReplicationInfo sets the DataReplicationInfo field's value. -func (s *ChangeServerLifeCycleStateOutput) SetDataReplicationInfo(v *DataReplicationInfo) *ChangeServerLifeCycleStateOutput { - s.DataReplicationInfo = v +// SetDefaultLargeStagingDiskType sets the DefaultLargeStagingDiskType field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetDefaultLargeStagingDiskType(v string) *CreateReplicationConfigurationTemplateInput { + s.DefaultLargeStagingDiskType = &v return s } -// SetIsArchived sets the IsArchived field's value. -func (s *ChangeServerLifeCycleStateOutput) SetIsArchived(v bool) *ChangeServerLifeCycleStateOutput { - s.IsArchived = &v +// SetEbsEncryption sets the EbsEncryption field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetEbsEncryption(v string) *CreateReplicationConfigurationTemplateInput { + s.EbsEncryption = &v return s } -// SetLaunchedInstance sets the LaunchedInstance field's value. -func (s *ChangeServerLifeCycleStateOutput) SetLaunchedInstance(v *LaunchedInstance) *ChangeServerLifeCycleStateOutput { - s.LaunchedInstance = v +// SetEbsEncryptionKeyArn sets the EbsEncryptionKeyArn field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetEbsEncryptionKeyArn(v string) *CreateReplicationConfigurationTemplateInput { + s.EbsEncryptionKeyArn = &v return s } -// SetLifeCycle sets the LifeCycle field's value. -func (s *ChangeServerLifeCycleStateOutput) SetLifeCycle(v *LifeCycle) *ChangeServerLifeCycleStateOutput { - s.LifeCycle = v +// SetReplicationServerInstanceType sets the ReplicationServerInstanceType field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetReplicationServerInstanceType(v string) *CreateReplicationConfigurationTemplateInput { + s.ReplicationServerInstanceType = &v return s } -// SetReplicationType sets the ReplicationType field's value. -func (s *ChangeServerLifeCycleStateOutput) SetReplicationType(v string) *ChangeServerLifeCycleStateOutput { - s.ReplicationType = &v +// SetReplicationServersSecurityGroupsIDs sets the ReplicationServersSecurityGroupsIDs field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetReplicationServersSecurityGroupsIDs(v []*string) *CreateReplicationConfigurationTemplateInput { + s.ReplicationServersSecurityGroupsIDs = v return s } -// SetSourceProperties sets the SourceProperties field's value. -func (s *ChangeServerLifeCycleStateOutput) SetSourceProperties(v *SourceProperties) *ChangeServerLifeCycleStateOutput { - s.SourceProperties = v +// SetStagingAreaSubnetId sets the StagingAreaSubnetId field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetStagingAreaSubnetId(v string) *CreateReplicationConfigurationTemplateInput { + s.StagingAreaSubnetId = &v return s } -// SetSourceServerID sets the SourceServerID field's value. -func (s *ChangeServerLifeCycleStateOutput) SetSourceServerID(v string) *ChangeServerLifeCycleStateOutput { - s.SourceServerID = &v +// SetStagingAreaTags sets the StagingAreaTags field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetStagingAreaTags(v map[string]*string) *CreateReplicationConfigurationTemplateInput { + s.StagingAreaTags = v return s } // SetTags sets the Tags field's value. -func (s *ChangeServerLifeCycleStateOutput) SetTags(v map[string]*string) *ChangeServerLifeCycleStateOutput { +func (s *CreateReplicationConfigurationTemplateInput) SetTags(v map[string]*string) *CreateReplicationConfigurationTemplateInput { s.Tags = v return s } -// SetVcenterClientID sets the VcenterClientID field's value. -func (s *ChangeServerLifeCycleStateOutput) SetVcenterClientID(v string) *ChangeServerLifeCycleStateOutput { - s.VcenterClientID = &v +// SetUseDedicatedReplicationServer sets the UseDedicatedReplicationServer field's value. +func (s *CreateReplicationConfigurationTemplateInput) SetUseDedicatedReplicationServer(v bool) *CreateReplicationConfigurationTemplateInput { + s.UseDedicatedReplicationServer = &v return s } -// The request to change the source server migration lifecycle state. -type ChangeServerLifeCycleStateSourceServerLifecycle struct { +type CreateReplicationConfigurationTemplateOutput struct { _ struct{} `type:"structure"` - // The request to change the source server migration lifecycle state. + // Replication Configuration template ARN. + Arn *string `locationName:"arn" min:"20" type:"string"` + + // Replication Configuration template associate default Application Migration + // Service Security group. + AssociateDefaultSecurityGroup *bool `locationName:"associateDefaultSecurityGroup" type:"boolean"` + + // Replication Configuration template bandwidth throttling. + BandwidthThrottling *int64 `locationName:"bandwidthThrottling" type:"long"` + + // Replication Configuration template create Public IP. + CreatePublicIP *bool `locationName:"createPublicIP" type:"boolean"` + + // Replication Configuration template data plane routing. + DataPlaneRouting *string `locationName:"dataPlaneRouting" type:"string" enum:"ReplicationConfigurationDataPlaneRouting"` + + // Replication Configuration template use default large Staging Disk type. + DefaultLargeStagingDiskType *string `locationName:"defaultLargeStagingDiskType" type:"string" enum:"ReplicationConfigurationDefaultLargeStagingDiskType"` + + // Replication Configuration template EBS encryption. + EbsEncryption *string `locationName:"ebsEncryption" type:"string" enum:"ReplicationConfigurationEbsEncryption"` + + // Replication Configuration template EBS encryption key ARN. + EbsEncryptionKeyArn *string `locationName:"ebsEncryptionKeyArn" min:"20" type:"string"` + + // Replication Configuration template ID. // - // State is a required field - State *string `locationName:"state" type:"string" required:"true" enum:"ChangeServerLifeCycleStateSourceServerLifecycleState"` + // ReplicationConfigurationTemplateID is a required field + ReplicationConfigurationTemplateID *string `locationName:"replicationConfigurationTemplateID" min:"21" type:"string" required:"true"` + + // Replication Configuration template server instance type. + ReplicationServerInstanceType *string `locationName:"replicationServerInstanceType" type:"string"` + + // Replication Configuration template server Security Groups IDs. + ReplicationServersSecurityGroupsIDs []*string `locationName:"replicationServersSecurityGroupsIDs" type:"list"` + + // Replication Configuration template Staging Area subnet ID. + StagingAreaSubnetId *string `locationName:"stagingAreaSubnetId" type:"string"` + + // Replication Configuration template Staging Area Tags. + // + // StagingAreaTags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateReplicationConfigurationTemplateOutput's + // String and GoString methods. + StagingAreaTags map[string]*string `locationName:"stagingAreaTags" type:"map" sensitive:"true"` + + // Replication Configuration template Tags. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by CreateReplicationConfigurationTemplateOutput's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Replication Configuration template use Dedicated Replication Server. + UseDedicatedReplicationServer *bool `locationName:"useDedicatedReplicationServer" type:"boolean"` } // String returns the string representation. @@ -6367,7 +8048,7 @@ type ChangeServerLifeCycleStateSourceServerLifecycle struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ChangeServerLifeCycleStateSourceServerLifecycle) String() string { +func (s CreateReplicationConfigurationTemplateOutput) String() string { return awsutil.Prettify(s) } @@ -6376,120 +8057,115 @@ func (s ChangeServerLifeCycleStateSourceServerLifecycle) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ChangeServerLifeCycleStateSourceServerLifecycle) GoString() string { +func (s CreateReplicationConfigurationTemplateOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ChangeServerLifeCycleStateSourceServerLifecycle) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ChangeServerLifeCycleStateSourceServerLifecycle"} - if s.State == nil { - invalidParams.Add(request.NewErrParamRequired("State")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetArn(v string) *CreateReplicationConfigurationTemplateOutput { + s.Arn = &v + return s } -// SetState sets the State field's value. -func (s *ChangeServerLifeCycleStateSourceServerLifecycle) SetState(v string) *ChangeServerLifeCycleStateSourceServerLifecycle { - s.State = &v +// SetAssociateDefaultSecurityGroup sets the AssociateDefaultSecurityGroup field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetAssociateDefaultSecurityGroup(v bool) *CreateReplicationConfigurationTemplateOutput { + s.AssociateDefaultSecurityGroup = &v return s } -// The request could not be completed due to a conflict with the current state -// of the target resource. -type ConflictException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Code_ *string `locationName:"code" type:"string"` - - // Conflict Exception specific errors. - Errors []*ErrorDetails `locationName:"errors" type:"list"` +// SetBandwidthThrottling sets the BandwidthThrottling field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetBandwidthThrottling(v int64) *CreateReplicationConfigurationTemplateOutput { + s.BandwidthThrottling = &v + return s +} - Message_ *string `locationName:"message" type:"string"` +// SetCreatePublicIP sets the CreatePublicIP field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetCreatePublicIP(v bool) *CreateReplicationConfigurationTemplateOutput { + s.CreatePublicIP = &v + return s +} - // A conflict occurred when prompting for the Resource ID. - ResourceId *string `locationName:"resourceId" type:"string"` +// SetDataPlaneRouting sets the DataPlaneRouting field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetDataPlaneRouting(v string) *CreateReplicationConfigurationTemplateOutput { + s.DataPlaneRouting = &v + return s +} - // A conflict occurred when prompting for resource type. - ResourceType *string `locationName:"resourceType" type:"string"` +// SetDefaultLargeStagingDiskType sets the DefaultLargeStagingDiskType field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetDefaultLargeStagingDiskType(v string) *CreateReplicationConfigurationTemplateOutput { + s.DefaultLargeStagingDiskType = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ConflictException) String() string { - return awsutil.Prettify(s) +// SetEbsEncryption sets the EbsEncryption field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetEbsEncryption(v string) *CreateReplicationConfigurationTemplateOutput { + s.EbsEncryption = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s ConflictException) GoString() string { - return s.String() +// SetEbsEncryptionKeyArn sets the EbsEncryptionKeyArn field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetEbsEncryptionKeyArn(v string) *CreateReplicationConfigurationTemplateOutput { + s.EbsEncryptionKeyArn = &v + return s } -func newErrorConflictException(v protocol.ResponseMetadata) error { - return &ConflictException{ - RespMetadata: v, - } +// SetReplicationConfigurationTemplateID sets the ReplicationConfigurationTemplateID field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetReplicationConfigurationTemplateID(v string) *CreateReplicationConfigurationTemplateOutput { + s.ReplicationConfigurationTemplateID = &v + return s } -// Code returns the exception type name. -func (s *ConflictException) Code() string { - return "ConflictException" +// SetReplicationServerInstanceType sets the ReplicationServerInstanceType field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetReplicationServerInstanceType(v string) *CreateReplicationConfigurationTemplateOutput { + s.ReplicationServerInstanceType = &v + return s } -// Message returns the exception's message. -func (s *ConflictException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetReplicationServersSecurityGroupsIDs sets the ReplicationServersSecurityGroupsIDs field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetReplicationServersSecurityGroupsIDs(v []*string) *CreateReplicationConfigurationTemplateOutput { + s.ReplicationServersSecurityGroupsIDs = v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ConflictException) OrigErr() error { - return nil +// SetStagingAreaSubnetId sets the StagingAreaSubnetId field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetStagingAreaSubnetId(v string) *CreateReplicationConfigurationTemplateOutput { + s.StagingAreaSubnetId = &v + return s } -func (s *ConflictException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetStagingAreaTags sets the StagingAreaTags field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetStagingAreaTags(v map[string]*string) *CreateReplicationConfigurationTemplateOutput { + s.StagingAreaTags = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ConflictException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetTags sets the Tags field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetTags(v map[string]*string) *CreateReplicationConfigurationTemplateOutput { + s.Tags = v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ConflictException) RequestID() string { - return s.RespMetadata.RequestID +// SetUseDedicatedReplicationServer sets the UseDedicatedReplicationServer field's value. +func (s *CreateReplicationConfigurationTemplateOutput) SetUseDedicatedReplicationServer(v bool) *CreateReplicationConfigurationTemplateOutput { + s.UseDedicatedReplicationServer = &v + return s } -type CreateApplicationInput struct { +type CreateWaveInput struct { _ struct{} `type:"structure"` - // Application description. + // Wave description. Description *string `locationName:"description" type:"string"` - // Application name. + // Wave name. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // Application tags. + // Wave tags. // // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateApplicationInput's + // replaced with "sensitive" in string returned by CreateWaveInput's // String and GoString methods. Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` } @@ -6499,7 +8175,7 @@ type CreateApplicationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateApplicationInput) String() string { +func (s CreateWaveInput) String() string { return awsutil.Prettify(s) } @@ -6508,13 +8184,13 @@ func (s CreateApplicationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateApplicationInput) GoString() string { +func (s CreateWaveInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateApplicationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateApplicationInput"} +func (s *CreateWaveInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateWaveInput"} if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } @@ -6529,58 +8205,55 @@ func (s *CreateApplicationInput) Validate() error { } // SetDescription sets the Description field's value. -func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput { +func (s *CreateWaveInput) SetDescription(v string) *CreateWaveInput { s.Description = &v return s } // SetName sets the Name field's value. -func (s *CreateApplicationInput) SetName(v string) *CreateApplicationInput { +func (s *CreateWaveInput) SetName(v string) *CreateWaveInput { s.Name = &v return s } // SetTags sets the Tags field's value. -func (s *CreateApplicationInput) SetTags(v map[string]*string) *CreateApplicationInput { +func (s *CreateWaveInput) SetTags(v map[string]*string) *CreateWaveInput { s.Tags = v return s } -type CreateApplicationOutput struct { +type CreateWaveOutput struct { _ struct{} `type:"structure"` - // Application aggregated status. - ApplicationAggregatedStatus *ApplicationAggregatedStatus `locationName:"applicationAggregatedStatus" type:"structure"` - - // Application ID. - ApplicationID *string `locationName:"applicationID" min:"21" type:"string"` - - // Application ARN. + // Wave ARN. Arn *string `locationName:"arn" min:"20" type:"string"` - // Application creation dateTime. + // Wave creation dateTime. CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` - // Application description. + // Wave description. Description *string `locationName:"description" type:"string"` - // Application archival status. + // Wave archival status. IsArchived *bool `locationName:"isArchived" type:"boolean"` - // Application last modified dateTime. + // Wave last modified dateTime. LastModifiedDateTime *string `locationName:"lastModifiedDateTime" min:"19" type:"string"` - // Application name. + // Wave name. Name *string `locationName:"name" min:"1" type:"string"` - // Application tags. + // Wave tags. // // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateApplicationOutput's + // replaced with "sensitive" in string returned by CreateWaveOutput's // String and GoString methods. Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` - // Application wave ID. + // Wave aggregated status. + WaveAggregatedStatus *WaveAggregatedStatus `locationName:"waveAggregatedStatus" type:"structure"` + + // Wave ID. WaveID *string `locationName:"waveID" min:"22" type:"string"` } @@ -6589,7 +8262,7 @@ type CreateApplicationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateApplicationOutput) String() string { +func (s CreateWaveOutput) String() string { return awsutil.Prettify(s) } @@ -6598,118 +8271,73 @@ func (s CreateApplicationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateApplicationOutput) GoString() string { +func (s CreateWaveOutput) GoString() string { return s.String() } -// SetApplicationAggregatedStatus sets the ApplicationAggregatedStatus field's value. -func (s *CreateApplicationOutput) SetApplicationAggregatedStatus(v *ApplicationAggregatedStatus) *CreateApplicationOutput { - s.ApplicationAggregatedStatus = v - return s -} - -// SetApplicationID sets the ApplicationID field's value. -func (s *CreateApplicationOutput) SetApplicationID(v string) *CreateApplicationOutput { - s.ApplicationID = &v - return s -} - // SetArn sets the Arn field's value. -func (s *CreateApplicationOutput) SetArn(v string) *CreateApplicationOutput { +func (s *CreateWaveOutput) SetArn(v string) *CreateWaveOutput { s.Arn = &v return s } // SetCreationDateTime sets the CreationDateTime field's value. -func (s *CreateApplicationOutput) SetCreationDateTime(v string) *CreateApplicationOutput { +func (s *CreateWaveOutput) SetCreationDateTime(v string) *CreateWaveOutput { s.CreationDateTime = &v return s } // SetDescription sets the Description field's value. -func (s *CreateApplicationOutput) SetDescription(v string) *CreateApplicationOutput { +func (s *CreateWaveOutput) SetDescription(v string) *CreateWaveOutput { s.Description = &v return s } // SetIsArchived sets the IsArchived field's value. -func (s *CreateApplicationOutput) SetIsArchived(v bool) *CreateApplicationOutput { +func (s *CreateWaveOutput) SetIsArchived(v bool) *CreateWaveOutput { s.IsArchived = &v return s } // SetLastModifiedDateTime sets the LastModifiedDateTime field's value. -func (s *CreateApplicationOutput) SetLastModifiedDateTime(v string) *CreateApplicationOutput { +func (s *CreateWaveOutput) SetLastModifiedDateTime(v string) *CreateWaveOutput { s.LastModifiedDateTime = &v return s } // SetName sets the Name field's value. -func (s *CreateApplicationOutput) SetName(v string) *CreateApplicationOutput { +func (s *CreateWaveOutput) SetName(v string) *CreateWaveOutput { s.Name = &v return s } // SetTags sets the Tags field's value. -func (s *CreateApplicationOutput) SetTags(v map[string]*string) *CreateApplicationOutput { +func (s *CreateWaveOutput) SetTags(v map[string]*string) *CreateWaveOutput { s.Tags = v return s } +// SetWaveAggregatedStatus sets the WaveAggregatedStatus field's value. +func (s *CreateWaveOutput) SetWaveAggregatedStatus(v *WaveAggregatedStatus) *CreateWaveOutput { + s.WaveAggregatedStatus = v + return s +} + // SetWaveID sets the WaveID field's value. -func (s *CreateApplicationOutput) SetWaveID(v string) *CreateApplicationOutput { +func (s *CreateWaveOutput) SetWaveID(v string) *CreateWaveOutput { s.WaveID = &v return s } -type CreateLaunchConfigurationTemplateInput struct { +// Error in data replication. +type DataReplicationError struct { _ struct{} `type:"structure"` - // Associate public Ip address. - AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` - - // Launch configuration template boot mode. - BootMode *string `locationName:"bootMode" type:"string" enum:"BootMode"` - - // Copy private Ip. - CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` - - // Copy tags. - CopyTags *bool `locationName:"copyTags" type:"boolean"` - - // Enable map auto tagging. - EnableMapAutoTagging *bool `locationName:"enableMapAutoTagging" type:"boolean"` - - // Large volume config. - LargeVolumeConf *LaunchTemplateDiskConf `locationName:"largeVolumeConf" type:"structure"` - - // Launch disposition. - LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` - - // Configure Licensing. - Licensing *Licensing `locationName:"licensing" type:"structure"` - - // Launch configuration template map auto tagging MPE ID. - MapAutoTaggingMpeID *string `locationName:"mapAutoTaggingMpeID" type:"string"` - - // Launch configuration template post launch actions. - PostLaunchActions *PostLaunchActions `locationName:"postLaunchActions" type:"structure"` - - // Small volume config. - SmallVolumeConf *LaunchTemplateDiskConf `locationName:"smallVolumeConf" type:"structure"` - - // Small volume maximum size. - SmallVolumeMaxSize *int64 `locationName:"smallVolumeMaxSize" type:"long"` - - // Request to associate tags during creation of a Launch Configuration Template. - // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateLaunchConfigurationTemplateInput's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Error in data replication. + Error *string `locationName:"error" type:"string" enum:"DataReplicationErrorString"` - // Target instance type right-sizing method. - TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` + // Error in data replication. + RawError *string `locationName:"rawError" type:"string"` } // String returns the string representation. @@ -6717,7 +8345,7 @@ type CreateLaunchConfigurationTemplateInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateLaunchConfigurationTemplateInput) String() string { +func (s DataReplicationError) String() string { return awsutil.Prettify(s) } @@ -6726,168 +8354,188 @@ func (s CreateLaunchConfigurationTemplateInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateLaunchConfigurationTemplateInput) GoString() string { +func (s DataReplicationError) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateLaunchConfigurationTemplateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateLaunchConfigurationTemplateInput"} - if s.PostLaunchActions != nil { - if err := s.PostLaunchActions.Validate(); err != nil { - invalidParams.AddNested("PostLaunchActions", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetAssociatePublicIpAddress(v bool) *CreateLaunchConfigurationTemplateInput { - s.AssociatePublicIpAddress = &v +// SetError sets the Error field's value. +func (s *DataReplicationError) SetError(v string) *DataReplicationError { + s.Error = &v return s } -// SetBootMode sets the BootMode field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetBootMode(v string) *CreateLaunchConfigurationTemplateInput { - s.BootMode = &v +// SetRawError sets the RawError field's value. +func (s *DataReplicationError) SetRawError(v string) *DataReplicationError { + s.RawError = &v return s } -// SetCopyPrivateIp sets the CopyPrivateIp field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetCopyPrivateIp(v bool) *CreateLaunchConfigurationTemplateInput { - s.CopyPrivateIp = &v - return s -} +// Request data replication info. +type DataReplicationInfo struct { + _ struct{} `type:"structure"` -// SetCopyTags sets the CopyTags field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetCopyTags(v bool) *CreateLaunchConfigurationTemplateInput { - s.CopyTags = &v - return s -} + // Error in obtaining data replication info. + DataReplicationError *DataReplicationError `locationName:"dataReplicationError" type:"structure"` -// SetEnableMapAutoTagging sets the EnableMapAutoTagging field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetEnableMapAutoTagging(v bool) *CreateLaunchConfigurationTemplateInput { - s.EnableMapAutoTagging = &v - return s -} + // Request to query whether data replication has been initiated. + DataReplicationInitiation *DataReplicationInitiation `locationName:"dataReplicationInitiation" type:"structure"` -// SetLargeVolumeConf sets the LargeVolumeConf field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetLargeVolumeConf(v *LaunchTemplateDiskConf) *CreateLaunchConfigurationTemplateInput { - s.LargeVolumeConf = v - return s + // Request to query the data replication state. + DataReplicationState *string `locationName:"dataReplicationState" type:"string" enum:"DataReplicationState"` + + // Request to query the time when data replication will be complete. + EtaDateTime *string `locationName:"etaDateTime" min:"19" type:"string"` + + // Request to query data replication lag duration. + LagDuration *string `locationName:"lagDuration" min:"1" type:"string"` + + // Request to query data replication last snapshot time. + LastSnapshotDateTime *string `locationName:"lastSnapshotDateTime" min:"19" type:"string"` + + // Request to query disks replicated. + ReplicatedDisks []*DataReplicationInfoReplicatedDisk `locationName:"replicatedDisks" type:"list"` } -// SetLaunchDisposition sets the LaunchDisposition field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetLaunchDisposition(v string) *CreateLaunchConfigurationTemplateInput { - s.LaunchDisposition = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataReplicationInfo) String() string { + return awsutil.Prettify(s) } -// SetLicensing sets the Licensing field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetLicensing(v *Licensing) *CreateLaunchConfigurationTemplateInput { - s.Licensing = v +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataReplicationInfo) GoString() string { + return s.String() +} + +// SetDataReplicationError sets the DataReplicationError field's value. +func (s *DataReplicationInfo) SetDataReplicationError(v *DataReplicationError) *DataReplicationInfo { + s.DataReplicationError = v return s } -// SetMapAutoTaggingMpeID sets the MapAutoTaggingMpeID field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetMapAutoTaggingMpeID(v string) *CreateLaunchConfigurationTemplateInput { - s.MapAutoTaggingMpeID = &v +// SetDataReplicationInitiation sets the DataReplicationInitiation field's value. +func (s *DataReplicationInfo) SetDataReplicationInitiation(v *DataReplicationInitiation) *DataReplicationInfo { + s.DataReplicationInitiation = v return s } -// SetPostLaunchActions sets the PostLaunchActions field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetPostLaunchActions(v *PostLaunchActions) *CreateLaunchConfigurationTemplateInput { - s.PostLaunchActions = v +// SetDataReplicationState sets the DataReplicationState field's value. +func (s *DataReplicationInfo) SetDataReplicationState(v string) *DataReplicationInfo { + s.DataReplicationState = &v return s } -// SetSmallVolumeConf sets the SmallVolumeConf field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetSmallVolumeConf(v *LaunchTemplateDiskConf) *CreateLaunchConfigurationTemplateInput { - s.SmallVolumeConf = v +// SetEtaDateTime sets the EtaDateTime field's value. +func (s *DataReplicationInfo) SetEtaDateTime(v string) *DataReplicationInfo { + s.EtaDateTime = &v return s } -// SetSmallVolumeMaxSize sets the SmallVolumeMaxSize field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetSmallVolumeMaxSize(v int64) *CreateLaunchConfigurationTemplateInput { - s.SmallVolumeMaxSize = &v +// SetLagDuration sets the LagDuration field's value. +func (s *DataReplicationInfo) SetLagDuration(v string) *DataReplicationInfo { + s.LagDuration = &v return s } -// SetTags sets the Tags field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetTags(v map[string]*string) *CreateLaunchConfigurationTemplateInput { - s.Tags = v +// SetLastSnapshotDateTime sets the LastSnapshotDateTime field's value. +func (s *DataReplicationInfo) SetLastSnapshotDateTime(v string) *DataReplicationInfo { + s.LastSnapshotDateTime = &v return s } -// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. -func (s *CreateLaunchConfigurationTemplateInput) SetTargetInstanceTypeRightSizingMethod(v string) *CreateLaunchConfigurationTemplateInput { - s.TargetInstanceTypeRightSizingMethod = &v +// SetReplicatedDisks sets the ReplicatedDisks field's value. +func (s *DataReplicationInfo) SetReplicatedDisks(v []*DataReplicationInfoReplicatedDisk) *DataReplicationInfo { + s.ReplicatedDisks = v return s } -type CreateLaunchConfigurationTemplateOutput struct { +// Request to query disks replicated. +type DataReplicationInfoReplicatedDisk struct { _ struct{} `type:"structure"` - // ARN of the Launch Configuration Template. - Arn *string `locationName:"arn" min:"20" type:"string"` - - // Associate public Ip address. - AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` + // Request to query data replication backlog size in bytes. + BackloggedStorageBytes *int64 `locationName:"backloggedStorageBytes" type:"long"` - // Launch configuration template boot mode. - BootMode *string `locationName:"bootMode" type:"string" enum:"BootMode"` + // Request to query device name. + DeviceName *string `locationName:"deviceName" type:"string"` - // Copy private Ip. - CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` + // Request to query amount of data replicated in bytes. + ReplicatedStorageBytes *int64 `locationName:"replicatedStorageBytes" type:"long"` - // Copy tags. - CopyTags *bool `locationName:"copyTags" type:"boolean"` + // Request to query amount of data rescanned in bytes. + RescannedStorageBytes *int64 `locationName:"rescannedStorageBytes" type:"long"` - // EC2 launch template ID. - Ec2LaunchTemplateID *string `locationName:"ec2LaunchTemplateID" min:"20" type:"string"` + // Request to query total amount of data replicated in bytes. + TotalStorageBytes *int64 `locationName:"totalStorageBytes" type:"long"` +} - // Enable map auto tagging. - EnableMapAutoTagging *bool `locationName:"enableMapAutoTagging" type:"boolean"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataReplicationInfoReplicatedDisk) String() string { + return awsutil.Prettify(s) +} - // Large volume config. - LargeVolumeConf *LaunchTemplateDiskConf `locationName:"largeVolumeConf" type:"structure"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataReplicationInfoReplicatedDisk) GoString() string { + return s.String() +} - // ID of the Launch Configuration Template. - // - // LaunchConfigurationTemplateID is a required field - LaunchConfigurationTemplateID *string `locationName:"launchConfigurationTemplateID" min:"21" type:"string" required:"true"` +// SetBackloggedStorageBytes sets the BackloggedStorageBytes field's value. +func (s *DataReplicationInfoReplicatedDisk) SetBackloggedStorageBytes(v int64) *DataReplicationInfoReplicatedDisk { + s.BackloggedStorageBytes = &v + return s +} - // Launch disposition. - LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` +// SetDeviceName sets the DeviceName field's value. +func (s *DataReplicationInfoReplicatedDisk) SetDeviceName(v string) *DataReplicationInfoReplicatedDisk { + s.DeviceName = &v + return s +} - // Configure Licensing. - Licensing *Licensing `locationName:"licensing" type:"structure"` +// SetReplicatedStorageBytes sets the ReplicatedStorageBytes field's value. +func (s *DataReplicationInfoReplicatedDisk) SetReplicatedStorageBytes(v int64) *DataReplicationInfoReplicatedDisk { + s.ReplicatedStorageBytes = &v + return s +} - // Launch configuration template map auto tagging MPE ID. - MapAutoTaggingMpeID *string `locationName:"mapAutoTaggingMpeID" type:"string"` +// SetRescannedStorageBytes sets the RescannedStorageBytes field's value. +func (s *DataReplicationInfoReplicatedDisk) SetRescannedStorageBytes(v int64) *DataReplicationInfoReplicatedDisk { + s.RescannedStorageBytes = &v + return s +} - // Post Launch Actions of the Launch Configuration Template. - PostLaunchActions *PostLaunchActions `locationName:"postLaunchActions" type:"structure"` +// SetTotalStorageBytes sets the TotalStorageBytes field's value. +func (s *DataReplicationInfoReplicatedDisk) SetTotalStorageBytes(v int64) *DataReplicationInfoReplicatedDisk { + s.TotalStorageBytes = &v + return s +} - // Small volume config. - SmallVolumeConf *LaunchTemplateDiskConf `locationName:"smallVolumeConf" type:"structure"` +// Data replication initiation. +type DataReplicationInitiation struct { + _ struct{} `type:"structure"` - // Small volume maximum size. - SmallVolumeMaxSize *int64 `locationName:"smallVolumeMaxSize" type:"long"` + // Request to query next data initiation date and time. + NextAttemptDateTime *string `locationName:"nextAttemptDateTime" min:"19" type:"string"` - // Tags of the Launch Configuration Template. - // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateLaunchConfigurationTemplateOutput's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Request to query data initiation start date and time. + StartDateTime *string `locationName:"startDateTime" min:"19" type:"string"` - // Target instance type right-sizing method. - TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` + // Request to query data initiation steps. + Steps []*DataReplicationInitiationStep `locationName:"steps" type:"list"` } // String returns the string representation. @@ -6895,7 +8543,7 @@ type CreateLaunchConfigurationTemplateOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateLaunchConfigurationTemplateOutput) String() string { +func (s DataReplicationInitiation) String() string { return awsutil.Prettify(s) } @@ -6904,194 +8552,218 @@ func (s CreateLaunchConfigurationTemplateOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateLaunchConfigurationTemplateOutput) GoString() string { +func (s DataReplicationInitiation) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetArn(v string) *CreateLaunchConfigurationTemplateOutput { - s.Arn = &v +// SetNextAttemptDateTime sets the NextAttemptDateTime field's value. +func (s *DataReplicationInitiation) SetNextAttemptDateTime(v string) *DataReplicationInitiation { + s.NextAttemptDateTime = &v return s } -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetAssociatePublicIpAddress(v bool) *CreateLaunchConfigurationTemplateOutput { - s.AssociatePublicIpAddress = &v +// SetStartDateTime sets the StartDateTime field's value. +func (s *DataReplicationInitiation) SetStartDateTime(v string) *DataReplicationInitiation { + s.StartDateTime = &v return s } -// SetBootMode sets the BootMode field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetBootMode(v string) *CreateLaunchConfigurationTemplateOutput { - s.BootMode = &v +// SetSteps sets the Steps field's value. +func (s *DataReplicationInitiation) SetSteps(v []*DataReplicationInitiationStep) *DataReplicationInitiation { + s.Steps = v return s } -// SetCopyPrivateIp sets the CopyPrivateIp field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetCopyPrivateIp(v bool) *CreateLaunchConfigurationTemplateOutput { - s.CopyPrivateIp = &v - return s -} +// Data replication initiation step. +type DataReplicationInitiationStep struct { + _ struct{} `type:"structure"` -// SetCopyTags sets the CopyTags field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetCopyTags(v bool) *CreateLaunchConfigurationTemplateOutput { - s.CopyTags = &v - return s + // Request to query data initiation step name. + Name *string `locationName:"name" type:"string" enum:"DataReplicationInitiationStepName"` + + // Request to query data initiation status. + Status *string `locationName:"status" type:"string" enum:"DataReplicationInitiationStepStatus"` } -// SetEc2LaunchTemplateID sets the Ec2LaunchTemplateID field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetEc2LaunchTemplateID(v string) *CreateLaunchConfigurationTemplateOutput { - s.Ec2LaunchTemplateID = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataReplicationInitiationStep) String() string { + return awsutil.Prettify(s) } -// SetEnableMapAutoTagging sets the EnableMapAutoTagging field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetEnableMapAutoTagging(v bool) *CreateLaunchConfigurationTemplateOutput { - s.EnableMapAutoTagging = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DataReplicationInitiationStep) GoString() string { + return s.String() } -// SetLargeVolumeConf sets the LargeVolumeConf field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetLargeVolumeConf(v *LaunchTemplateDiskConf) *CreateLaunchConfigurationTemplateOutput { - s.LargeVolumeConf = v +// SetName sets the Name field's value. +func (s *DataReplicationInitiationStep) SetName(v string) *DataReplicationInitiationStep { + s.Name = &v return s } -// SetLaunchConfigurationTemplateID sets the LaunchConfigurationTemplateID field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetLaunchConfigurationTemplateID(v string) *CreateLaunchConfigurationTemplateOutput { - s.LaunchConfigurationTemplateID = &v +// SetStatus sets the Status field's value. +func (s *DataReplicationInitiationStep) SetStatus(v string) *DataReplicationInitiationStep { + s.Status = &v return s } -// SetLaunchDisposition sets the LaunchDisposition field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetLaunchDisposition(v string) *CreateLaunchConfigurationTemplateOutput { - s.LaunchDisposition = &v - return s +type DeleteApplicationInput struct { + _ struct{} `type:"structure"` + + // Application ID. + // + // ApplicationID is a required field + ApplicationID *string `locationName:"applicationID" min:"21" type:"string" required:"true"` } -// SetLicensing sets the Licensing field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetLicensing(v *Licensing) *CreateLaunchConfigurationTemplateOutput { - s.Licensing = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteApplicationInput) String() string { + return awsutil.Prettify(s) } -// SetMapAutoTaggingMpeID sets the MapAutoTaggingMpeID field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetMapAutoTaggingMpeID(v string) *CreateLaunchConfigurationTemplateOutput { - s.MapAutoTaggingMpeID = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteApplicationInput) GoString() string { + return s.String() } -// SetPostLaunchActions sets the PostLaunchActions field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetPostLaunchActions(v *PostLaunchActions) *CreateLaunchConfigurationTemplateOutput { - s.PostLaunchActions = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteApplicationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteApplicationInput"} + if s.ApplicationID == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationID")) + } + if s.ApplicationID != nil && len(*s.ApplicationID) < 21 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationID", 21)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetSmallVolumeConf sets the SmallVolumeConf field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetSmallVolumeConf(v *LaunchTemplateDiskConf) *CreateLaunchConfigurationTemplateOutput { - s.SmallVolumeConf = v +// SetApplicationID sets the ApplicationID field's value. +func (s *DeleteApplicationInput) SetApplicationID(v string) *DeleteApplicationInput { + s.ApplicationID = &v return s } -// SetSmallVolumeMaxSize sets the SmallVolumeMaxSize field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetSmallVolumeMaxSize(v int64) *CreateLaunchConfigurationTemplateOutput { - s.SmallVolumeMaxSize = &v - return s +type DeleteApplicationOutput struct { + _ struct{} `type:"structure"` } -// SetTags sets the Tags field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetTags(v map[string]*string) *CreateLaunchConfigurationTemplateOutput { - s.Tags = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteApplicationOutput) String() string { + return awsutil.Prettify(s) } -// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. -func (s *CreateLaunchConfigurationTemplateOutput) SetTargetInstanceTypeRightSizingMethod(v string) *CreateLaunchConfigurationTemplateOutput { - s.TargetInstanceTypeRightSizingMethod = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteApplicationOutput) GoString() string { + return s.String() } -type CreateReplicationConfigurationTemplateInput struct { +type DeleteJobInput struct { _ struct{} `type:"structure"` - // Request to associate the default Application Migration Service Security group - // with the Replication Settings template. - // - // AssociateDefaultSecurityGroup is a required field - AssociateDefaultSecurityGroup *bool `locationName:"associateDefaultSecurityGroup" type:"boolean" required:"true"` - - // Request to configure bandwidth throttling during Replication Settings template - // creation. - // - // BandwidthThrottling is a required field - BandwidthThrottling *int64 `locationName:"bandwidthThrottling" type:"long" required:"true"` - - // Request to create Public IP during Replication Settings template creation. + // Request to delete Job from service by Job ID. // - // CreatePublicIP is a required field - CreatePublicIP *bool `locationName:"createPublicIP" type:"boolean" required:"true"` + // JobID is a required field + JobID *string `locationName:"jobID" min:"24" type:"string" required:"true"` +} - // Request to configure data plane routing during Replication Settings template - // creation. - // - // DataPlaneRouting is a required field - DataPlaneRouting *string `locationName:"dataPlaneRouting" type:"string" required:"true" enum:"ReplicationConfigurationDataPlaneRouting"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteJobInput) String() string { + return awsutil.Prettify(s) +} - // Request to configure the default large staging disk EBS volume type during - // Replication Settings template creation. - // - // DefaultLargeStagingDiskType is a required field - DefaultLargeStagingDiskType *string `locationName:"defaultLargeStagingDiskType" type:"string" required:"true" enum:"ReplicationConfigurationDefaultLargeStagingDiskType"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteJobInput) GoString() string { + return s.String() +} - // Request to configure EBS encryption during Replication Settings template - // creation. - // - // EbsEncryption is a required field - EbsEncryption *string `locationName:"ebsEncryption" type:"string" required:"true" enum:"ReplicationConfigurationEbsEncryption"` +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteJobInput"} + if s.JobID == nil { + invalidParams.Add(request.NewErrParamRequired("JobID")) + } + if s.JobID != nil && len(*s.JobID) < 24 { + invalidParams.Add(request.NewErrParamMinLen("JobID", 24)) + } - // Request to configure an EBS encryption key during Replication Settings template - // creation. - EbsEncryptionKeyArn *string `locationName:"ebsEncryptionKeyArn" min:"20" type:"string"` + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} - // Request to configure the Replication Server instance type during Replication - // Settings template creation. - // - // ReplicationServerInstanceType is a required field - ReplicationServerInstanceType *string `locationName:"replicationServerInstanceType" type:"string" required:"true"` +// SetJobID sets the JobID field's value. +func (s *DeleteJobInput) SetJobID(v string) *DeleteJobInput { + s.JobID = &v + return s +} - // Request to configure the Replication Server Security group ID during Replication - // Settings template creation. - // - // ReplicationServersSecurityGroupsIDs is a required field - ReplicationServersSecurityGroupsIDs []*string `locationName:"replicationServersSecurityGroupsIDs" type:"list" required:"true"` +type DeleteJobOutput struct { + _ struct{} `type:"structure"` +} - // Request to configure the Staging Area subnet ID during Replication Settings - // template creation. - // - // StagingAreaSubnetId is a required field - StagingAreaSubnetId *string `locationName:"stagingAreaSubnetId" type:"string" required:"true"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteJobOutput) String() string { + return awsutil.Prettify(s) +} - // Request to configure Staging Area tags during Replication Settings template - // creation. - // - // StagingAreaTags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateReplicationConfigurationTemplateInput's - // String and GoString methods. - // - // StagingAreaTags is a required field - StagingAreaTags map[string]*string `locationName:"stagingAreaTags" type:"map" required:"true" sensitive:"true"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteJobOutput) GoString() string { + return s.String() +} - // Request to configure tags during Replication Settings template creation. - // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateReplicationConfigurationTemplateInput's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` +type DeleteLaunchConfigurationTemplateInput struct { + _ struct{} `type:"structure"` - // Request to use Dedicated Replication Servers during Replication Settings - // template creation. + // ID of resource to be deleted. // - // UseDedicatedReplicationServer is a required field - UseDedicatedReplicationServer *bool `locationName:"useDedicatedReplicationServer" type:"boolean" required:"true"` + // LaunchConfigurationTemplateID is a required field + LaunchConfigurationTemplateID *string `locationName:"launchConfigurationTemplateID" min:"21" type:"string" required:"true"` } // String returns the string representation. @@ -7099,7 +8771,7 @@ type CreateReplicationConfigurationTemplateInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateReplicationConfigurationTemplateInput) String() string { +func (s DeleteLaunchConfigurationTemplateInput) String() string { return awsutil.Prettify(s) } @@ -7108,48 +8780,18 @@ func (s CreateReplicationConfigurationTemplateInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateReplicationConfigurationTemplateInput) GoString() string { +func (s DeleteLaunchConfigurationTemplateInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateReplicationConfigurationTemplateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateReplicationConfigurationTemplateInput"} - if s.AssociateDefaultSecurityGroup == nil { - invalidParams.Add(request.NewErrParamRequired("AssociateDefaultSecurityGroup")) - } - if s.BandwidthThrottling == nil { - invalidParams.Add(request.NewErrParamRequired("BandwidthThrottling")) - } - if s.CreatePublicIP == nil { - invalidParams.Add(request.NewErrParamRequired("CreatePublicIP")) - } - if s.DataPlaneRouting == nil { - invalidParams.Add(request.NewErrParamRequired("DataPlaneRouting")) - } - if s.DefaultLargeStagingDiskType == nil { - invalidParams.Add(request.NewErrParamRequired("DefaultLargeStagingDiskType")) - } - if s.EbsEncryption == nil { - invalidParams.Add(request.NewErrParamRequired("EbsEncryption")) - } - if s.EbsEncryptionKeyArn != nil && len(*s.EbsEncryptionKeyArn) < 20 { - invalidParams.Add(request.NewErrParamMinLen("EbsEncryptionKeyArn", 20)) - } - if s.ReplicationServerInstanceType == nil { - invalidParams.Add(request.NewErrParamRequired("ReplicationServerInstanceType")) - } - if s.ReplicationServersSecurityGroupsIDs == nil { - invalidParams.Add(request.NewErrParamRequired("ReplicationServersSecurityGroupsIDs")) - } - if s.StagingAreaSubnetId == nil { - invalidParams.Add(request.NewErrParamRequired("StagingAreaSubnetId")) - } - if s.StagingAreaTags == nil { - invalidParams.Add(request.NewErrParamRequired("StagingAreaTags")) +func (s *DeleteLaunchConfigurationTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteLaunchConfigurationTemplateInput"} + if s.LaunchConfigurationTemplateID == nil { + invalidParams.Add(request.NewErrParamRequired("LaunchConfigurationTemplateID")) } - if s.UseDedicatedReplicationServer == nil { - invalidParams.Add(request.NewErrParamRequired("UseDedicatedReplicationServer")) + if s.LaunchConfigurationTemplateID != nil && len(*s.LaunchConfigurationTemplateID) < 21 { + invalidParams.Add(request.NewErrParamMinLen("LaunchConfigurationTemplateID", 21)) } if invalidParams.Len() > 0 { @@ -7158,142 +8800,113 @@ func (s *CreateReplicationConfigurationTemplateInput) Validate() error { return nil } -// SetAssociateDefaultSecurityGroup sets the AssociateDefaultSecurityGroup field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetAssociateDefaultSecurityGroup(v bool) *CreateReplicationConfigurationTemplateInput { - s.AssociateDefaultSecurityGroup = &v - return s -} - -// SetBandwidthThrottling sets the BandwidthThrottling field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetBandwidthThrottling(v int64) *CreateReplicationConfigurationTemplateInput { - s.BandwidthThrottling = &v - return s -} - -// SetCreatePublicIP sets the CreatePublicIP field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetCreatePublicIP(v bool) *CreateReplicationConfigurationTemplateInput { - s.CreatePublicIP = &v - return s -} - -// SetDataPlaneRouting sets the DataPlaneRouting field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetDataPlaneRouting(v string) *CreateReplicationConfigurationTemplateInput { - s.DataPlaneRouting = &v - return s -} - -// SetDefaultLargeStagingDiskType sets the DefaultLargeStagingDiskType field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetDefaultLargeStagingDiskType(v string) *CreateReplicationConfigurationTemplateInput { - s.DefaultLargeStagingDiskType = &v +// SetLaunchConfigurationTemplateID sets the LaunchConfigurationTemplateID field's value. +func (s *DeleteLaunchConfigurationTemplateInput) SetLaunchConfigurationTemplateID(v string) *DeleteLaunchConfigurationTemplateInput { + s.LaunchConfigurationTemplateID = &v return s } -// SetEbsEncryption sets the EbsEncryption field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetEbsEncryption(v string) *CreateReplicationConfigurationTemplateInput { - s.EbsEncryption = &v - return s +type DeleteLaunchConfigurationTemplateOutput struct { + _ struct{} `type:"structure"` } -// SetEbsEncryptionKeyArn sets the EbsEncryptionKeyArn field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetEbsEncryptionKeyArn(v string) *CreateReplicationConfigurationTemplateInput { - s.EbsEncryptionKeyArn = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteLaunchConfigurationTemplateOutput) String() string { + return awsutil.Prettify(s) } -// SetReplicationServerInstanceType sets the ReplicationServerInstanceType field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetReplicationServerInstanceType(v string) *CreateReplicationConfigurationTemplateInput { - s.ReplicationServerInstanceType = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteLaunchConfigurationTemplateOutput) GoString() string { + return s.String() } -// SetReplicationServersSecurityGroupsIDs sets the ReplicationServersSecurityGroupsIDs field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetReplicationServersSecurityGroupsIDs(v []*string) *CreateReplicationConfigurationTemplateInput { - s.ReplicationServersSecurityGroupsIDs = v - return s +type DeleteReplicationConfigurationTemplateInput struct { + _ struct{} `type:"structure"` + + // Request to delete Replication Configuration Template from service by Replication + // Configuration Template ID. + // + // ReplicationConfigurationTemplateID is a required field + ReplicationConfigurationTemplateID *string `locationName:"replicationConfigurationTemplateID" min:"21" type:"string" required:"true"` } -// SetStagingAreaSubnetId sets the StagingAreaSubnetId field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetStagingAreaSubnetId(v string) *CreateReplicationConfigurationTemplateInput { - s.StagingAreaSubnetId = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReplicationConfigurationTemplateInput) String() string { + return awsutil.Prettify(s) } -// SetStagingAreaTags sets the StagingAreaTags field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetStagingAreaTags(v map[string]*string) *CreateReplicationConfigurationTemplateInput { - s.StagingAreaTags = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReplicationConfigurationTemplateInput) GoString() string { + return s.String() } -// SetTags sets the Tags field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetTags(v map[string]*string) *CreateReplicationConfigurationTemplateInput { - s.Tags = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteReplicationConfigurationTemplateInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteReplicationConfigurationTemplateInput"} + if s.ReplicationConfigurationTemplateID == nil { + invalidParams.Add(request.NewErrParamRequired("ReplicationConfigurationTemplateID")) + } + if s.ReplicationConfigurationTemplateID != nil && len(*s.ReplicationConfigurationTemplateID) < 21 { + invalidParams.Add(request.NewErrParamMinLen("ReplicationConfigurationTemplateID", 21)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetUseDedicatedReplicationServer sets the UseDedicatedReplicationServer field's value. -func (s *CreateReplicationConfigurationTemplateInput) SetUseDedicatedReplicationServer(v bool) *CreateReplicationConfigurationTemplateInput { - s.UseDedicatedReplicationServer = &v +// SetReplicationConfigurationTemplateID sets the ReplicationConfigurationTemplateID field's value. +func (s *DeleteReplicationConfigurationTemplateInput) SetReplicationConfigurationTemplateID(v string) *DeleteReplicationConfigurationTemplateInput { + s.ReplicationConfigurationTemplateID = &v return s } -type CreateReplicationConfigurationTemplateOutput struct { +type DeleteReplicationConfigurationTemplateOutput struct { _ struct{} `type:"structure"` +} - // Replication Configuration template ARN. - Arn *string `locationName:"arn" min:"20" type:"string"` - - // Replication Configuration template associate default Application Migration - // Service Security group. - AssociateDefaultSecurityGroup *bool `locationName:"associateDefaultSecurityGroup" type:"boolean"` - - // Replication Configuration template bandwidth throttling. - BandwidthThrottling *int64 `locationName:"bandwidthThrottling" type:"long"` - - // Replication Configuration template create Public IP. - CreatePublicIP *bool `locationName:"createPublicIP" type:"boolean"` - - // Replication Configuration template data plane routing. - DataPlaneRouting *string `locationName:"dataPlaneRouting" type:"string" enum:"ReplicationConfigurationDataPlaneRouting"` - - // Replication Configuration template use default large Staging Disk type. - DefaultLargeStagingDiskType *string `locationName:"defaultLargeStagingDiskType" type:"string" enum:"ReplicationConfigurationDefaultLargeStagingDiskType"` - - // Replication Configuration template EBS encryption. - EbsEncryption *string `locationName:"ebsEncryption" type:"string" enum:"ReplicationConfigurationEbsEncryption"` - - // Replication Configuration template EBS encryption key ARN. - EbsEncryptionKeyArn *string `locationName:"ebsEncryptionKeyArn" min:"20" type:"string"` - - // Replication Configuration template ID. - // - // ReplicationConfigurationTemplateID is a required field - ReplicationConfigurationTemplateID *string `locationName:"replicationConfigurationTemplateID" min:"21" type:"string" required:"true"` - - // Replication Configuration template server instance type. - ReplicationServerInstanceType *string `locationName:"replicationServerInstanceType" type:"string"` - - // Replication Configuration template server Security Groups IDs. - ReplicationServersSecurityGroupsIDs []*string `locationName:"replicationServersSecurityGroupsIDs" type:"list"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReplicationConfigurationTemplateOutput) String() string { + return awsutil.Prettify(s) +} - // Replication Configuration template Staging Area subnet ID. - StagingAreaSubnetId *string `locationName:"stagingAreaSubnetId" type:"string"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteReplicationConfigurationTemplateOutput) GoString() string { + return s.String() +} - // Replication Configuration template Staging Area Tags. - // - // StagingAreaTags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateReplicationConfigurationTemplateOutput's - // String and GoString methods. - StagingAreaTags map[string]*string `locationName:"stagingAreaTags" type:"map" sensitive:"true"` +type DeleteSourceServerInput struct { + _ struct{} `type:"structure"` - // Replication Configuration template Tags. + // Request to delete Source Server from service by Server ID. // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateReplicationConfigurationTemplateOutput's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` - - // Replication Configuration template use Dedicated Replication Server. - UseDedicatedReplicationServer *bool `locationName:"useDedicatedReplicationServer" type:"boolean"` + // SourceServerID is a required field + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` } // String returns the string representation. @@ -7301,7 +8914,7 @@ type CreateReplicationConfigurationTemplateOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateReplicationConfigurationTemplateOutput) String() string { +func (s DeleteSourceServerInput) String() string { return awsutil.Prettify(s) } @@ -7310,117 +8923,132 @@ func (s CreateReplicationConfigurationTemplateOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateReplicationConfigurationTemplateOutput) GoString() string { +func (s DeleteSourceServerInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetArn(v string) *CreateReplicationConfigurationTemplateOutput { - s.Arn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteSourceServerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteSourceServerInput"} + if s.SourceServerID == nil { + invalidParams.Add(request.NewErrParamRequired("SourceServerID")) + } + if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { + invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) + } -// SetAssociateDefaultSecurityGroup sets the AssociateDefaultSecurityGroup field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetAssociateDefaultSecurityGroup(v bool) *CreateReplicationConfigurationTemplateOutput { - s.AssociateDefaultSecurityGroup = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetBandwidthThrottling sets the BandwidthThrottling field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetBandwidthThrottling(v int64) *CreateReplicationConfigurationTemplateOutput { - s.BandwidthThrottling = &v +// SetSourceServerID sets the SourceServerID field's value. +func (s *DeleteSourceServerInput) SetSourceServerID(v string) *DeleteSourceServerInput { + s.SourceServerID = &v return s } -// SetCreatePublicIP sets the CreatePublicIP field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetCreatePublicIP(v bool) *CreateReplicationConfigurationTemplateOutput { - s.CreatePublicIP = &v - return s +type DeleteSourceServerOutput struct { + _ struct{} `type:"structure"` } -// SetDataPlaneRouting sets the DataPlaneRouting field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetDataPlaneRouting(v string) *CreateReplicationConfigurationTemplateOutput { - s.DataPlaneRouting = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteSourceServerOutput) String() string { + return awsutil.Prettify(s) } -// SetDefaultLargeStagingDiskType sets the DefaultLargeStagingDiskType field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetDefaultLargeStagingDiskType(v string) *CreateReplicationConfigurationTemplateOutput { - s.DefaultLargeStagingDiskType = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteSourceServerOutput) GoString() string { + return s.String() } -// SetEbsEncryption sets the EbsEncryption field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetEbsEncryption(v string) *CreateReplicationConfigurationTemplateOutput { - s.EbsEncryption = &v - return s -} +type DeleteVcenterClientInput struct { + _ struct{} `type:"structure"` -// SetEbsEncryptionKeyArn sets the EbsEncryptionKeyArn field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetEbsEncryptionKeyArn(v string) *CreateReplicationConfigurationTemplateOutput { - s.EbsEncryptionKeyArn = &v - return s + // ID of resource to be deleted. + // + // VcenterClientID is a required field + VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string" required:"true"` } -// SetReplicationConfigurationTemplateID sets the ReplicationConfigurationTemplateID field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetReplicationConfigurationTemplateID(v string) *CreateReplicationConfigurationTemplateOutput { - s.ReplicationConfigurationTemplateID = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVcenterClientInput) String() string { + return awsutil.Prettify(s) } -// SetReplicationServerInstanceType sets the ReplicationServerInstanceType field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetReplicationServerInstanceType(v string) *CreateReplicationConfigurationTemplateOutput { - s.ReplicationServerInstanceType = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVcenterClientInput) GoString() string { + return s.String() } -// SetReplicationServersSecurityGroupsIDs sets the ReplicationServersSecurityGroupsIDs field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetReplicationServersSecurityGroupsIDs(v []*string) *CreateReplicationConfigurationTemplateOutput { - s.ReplicationServersSecurityGroupsIDs = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteVcenterClientInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteVcenterClientInput"} + if s.VcenterClientID == nil { + invalidParams.Add(request.NewErrParamRequired("VcenterClientID")) + } + if s.VcenterClientID != nil && len(*s.VcenterClientID) < 21 { + invalidParams.Add(request.NewErrParamMinLen("VcenterClientID", 21)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetStagingAreaSubnetId sets the StagingAreaSubnetId field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetStagingAreaSubnetId(v string) *CreateReplicationConfigurationTemplateOutput { - s.StagingAreaSubnetId = &v +// SetVcenterClientID sets the VcenterClientID field's value. +func (s *DeleteVcenterClientInput) SetVcenterClientID(v string) *DeleteVcenterClientInput { + s.VcenterClientID = &v return s } -// SetStagingAreaTags sets the StagingAreaTags field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetStagingAreaTags(v map[string]*string) *CreateReplicationConfigurationTemplateOutput { - s.StagingAreaTags = v - return s +type DeleteVcenterClientOutput struct { + _ struct{} `type:"structure"` } -// SetTags sets the Tags field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetTags(v map[string]*string) *CreateReplicationConfigurationTemplateOutput { - s.Tags = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVcenterClientOutput) String() string { + return awsutil.Prettify(s) } -// SetUseDedicatedReplicationServer sets the UseDedicatedReplicationServer field's value. -func (s *CreateReplicationConfigurationTemplateOutput) SetUseDedicatedReplicationServer(v bool) *CreateReplicationConfigurationTemplateOutput { - s.UseDedicatedReplicationServer = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteVcenterClientOutput) GoString() string { + return s.String() } -type CreateWaveInput struct { +type DeleteWaveInput struct { _ struct{} `type:"structure"` - // Wave description. - Description *string `locationName:"description" type:"string"` - - // Wave name. - // - // Name is a required field - Name *string `locationName:"name" min:"1" type:"string" required:"true"` - - // Wave tags. + // Wave ID. // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateWaveInput's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // WaveID is a required field + WaveID *string `locationName:"waveID" min:"22" type:"string" required:"true"` } // String returns the string representation. @@ -7428,7 +9056,7 @@ type CreateWaveInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateWaveInput) String() string { +func (s DeleteWaveInput) String() string { return awsutil.Prettify(s) } @@ -7437,18 +9065,18 @@ func (s CreateWaveInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateWaveInput) GoString() string { +func (s DeleteWaveInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateWaveInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateWaveInput"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) +func (s *DeleteWaveInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteWaveInput"} + if s.WaveID == nil { + invalidParams.Add(request.NewErrParamRequired("WaveID")) } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + if s.WaveID != nil && len(*s.WaveID) < 22 { + invalidParams.Add(request.NewErrParamMinLen("WaveID", 22)) } if invalidParams.Len() > 0 { @@ -7457,57 +9085,47 @@ func (s *CreateWaveInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateWaveInput) SetDescription(v string) *CreateWaveInput { - s.Description = &v +// SetWaveID sets the WaveID field's value. +func (s *DeleteWaveInput) SetWaveID(v string) *DeleteWaveInput { + s.WaveID = &v return s } -// SetName sets the Name field's value. -func (s *CreateWaveInput) SetName(v string) *CreateWaveInput { - s.Name = &v - return s +type DeleteWaveOutput struct { + _ struct{} `type:"structure"` } -// SetTags sets the Tags field's value. -func (s *CreateWaveInput) SetTags(v map[string]*string) *CreateWaveInput { - s.Tags = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteWaveOutput) String() string { + return awsutil.Prettify(s) } -type CreateWaveOutput struct { - _ struct{} `type:"structure"` - - // Wave ARN. - Arn *string `locationName:"arn" min:"20" type:"string"` - - // Wave creation dateTime. - CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` - - // Wave description. - Description *string `locationName:"description" type:"string"` - - // Wave archival status. - IsArchived *bool `locationName:"isArchived" type:"boolean"` - - // Wave last modified dateTime. - LastModifiedDateTime *string `locationName:"lastModifiedDateTime" min:"19" type:"string"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteWaveOutput) GoString() string { + return s.String() +} - // Wave name. - Name *string `locationName:"name" min:"1" type:"string"` +type DescribeJobLogItemsInput struct { + _ struct{} `type:"structure"` - // Wave tags. + // Request to describe Job log job ID. // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by CreateWaveOutput's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // JobID is a required field + JobID *string `locationName:"jobID" min:"24" type:"string" required:"true"` - // Wave aggregated status. - WaveAggregatedStatus *WaveAggregatedStatus `locationName:"waveAggregatedStatus" type:"structure"` + // Request to describe Job log item maximum results. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` - // Wave ID. - WaveID *string `locationName:"waveID" min:"22" type:"string"` + // Request to describe Job log next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -7515,7 +9133,7 @@ type CreateWaveOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateWaveOutput) String() string { +func (s DescribeJobLogItemsInput) String() string { return awsutil.Prettify(s) } @@ -7524,73 +9142,98 @@ func (s CreateWaveOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateWaveOutput) GoString() string { +func (s DescribeJobLogItemsInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *CreateWaveOutput) SetArn(v string) *CreateWaveOutput { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeJobLogItemsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeJobLogItemsInput"} + if s.JobID == nil { + invalidParams.Add(request.NewErrParamRequired("JobID")) + } + if s.JobID != nil && len(*s.JobID) < 24 { + invalidParams.Add(request.NewErrParamMinLen("JobID", 24)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *CreateWaveOutput) SetCreationDateTime(v string) *CreateWaveOutput { - s.CreationDateTime = &v +// SetJobID sets the JobID field's value. +func (s *DescribeJobLogItemsInput) SetJobID(v string) *DescribeJobLogItemsInput { + s.JobID = &v return s } -// SetDescription sets the Description field's value. -func (s *CreateWaveOutput) SetDescription(v string) *CreateWaveOutput { - s.Description = &v +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeJobLogItemsInput) SetMaxResults(v int64) *DescribeJobLogItemsInput { + s.MaxResults = &v return s } -// SetIsArchived sets the IsArchived field's value. -func (s *CreateWaveOutput) SetIsArchived(v bool) *CreateWaveOutput { - s.IsArchived = &v +// SetNextToken sets the NextToken field's value. +func (s *DescribeJobLogItemsInput) SetNextToken(v string) *DescribeJobLogItemsInput { + s.NextToken = &v return s } -// SetLastModifiedDateTime sets the LastModifiedDateTime field's value. -func (s *CreateWaveOutput) SetLastModifiedDateTime(v string) *CreateWaveOutput { - s.LastModifiedDateTime = &v - return s +type DescribeJobLogItemsOutput struct { + _ struct{} `type:"structure"` + + // Request to describe Job log response items. + Items []*JobLog `locationName:"items" type:"list"` + + // Request to describe Job log response next token. + NextToken *string `locationName:"nextToken" type:"string"` } -// SetName sets the Name field's value. -func (s *CreateWaveOutput) SetName(v string) *CreateWaveOutput { - s.Name = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeJobLogItemsOutput) String() string { + return awsutil.Prettify(s) } -// SetTags sets the Tags field's value. -func (s *CreateWaveOutput) SetTags(v map[string]*string) *CreateWaveOutput { - s.Tags = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeJobLogItemsOutput) GoString() string { + return s.String() } -// SetWaveAggregatedStatus sets the WaveAggregatedStatus field's value. -func (s *CreateWaveOutput) SetWaveAggregatedStatus(v *WaveAggregatedStatus) *CreateWaveOutput { - s.WaveAggregatedStatus = v +// SetItems sets the Items field's value. +func (s *DescribeJobLogItemsOutput) SetItems(v []*JobLog) *DescribeJobLogItemsOutput { + s.Items = v return s } -// SetWaveID sets the WaveID field's value. -func (s *CreateWaveOutput) SetWaveID(v string) *CreateWaveOutput { - s.WaveID = &v +// SetNextToken sets the NextToken field's value. +func (s *DescribeJobLogItemsOutput) SetNextToken(v string) *DescribeJobLogItemsOutput { + s.NextToken = &v return s } -// Error in data replication. -type DataReplicationError struct { +type DescribeJobsInput struct { _ struct{} `type:"structure"` - // Error in data replication. - Error *string `locationName:"error" type:"string" enum:"DataReplicationErrorString"` + // Request to describe Job log filters. + Filters *DescribeJobsRequestFilters `locationName:"filters" type:"structure"` - // Error in data replication. - RawError *string `locationName:"rawError" type:"string"` + // Request to describe job log items by max results. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // Request to describe job log items by next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -7598,7 +9241,7 @@ type DataReplicationError struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationError) String() string { +func (s DescribeJobsInput) String() string { return awsutil.Prettify(s) } @@ -7607,46 +9250,54 @@ func (s DataReplicationError) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationError) GoString() string { +func (s DescribeJobsInput) GoString() string { return s.String() } -// SetError sets the Error field's value. -func (s *DataReplicationError) SetError(v string) *DataReplicationError { - s.Error = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeJobsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.Filters != nil { + if err := s.Filters.Validate(); err != nil { + invalidParams.AddNested("Filters", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetRawError sets the RawError field's value. -func (s *DataReplicationError) SetRawError(v string) *DataReplicationError { - s.RawError = &v +// SetFilters sets the Filters field's value. +func (s *DescribeJobsInput) SetFilters(v *DescribeJobsRequestFilters) *DescribeJobsInput { + s.Filters = v return s } -// Request data replication info. -type DataReplicationInfo struct { - _ struct{} `type:"structure"` - - // Error in obtaining data replication info. - DataReplicationError *DataReplicationError `locationName:"dataReplicationError" type:"structure"` - - // Request to query whether data replication has been initiated. - DataReplicationInitiation *DataReplicationInitiation `locationName:"dataReplicationInitiation" type:"structure"` - - // Request to query the data replication state. - DataReplicationState *string `locationName:"dataReplicationState" type:"string" enum:"DataReplicationState"` +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeJobsInput) SetMaxResults(v int64) *DescribeJobsInput { + s.MaxResults = &v + return s +} - // Request to query the time when data replication will be complete. - EtaDateTime *string `locationName:"etaDateTime" min:"19" type:"string"` +// SetNextToken sets the NextToken field's value. +func (s *DescribeJobsInput) SetNextToken(v string) *DescribeJobsInput { + s.NextToken = &v + return s +} - // Request to query data replication lag duration. - LagDuration *string `locationName:"lagDuration" min:"1" type:"string"` +type DescribeJobsOutput struct { + _ struct{} `type:"structure"` - // Request to query data replication last snapshot time. - LastSnapshotDateTime *string `locationName:"lastSnapshotDateTime" min:"19" type:"string"` + // Request to describe Job log items. + Items []*Job `locationName:"items" type:"list"` - // Request to query disks replicated. - ReplicatedDisks []*DataReplicationInfoReplicatedDisk `locationName:"replicatedDisks" type:"list"` + // Request to describe Job response by next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -7654,7 +9305,7 @@ type DataReplicationInfo struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationInfo) String() string { +func (s DescribeJobsOutput) String() string { return awsutil.Prettify(s) } @@ -7663,70 +9314,34 @@ func (s DataReplicationInfo) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationInfo) GoString() string { +func (s DescribeJobsOutput) GoString() string { return s.String() } -// SetDataReplicationError sets the DataReplicationError field's value. -func (s *DataReplicationInfo) SetDataReplicationError(v *DataReplicationError) *DataReplicationInfo { - s.DataReplicationError = v - return s -} - -// SetDataReplicationInitiation sets the DataReplicationInitiation field's value. -func (s *DataReplicationInfo) SetDataReplicationInitiation(v *DataReplicationInitiation) *DataReplicationInfo { - s.DataReplicationInitiation = v - return s -} - -// SetDataReplicationState sets the DataReplicationState field's value. -func (s *DataReplicationInfo) SetDataReplicationState(v string) *DataReplicationInfo { - s.DataReplicationState = &v - return s -} - -// SetEtaDateTime sets the EtaDateTime field's value. -func (s *DataReplicationInfo) SetEtaDateTime(v string) *DataReplicationInfo { - s.EtaDateTime = &v - return s -} - -// SetLagDuration sets the LagDuration field's value. -func (s *DataReplicationInfo) SetLagDuration(v string) *DataReplicationInfo { - s.LagDuration = &v - return s -} - -// SetLastSnapshotDateTime sets the LastSnapshotDateTime field's value. -func (s *DataReplicationInfo) SetLastSnapshotDateTime(v string) *DataReplicationInfo { - s.LastSnapshotDateTime = &v +// SetItems sets the Items field's value. +func (s *DescribeJobsOutput) SetItems(v []*Job) *DescribeJobsOutput { + s.Items = v return s } -// SetReplicatedDisks sets the ReplicatedDisks field's value. -func (s *DataReplicationInfo) SetReplicatedDisks(v []*DataReplicationInfoReplicatedDisk) *DataReplicationInfo { - s.ReplicatedDisks = v +// SetNextToken sets the NextToken field's value. +func (s *DescribeJobsOutput) SetNextToken(v string) *DescribeJobsOutput { + s.NextToken = &v return s } -// Request to query disks replicated. -type DataReplicationInfoReplicatedDisk struct { +// Request to describe Job log filters. +type DescribeJobsRequestFilters struct { _ struct{} `type:"structure"` - // Request to query data replication backlog size in bytes. - BackloggedStorageBytes *int64 `locationName:"backloggedStorageBytes" type:"long"` - - // Request to query device name. - DeviceName *string `locationName:"deviceName" type:"string"` - - // Request to query amount of data replicated in bytes. - ReplicatedStorageBytes *int64 `locationName:"replicatedStorageBytes" type:"long"` + // Request to describe Job log filters by date. + FromDate *string `locationName:"fromDate" min:"19" type:"string"` - // Request to query amount of data rescanned in bytes. - RescannedStorageBytes *int64 `locationName:"rescannedStorageBytes" type:"long"` + // Request to describe Job log filters by job ID. + JobIDs []*string `locationName:"jobIDs" type:"list"` - // Request to query total amount of data replicated in bytes. - TotalStorageBytes *int64 `locationName:"totalStorageBytes" type:"long"` + // Request to describe job log items by last date. + ToDate *string `locationName:"toDate" min:"19" type:"string"` } // String returns the string representation. @@ -7734,7 +9349,7 @@ type DataReplicationInfoReplicatedDisk struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationInfoReplicatedDisk) String() string { +func (s DescribeJobsRequestFilters) String() string { return awsutil.Prettify(s) } @@ -7743,52 +9358,56 @@ func (s DataReplicationInfoReplicatedDisk) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationInfoReplicatedDisk) GoString() string { +func (s DescribeJobsRequestFilters) GoString() string { return s.String() } -// SetBackloggedStorageBytes sets the BackloggedStorageBytes field's value. -func (s *DataReplicationInfoReplicatedDisk) SetBackloggedStorageBytes(v int64) *DataReplicationInfoReplicatedDisk { - s.BackloggedStorageBytes = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeJobsRequestFilters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeJobsRequestFilters"} + if s.FromDate != nil && len(*s.FromDate) < 19 { + invalidParams.Add(request.NewErrParamMinLen("FromDate", 19)) + } + if s.ToDate != nil && len(*s.ToDate) < 19 { + invalidParams.Add(request.NewErrParamMinLen("ToDate", 19)) + } -// SetDeviceName sets the DeviceName field's value. -func (s *DataReplicationInfoReplicatedDisk) SetDeviceName(v string) *DataReplicationInfoReplicatedDisk { - s.DeviceName = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetReplicatedStorageBytes sets the ReplicatedStorageBytes field's value. -func (s *DataReplicationInfoReplicatedDisk) SetReplicatedStorageBytes(v int64) *DataReplicationInfoReplicatedDisk { - s.ReplicatedStorageBytes = &v +// SetFromDate sets the FromDate field's value. +func (s *DescribeJobsRequestFilters) SetFromDate(v string) *DescribeJobsRequestFilters { + s.FromDate = &v return s } -// SetRescannedStorageBytes sets the RescannedStorageBytes field's value. -func (s *DataReplicationInfoReplicatedDisk) SetRescannedStorageBytes(v int64) *DataReplicationInfoReplicatedDisk { - s.RescannedStorageBytes = &v +// SetJobIDs sets the JobIDs field's value. +func (s *DescribeJobsRequestFilters) SetJobIDs(v []*string) *DescribeJobsRequestFilters { + s.JobIDs = v return s } -// SetTotalStorageBytes sets the TotalStorageBytes field's value. -func (s *DataReplicationInfoReplicatedDisk) SetTotalStorageBytes(v int64) *DataReplicationInfoReplicatedDisk { - s.TotalStorageBytes = &v +// SetToDate sets the ToDate field's value. +func (s *DescribeJobsRequestFilters) SetToDate(v string) *DescribeJobsRequestFilters { + s.ToDate = &v return s } -// Data replication initiation. -type DataReplicationInitiation struct { +type DescribeLaunchConfigurationTemplatesInput struct { _ struct{} `type:"structure"` - // Request to query next data initiation date and time. - NextAttemptDateTime *string `locationName:"nextAttemptDateTime" min:"19" type:"string"` + // Request to filter Launch Configuration Templates list by Launch Configuration + // Template ID. + LaunchConfigurationTemplateIDs []*string `locationName:"launchConfigurationTemplateIDs" type:"list"` - // Request to query data initiation start date and time. - StartDateTime *string `locationName:"startDateTime" min:"19" type:"string"` + // Maximum results to be returned in DescribeLaunchConfigurationTemplates. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` - // Request to query data initiation steps. - Steps []*DataReplicationInitiationStep `locationName:"steps" type:"list"` + // Next pagination token returned from DescribeLaunchConfigurationTemplates. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -7796,7 +9415,7 @@ type DataReplicationInitiation struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationInitiation) String() string { +func (s DescribeLaunchConfigurationTemplatesInput) String() string { return awsutil.Prettify(s) } @@ -7805,37 +9424,49 @@ func (s DataReplicationInitiation) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationInitiation) GoString() string { +func (s DescribeLaunchConfigurationTemplatesInput) GoString() string { return s.String() } -// SetNextAttemptDateTime sets the NextAttemptDateTime field's value. -func (s *DataReplicationInitiation) SetNextAttemptDateTime(v string) *DataReplicationInitiation { - s.NextAttemptDateTime = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeLaunchConfigurationTemplatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeLaunchConfigurationTemplatesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLaunchConfigurationTemplateIDs sets the LaunchConfigurationTemplateIDs field's value. +func (s *DescribeLaunchConfigurationTemplatesInput) SetLaunchConfigurationTemplateIDs(v []*string) *DescribeLaunchConfigurationTemplatesInput { + s.LaunchConfigurationTemplateIDs = v return s } -// SetStartDateTime sets the StartDateTime field's value. -func (s *DataReplicationInitiation) SetStartDateTime(v string) *DataReplicationInitiation { - s.StartDateTime = &v +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeLaunchConfigurationTemplatesInput) SetMaxResults(v int64) *DescribeLaunchConfigurationTemplatesInput { + s.MaxResults = &v return s } -// SetSteps sets the Steps field's value. -func (s *DataReplicationInitiation) SetSteps(v []*DataReplicationInitiationStep) *DataReplicationInitiation { - s.Steps = v +// SetNextToken sets the NextToken field's value. +func (s *DescribeLaunchConfigurationTemplatesInput) SetNextToken(v string) *DescribeLaunchConfigurationTemplatesInput { + s.NextToken = &v return s } -// Data replication initiation step. -type DataReplicationInitiationStep struct { +type DescribeLaunchConfigurationTemplatesOutput struct { _ struct{} `type:"structure"` - // Request to query data initiation step name. - Name *string `locationName:"name" type:"string" enum:"DataReplicationInitiationStepName"` + // List of items returned by DescribeLaunchConfigurationTemplates. + Items []*LaunchConfigurationTemplate `locationName:"items" type:"list"` - // Request to query data initiation status. - Status *string `locationName:"status" type:"string" enum:"DataReplicationInitiationStepStatus"` + // Next pagination token returned from DescribeLaunchConfigurationTemplates. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -7843,7 +9474,7 @@ type DataReplicationInitiationStep struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationInitiationStep) String() string { +func (s DescribeLaunchConfigurationTemplatesOutput) String() string { return awsutil.Prettify(s) } @@ -7852,29 +9483,33 @@ func (s DataReplicationInitiationStep) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DataReplicationInitiationStep) GoString() string { +func (s DescribeLaunchConfigurationTemplatesOutput) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *DataReplicationInitiationStep) SetName(v string) *DataReplicationInitiationStep { - s.Name = &v +// SetItems sets the Items field's value. +func (s *DescribeLaunchConfigurationTemplatesOutput) SetItems(v []*LaunchConfigurationTemplate) *DescribeLaunchConfigurationTemplatesOutput { + s.Items = v return s } -// SetStatus sets the Status field's value. -func (s *DataReplicationInitiationStep) SetStatus(v string) *DataReplicationInitiationStep { - s.Status = &v +// SetNextToken sets the NextToken field's value. +func (s *DescribeLaunchConfigurationTemplatesOutput) SetNextToken(v string) *DescribeLaunchConfigurationTemplatesOutput { + s.NextToken = &v return s } -type DeleteApplicationInput struct { +type DescribeReplicationConfigurationTemplatesInput struct { _ struct{} `type:"structure"` - // Application ID. - // - // ApplicationID is a required field - ApplicationID *string `locationName:"applicationID" min:"21" type:"string" required:"true"` + // Request to describe Replication Configuration template by max results. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // Request to describe Replication Configuration template by next token. + NextToken *string `locationName:"nextToken" type:"string"` + + // Request to describe Replication Configuration template by template IDs. + ReplicationConfigurationTemplateIDs []*string `locationName:"replicationConfigurationTemplateIDs" type:"list"` } // String returns the string representation. @@ -7882,7 +9517,7 @@ type DeleteApplicationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteApplicationInput) String() string { +func (s DescribeReplicationConfigurationTemplatesInput) String() string { return awsutil.Prettify(s) } @@ -7891,18 +9526,15 @@ func (s DeleteApplicationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteApplicationInput) GoString() string { +func (s DescribeReplicationConfigurationTemplatesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteApplicationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteApplicationInput"} - if s.ApplicationID == nil { - invalidParams.Add(request.NewErrParamRequired("ApplicationID")) - } - if s.ApplicationID != nil && len(*s.ApplicationID) < 21 { - invalidParams.Add(request.NewErrParamMinLen("ApplicationID", 21)) +func (s *DescribeReplicationConfigurationTemplatesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeReplicationConfigurationTemplatesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -7911,14 +9543,32 @@ func (s *DeleteApplicationInput) Validate() error { return nil } -// SetApplicationID sets the ApplicationID field's value. -func (s *DeleteApplicationInput) SetApplicationID(v string) *DeleteApplicationInput { - s.ApplicationID = &v +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeReplicationConfigurationTemplatesInput) SetMaxResults(v int64) *DescribeReplicationConfigurationTemplatesInput { + s.MaxResults = &v return s } -type DeleteApplicationOutput struct { +// SetNextToken sets the NextToken field's value. +func (s *DescribeReplicationConfigurationTemplatesInput) SetNextToken(v string) *DescribeReplicationConfigurationTemplatesInput { + s.NextToken = &v + return s +} + +// SetReplicationConfigurationTemplateIDs sets the ReplicationConfigurationTemplateIDs field's value. +func (s *DescribeReplicationConfigurationTemplatesInput) SetReplicationConfigurationTemplateIDs(v []*string) *DescribeReplicationConfigurationTemplatesInput { + s.ReplicationConfigurationTemplateIDs = v + return s +} + +type DescribeReplicationConfigurationTemplatesOutput struct { _ struct{} `type:"structure"` + + // Request to describe Replication Configuration template by items. + Items []*ReplicationConfigurationTemplate `locationName:"items" type:"list"` + + // Request to describe Replication Configuration template by next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -7926,7 +9576,7 @@ type DeleteApplicationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteApplicationOutput) String() string { +func (s DescribeReplicationConfigurationTemplatesOutput) String() string { return awsutil.Prettify(s) } @@ -7935,17 +9585,33 @@ func (s DeleteApplicationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteApplicationOutput) GoString() string { +func (s DescribeReplicationConfigurationTemplatesOutput) GoString() string { return s.String() } -type DeleteJobInput struct { +// SetItems sets the Items field's value. +func (s *DescribeReplicationConfigurationTemplatesOutput) SetItems(v []*ReplicationConfigurationTemplate) *DescribeReplicationConfigurationTemplatesOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeReplicationConfigurationTemplatesOutput) SetNextToken(v string) *DescribeReplicationConfigurationTemplatesOutput { + s.NextToken = &v + return s +} + +type DescribeSourceServersInput struct { _ struct{} `type:"structure"` - // Request to delete Job from service by Job ID. - // - // JobID is a required field - JobID *string `locationName:"jobID" min:"24" type:"string" required:"true"` + // Request to filter Source Servers list. + Filters *DescribeSourceServersRequestFilters `locationName:"filters" type:"structure"` + + // Request to filter Source Servers list by maximum results. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // Request to filter Source Servers list by next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -7953,7 +9619,7 @@ type DeleteJobInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteJobInput) String() string { +func (s DescribeSourceServersInput) String() string { return awsutil.Prettify(s) } @@ -7962,18 +9628,15 @@ func (s DeleteJobInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteJobInput) GoString() string { +func (s DescribeSourceServersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteJobInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteJobInput"} - if s.JobID == nil { - invalidParams.Add(request.NewErrParamRequired("JobID")) - } - if s.JobID != nil && len(*s.JobID) < 24 { - invalidParams.Add(request.NewErrParamMinLen("JobID", 24)) +func (s *DescribeSourceServersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeSourceServersInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -7982,14 +9645,32 @@ func (s *DeleteJobInput) Validate() error { return nil } -// SetJobID sets the JobID field's value. -func (s *DeleteJobInput) SetJobID(v string) *DeleteJobInput { - s.JobID = &v +// SetFilters sets the Filters field's value. +func (s *DescribeSourceServersInput) SetFilters(v *DescribeSourceServersRequestFilters) *DescribeSourceServersInput { + s.Filters = v return s } -type DeleteJobOutput struct { +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeSourceServersInput) SetMaxResults(v int64) *DescribeSourceServersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeSourceServersInput) SetNextToken(v string) *DescribeSourceServersInput { + s.NextToken = &v + return s +} + +type DescribeSourceServersOutput struct { _ struct{} `type:"structure"` + + // Request to filter Source Servers list by item. + Items []*SourceServer `locationName:"items" type:"list"` + + // Request to filter Source Servers next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -7997,7 +9678,7 @@ type DeleteJobOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteJobOutput) String() string { +func (s DescribeSourceServersOutput) String() string { return awsutil.Prettify(s) } @@ -8006,17 +9687,40 @@ func (s DeleteJobOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteJobOutput) GoString() string { +func (s DescribeSourceServersOutput) GoString() string { return s.String() } -type DeleteLaunchConfigurationTemplateInput struct { +// SetItems sets the Items field's value. +func (s *DescribeSourceServersOutput) SetItems(v []*SourceServer) *DescribeSourceServersOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeSourceServersOutput) SetNextToken(v string) *DescribeSourceServersOutput { + s.NextToken = &v + return s +} + +// Request to filter Source Servers list. +type DescribeSourceServersRequestFilters struct { _ struct{} `type:"structure"` - // ID of resource to be deleted. - // - // LaunchConfigurationTemplateID is a required field - LaunchConfigurationTemplateID *string `locationName:"launchConfigurationTemplateID" min:"21" type:"string" required:"true"` + // Request to filter Source Servers list by application IDs. + ApplicationIDs []*string `locationName:"applicationIDs" type:"list"` + + // Request to filter Source Servers list by archived. + IsArchived *bool `locationName:"isArchived" type:"boolean"` + + // Request to filter Source Servers list by life cycle states. + LifeCycleStates []*string `locationName:"lifeCycleStates" type:"list" enum:"LifeCycleState"` + + // Request to filter Source Servers list by replication type. + ReplicationTypes []*string `locationName:"replicationTypes" type:"list" enum:"ReplicationType"` + + // Request to filter Source Servers list by Source Server ID. + SourceServerIDs []*string `locationName:"sourceServerIDs" type:"list"` } // String returns the string representation. @@ -8024,7 +9728,7 @@ type DeleteLaunchConfigurationTemplateInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteLaunchConfigurationTemplateInput) String() string { +func (s DescribeSourceServersRequestFilters) String() string { return awsutil.Prettify(s) } @@ -8033,62 +9737,48 @@ func (s DeleteLaunchConfigurationTemplateInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteLaunchConfigurationTemplateInput) GoString() string { +func (s DescribeSourceServersRequestFilters) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteLaunchConfigurationTemplateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteLaunchConfigurationTemplateInput"} - if s.LaunchConfigurationTemplateID == nil { - invalidParams.Add(request.NewErrParamRequired("LaunchConfigurationTemplateID")) - } - if s.LaunchConfigurationTemplateID != nil && len(*s.LaunchConfigurationTemplateID) < 21 { - invalidParams.Add(request.NewErrParamMinLen("LaunchConfigurationTemplateID", 21)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetApplicationIDs sets the ApplicationIDs field's value. +func (s *DescribeSourceServersRequestFilters) SetApplicationIDs(v []*string) *DescribeSourceServersRequestFilters { + s.ApplicationIDs = v + return s } -// SetLaunchConfigurationTemplateID sets the LaunchConfigurationTemplateID field's value. -func (s *DeleteLaunchConfigurationTemplateInput) SetLaunchConfigurationTemplateID(v string) *DeleteLaunchConfigurationTemplateInput { - s.LaunchConfigurationTemplateID = &v +// SetIsArchived sets the IsArchived field's value. +func (s *DescribeSourceServersRequestFilters) SetIsArchived(v bool) *DescribeSourceServersRequestFilters { + s.IsArchived = &v return s } -type DeleteLaunchConfigurationTemplateOutput struct { - _ struct{} `type:"structure"` +// SetLifeCycleStates sets the LifeCycleStates field's value. +func (s *DescribeSourceServersRequestFilters) SetLifeCycleStates(v []*string) *DescribeSourceServersRequestFilters { + s.LifeCycleStates = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteLaunchConfigurationTemplateOutput) String() string { - return awsutil.Prettify(s) +// SetReplicationTypes sets the ReplicationTypes field's value. +func (s *DescribeSourceServersRequestFilters) SetReplicationTypes(v []*string) *DescribeSourceServersRequestFilters { + s.ReplicationTypes = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DeleteLaunchConfigurationTemplateOutput) GoString() string { - return s.String() +// SetSourceServerIDs sets the SourceServerIDs field's value. +func (s *DescribeSourceServersRequestFilters) SetSourceServerIDs(v []*string) *DescribeSourceServersRequestFilters { + s.SourceServerIDs = v + return s } -type DeleteReplicationConfigurationTemplateInput struct { - _ struct{} `type:"structure"` +type DescribeVcenterClientsInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // Request to delete Replication Configuration Template from service by Replication - // Configuration Template ID. - // - // ReplicationConfigurationTemplateID is a required field - ReplicationConfigurationTemplateID *string `locationName:"replicationConfigurationTemplateID" min:"21" type:"string" required:"true"` + // Maximum results to be returned in DescribeVcenterClients. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Next pagination token to be provided for DescribeVcenterClients. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -8096,7 +9786,7 @@ type DeleteReplicationConfigurationTemplateInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteReplicationConfigurationTemplateInput) String() string { +func (s DescribeVcenterClientsInput) String() string { return awsutil.Prettify(s) } @@ -8105,18 +9795,15 @@ func (s DeleteReplicationConfigurationTemplateInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteReplicationConfigurationTemplateInput) GoString() string { +func (s DescribeVcenterClientsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteReplicationConfigurationTemplateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteReplicationConfigurationTemplateInput"} - if s.ReplicationConfigurationTemplateID == nil { - invalidParams.Add(request.NewErrParamRequired("ReplicationConfigurationTemplateID")) - } - if s.ReplicationConfigurationTemplateID != nil && len(*s.ReplicationConfigurationTemplateID) < 21 { - invalidParams.Add(request.NewErrParamMinLen("ReplicationConfigurationTemplateID", 21)) +func (s *DescribeVcenterClientsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeVcenterClientsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -8125,14 +9812,26 @@ func (s *DeleteReplicationConfigurationTemplateInput) Validate() error { return nil } -// SetReplicationConfigurationTemplateID sets the ReplicationConfigurationTemplateID field's value. -func (s *DeleteReplicationConfigurationTemplateInput) SetReplicationConfigurationTemplateID(v string) *DeleteReplicationConfigurationTemplateInput { - s.ReplicationConfigurationTemplateID = &v +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeVcenterClientsInput) SetMaxResults(v int64) *DescribeVcenterClientsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVcenterClientsInput) SetNextToken(v string) *DescribeVcenterClientsInput { + s.NextToken = &v return s } -type DeleteReplicationConfigurationTemplateOutput struct { +type DescribeVcenterClientsOutput struct { _ struct{} `type:"structure"` + + // List of items returned by DescribeVcenterClients. + Items []*VcenterClient `locationName:"items" type:"list"` + + // Next pagination token returned from DescribeVcenterClients. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -8140,7 +9839,7 @@ type DeleteReplicationConfigurationTemplateOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteReplicationConfigurationTemplateOutput) String() string { +func (s DescribeVcenterClientsOutput) String() string { return awsutil.Prettify(s) } @@ -8149,17 +9848,34 @@ func (s DeleteReplicationConfigurationTemplateOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteReplicationConfigurationTemplateOutput) GoString() string { +func (s DescribeVcenterClientsOutput) GoString() string { return s.String() } -type DeleteSourceServerInput struct { +// SetItems sets the Items field's value. +func (s *DescribeVcenterClientsOutput) SetItems(v []*VcenterClient) *DescribeVcenterClientsOutput { + s.Items = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeVcenterClientsOutput) SetNextToken(v string) *DescribeVcenterClientsOutput { + s.NextToken = &v + return s +} + +type DisassociateApplicationsInput struct { _ struct{} `type:"structure"` - // Request to delete Source Server from service by Server ID. + // Application IDs list. // - // SourceServerID is a required field - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` + // ApplicationIDs is a required field + ApplicationIDs []*string `locationName:"applicationIDs" min:"1" type:"list" required:"true"` + + // Wave ID. + // + // WaveID is a required field + WaveID *string `locationName:"waveID" min:"22" type:"string" required:"true"` } // String returns the string representation. @@ -8167,7 +9883,7 @@ type DeleteSourceServerInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteSourceServerInput) String() string { +func (s DisassociateApplicationsInput) String() string { return awsutil.Prettify(s) } @@ -8176,18 +9892,24 @@ func (s DeleteSourceServerInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteSourceServerInput) GoString() string { +func (s DisassociateApplicationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteSourceServerInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteSourceServerInput"} - if s.SourceServerID == nil { - invalidParams.Add(request.NewErrParamRequired("SourceServerID")) +func (s *DisassociateApplicationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateApplicationsInput"} + if s.ApplicationIDs == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationIDs")) } - if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { - invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) + if s.ApplicationIDs != nil && len(s.ApplicationIDs) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationIDs", 1)) + } + if s.WaveID == nil { + invalidParams.Add(request.NewErrParamRequired("WaveID")) + } + if s.WaveID != nil && len(*s.WaveID) < 22 { + invalidParams.Add(request.NewErrParamMinLen("WaveID", 22)) } if invalidParams.Len() > 0 { @@ -8196,13 +9918,19 @@ func (s *DeleteSourceServerInput) Validate() error { return nil } -// SetSourceServerID sets the SourceServerID field's value. -func (s *DeleteSourceServerInput) SetSourceServerID(v string) *DeleteSourceServerInput { - s.SourceServerID = &v +// SetApplicationIDs sets the ApplicationIDs field's value. +func (s *DisassociateApplicationsInput) SetApplicationIDs(v []*string) *DisassociateApplicationsInput { + s.ApplicationIDs = v return s } -type DeleteSourceServerOutput struct { +// SetWaveID sets the WaveID field's value. +func (s *DisassociateApplicationsInput) SetWaveID(v string) *DisassociateApplicationsInput { + s.WaveID = &v + return s +} + +type DisassociateApplicationsOutput struct { _ struct{} `type:"structure"` } @@ -8211,7 +9939,7 @@ type DeleteSourceServerOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteSourceServerOutput) String() string { +func (s DisassociateApplicationsOutput) String() string { return awsutil.Prettify(s) } @@ -8220,17 +9948,22 @@ func (s DeleteSourceServerOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteSourceServerOutput) GoString() string { +func (s DisassociateApplicationsOutput) GoString() string { return s.String() } -type DeleteVcenterClientInput struct { +type DisassociateSourceServersInput struct { _ struct{} `type:"structure"` - // ID of resource to be deleted. + // Application ID. // - // VcenterClientID is a required field - VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string" required:"true"` + // ApplicationID is a required field + ApplicationID *string `locationName:"applicationID" min:"21" type:"string" required:"true"` + + // Source server IDs list. + // + // SourceServerIDs is a required field + SourceServerIDs []*string `locationName:"sourceServerIDs" min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -8238,7 +9971,7 @@ type DeleteVcenterClientInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteVcenterClientInput) String() string { +func (s DisassociateSourceServersInput) String() string { return awsutil.Prettify(s) } @@ -8247,18 +9980,24 @@ func (s DeleteVcenterClientInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteVcenterClientInput) GoString() string { +func (s DisassociateSourceServersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteVcenterClientInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteVcenterClientInput"} - if s.VcenterClientID == nil { - invalidParams.Add(request.NewErrParamRequired("VcenterClientID")) +func (s *DisassociateSourceServersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateSourceServersInput"} + if s.ApplicationID == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationID")) } - if s.VcenterClientID != nil && len(*s.VcenterClientID) < 21 { - invalidParams.Add(request.NewErrParamMinLen("VcenterClientID", 21)) + if s.ApplicationID != nil && len(*s.ApplicationID) < 21 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationID", 21)) + } + if s.SourceServerIDs == nil { + invalidParams.Add(request.NewErrParamRequired("SourceServerIDs")) + } + if s.SourceServerIDs != nil && len(s.SourceServerIDs) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceServerIDs", 1)) } if invalidParams.Len() > 0 { @@ -8267,13 +10006,19 @@ func (s *DeleteVcenterClientInput) Validate() error { return nil } -// SetVcenterClientID sets the VcenterClientID field's value. -func (s *DeleteVcenterClientInput) SetVcenterClientID(v string) *DeleteVcenterClientInput { - s.VcenterClientID = &v +// SetApplicationID sets the ApplicationID field's value. +func (s *DisassociateSourceServersInput) SetApplicationID(v string) *DisassociateSourceServersInput { + s.ApplicationID = &v return s } -type DeleteVcenterClientOutput struct { +// SetSourceServerIDs sets the SourceServerIDs field's value. +func (s *DisassociateSourceServersInput) SetSourceServerIDs(v []*string) *DisassociateSourceServersInput { + s.SourceServerIDs = v + return s +} + +type DisassociateSourceServersOutput struct { _ struct{} `type:"structure"` } @@ -8282,7 +10027,7 @@ type DeleteVcenterClientOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteVcenterClientOutput) String() string { +func (s DisassociateSourceServersOutput) String() string { return awsutil.Prettify(s) } @@ -8291,17 +10036,17 @@ func (s DeleteVcenterClientOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteVcenterClientOutput) GoString() string { +func (s DisassociateSourceServersOutput) GoString() string { return s.String() } -type DeleteWaveInput struct { +type DisconnectFromServiceInput struct { _ struct{} `type:"structure"` - // Wave ID. + // Request to disconnect Source Server from service by Server ID. // - // WaveID is a required field - WaveID *string `locationName:"waveID" min:"22" type:"string" required:"true"` + // SourceServerID is a required field + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` } // String returns the string representation. @@ -8309,7 +10054,7 @@ type DeleteWaveInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteWaveInput) String() string { +func (s DisconnectFromServiceInput) String() string { return awsutil.Prettify(s) } @@ -8318,18 +10063,18 @@ func (s DeleteWaveInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteWaveInput) GoString() string { +func (s DisconnectFromServiceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteWaveInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteWaveInput"} - if s.WaveID == nil { - invalidParams.Add(request.NewErrParamRequired("WaveID")) +func (s *DisconnectFromServiceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisconnectFromServiceInput"} + if s.SourceServerID == nil { + invalidParams.Add(request.NewErrParamRequired("SourceServerID")) } - if s.WaveID != nil && len(*s.WaveID) < 22 { - invalidParams.Add(request.NewErrParamMinLen("WaveID", 22)) + if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { + invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) } if invalidParams.Len() > 0 { @@ -8338,14 +10083,57 @@ func (s *DeleteWaveInput) Validate() error { return nil } -// SetWaveID sets the WaveID field's value. -func (s *DeleteWaveInput) SetWaveID(v string) *DeleteWaveInput { - s.WaveID = &v +// SetSourceServerID sets the SourceServerID field's value. +func (s *DisconnectFromServiceInput) SetSourceServerID(v string) *DisconnectFromServiceInput { + s.SourceServerID = &v return s } -type DeleteWaveOutput struct { +type DisconnectFromServiceOutput struct { _ struct{} `type:"structure"` + + // Source server application ID. + ApplicationID *string `locationName:"applicationID" min:"21" type:"string"` + + // Source server ARN. + Arn *string `locationName:"arn" min:"20" type:"string"` + + // Source server data replication info. + DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` + + // Source server fqdn for action framework. + FqdnForActionFramework *string `locationName:"fqdnForActionFramework" type:"string"` + + // Source server archived status. + IsArchived *bool `locationName:"isArchived" type:"boolean"` + + // Source server launched instance. + LaunchedInstance *LaunchedInstance `locationName:"launchedInstance" type:"structure"` + + // Source server lifecycle state. + LifeCycle *LifeCycle `locationName:"lifeCycle" type:"structure"` + + // Source server replication type. + ReplicationType *string `locationName:"replicationType" type:"string" enum:"ReplicationType"` + + // Source server properties. + SourceProperties *SourceProperties `locationName:"sourceProperties" type:"structure"` + + // Source server ID. + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` + + // Source server Tags. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by DisconnectFromServiceOutput's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Source server user provided ID. + UserProvidedID *string `locationName:"userProvidedID" type:"string"` + + // Source server vCenter client id. + VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` } // String returns the string representation. @@ -8353,7 +10141,7 @@ type DeleteWaveOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteWaveOutput) String() string { +func (s DisconnectFromServiceOutput) String() string { return awsutil.Prettify(s) } @@ -8362,88 +10150,97 @@ func (s DeleteWaveOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteWaveOutput) GoString() string { +func (s DisconnectFromServiceOutput) GoString() string { return s.String() } -type DescribeJobLogItemsInput struct { - _ struct{} `type:"structure"` +// SetApplicationID sets the ApplicationID field's value. +func (s *DisconnectFromServiceOutput) SetApplicationID(v string) *DisconnectFromServiceOutput { + s.ApplicationID = &v + return s +} - // Request to describe Job log job ID. - // - // JobID is a required field - JobID *string `locationName:"jobID" min:"24" type:"string" required:"true"` +// SetArn sets the Arn field's value. +func (s *DisconnectFromServiceOutput) SetArn(v string) *DisconnectFromServiceOutput { + s.Arn = &v + return s +} - // Request to describe Job log item maximum results. - MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` +// SetDataReplicationInfo sets the DataReplicationInfo field's value. +func (s *DisconnectFromServiceOutput) SetDataReplicationInfo(v *DataReplicationInfo) *DisconnectFromServiceOutput { + s.DataReplicationInfo = v + return s +} - // Request to describe Job log next token. - NextToken *string `locationName:"nextToken" type:"string"` +// SetFqdnForActionFramework sets the FqdnForActionFramework field's value. +func (s *DisconnectFromServiceOutput) SetFqdnForActionFramework(v string) *DisconnectFromServiceOutput { + s.FqdnForActionFramework = &v + return s +} + +// SetIsArchived sets the IsArchived field's value. +func (s *DisconnectFromServiceOutput) SetIsArchived(v bool) *DisconnectFromServiceOutput { + s.IsArchived = &v + return s +} + +// SetLaunchedInstance sets the LaunchedInstance field's value. +func (s *DisconnectFromServiceOutput) SetLaunchedInstance(v *LaunchedInstance) *DisconnectFromServiceOutput { + s.LaunchedInstance = v + return s +} + +// SetLifeCycle sets the LifeCycle field's value. +func (s *DisconnectFromServiceOutput) SetLifeCycle(v *LifeCycle) *DisconnectFromServiceOutput { + s.LifeCycle = v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeJobLogItemsInput) String() string { - return awsutil.Prettify(s) +// SetReplicationType sets the ReplicationType field's value. +func (s *DisconnectFromServiceOutput) SetReplicationType(v string) *DisconnectFromServiceOutput { + s.ReplicationType = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeJobLogItemsInput) GoString() string { - return s.String() +// SetSourceProperties sets the SourceProperties field's value. +func (s *DisconnectFromServiceOutput) SetSourceProperties(v *SourceProperties) *DisconnectFromServiceOutput { + s.SourceProperties = v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeJobLogItemsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeJobLogItemsInput"} - if s.JobID == nil { - invalidParams.Add(request.NewErrParamRequired("JobID")) - } - if s.JobID != nil && len(*s.JobID) < 24 { - invalidParams.Add(request.NewErrParamMinLen("JobID", 24)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetSourceServerID sets the SourceServerID field's value. +func (s *DisconnectFromServiceOutput) SetSourceServerID(v string) *DisconnectFromServiceOutput { + s.SourceServerID = &v + return s } -// SetJobID sets the JobID field's value. -func (s *DescribeJobLogItemsInput) SetJobID(v string) *DescribeJobLogItemsInput { - s.JobID = &v +// SetTags sets the Tags field's value. +func (s *DisconnectFromServiceOutput) SetTags(v map[string]*string) *DisconnectFromServiceOutput { + s.Tags = v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeJobLogItemsInput) SetMaxResults(v int64) *DescribeJobLogItemsInput { - s.MaxResults = &v +// SetUserProvidedID sets the UserProvidedID field's value. +func (s *DisconnectFromServiceOutput) SetUserProvidedID(v string) *DisconnectFromServiceOutput { + s.UserProvidedID = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeJobLogItemsInput) SetNextToken(v string) *DescribeJobLogItemsInput { - s.NextToken = &v +// SetVcenterClientID sets the VcenterClientID field's value. +func (s *DisconnectFromServiceOutput) SetVcenterClientID(v string) *DisconnectFromServiceOutput { + s.VcenterClientID = &v return s } -type DescribeJobLogItemsOutput struct { +// The disk identifier. +type Disk struct { _ struct{} `type:"structure"` - // Request to describe Job log response items. - Items []*JobLog `locationName:"items" type:"list"` + // The amount of storage on the disk in bytes. + Bytes *int64 `locationName:"bytes" type:"long"` - // Request to describe Job log response next token. - NextToken *string `locationName:"nextToken" type:"string"` + // The disk or device name. + DeviceName *string `locationName:"deviceName" type:"string"` } // String returns the string representation. @@ -8451,7 +10248,7 @@ type DescribeJobLogItemsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeJobLogItemsOutput) String() string { +func (s Disk) String() string { return awsutil.Prettify(s) } @@ -8460,33 +10257,37 @@ func (s DescribeJobLogItemsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeJobLogItemsOutput) GoString() string { +func (s Disk) GoString() string { return s.String() } -// SetItems sets the Items field's value. -func (s *DescribeJobLogItemsOutput) SetItems(v []*JobLog) *DescribeJobLogItemsOutput { - s.Items = v +// SetBytes sets the Bytes field's value. +func (s *Disk) SetBytes(v int64) *Disk { + s.Bytes = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeJobLogItemsOutput) SetNextToken(v string) *DescribeJobLogItemsOutput { - s.NextToken = &v +// SetDeviceName sets the DeviceName field's value. +func (s *Disk) SetDeviceName(v string) *Disk { + s.DeviceName = &v return s } -type DescribeJobsInput struct { +// Error details. +type ErrorDetails struct { _ struct{} `type:"structure"` - // Request to describe Job log filters. - Filters *DescribeJobsRequestFilters `locationName:"filters" type:"structure"` + // Error details code. + Code *string `locationName:"code" type:"string"` - // Request to describe job log items by max results. - MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + // Error details message. + Message *string `locationName:"message" type:"string"` - // Request to describe job log items by next token. - NextToken *string `locationName:"nextToken" type:"string"` + // Error details resourceId. + ResourceId *string `locationName:"resourceId" type:"string"` + + // Error details resourceType. + ResourceType *string `locationName:"resourceType" type:"string"` } // String returns the string representation. @@ -8494,7 +10295,7 @@ type DescribeJobsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeJobsInput) String() string { +func (s ErrorDetails) String() string { return awsutil.Prettify(s) } @@ -8503,54 +10304,40 @@ func (s DescribeJobsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeJobsInput) GoString() string { +func (s ErrorDetails) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeJobsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeJobsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Filters != nil { - if err := s.Filters.Validate(); err != nil { - invalidParams.AddNested("Filters", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCode sets the Code field's value. +func (s *ErrorDetails) SetCode(v string) *ErrorDetails { + s.Code = &v + return s } -// SetFilters sets the Filters field's value. -func (s *DescribeJobsInput) SetFilters(v *DescribeJobsRequestFilters) *DescribeJobsInput { - s.Filters = v +// SetMessage sets the Message field's value. +func (s *ErrorDetails) SetMessage(v string) *ErrorDetails { + s.Message = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeJobsInput) SetMaxResults(v int64) *DescribeJobsInput { - s.MaxResults = &v +// SetResourceId sets the ResourceId field's value. +func (s *ErrorDetails) SetResourceId(v string) *ErrorDetails { + s.ResourceId = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeJobsInput) SetNextToken(v string) *DescribeJobsInput { - s.NextToken = &v +// SetResourceType sets the ResourceType field's value. +func (s *ErrorDetails) SetResourceType(v string) *ErrorDetails { + s.ResourceType = &v return s } -type DescribeJobsOutput struct { +// Export errors data. +type ExportErrorData struct { _ struct{} `type:"structure"` - // Request to describe Job log items. - Items []*Job `locationName:"items" type:"list"` - - // Request to describe Job response by next token. - NextToken *string `locationName:"nextToken" type:"string"` + // Export errors data raw error. + RawError *string `locationName:"rawError" type:"string"` } // String returns the string representation. @@ -8558,7 +10345,7 @@ type DescribeJobsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeJobsOutput) String() string { +func (s ExportErrorData) String() string { return awsutil.Prettify(s) } @@ -8567,34 +10354,46 @@ func (s DescribeJobsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeJobsOutput) GoString() string { +func (s ExportErrorData) GoString() string { return s.String() } -// SetItems sets the Items field's value. -func (s *DescribeJobsOutput) SetItems(v []*Job) *DescribeJobsOutput { - s.Items = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeJobsOutput) SetNextToken(v string) *DescribeJobsOutput { - s.NextToken = &v +// SetRawError sets the RawError field's value. +func (s *ExportErrorData) SetRawError(v string) *ExportErrorData { + s.RawError = &v return s } -// Request to describe Job log filters. -type DescribeJobsRequestFilters struct { +// Export task. +type ExportTask struct { _ struct{} `type:"structure"` - // Request to describe Job log filters by date. - FromDate *string `locationName:"fromDate" min:"19" type:"string"` + // Export task creation datetime. + CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` - // Request to describe Job log filters by job ID. - JobIDs []*string `locationName:"jobIDs" type:"list"` + // Export task end datetime. + EndDateTime *string `locationName:"endDateTime" min:"19" type:"string"` - // Request to describe job log items by last date. - ToDate *string `locationName:"toDate" min:"19" type:"string"` + // Export task id. + ExportID *string `locationName:"exportID" min:"24" type:"string"` + + // Export task progress percentage. + ProgressPercentage *float64 `locationName:"progressPercentage" type:"float"` + + // Export task s3 bucket. + S3Bucket *string `locationName:"s3Bucket" type:"string"` + + // Export task s3 bucket owner. + S3BucketOwner *string `locationName:"s3BucketOwner" min:"12" type:"string"` + + // Export task s3 key. + S3Key *string `locationName:"s3Key" type:"string"` + + // Export task status. + Status *string `locationName:"status" type:"string" enum:"ExportStatus"` + + // Export task summary. + Summary *ExportTaskSummary `locationName:"summary" type:"structure"` } // String returns the string representation. @@ -8602,7 +10401,7 @@ type DescribeJobsRequestFilters struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeJobsRequestFilters) String() string { +func (s ExportTask) String() string { return awsutil.Prettify(s) } @@ -8611,56 +10410,73 @@ func (s DescribeJobsRequestFilters) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeJobsRequestFilters) GoString() string { +func (s ExportTask) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeJobsRequestFilters) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeJobsRequestFilters"} - if s.FromDate != nil && len(*s.FromDate) < 19 { - invalidParams.Add(request.NewErrParamMinLen("FromDate", 19)) - } - if s.ToDate != nil && len(*s.ToDate) < 19 { - invalidParams.Add(request.NewErrParamMinLen("ToDate", 19)) - } +// SetCreationDateTime sets the CreationDateTime field's value. +func (s *ExportTask) SetCreationDateTime(v string) *ExportTask { + s.CreationDateTime = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetEndDateTime sets the EndDateTime field's value. +func (s *ExportTask) SetEndDateTime(v string) *ExportTask { + s.EndDateTime = &v + return s } -// SetFromDate sets the FromDate field's value. -func (s *DescribeJobsRequestFilters) SetFromDate(v string) *DescribeJobsRequestFilters { - s.FromDate = &v +// SetExportID sets the ExportID field's value. +func (s *ExportTask) SetExportID(v string) *ExportTask { + s.ExportID = &v return s } -// SetJobIDs sets the JobIDs field's value. -func (s *DescribeJobsRequestFilters) SetJobIDs(v []*string) *DescribeJobsRequestFilters { - s.JobIDs = v +// SetProgressPercentage sets the ProgressPercentage field's value. +func (s *ExportTask) SetProgressPercentage(v float64) *ExportTask { + s.ProgressPercentage = &v return s } -// SetToDate sets the ToDate field's value. -func (s *DescribeJobsRequestFilters) SetToDate(v string) *DescribeJobsRequestFilters { - s.ToDate = &v +// SetS3Bucket sets the S3Bucket field's value. +func (s *ExportTask) SetS3Bucket(v string) *ExportTask { + s.S3Bucket = &v return s } -type DescribeLaunchConfigurationTemplatesInput struct { - _ struct{} `type:"structure"` +// SetS3BucketOwner sets the S3BucketOwner field's value. +func (s *ExportTask) SetS3BucketOwner(v string) *ExportTask { + s.S3BucketOwner = &v + return s +} - // Request to filter Launch Configuration Templates list by Launch Configuration - // Template ID. - LaunchConfigurationTemplateIDs []*string `locationName:"launchConfigurationTemplateIDs" type:"list"` +// SetS3Key sets the S3Key field's value. +func (s *ExportTask) SetS3Key(v string) *ExportTask { + s.S3Key = &v + return s +} - // Maximum results to be returned in DescribeLaunchConfigurationTemplates. - MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` +// SetStatus sets the Status field's value. +func (s *ExportTask) SetStatus(v string) *ExportTask { + s.Status = &v + return s +} - // Next pagination token returned from DescribeLaunchConfigurationTemplates. - NextToken *string `locationName:"nextToken" type:"string"` +// SetSummary sets the Summary field's value. +func (s *ExportTask) SetSummary(v *ExportTaskSummary) *ExportTask { + s.Summary = v + return s +} + +// Export task error. +type ExportTaskError struct { + _ struct{} `type:"structure"` + + // Export task error data. + ErrorData *ExportErrorData `locationName:"errorData" type:"structure"` + + // Export task error datetime. + ErrorDateTime *string `locationName:"errorDateTime" min:"19" type:"string"` } // String returns the string representation. @@ -8668,7 +10484,7 @@ type DescribeLaunchConfigurationTemplatesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeLaunchConfigurationTemplatesInput) String() string { +func (s ExportTaskError) String() string { return awsutil.Prettify(s) } @@ -8677,49 +10493,34 @@ func (s DescribeLaunchConfigurationTemplatesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeLaunchConfigurationTemplatesInput) GoString() string { +func (s ExportTaskError) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeLaunchConfigurationTemplatesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeLaunchConfigurationTemplatesInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetLaunchConfigurationTemplateIDs sets the LaunchConfigurationTemplateIDs field's value. -func (s *DescribeLaunchConfigurationTemplatesInput) SetLaunchConfigurationTemplateIDs(v []*string) *DescribeLaunchConfigurationTemplatesInput { - s.LaunchConfigurationTemplateIDs = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeLaunchConfigurationTemplatesInput) SetMaxResults(v int64) *DescribeLaunchConfigurationTemplatesInput { - s.MaxResults = &v +// SetErrorData sets the ErrorData field's value. +func (s *ExportTaskError) SetErrorData(v *ExportErrorData) *ExportTaskError { + s.ErrorData = v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeLaunchConfigurationTemplatesInput) SetNextToken(v string) *DescribeLaunchConfigurationTemplatesInput { - s.NextToken = &v +// SetErrorDateTime sets the ErrorDateTime field's value. +func (s *ExportTaskError) SetErrorDateTime(v string) *ExportTaskError { + s.ErrorDateTime = &v return s } -type DescribeLaunchConfigurationTemplatesOutput struct { +// Export task summary. +type ExportTaskSummary struct { _ struct{} `type:"structure"` - // List of items returned by DescribeLaunchConfigurationTemplates. - Items []*LaunchConfigurationTemplate `locationName:"items" type:"list"` + // Export task summary applications count. + ApplicationsCount *int64 `locationName:"applicationsCount" type:"long"` - // Next pagination token returned from DescribeLaunchConfigurationTemplates. - NextToken *string `locationName:"nextToken" type:"string"` + // Export task summary servers count. + ServersCount *int64 `locationName:"serversCount" type:"long"` + + // Export task summary waves count. + WavesCount *int64 `locationName:"wavesCount" type:"long"` } // String returns the string representation. @@ -8727,7 +10528,7 @@ type DescribeLaunchConfigurationTemplatesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeLaunchConfigurationTemplatesOutput) String() string { +func (s ExportTaskSummary) String() string { return awsutil.Prettify(s) } @@ -8736,33 +10537,35 @@ func (s DescribeLaunchConfigurationTemplatesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeLaunchConfigurationTemplatesOutput) GoString() string { +func (s ExportTaskSummary) GoString() string { return s.String() } -// SetItems sets the Items field's value. -func (s *DescribeLaunchConfigurationTemplatesOutput) SetItems(v []*LaunchConfigurationTemplate) *DescribeLaunchConfigurationTemplatesOutput { - s.Items = v +// SetApplicationsCount sets the ApplicationsCount field's value. +func (s *ExportTaskSummary) SetApplicationsCount(v int64) *ExportTaskSummary { + s.ApplicationsCount = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeLaunchConfigurationTemplatesOutput) SetNextToken(v string) *DescribeLaunchConfigurationTemplatesOutput { - s.NextToken = &v +// SetServersCount sets the ServersCount field's value. +func (s *ExportTaskSummary) SetServersCount(v int64) *ExportTaskSummary { + s.ServersCount = &v return s } -type DescribeReplicationConfigurationTemplatesInput struct { - _ struct{} `type:"structure"` - - // Request to describe Replication Configuration template by max results. - MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` +// SetWavesCount sets the WavesCount field's value. +func (s *ExportTaskSummary) SetWavesCount(v int64) *ExportTaskSummary { + s.WavesCount = &v + return s +} - // Request to describe Replication Configuration template by next token. - NextToken *string `locationName:"nextToken" type:"string"` +type FinalizeCutoverInput struct { + _ struct{} `type:"structure"` - // Request to describe Replication Configuration template by template IDs. - ReplicationConfigurationTemplateIDs []*string `locationName:"replicationConfigurationTemplateIDs" type:"list"` + // Request to finalize Cutover by Source Server ID. + // + // SourceServerID is a required field + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` } // String returns the string representation. @@ -8770,7 +10573,7 @@ type DescribeReplicationConfigurationTemplatesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeReplicationConfigurationTemplatesInput) String() string { +func (s FinalizeCutoverInput) String() string { return awsutil.Prettify(s) } @@ -8779,15 +10582,18 @@ func (s DescribeReplicationConfigurationTemplatesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeReplicationConfigurationTemplatesInput) GoString() string { +func (s FinalizeCutoverInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeReplicationConfigurationTemplatesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeReplicationConfigurationTemplatesInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *FinalizeCutoverInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FinalizeCutoverInput"} + if s.SourceServerID == nil { + invalidParams.Add(request.NewErrParamRequired("SourceServerID")) + } + if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { + invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) } if invalidParams.Len() > 0 { @@ -8796,32 +10602,57 @@ func (s *DescribeReplicationConfigurationTemplatesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeReplicationConfigurationTemplatesInput) SetMaxResults(v int64) *DescribeReplicationConfigurationTemplatesInput { - s.MaxResults = &v +// SetSourceServerID sets the SourceServerID field's value. +func (s *FinalizeCutoverInput) SetSourceServerID(v string) *FinalizeCutoverInput { + s.SourceServerID = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeReplicationConfigurationTemplatesInput) SetNextToken(v string) *DescribeReplicationConfigurationTemplatesInput { - s.NextToken = &v - return s -} +type FinalizeCutoverOutput struct { + _ struct{} `type:"structure"` -// SetReplicationConfigurationTemplateIDs sets the ReplicationConfigurationTemplateIDs field's value. -func (s *DescribeReplicationConfigurationTemplatesInput) SetReplicationConfigurationTemplateIDs(v []*string) *DescribeReplicationConfigurationTemplatesInput { - s.ReplicationConfigurationTemplateIDs = v - return s -} + // Source server application ID. + ApplicationID *string `locationName:"applicationID" min:"21" type:"string"` -type DescribeReplicationConfigurationTemplatesOutput struct { - _ struct{} `type:"structure"` + // Source server ARN. + Arn *string `locationName:"arn" min:"20" type:"string"` - // Request to describe Replication Configuration template by items. - Items []*ReplicationConfigurationTemplate `locationName:"items" type:"list"` + // Source server data replication info. + DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` - // Request to describe Replication Configuration template by next token. - NextToken *string `locationName:"nextToken" type:"string"` + // Source server fqdn for action framework. + FqdnForActionFramework *string `locationName:"fqdnForActionFramework" type:"string"` + + // Source server archived status. + IsArchived *bool `locationName:"isArchived" type:"boolean"` + + // Source server launched instance. + LaunchedInstance *LaunchedInstance `locationName:"launchedInstance" type:"structure"` + + // Source server lifecycle state. + LifeCycle *LifeCycle `locationName:"lifeCycle" type:"structure"` + + // Source server replication type. + ReplicationType *string `locationName:"replicationType" type:"string" enum:"ReplicationType"` + + // Source server properties. + SourceProperties *SourceProperties `locationName:"sourceProperties" type:"structure"` + + // Source server ID. + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` + + // Source server Tags. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by FinalizeCutoverOutput's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Source server user provided ID. + UserProvidedID *string `locationName:"userProvidedID" type:"string"` + + // Source server vCenter client id. + VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` } // String returns the string representation. @@ -8829,7 +10660,7 @@ type DescribeReplicationConfigurationTemplatesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeReplicationConfigurationTemplatesOutput) String() string { +func (s FinalizeCutoverOutput) String() string { return awsutil.Prettify(s) } @@ -8838,33 +10669,95 @@ func (s DescribeReplicationConfigurationTemplatesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeReplicationConfigurationTemplatesOutput) GoString() string { +func (s FinalizeCutoverOutput) GoString() string { return s.String() } -// SetItems sets the Items field's value. -func (s *DescribeReplicationConfigurationTemplatesOutput) SetItems(v []*ReplicationConfigurationTemplate) *DescribeReplicationConfigurationTemplatesOutput { - s.Items = v +// SetApplicationID sets the ApplicationID field's value. +func (s *FinalizeCutoverOutput) SetApplicationID(v string) *FinalizeCutoverOutput { + s.ApplicationID = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeReplicationConfigurationTemplatesOutput) SetNextToken(v string) *DescribeReplicationConfigurationTemplatesOutput { - s.NextToken = &v +// SetArn sets the Arn field's value. +func (s *FinalizeCutoverOutput) SetArn(v string) *FinalizeCutoverOutput { + s.Arn = &v return s } -type DescribeSourceServersInput struct { - _ struct{} `type:"structure"` +// SetDataReplicationInfo sets the DataReplicationInfo field's value. +func (s *FinalizeCutoverOutput) SetDataReplicationInfo(v *DataReplicationInfo) *FinalizeCutoverOutput { + s.DataReplicationInfo = v + return s +} - // Request to filter Source Servers list. - Filters *DescribeSourceServersRequestFilters `locationName:"filters" type:"structure"` +// SetFqdnForActionFramework sets the FqdnForActionFramework field's value. +func (s *FinalizeCutoverOutput) SetFqdnForActionFramework(v string) *FinalizeCutoverOutput { + s.FqdnForActionFramework = &v + return s +} - // Request to filter Source Servers list by maximum results. - MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` +// SetIsArchived sets the IsArchived field's value. +func (s *FinalizeCutoverOutput) SetIsArchived(v bool) *FinalizeCutoverOutput { + s.IsArchived = &v + return s +} - // Request to filter Source Servers list by next token. - NextToken *string `locationName:"nextToken" type:"string"` +// SetLaunchedInstance sets the LaunchedInstance field's value. +func (s *FinalizeCutoverOutput) SetLaunchedInstance(v *LaunchedInstance) *FinalizeCutoverOutput { + s.LaunchedInstance = v + return s +} + +// SetLifeCycle sets the LifeCycle field's value. +func (s *FinalizeCutoverOutput) SetLifeCycle(v *LifeCycle) *FinalizeCutoverOutput { + s.LifeCycle = v + return s +} + +// SetReplicationType sets the ReplicationType field's value. +func (s *FinalizeCutoverOutput) SetReplicationType(v string) *FinalizeCutoverOutput { + s.ReplicationType = &v + return s +} + +// SetSourceProperties sets the SourceProperties field's value. +func (s *FinalizeCutoverOutput) SetSourceProperties(v *SourceProperties) *FinalizeCutoverOutput { + s.SourceProperties = v + return s +} + +// SetSourceServerID sets the SourceServerID field's value. +func (s *FinalizeCutoverOutput) SetSourceServerID(v string) *FinalizeCutoverOutput { + s.SourceServerID = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *FinalizeCutoverOutput) SetTags(v map[string]*string) *FinalizeCutoverOutput { + s.Tags = v + return s +} + +// SetUserProvidedID sets the UserProvidedID field's value. +func (s *FinalizeCutoverOutput) SetUserProvidedID(v string) *FinalizeCutoverOutput { + s.UserProvidedID = &v + return s +} + +// SetVcenterClientID sets the VcenterClientID field's value. +func (s *FinalizeCutoverOutput) SetVcenterClientID(v string) *FinalizeCutoverOutput { + s.VcenterClientID = &v + return s +} + +type GetLaunchConfigurationInput struct { + _ struct{} `type:"structure"` + + // Request to get Launch Configuration information by Source Server ID. + // + // SourceServerID is a required field + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` } // String returns the string representation. @@ -8872,7 +10765,7 @@ type DescribeSourceServersInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeSourceServersInput) String() string { +func (s GetLaunchConfigurationInput) String() string { return awsutil.Prettify(s) } @@ -8881,15 +10774,18 @@ func (s DescribeSourceServersInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeSourceServersInput) GoString() string { +func (s GetLaunchConfigurationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeSourceServersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeSourceServersInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *GetLaunchConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetLaunchConfigurationInput"} + if s.SourceServerID == nil { + invalidParams.Add(request.NewErrParamRequired("SourceServerID")) + } + if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { + invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) } if invalidParams.Len() > 0 { @@ -8898,32 +10794,50 @@ func (s *DescribeSourceServersInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeSourceServersInput) SetFilters(v *DescribeSourceServersRequestFilters) *DescribeSourceServersInput { - s.Filters = v +// SetSourceServerID sets the SourceServerID field's value. +func (s *GetLaunchConfigurationInput) SetSourceServerID(v string) *GetLaunchConfigurationInput { + s.SourceServerID = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeSourceServersInput) SetMaxResults(v int64) *DescribeSourceServersInput { - s.MaxResults = &v - return s -} +type GetLaunchConfigurationOutput struct { + _ struct{} `type:"structure"` -// SetNextToken sets the NextToken field's value. -func (s *DescribeSourceServersInput) SetNextToken(v string) *DescribeSourceServersInput { - s.NextToken = &v - return s -} + // Launch configuration boot mode. + BootMode *string `locationName:"bootMode" type:"string" enum:"BootMode"` + + // Copy Private IP during Launch Configuration. + CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` + + // Copy Tags during Launch Configuration. + CopyTags *bool `locationName:"copyTags" type:"boolean"` + + // Launch configuration EC2 Launch template ID. + Ec2LaunchTemplateID *string `locationName:"ec2LaunchTemplateID" type:"string"` + + // Enable map auto tagging. + EnableMapAutoTagging *bool `locationName:"enableMapAutoTagging" type:"boolean"` + + // Launch disposition for launch configuration. + LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + + // Launch configuration OS licensing. + Licensing *Licensing `locationName:"licensing" type:"structure"` + + // Map auto tagging MPE ID. + MapAutoTaggingMpeID *string `locationName:"mapAutoTaggingMpeID" type:"string"` + + // Launch configuration name. + Name *string `locationName:"name" type:"string"` -type DescribeSourceServersOutput struct { - _ struct{} `type:"structure"` + // Post Launch Actions to executed on the Test or Cutover instance. + PostLaunchActions *PostLaunchActions `locationName:"postLaunchActions" type:"structure"` - // Request to filter Source Servers list by item. - Items []*SourceServer `locationName:"items" type:"list"` + // Launch configuration Source Server ID. + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` - // Request to filter Source Servers next token. - NextToken *string `locationName:"nextToken" type:"string"` + // Launch configuration Target instance type right sizing method. + TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` } // String returns the string representation. @@ -8931,7 +10845,7 @@ type DescribeSourceServersOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeSourceServersOutput) String() string { +func (s GetLaunchConfigurationOutput) String() string { return awsutil.Prettify(s) } @@ -8940,98 +10854,89 @@ func (s DescribeSourceServersOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeSourceServersOutput) GoString() string { +func (s GetLaunchConfigurationOutput) GoString() string { return s.String() } -// SetItems sets the Items field's value. -func (s *DescribeSourceServersOutput) SetItems(v []*SourceServer) *DescribeSourceServersOutput { - s.Items = v +// SetBootMode sets the BootMode field's value. +func (s *GetLaunchConfigurationOutput) SetBootMode(v string) *GetLaunchConfigurationOutput { + s.BootMode = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeSourceServersOutput) SetNextToken(v string) *DescribeSourceServersOutput { - s.NextToken = &v +// SetCopyPrivateIp sets the CopyPrivateIp field's value. +func (s *GetLaunchConfigurationOutput) SetCopyPrivateIp(v bool) *GetLaunchConfigurationOutput { + s.CopyPrivateIp = &v return s } -// Request to filter Source Servers list. -type DescribeSourceServersRequestFilters struct { - _ struct{} `type:"structure"` - - // Request to filter Source Servers list by application IDs. - ApplicationIDs []*string `locationName:"applicationIDs" type:"list"` - - // Request to filter Source Servers list by archived. - IsArchived *bool `locationName:"isArchived" type:"boolean"` - - // Request to filter Source Servers list by life cycle states. - LifeCycleStates []*string `locationName:"lifeCycleStates" type:"list" enum:"LifeCycleState"` - - // Request to filter Source Servers list by replication type. - ReplicationTypes []*string `locationName:"replicationTypes" type:"list" enum:"ReplicationType"` +// SetCopyTags sets the CopyTags field's value. +func (s *GetLaunchConfigurationOutput) SetCopyTags(v bool) *GetLaunchConfigurationOutput { + s.CopyTags = &v + return s +} - // Request to filter Source Servers list by Source Server ID. - SourceServerIDs []*string `locationName:"sourceServerIDs" type:"list"` +// SetEc2LaunchTemplateID sets the Ec2LaunchTemplateID field's value. +func (s *GetLaunchConfigurationOutput) SetEc2LaunchTemplateID(v string) *GetLaunchConfigurationOutput { + s.Ec2LaunchTemplateID = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeSourceServersRequestFilters) String() string { - return awsutil.Prettify(s) +// SetEnableMapAutoTagging sets the EnableMapAutoTagging field's value. +func (s *GetLaunchConfigurationOutput) SetEnableMapAutoTagging(v bool) *GetLaunchConfigurationOutput { + s.EnableMapAutoTagging = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DescribeSourceServersRequestFilters) GoString() string { - return s.String() +// SetLaunchDisposition sets the LaunchDisposition field's value. +func (s *GetLaunchConfigurationOutput) SetLaunchDisposition(v string) *GetLaunchConfigurationOutput { + s.LaunchDisposition = &v + return s } -// SetApplicationIDs sets the ApplicationIDs field's value. -func (s *DescribeSourceServersRequestFilters) SetApplicationIDs(v []*string) *DescribeSourceServersRequestFilters { - s.ApplicationIDs = v +// SetLicensing sets the Licensing field's value. +func (s *GetLaunchConfigurationOutput) SetLicensing(v *Licensing) *GetLaunchConfigurationOutput { + s.Licensing = v return s } -// SetIsArchived sets the IsArchived field's value. -func (s *DescribeSourceServersRequestFilters) SetIsArchived(v bool) *DescribeSourceServersRequestFilters { - s.IsArchived = &v +// SetMapAutoTaggingMpeID sets the MapAutoTaggingMpeID field's value. +func (s *GetLaunchConfigurationOutput) SetMapAutoTaggingMpeID(v string) *GetLaunchConfigurationOutput { + s.MapAutoTaggingMpeID = &v return s } -// SetLifeCycleStates sets the LifeCycleStates field's value. -func (s *DescribeSourceServersRequestFilters) SetLifeCycleStates(v []*string) *DescribeSourceServersRequestFilters { - s.LifeCycleStates = v +// SetName sets the Name field's value. +func (s *GetLaunchConfigurationOutput) SetName(v string) *GetLaunchConfigurationOutput { + s.Name = &v return s } -// SetReplicationTypes sets the ReplicationTypes field's value. -func (s *DescribeSourceServersRequestFilters) SetReplicationTypes(v []*string) *DescribeSourceServersRequestFilters { - s.ReplicationTypes = v +// SetPostLaunchActions sets the PostLaunchActions field's value. +func (s *GetLaunchConfigurationOutput) SetPostLaunchActions(v *PostLaunchActions) *GetLaunchConfigurationOutput { + s.PostLaunchActions = v return s } -// SetSourceServerIDs sets the SourceServerIDs field's value. -func (s *DescribeSourceServersRequestFilters) SetSourceServerIDs(v []*string) *DescribeSourceServersRequestFilters { - s.SourceServerIDs = v +// SetSourceServerID sets the SourceServerID field's value. +func (s *GetLaunchConfigurationOutput) SetSourceServerID(v string) *GetLaunchConfigurationOutput { + s.SourceServerID = &v return s } -type DescribeVcenterClientsInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. +func (s *GetLaunchConfigurationOutput) SetTargetInstanceTypeRightSizingMethod(v string) *GetLaunchConfigurationOutput { + s.TargetInstanceTypeRightSizingMethod = &v + return s +} - // Maximum results to be returned in DescribeVcenterClients. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` +type GetReplicationConfigurationInput struct { + _ struct{} `type:"structure"` - // Next pagination token to be provided for DescribeVcenterClients. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // Request to get Replication Configuration by Source Server ID. + // + // SourceServerID is a required field + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` } // String returns the string representation. @@ -9039,7 +10944,7 @@ type DescribeVcenterClientsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeVcenterClientsInput) String() string { +func (s GetReplicationConfigurationInput) String() string { return awsutil.Prettify(s) } @@ -9048,15 +10953,18 @@ func (s DescribeVcenterClientsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeVcenterClientsInput) GoString() string { +func (s GetReplicationConfigurationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeVcenterClientsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeVcenterClientsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *GetReplicationConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReplicationConfigurationInput"} + if s.SourceServerID == nil { + invalidParams.Add(request.NewErrParamRequired("SourceServerID")) + } + if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { + invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) } if invalidParams.Len() > 0 { @@ -9065,26 +10973,64 @@ func (s *DescribeVcenterClientsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVcenterClientsInput) SetMaxResults(v int64) *DescribeVcenterClientsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVcenterClientsInput) SetNextToken(v string) *DescribeVcenterClientsInput { - s.NextToken = &v +// SetSourceServerID sets the SourceServerID field's value. +func (s *GetReplicationConfigurationInput) SetSourceServerID(v string) *GetReplicationConfigurationInput { + s.SourceServerID = &v return s } -type DescribeVcenterClientsOutput struct { +type GetReplicationConfigurationOutput struct { _ struct{} `type:"structure"` - // List of items returned by DescribeVcenterClients. - Items []*VcenterClient `locationName:"items" type:"list"` + // Replication Configuration associate default Application Migration Service + // Security Group. + AssociateDefaultSecurityGroup *bool `locationName:"associateDefaultSecurityGroup" type:"boolean"` - // Next pagination token returned from DescribeVcenterClients. - NextToken *string `locationName:"nextToken" type:"string"` + // Replication Configuration set bandwidth throttling. + BandwidthThrottling *int64 `locationName:"bandwidthThrottling" type:"long"` + + // Replication Configuration create Public IP. + CreatePublicIP *bool `locationName:"createPublicIP" type:"boolean"` + + // Replication Configuration data plane routing. + DataPlaneRouting *string `locationName:"dataPlaneRouting" type:"string" enum:"ReplicationConfigurationDataPlaneRouting"` + + // Replication Configuration use default large Staging Disks. + DefaultLargeStagingDiskType *string `locationName:"defaultLargeStagingDiskType" type:"string" enum:"ReplicationConfigurationDefaultLargeStagingDiskType"` + + // Replication Configuration EBS encryption. + EbsEncryption *string `locationName:"ebsEncryption" type:"string" enum:"ReplicationConfigurationEbsEncryption"` + + // Replication Configuration EBS encryption key ARN. + EbsEncryptionKeyArn *string `locationName:"ebsEncryptionKeyArn" min:"20" type:"string"` + + // Replication Configuration name. + Name *string `locationName:"name" type:"string"` + + // Replication Configuration replicated disks. + ReplicatedDisks []*ReplicationConfigurationReplicatedDisk `locationName:"replicatedDisks" type:"list"` + + // Replication Configuration Replication Server instance type. + ReplicationServerInstanceType *string `locationName:"replicationServerInstanceType" type:"string"` + + // Replication Configuration Replication Server Security Group IDs. + ReplicationServersSecurityGroupsIDs []*string `locationName:"replicationServersSecurityGroupsIDs" type:"list"` + + // Replication Configuration Source Server ID. + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` + + // Replication Configuration Staging Area subnet ID. + StagingAreaSubnetId *string `locationName:"stagingAreaSubnetId" type:"string"` + + // Replication Configuration Staging Area tags. + // + // StagingAreaTags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by GetReplicationConfigurationOutput's + // String and GoString methods. + StagingAreaTags map[string]*string `locationName:"stagingAreaTags" type:"map" sensitive:"true"` + + // Replication Configuration use Dedicated Replication Server. + UseDedicatedReplicationServer *bool `locationName:"useDedicatedReplicationServer" type:"boolean"` } // String returns the string representation. @@ -9092,7 +11038,7 @@ type DescribeVcenterClientsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeVcenterClientsOutput) String() string { +func (s GetReplicationConfigurationOutput) String() string { return awsutil.Prettify(s) } @@ -9101,122 +11047,118 @@ func (s DescribeVcenterClientsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeVcenterClientsOutput) GoString() string { +func (s GetReplicationConfigurationOutput) GoString() string { return s.String() } -// SetItems sets the Items field's value. -func (s *DescribeVcenterClientsOutput) SetItems(v []*VcenterClient) *DescribeVcenterClientsOutput { - s.Items = v +// SetAssociateDefaultSecurityGroup sets the AssociateDefaultSecurityGroup field's value. +func (s *GetReplicationConfigurationOutput) SetAssociateDefaultSecurityGroup(v bool) *GetReplicationConfigurationOutput { + s.AssociateDefaultSecurityGroup = &v + return s +} + +// SetBandwidthThrottling sets the BandwidthThrottling field's value. +func (s *GetReplicationConfigurationOutput) SetBandwidthThrottling(v int64) *GetReplicationConfigurationOutput { + s.BandwidthThrottling = &v + return s +} + +// SetCreatePublicIP sets the CreatePublicIP field's value. +func (s *GetReplicationConfigurationOutput) SetCreatePublicIP(v bool) *GetReplicationConfigurationOutput { + s.CreatePublicIP = &v + return s +} + +// SetDataPlaneRouting sets the DataPlaneRouting field's value. +func (s *GetReplicationConfigurationOutput) SetDataPlaneRouting(v string) *GetReplicationConfigurationOutput { + s.DataPlaneRouting = &v + return s +} + +// SetDefaultLargeStagingDiskType sets the DefaultLargeStagingDiskType field's value. +func (s *GetReplicationConfigurationOutput) SetDefaultLargeStagingDiskType(v string) *GetReplicationConfigurationOutput { + s.DefaultLargeStagingDiskType = &v + return s +} + +// SetEbsEncryption sets the EbsEncryption field's value. +func (s *GetReplicationConfigurationOutput) SetEbsEncryption(v string) *GetReplicationConfigurationOutput { + s.EbsEncryption = &v + return s +} + +// SetEbsEncryptionKeyArn sets the EbsEncryptionKeyArn field's value. +func (s *GetReplicationConfigurationOutput) SetEbsEncryptionKeyArn(v string) *GetReplicationConfigurationOutput { + s.EbsEncryptionKeyArn = &v + return s +} + +// SetName sets the Name field's value. +func (s *GetReplicationConfigurationOutput) SetName(v string) *GetReplicationConfigurationOutput { + s.Name = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *DescribeVcenterClientsOutput) SetNextToken(v string) *DescribeVcenterClientsOutput { - s.NextToken = &v +// SetReplicatedDisks sets the ReplicatedDisks field's value. +func (s *GetReplicationConfigurationOutput) SetReplicatedDisks(v []*ReplicationConfigurationReplicatedDisk) *GetReplicationConfigurationOutput { + s.ReplicatedDisks = v return s } -type DisassociateApplicationsInput struct { - _ struct{} `type:"structure"` - - // Application IDs list. - // - // ApplicationIDs is a required field - ApplicationIDs []*string `locationName:"applicationIDs" min:"1" type:"list" required:"true"` - - // Wave ID. - // - // WaveID is a required field - WaveID *string `locationName:"waveID" min:"22" type:"string" required:"true"` +// SetReplicationServerInstanceType sets the ReplicationServerInstanceType field's value. +func (s *GetReplicationConfigurationOutput) SetReplicationServerInstanceType(v string) *GetReplicationConfigurationOutput { + s.ReplicationServerInstanceType = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DisassociateApplicationsInput) String() string { - return awsutil.Prettify(s) +// SetReplicationServersSecurityGroupsIDs sets the ReplicationServersSecurityGroupsIDs field's value. +func (s *GetReplicationConfigurationOutput) SetReplicationServersSecurityGroupsIDs(v []*string) *GetReplicationConfigurationOutput { + s.ReplicationServersSecurityGroupsIDs = v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DisassociateApplicationsInput) GoString() string { - return s.String() +// SetSourceServerID sets the SourceServerID field's value. +func (s *GetReplicationConfigurationOutput) SetSourceServerID(v string) *GetReplicationConfigurationOutput { + s.SourceServerID = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DisassociateApplicationsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DisassociateApplicationsInput"} - if s.ApplicationIDs == nil { - invalidParams.Add(request.NewErrParamRequired("ApplicationIDs")) - } - if s.ApplicationIDs != nil && len(s.ApplicationIDs) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ApplicationIDs", 1)) - } - if s.WaveID == nil { - invalidParams.Add(request.NewErrParamRequired("WaveID")) - } - if s.WaveID != nil && len(*s.WaveID) < 22 { - invalidParams.Add(request.NewErrParamMinLen("WaveID", 22)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetStagingAreaSubnetId sets the StagingAreaSubnetId field's value. +func (s *GetReplicationConfigurationOutput) SetStagingAreaSubnetId(v string) *GetReplicationConfigurationOutput { + s.StagingAreaSubnetId = &v + return s } -// SetApplicationIDs sets the ApplicationIDs field's value. -func (s *DisassociateApplicationsInput) SetApplicationIDs(v []*string) *DisassociateApplicationsInput { - s.ApplicationIDs = v +// SetStagingAreaTags sets the StagingAreaTags field's value. +func (s *GetReplicationConfigurationOutput) SetStagingAreaTags(v map[string]*string) *GetReplicationConfigurationOutput { + s.StagingAreaTags = v return s } -// SetWaveID sets the WaveID field's value. -func (s *DisassociateApplicationsInput) SetWaveID(v string) *DisassociateApplicationsInput { - s.WaveID = &v +// SetUseDedicatedReplicationServer sets the UseDedicatedReplicationServer field's value. +func (s *GetReplicationConfigurationOutput) SetUseDedicatedReplicationServer(v bool) *GetReplicationConfigurationOutput { + s.UseDedicatedReplicationServer = &v return s } -type DisassociateApplicationsOutput struct { +// Identification hints. +type IdentificationHints struct { _ struct{} `type:"structure"` -} -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DisassociateApplicationsOutput) String() string { - return awsutil.Prettify(s) -} + // AWS Instance ID identification hint. + AwsInstanceID *string `locationName:"awsInstanceID" type:"string"` -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DisassociateApplicationsOutput) GoString() string { - return s.String() -} + // FQDN address identification hint. + Fqdn *string `locationName:"fqdn" type:"string"` -type DisassociateSourceServersInput struct { - _ struct{} `type:"structure"` + // Hostname identification hint. + Hostname *string `locationName:"hostname" type:"string"` - // Application ID. - // - // ApplicationID is a required field - ApplicationID *string `locationName:"applicationID" min:"21" type:"string" required:"true"` + // vCenter VM path identification hint. + VmPath *string `locationName:"vmPath" type:"string"` - // Source server IDs list. - // - // SourceServerIDs is a required field - SourceServerIDs []*string `locationName:"sourceServerIDs" min:"1" type:"list" required:"true"` + // vmWare UUID identification hint. + VmWareUuid *string `locationName:"vmWareUuid" type:"string"` } // String returns the string representation. @@ -9224,7 +11166,7 @@ type DisassociateSourceServersInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateSourceServersInput) String() string { +func (s IdentificationHints) String() string { return awsutil.Prettify(s) } @@ -9233,46 +11175,61 @@ func (s DisassociateSourceServersInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateSourceServersInput) GoString() string { +func (s IdentificationHints) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DisassociateSourceServersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DisassociateSourceServersInput"} - if s.ApplicationID == nil { - invalidParams.Add(request.NewErrParamRequired("ApplicationID")) - } - if s.ApplicationID != nil && len(*s.ApplicationID) < 21 { - invalidParams.Add(request.NewErrParamMinLen("ApplicationID", 21)) - } - if s.SourceServerIDs == nil { - invalidParams.Add(request.NewErrParamRequired("SourceServerIDs")) - } - if s.SourceServerIDs != nil && len(s.SourceServerIDs) < 1 { - invalidParams.Add(request.NewErrParamMinLen("SourceServerIDs", 1)) - } +// SetAwsInstanceID sets the AwsInstanceID field's value. +func (s *IdentificationHints) SetAwsInstanceID(v string) *IdentificationHints { + s.AwsInstanceID = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetFqdn sets the Fqdn field's value. +func (s *IdentificationHints) SetFqdn(v string) *IdentificationHints { + s.Fqdn = &v + return s } -// SetApplicationID sets the ApplicationID field's value. -func (s *DisassociateSourceServersInput) SetApplicationID(v string) *DisassociateSourceServersInput { - s.ApplicationID = &v +// SetHostname sets the Hostname field's value. +func (s *IdentificationHints) SetHostname(v string) *IdentificationHints { + s.Hostname = &v return s } -// SetSourceServerIDs sets the SourceServerIDs field's value. -func (s *DisassociateSourceServersInput) SetSourceServerIDs(v []*string) *DisassociateSourceServersInput { - s.SourceServerIDs = v +// SetVmPath sets the VmPath field's value. +func (s *IdentificationHints) SetVmPath(v string) *IdentificationHints { + s.VmPath = &v return s } -type DisassociateSourceServersOutput struct { +// SetVmWareUuid sets the VmWareUuid field's value. +func (s *IdentificationHints) SetVmWareUuid(v string) *IdentificationHints { + s.VmWareUuid = &v + return s +} + +// Import error data. +type ImportErrorData struct { _ struct{} `type:"structure"` + + // Import error data application ID. + ApplicationID *string `locationName:"applicationID" min:"21" type:"string"` + + // Import error data ec2 LaunchTemplate ID. + Ec2LaunchTemplateID *string `locationName:"ec2LaunchTemplateID" type:"string"` + + // Import error data raw error. + RawError *string `locationName:"rawError" type:"string"` + + // Import error data row number. + RowNumber *int64 `locationName:"rowNumber" type:"long"` + + // Import error data source server ID. + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` + + // Import error data wave id. + WaveID *string `locationName:"waveID" min:"22" type:"string"` } // String returns the string representation. @@ -9280,7 +11237,7 @@ type DisassociateSourceServersOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateSourceServersOutput) String() string { +func (s ImportErrorData) String() string { return awsutil.Prettify(s) } @@ -9289,98 +11246,70 @@ func (s DisassociateSourceServersOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisassociateSourceServersOutput) GoString() string { +func (s ImportErrorData) GoString() string { return s.String() } -type DisconnectFromServiceInput struct { - _ struct{} `type:"structure"` - - // Request to disconnect Source Server from service by Server ID. - // - // SourceServerID is a required field - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` +// SetApplicationID sets the ApplicationID field's value. +func (s *ImportErrorData) SetApplicationID(v string) *ImportErrorData { + s.ApplicationID = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DisconnectFromServiceInput) String() string { - return awsutil.Prettify(s) +// SetEc2LaunchTemplateID sets the Ec2LaunchTemplateID field's value. +func (s *ImportErrorData) SetEc2LaunchTemplateID(v string) *ImportErrorData { + s.Ec2LaunchTemplateID = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s DisconnectFromServiceInput) GoString() string { - return s.String() +// SetRawError sets the RawError field's value. +func (s *ImportErrorData) SetRawError(v string) *ImportErrorData { + s.RawError = &v + return s } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DisconnectFromServiceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DisconnectFromServiceInput"} - if s.SourceServerID == nil { - invalidParams.Add(request.NewErrParamRequired("SourceServerID")) - } - if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { - invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetRowNumber sets the RowNumber field's value. +func (s *ImportErrorData) SetRowNumber(v int64) *ImportErrorData { + s.RowNumber = &v + return s } // SetSourceServerID sets the SourceServerID field's value. -func (s *DisconnectFromServiceInput) SetSourceServerID(v string) *DisconnectFromServiceInput { +func (s *ImportErrorData) SetSourceServerID(v string) *ImportErrorData { s.SourceServerID = &v return s } -type DisconnectFromServiceOutput struct { - _ struct{} `type:"structure"` - - // Source server application ID. - ApplicationID *string `locationName:"applicationID" min:"21" type:"string"` - - // Source server ARN. - Arn *string `locationName:"arn" min:"20" type:"string"` - - // Source server data replication info. - DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` +// SetWaveID sets the WaveID field's value. +func (s *ImportErrorData) SetWaveID(v string) *ImportErrorData { + s.WaveID = &v + return s +} - // Source server archived status. - IsArchived *bool `locationName:"isArchived" type:"boolean"` +// Import task. +type ImportTask struct { + _ struct{} `type:"structure"` - // Source server launched instance. - LaunchedInstance *LaunchedInstance `locationName:"launchedInstance" type:"structure"` + // Import task creation datetime. + CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` - // Source server lifecycle state. - LifeCycle *LifeCycle `locationName:"lifeCycle" type:"structure"` + // Import task end datetime. + EndDateTime *string `locationName:"endDateTime" min:"19" type:"string"` - // Source server replication type. - ReplicationType *string `locationName:"replicationType" type:"string" enum:"ReplicationType"` + // Import task id. + ImportID *string `locationName:"importID" min:"24" type:"string"` - // Source server properties. - SourceProperties *SourceProperties `locationName:"sourceProperties" type:"structure"` + // Import task progress percentage. + ProgressPercentage *float64 `locationName:"progressPercentage" type:"float"` - // Source server ID. - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` + // Import task s3 bucket source. + S3BucketSource *S3BucketSource `locationName:"s3BucketSource" type:"structure"` - // Source server Tags. - // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by DisconnectFromServiceOutput's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Import task status. + Status *string `locationName:"status" type:"string" enum:"ImportStatus"` - // Source server vCenter client id. - VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` + // Import task summary. + Summary *ImportTaskSummary `locationName:"summary" type:"structure"` } // String returns the string representation. @@ -9388,7 +11317,7 @@ type DisconnectFromServiceOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisconnectFromServiceOutput) String() string { +func (s ImportTask) String() string { return awsutil.Prettify(s) } @@ -9397,85 +11326,64 @@ func (s DisconnectFromServiceOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DisconnectFromServiceOutput) GoString() string { +func (s ImportTask) GoString() string { return s.String() } -// SetApplicationID sets the ApplicationID field's value. -func (s *DisconnectFromServiceOutput) SetApplicationID(v string) *DisconnectFromServiceOutput { - s.ApplicationID = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *DisconnectFromServiceOutput) SetArn(v string) *DisconnectFromServiceOutput { - s.Arn = &v - return s -} - -// SetDataReplicationInfo sets the DataReplicationInfo field's value. -func (s *DisconnectFromServiceOutput) SetDataReplicationInfo(v *DataReplicationInfo) *DisconnectFromServiceOutput { - s.DataReplicationInfo = v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *DisconnectFromServiceOutput) SetIsArchived(v bool) *DisconnectFromServiceOutput { - s.IsArchived = &v - return s -} - -// SetLaunchedInstance sets the LaunchedInstance field's value. -func (s *DisconnectFromServiceOutput) SetLaunchedInstance(v *LaunchedInstance) *DisconnectFromServiceOutput { - s.LaunchedInstance = v +// SetCreationDateTime sets the CreationDateTime field's value. +func (s *ImportTask) SetCreationDateTime(v string) *ImportTask { + s.CreationDateTime = &v return s } -// SetLifeCycle sets the LifeCycle field's value. -func (s *DisconnectFromServiceOutput) SetLifeCycle(v *LifeCycle) *DisconnectFromServiceOutput { - s.LifeCycle = v +// SetEndDateTime sets the EndDateTime field's value. +func (s *ImportTask) SetEndDateTime(v string) *ImportTask { + s.EndDateTime = &v return s } -// SetReplicationType sets the ReplicationType field's value. -func (s *DisconnectFromServiceOutput) SetReplicationType(v string) *DisconnectFromServiceOutput { - s.ReplicationType = &v +// SetImportID sets the ImportID field's value. +func (s *ImportTask) SetImportID(v string) *ImportTask { + s.ImportID = &v return s } -// SetSourceProperties sets the SourceProperties field's value. -func (s *DisconnectFromServiceOutput) SetSourceProperties(v *SourceProperties) *DisconnectFromServiceOutput { - s.SourceProperties = v +// SetProgressPercentage sets the ProgressPercentage field's value. +func (s *ImportTask) SetProgressPercentage(v float64) *ImportTask { + s.ProgressPercentage = &v return s } -// SetSourceServerID sets the SourceServerID field's value. -func (s *DisconnectFromServiceOutput) SetSourceServerID(v string) *DisconnectFromServiceOutput { - s.SourceServerID = &v +// SetS3BucketSource sets the S3BucketSource field's value. +func (s *ImportTask) SetS3BucketSource(v *S3BucketSource) *ImportTask { + s.S3BucketSource = v return s } -// SetTags sets the Tags field's value. -func (s *DisconnectFromServiceOutput) SetTags(v map[string]*string) *DisconnectFromServiceOutput { - s.Tags = v +// SetStatus sets the Status field's value. +func (s *ImportTask) SetStatus(v string) *ImportTask { + s.Status = &v return s } -// SetVcenterClientID sets the VcenterClientID field's value. -func (s *DisconnectFromServiceOutput) SetVcenterClientID(v string) *DisconnectFromServiceOutput { - s.VcenterClientID = &v +// SetSummary sets the Summary field's value. +func (s *ImportTask) SetSummary(v *ImportTaskSummary) *ImportTask { + s.Summary = v return s } -// The disk identifier. -type Disk struct { +// Import task error. +type ImportTaskError struct { _ struct{} `type:"structure"` - // The amount of storage on the disk in bytes. - Bytes *int64 `locationName:"bytes" type:"long"` + // Import task error data. + ErrorData *ImportErrorData `locationName:"errorData" type:"structure"` - // The disk or device name. - DeviceName *string `locationName:"deviceName" type:"string"` + // Import task error datetime. + ErrorDateTime *string `locationName:"errorDateTime" min:"19" type:"string"` + + // Import task error type. + ErrorType *string `locationName:"errorType" type:"string" enum:"ImportErrorType"` } // String returns the string representation. @@ -9483,7 +11391,7 @@ type Disk struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Disk) String() string { +func (s ImportTaskError) String() string { return awsutil.Prettify(s) } @@ -9492,37 +11400,40 @@ func (s Disk) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Disk) GoString() string { +func (s ImportTaskError) GoString() string { return s.String() } -// SetBytes sets the Bytes field's value. -func (s *Disk) SetBytes(v int64) *Disk { - s.Bytes = &v +// SetErrorData sets the ErrorData field's value. +func (s *ImportTaskError) SetErrorData(v *ImportErrorData) *ImportTaskError { + s.ErrorData = v return s } -// SetDeviceName sets the DeviceName field's value. -func (s *Disk) SetDeviceName(v string) *Disk { - s.DeviceName = &v +// SetErrorDateTime sets the ErrorDateTime field's value. +func (s *ImportTaskError) SetErrorDateTime(v string) *ImportTaskError { + s.ErrorDateTime = &v return s } -// Error details. -type ErrorDetails struct { - _ struct{} `type:"structure"` +// SetErrorType sets the ErrorType field's value. +func (s *ImportTaskError) SetErrorType(v string) *ImportTaskError { + s.ErrorType = &v + return s +} - // Error details code. - Code *string `locationName:"code" type:"string"` +// Import task summary. +type ImportTaskSummary struct { + _ struct{} `type:"structure"` - // Error details message. - Message *string `locationName:"message" type:"string"` + // Import task summary applications. + Applications *ImportTaskSummaryApplications `locationName:"applications" type:"structure"` - // Error details resourceId. - ResourceId *string `locationName:"resourceId" type:"string"` + // Import task summary servers. + Servers *ImportTaskSummaryServers `locationName:"servers" type:"structure"` - // Error details resourceType. - ResourceType *string `locationName:"resourceType" type:"string"` + // Import task summary waves. + Waves *ImportTaskSummaryWaves `locationName:"waves" type:"structure"` } // String returns the string representation. @@ -9530,7 +11441,7 @@ type ErrorDetails struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ErrorDetails) String() string { +func (s ImportTaskSummary) String() string { return awsutil.Prettify(s) } @@ -9539,41 +11450,37 @@ func (s ErrorDetails) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ErrorDetails) GoString() string { +func (s ImportTaskSummary) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ErrorDetails) SetCode(v string) *ErrorDetails { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *ErrorDetails) SetMessage(v string) *ErrorDetails { - s.Message = &v +// SetApplications sets the Applications field's value. +func (s *ImportTaskSummary) SetApplications(v *ImportTaskSummaryApplications) *ImportTaskSummary { + s.Applications = v return s } -// SetResourceId sets the ResourceId field's value. -func (s *ErrorDetails) SetResourceId(v string) *ErrorDetails { - s.ResourceId = &v +// SetServers sets the Servers field's value. +func (s *ImportTaskSummary) SetServers(v *ImportTaskSummaryServers) *ImportTaskSummary { + s.Servers = v return s } -// SetResourceType sets the ResourceType field's value. -func (s *ErrorDetails) SetResourceType(v string) *ErrorDetails { - s.ResourceType = &v +// SetWaves sets the Waves field's value. +func (s *ImportTaskSummary) SetWaves(v *ImportTaskSummaryWaves) *ImportTaskSummary { + s.Waves = v return s } -type FinalizeCutoverInput struct { +// Import task summary applications. +type ImportTaskSummaryApplications struct { _ struct{} `type:"structure"` - // Request to finalize Cutover by Source Server ID. - // - // SourceServerID is a required field - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` + // Import task summary applications created count. + CreatedCount *int64 `locationName:"createdCount" type:"long"` + + // Import task summary applications modified count. + ModifiedCount *int64 `locationName:"modifiedCount" type:"long"` } // String returns the string representation. @@ -9581,7 +11488,7 @@ type FinalizeCutoverInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FinalizeCutoverInput) String() string { +func (s ImportTaskSummaryApplications) String() string { return awsutil.Prettify(s) } @@ -9590,71 +11497,31 @@ func (s FinalizeCutoverInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FinalizeCutoverInput) GoString() string { +func (s ImportTaskSummaryApplications) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *FinalizeCutoverInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "FinalizeCutoverInput"} - if s.SourceServerID == nil { - invalidParams.Add(request.NewErrParamRequired("SourceServerID")) - } - if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { - invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCreatedCount sets the CreatedCount field's value. +func (s *ImportTaskSummaryApplications) SetCreatedCount(v int64) *ImportTaskSummaryApplications { + s.CreatedCount = &v + return s } -// SetSourceServerID sets the SourceServerID field's value. -func (s *FinalizeCutoverInput) SetSourceServerID(v string) *FinalizeCutoverInput { - s.SourceServerID = &v +// SetModifiedCount sets the ModifiedCount field's value. +func (s *ImportTaskSummaryApplications) SetModifiedCount(v int64) *ImportTaskSummaryApplications { + s.ModifiedCount = &v return s } -type FinalizeCutoverOutput struct { +// Import task summary servers. +type ImportTaskSummaryServers struct { _ struct{} `type:"structure"` - // Source server application ID. - ApplicationID *string `locationName:"applicationID" min:"21" type:"string"` - - // Source server ARN. - Arn *string `locationName:"arn" min:"20" type:"string"` - - // Source server data replication info. - DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` - - // Source server archived status. - IsArchived *bool `locationName:"isArchived" type:"boolean"` - - // Source server launched instance. - LaunchedInstance *LaunchedInstance `locationName:"launchedInstance" type:"structure"` - - // Source server lifecycle state. - LifeCycle *LifeCycle `locationName:"lifeCycle" type:"structure"` - - // Source server replication type. - ReplicationType *string `locationName:"replicationType" type:"string" enum:"ReplicationType"` - - // Source server properties. - SourceProperties *SourceProperties `locationName:"sourceProperties" type:"structure"` - - // Source server ID. - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` - - // Source server Tags. - // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by FinalizeCutoverOutput's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Import task summary servers created count. + CreatedCount *int64 `locationName:"createdCount" type:"long"` - // Source server vCenter client id. - VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` + // Import task summary servers modified count. + ModifiedCount *int64 `locationName:"modifiedCount" type:"long"` } // String returns the string representation. @@ -9662,7 +11529,7 @@ type FinalizeCutoverOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FinalizeCutoverOutput) String() string { +func (s ImportTaskSummaryServers) String() string { return awsutil.Prettify(s) } @@ -9671,83 +11538,87 @@ func (s FinalizeCutoverOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s FinalizeCutoverOutput) GoString() string { +func (s ImportTaskSummaryServers) GoString() string { return s.String() } -// SetApplicationID sets the ApplicationID field's value. -func (s *FinalizeCutoverOutput) SetApplicationID(v string) *FinalizeCutoverOutput { - s.ApplicationID = &v +// SetCreatedCount sets the CreatedCount field's value. +func (s *ImportTaskSummaryServers) SetCreatedCount(v int64) *ImportTaskSummaryServers { + s.CreatedCount = &v return s } -// SetArn sets the Arn field's value. -func (s *FinalizeCutoverOutput) SetArn(v string) *FinalizeCutoverOutput { - s.Arn = &v +// SetModifiedCount sets the ModifiedCount field's value. +func (s *ImportTaskSummaryServers) SetModifiedCount(v int64) *ImportTaskSummaryServers { + s.ModifiedCount = &v return s } -// SetDataReplicationInfo sets the DataReplicationInfo field's value. -func (s *FinalizeCutoverOutput) SetDataReplicationInfo(v *DataReplicationInfo) *FinalizeCutoverOutput { - s.DataReplicationInfo = v - return s -} +// Import task summery waves. +type ImportTaskSummaryWaves struct { + _ struct{} `type:"structure"` -// SetIsArchived sets the IsArchived field's value. -func (s *FinalizeCutoverOutput) SetIsArchived(v bool) *FinalizeCutoverOutput { - s.IsArchived = &v - return s + // Import task summery waves created count. + CreatedCount *int64 `locationName:"createdCount" type:"long"` + + // Import task summery waves modified count. + ModifiedCount *int64 `locationName:"modifiedCount" type:"long"` } -// SetLaunchedInstance sets the LaunchedInstance field's value. -func (s *FinalizeCutoverOutput) SetLaunchedInstance(v *LaunchedInstance) *FinalizeCutoverOutput { - s.LaunchedInstance = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportTaskSummaryWaves) String() string { + return awsutil.Prettify(s) } -// SetLifeCycle sets the LifeCycle field's value. -func (s *FinalizeCutoverOutput) SetLifeCycle(v *LifeCycle) *FinalizeCutoverOutput { - s.LifeCycle = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportTaskSummaryWaves) GoString() string { + return s.String() } -// SetReplicationType sets the ReplicationType field's value. -func (s *FinalizeCutoverOutput) SetReplicationType(v string) *FinalizeCutoverOutput { - s.ReplicationType = &v +// SetCreatedCount sets the CreatedCount field's value. +func (s *ImportTaskSummaryWaves) SetCreatedCount(v int64) *ImportTaskSummaryWaves { + s.CreatedCount = &v return s } -// SetSourceProperties sets the SourceProperties field's value. -func (s *FinalizeCutoverOutput) SetSourceProperties(v *SourceProperties) *FinalizeCutoverOutput { - s.SourceProperties = v +// SetModifiedCount sets the ModifiedCount field's value. +func (s *ImportTaskSummaryWaves) SetModifiedCount(v int64) *ImportTaskSummaryWaves { + s.ModifiedCount = &v return s } -// SetSourceServerID sets the SourceServerID field's value. -func (s *FinalizeCutoverOutput) SetSourceServerID(v string) *FinalizeCutoverOutput { - s.SourceServerID = &v - return s +type InitializeServiceInput struct { + _ struct{} `type:"structure" nopayload:"true"` } -// SetTags sets the Tags field's value. -func (s *FinalizeCutoverOutput) SetTags(v map[string]*string) *FinalizeCutoverOutput { - s.Tags = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InitializeServiceInput) String() string { + return awsutil.Prettify(s) } -// SetVcenterClientID sets the VcenterClientID field's value. -func (s *FinalizeCutoverOutput) SetVcenterClientID(v string) *FinalizeCutoverOutput { - s.VcenterClientID = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InitializeServiceInput) GoString() string { + return s.String() } -type GetLaunchConfigurationInput struct { +type InitializeServiceOutput struct { _ struct{} `type:"structure"` - - // Request to get Launch Configuration information by Source Server ID. - // - // SourceServerID is a required field - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` } // String returns the string representation. @@ -9755,7 +11626,7 @@ type GetLaunchConfigurationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetLaunchConfigurationInput) String() string { +func (s InitializeServiceOutput) String() string { return awsutil.Prettify(s) } @@ -9764,70 +11635,21 @@ func (s GetLaunchConfigurationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetLaunchConfigurationInput) GoString() string { +func (s InitializeServiceOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetLaunchConfigurationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetLaunchConfigurationInput"} - if s.SourceServerID == nil { - invalidParams.Add(request.NewErrParamRequired("SourceServerID")) - } - if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { - invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetSourceServerID sets the SourceServerID field's value. -func (s *GetLaunchConfigurationInput) SetSourceServerID(v string) *GetLaunchConfigurationInput { - s.SourceServerID = &v - return s -} - -type GetLaunchConfigurationOutput struct { - _ struct{} `type:"structure"` - - // Launch configuration boot mode. - BootMode *string `locationName:"bootMode" type:"string" enum:"BootMode"` - - // Copy Private IP during Launch Configuration. - CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` - - // Copy Tags during Launch Configuration. - CopyTags *bool `locationName:"copyTags" type:"boolean"` - - // Launch configuration EC2 Launch template ID. - Ec2LaunchTemplateID *string `locationName:"ec2LaunchTemplateID" type:"string"` - - // Enable map auto tagging. - EnableMapAutoTagging *bool `locationName:"enableMapAutoTagging" type:"boolean"` - - // Launch disposition for launch configuration. - LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` - - // Launch configuration OS licensing. - Licensing *Licensing `locationName:"licensing" type:"structure"` - - // Map auto tagging MPE ID. - MapAutoTaggingMpeID *string `locationName:"mapAutoTaggingMpeID" type:"string"` - - // Launch configuration name. - Name *string `locationName:"name" type:"string"` - - // Post Launch Actions to executed on the Test or Cutover instance. - PostLaunchActions *PostLaunchActions `locationName:"postLaunchActions" type:"structure"` +// The server encountered an unexpected condition that prevented it from fulfilling +// the request. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // Launch configuration Source Server ID. - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` + Message_ *string `locationName:"message" type:"string"` - // Launch configuration Target instance type right sizing method. - TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` + // The server encountered an unexpected condition that prevented it from fulfilling + // the request. The request will be retried again after x seconds. + RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"long"` } // String returns the string representation. @@ -9835,7 +11657,7 @@ type GetLaunchConfigurationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetLaunchConfigurationOutput) String() string { +func (s InternalServerException) String() string { return awsutil.Prettify(s) } @@ -9844,89 +11666,84 @@ func (s GetLaunchConfigurationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetLaunchConfigurationOutput) GoString() string { +func (s InternalServerException) GoString() string { return s.String() } -// SetBootMode sets the BootMode field's value. -func (s *GetLaunchConfigurationOutput) SetBootMode(v string) *GetLaunchConfigurationOutput { - s.BootMode = &v - return s +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } } -// SetCopyPrivateIp sets the CopyPrivateIp field's value. -func (s *GetLaunchConfigurationOutput) SetCopyPrivateIp(v bool) *GetLaunchConfigurationOutput { - s.CopyPrivateIp = &v - return s +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" } -// SetCopyTags sets the CopyTags field's value. -func (s *GetLaunchConfigurationOutput) SetCopyTags(v bool) *GetLaunchConfigurationOutput { - s.CopyTags = &v - return s +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetEc2LaunchTemplateID sets the Ec2LaunchTemplateID field's value. -func (s *GetLaunchConfigurationOutput) SetEc2LaunchTemplateID(v string) *GetLaunchConfigurationOutput { - s.Ec2LaunchTemplateID = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil } -// SetEnableMapAutoTagging sets the EnableMapAutoTagging field's value. -func (s *GetLaunchConfigurationOutput) SetEnableMapAutoTagging(v bool) *GetLaunchConfigurationOutput { - s.EnableMapAutoTagging = &v - return s +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } -// SetLaunchDisposition sets the LaunchDisposition field's value. -func (s *GetLaunchConfigurationOutput) SetLaunchDisposition(v string) *GetLaunchConfigurationOutput { - s.LaunchDisposition = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetLicensing sets the Licensing field's value. -func (s *GetLaunchConfigurationOutput) SetLicensing(v *Licensing) *GetLaunchConfigurationOutput { - s.Licensing = v - return s +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID } -// SetMapAutoTaggingMpeID sets the MapAutoTaggingMpeID field's value. -func (s *GetLaunchConfigurationOutput) SetMapAutoTaggingMpeID(v string) *GetLaunchConfigurationOutput { - s.MapAutoTaggingMpeID = &v - return s -} +// Job. +type Job struct { + _ struct{} `type:"structure"` -// SetName sets the Name field's value. -func (s *GetLaunchConfigurationOutput) SetName(v string) *GetLaunchConfigurationOutput { - s.Name = &v - return s -} + // the ARN of the specific Job. + Arn *string `locationName:"arn" min:"20" type:"string"` -// SetPostLaunchActions sets the PostLaunchActions field's value. -func (s *GetLaunchConfigurationOutput) SetPostLaunchActions(v *PostLaunchActions) *GetLaunchConfigurationOutput { - s.PostLaunchActions = v - return s -} + // Job creation time. + CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` -// SetSourceServerID sets the SourceServerID field's value. -func (s *GetLaunchConfigurationOutput) SetSourceServerID(v string) *GetLaunchConfigurationOutput { - s.SourceServerID = &v - return s -} + // Job end time. + EndDateTime *string `locationName:"endDateTime" min:"19" type:"string"` -// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. -func (s *GetLaunchConfigurationOutput) SetTargetInstanceTypeRightSizingMethod(v string) *GetLaunchConfigurationOutput { - s.TargetInstanceTypeRightSizingMethod = &v - return s -} + // Job initiated by field. + InitiatedBy *string `locationName:"initiatedBy" type:"string" enum:"InitiatedBy"` -type GetReplicationConfigurationInput struct { - _ struct{} `type:"structure"` + // Job ID. + // + // JobID is a required field + JobID *string `locationName:"jobID" min:"24" type:"string" required:"true"` - // Request to get Replication Configuration by Source Server ID. + // Servers participating in a specific Job. + ParticipatingServers []*ParticipatingServer `locationName:"participatingServers" type:"list"` + + // Job status. + Status *string `locationName:"status" type:"string" enum:"JobStatus"` + + // Tags associated with specific Job. // - // SourceServerID is a required field - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string" required:"true"` + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by Job's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + + // Job type. + Type *string `locationName:"type" type:"string" enum:"JobType"` } // String returns the string representation. @@ -9934,7 +11751,7 @@ type GetReplicationConfigurationInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetReplicationConfigurationInput) String() string { +func (s Job) String() string { return awsutil.Prettify(s) } @@ -9943,84 +11760,76 @@ func (s GetReplicationConfigurationInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetReplicationConfigurationInput) GoString() string { +func (s Job) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *GetReplicationConfigurationInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "GetReplicationConfigurationInput"} - if s.SourceServerID == nil { - invalidParams.Add(request.NewErrParamRequired("SourceServerID")) - } - if s.SourceServerID != nil && len(*s.SourceServerID) < 19 { - invalidParams.Add(request.NewErrParamMinLen("SourceServerID", 19)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *Job) SetArn(v string) *Job { + s.Arn = &v + return s } -// SetSourceServerID sets the SourceServerID field's value. -func (s *GetReplicationConfigurationInput) SetSourceServerID(v string) *GetReplicationConfigurationInput { - s.SourceServerID = &v +// SetCreationDateTime sets the CreationDateTime field's value. +func (s *Job) SetCreationDateTime(v string) *Job { + s.CreationDateTime = &v return s } -type GetReplicationConfigurationOutput struct { - _ struct{} `type:"structure"` - - // Replication Configuration associate default Application Migration Service - // Security Group. - AssociateDefaultSecurityGroup *bool `locationName:"associateDefaultSecurityGroup" type:"boolean"` - - // Replication Configuration set bandwidth throttling. - BandwidthThrottling *int64 `locationName:"bandwidthThrottling" type:"long"` - - // Replication Configuration create Public IP. - CreatePublicIP *bool `locationName:"createPublicIP" type:"boolean"` - - // Replication Configuration data plane routing. - DataPlaneRouting *string `locationName:"dataPlaneRouting" type:"string" enum:"ReplicationConfigurationDataPlaneRouting"` - - // Replication Configuration use default large Staging Disks. - DefaultLargeStagingDiskType *string `locationName:"defaultLargeStagingDiskType" type:"string" enum:"ReplicationConfigurationDefaultLargeStagingDiskType"` +// SetEndDateTime sets the EndDateTime field's value. +func (s *Job) SetEndDateTime(v string) *Job { + s.EndDateTime = &v + return s +} - // Replication Configuration EBS encryption. - EbsEncryption *string `locationName:"ebsEncryption" type:"string" enum:"ReplicationConfigurationEbsEncryption"` +// SetInitiatedBy sets the InitiatedBy field's value. +func (s *Job) SetInitiatedBy(v string) *Job { + s.InitiatedBy = &v + return s +} - // Replication Configuration EBS encryption key ARN. - EbsEncryptionKeyArn *string `locationName:"ebsEncryptionKeyArn" min:"20" type:"string"` +// SetJobID sets the JobID field's value. +func (s *Job) SetJobID(v string) *Job { + s.JobID = &v + return s +} - // Replication Configuration name. - Name *string `locationName:"name" type:"string"` +// SetParticipatingServers sets the ParticipatingServers field's value. +func (s *Job) SetParticipatingServers(v []*ParticipatingServer) *Job { + s.ParticipatingServers = v + return s +} - // Replication Configuration replicated disks. - ReplicatedDisks []*ReplicationConfigurationReplicatedDisk `locationName:"replicatedDisks" type:"list"` +// SetStatus sets the Status field's value. +func (s *Job) SetStatus(v string) *Job { + s.Status = &v + return s +} - // Replication Configuration Replication Server instance type. - ReplicationServerInstanceType *string `locationName:"replicationServerInstanceType" type:"string"` +// SetTags sets the Tags field's value. +func (s *Job) SetTags(v map[string]*string) *Job { + s.Tags = v + return s +} - // Replication Configuration Replication Server Security Group IDs. - ReplicationServersSecurityGroupsIDs []*string `locationName:"replicationServersSecurityGroupsIDs" type:"list"` +// SetType sets the Type field's value. +func (s *Job) SetType(v string) *Job { + s.Type = &v + return s +} - // Replication Configuration Source Server ID. - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` +// Job log. +type JobLog struct { + _ struct{} `type:"structure"` - // Replication Configuration Staging Area subnet ID. - StagingAreaSubnetId *string `locationName:"stagingAreaSubnetId" type:"string"` + // Job log event. + Event *string `locationName:"event" type:"string" enum:"JobLogEvent"` - // Replication Configuration Staging Area tags. - // - // StagingAreaTags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by GetReplicationConfigurationOutput's - // String and GoString methods. - StagingAreaTags map[string]*string `locationName:"stagingAreaTags" type:"map" sensitive:"true"` + // Job event data + EventData *JobLogEventData `locationName:"eventData" type:"structure"` - // Replication Configuration use Dedicated Replication Server. - UseDedicatedReplicationServer *bool `locationName:"useDedicatedReplicationServer" type:"boolean"` + // Job log event date and time. + LogDateTime *string `locationName:"logDateTime" min:"19" type:"string"` } // String returns the string representation. @@ -10028,7 +11837,7 @@ type GetReplicationConfigurationOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetReplicationConfigurationOutput) String() string { +func (s JobLog) String() string { return awsutil.Prettify(s) } @@ -10037,118 +11846,106 @@ func (s GetReplicationConfigurationOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetReplicationConfigurationOutput) GoString() string { +func (s JobLog) GoString() string { return s.String() } -// SetAssociateDefaultSecurityGroup sets the AssociateDefaultSecurityGroup field's value. -func (s *GetReplicationConfigurationOutput) SetAssociateDefaultSecurityGroup(v bool) *GetReplicationConfigurationOutput { - s.AssociateDefaultSecurityGroup = &v +// SetEvent sets the Event field's value. +func (s *JobLog) SetEvent(v string) *JobLog { + s.Event = &v return s } -// SetBandwidthThrottling sets the BandwidthThrottling field's value. -func (s *GetReplicationConfigurationOutput) SetBandwidthThrottling(v int64) *GetReplicationConfigurationOutput { - s.BandwidthThrottling = &v +// SetEventData sets the EventData field's value. +func (s *JobLog) SetEventData(v *JobLogEventData) *JobLog { + s.EventData = v return s } -// SetCreatePublicIP sets the CreatePublicIP field's value. -func (s *GetReplicationConfigurationOutput) SetCreatePublicIP(v bool) *GetReplicationConfigurationOutput { - s.CreatePublicIP = &v +// SetLogDateTime sets the LogDateTime field's value. +func (s *JobLog) SetLogDateTime(v string) *JobLog { + s.LogDateTime = &v return s } -// SetDataPlaneRouting sets the DataPlaneRouting field's value. -func (s *GetReplicationConfigurationOutput) SetDataPlaneRouting(v string) *GetReplicationConfigurationOutput { - s.DataPlaneRouting = &v - return s -} +// Job log data +type JobLogEventData struct { + _ struct{} `type:"structure"` -// SetDefaultLargeStagingDiskType sets the DefaultLargeStagingDiskType field's value. -func (s *GetReplicationConfigurationOutput) SetDefaultLargeStagingDiskType(v string) *GetReplicationConfigurationOutput { - s.DefaultLargeStagingDiskType = &v - return s -} + // Job Event conversion Server ID. + ConversionServerID *string `locationName:"conversionServerID" type:"string"` -// SetEbsEncryption sets the EbsEncryption field's value. -func (s *GetReplicationConfigurationOutput) SetEbsEncryption(v string) *GetReplicationConfigurationOutput { - s.EbsEncryption = &v - return s -} + // Job error. + RawError *string `locationName:"rawError" type:"string"` -// SetEbsEncryptionKeyArn sets the EbsEncryptionKeyArn field's value. -func (s *GetReplicationConfigurationOutput) SetEbsEncryptionKeyArn(v string) *GetReplicationConfigurationOutput { - s.EbsEncryptionKeyArn = &v - return s + // Job Event Source Server ID. + SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` + + // Job Event Target instance ID. + TargetInstanceID *string `locationName:"targetInstanceID" type:"string"` } -// SetName sets the Name field's value. -func (s *GetReplicationConfigurationOutput) SetName(v string) *GetReplicationConfigurationOutput { - s.Name = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JobLogEventData) String() string { + return awsutil.Prettify(s) } -// SetReplicatedDisks sets the ReplicatedDisks field's value. -func (s *GetReplicationConfigurationOutput) SetReplicatedDisks(v []*ReplicationConfigurationReplicatedDisk) *GetReplicationConfigurationOutput { - s.ReplicatedDisks = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JobLogEventData) GoString() string { + return s.String() } -// SetReplicationServerInstanceType sets the ReplicationServerInstanceType field's value. -func (s *GetReplicationConfigurationOutput) SetReplicationServerInstanceType(v string) *GetReplicationConfigurationOutput { - s.ReplicationServerInstanceType = &v +// SetConversionServerID sets the ConversionServerID field's value. +func (s *JobLogEventData) SetConversionServerID(v string) *JobLogEventData { + s.ConversionServerID = &v return s } -// SetReplicationServersSecurityGroupsIDs sets the ReplicationServersSecurityGroupsIDs field's value. -func (s *GetReplicationConfigurationOutput) SetReplicationServersSecurityGroupsIDs(v []*string) *GetReplicationConfigurationOutput { - s.ReplicationServersSecurityGroupsIDs = v +// SetRawError sets the RawError field's value. +func (s *JobLogEventData) SetRawError(v string) *JobLogEventData { + s.RawError = &v return s } // SetSourceServerID sets the SourceServerID field's value. -func (s *GetReplicationConfigurationOutput) SetSourceServerID(v string) *GetReplicationConfigurationOutput { +func (s *JobLogEventData) SetSourceServerID(v string) *JobLogEventData { s.SourceServerID = &v return s } -// SetStagingAreaSubnetId sets the StagingAreaSubnetId field's value. -func (s *GetReplicationConfigurationOutput) SetStagingAreaSubnetId(v string) *GetReplicationConfigurationOutput { - s.StagingAreaSubnetId = &v - return s -} - -// SetStagingAreaTags sets the StagingAreaTags field's value. -func (s *GetReplicationConfigurationOutput) SetStagingAreaTags(v map[string]*string) *GetReplicationConfigurationOutput { - s.StagingAreaTags = v - return s -} - -// SetUseDedicatedReplicationServer sets the UseDedicatedReplicationServer field's value. -func (s *GetReplicationConfigurationOutput) SetUseDedicatedReplicationServer(v bool) *GetReplicationConfigurationOutput { - s.UseDedicatedReplicationServer = &v +// SetTargetInstanceID sets the TargetInstanceID field's value. +func (s *JobLogEventData) SetTargetInstanceID(v string) *JobLogEventData { + s.TargetInstanceID = &v return s } -// Identification hints. -type IdentificationHints struct { +// Launch Status of the Job Post Launch Actions. +type JobPostLaunchActionsLaunchStatus struct { _ struct{} `type:"structure"` - // AWS Instance ID identification hint. - AwsInstanceID *string `locationName:"awsInstanceID" type:"string"` + // AWS Systems Manager Document's execution ID of the of the Job Post Launch + // Actions. + ExecutionID *string `locationName:"executionID" type:"string"` - // FQDN address identification hint. - Fqdn *string `locationName:"fqdn" type:"string"` + // AWS Systems Manager Document's execution status. + ExecutionStatus *string `locationName:"executionStatus" type:"string" enum:"PostLaunchActionExecutionStatus"` - // Hostname identification hint. - Hostname *string `locationName:"hostname" type:"string"` + // AWS Systems Manager Document's failure reason. + FailureReason *string `locationName:"failureReason" type:"string"` - // vCenter VM path identification hint. - VmPath *string `locationName:"vmPath" type:"string"` + // AWS Systems Manager's Document of the of the Job Post Launch Actions. + SsmDocument *SsmDocument `locationName:"ssmDocument" type:"structure"` - // vmWare UUID identification hint. - VmWareUuid *string `locationName:"vmWareUuid" type:"string"` + // AWS Systems Manager Document type. + SsmDocumentType *string `locationName:"ssmDocumentType" type:"string" enum:"SsmDocumentType"` } // String returns the string representation. @@ -10156,7 +11953,7 @@ type IdentificationHints struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IdentificationHints) String() string { +func (s JobPostLaunchActionsLaunchStatus) String() string { return awsutil.Prettify(s) } @@ -10165,42 +11962,99 @@ func (s IdentificationHints) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s IdentificationHints) GoString() string { +func (s JobPostLaunchActionsLaunchStatus) GoString() string { return s.String() } -// SetAwsInstanceID sets the AwsInstanceID field's value. -func (s *IdentificationHints) SetAwsInstanceID(v string) *IdentificationHints { - s.AwsInstanceID = &v +// SetExecutionID sets the ExecutionID field's value. +func (s *JobPostLaunchActionsLaunchStatus) SetExecutionID(v string) *JobPostLaunchActionsLaunchStatus { + s.ExecutionID = &v return s } -// SetFqdn sets the Fqdn field's value. -func (s *IdentificationHints) SetFqdn(v string) *IdentificationHints { - s.Fqdn = &v +// SetExecutionStatus sets the ExecutionStatus field's value. +func (s *JobPostLaunchActionsLaunchStatus) SetExecutionStatus(v string) *JobPostLaunchActionsLaunchStatus { + s.ExecutionStatus = &v return s } -// SetHostname sets the Hostname field's value. -func (s *IdentificationHints) SetHostname(v string) *IdentificationHints { - s.Hostname = &v +// SetFailureReason sets the FailureReason field's value. +func (s *JobPostLaunchActionsLaunchStatus) SetFailureReason(v string) *JobPostLaunchActionsLaunchStatus { + s.FailureReason = &v + return s +} + +// SetSsmDocument sets the SsmDocument field's value. +func (s *JobPostLaunchActionsLaunchStatus) SetSsmDocument(v *SsmDocument) *JobPostLaunchActionsLaunchStatus { + s.SsmDocument = v + return s +} + +// SetSsmDocumentType sets the SsmDocumentType field's value. +func (s *JobPostLaunchActionsLaunchStatus) SetSsmDocumentType(v string) *JobPostLaunchActionsLaunchStatus { + s.SsmDocumentType = &v return s } -// SetVmPath sets the VmPath field's value. -func (s *IdentificationHints) SetVmPath(v string) *IdentificationHints { - s.VmPath = &v - return s -} +type LaunchConfigurationTemplate struct { + _ struct{} `type:"structure"` + + // ARN of the Launch Configuration Template. + Arn *string `locationName:"arn" min:"20" type:"string"` + + // Associate public Ip address. + AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` + + // Launch configuration template boot mode. + BootMode *string `locationName:"bootMode" type:"string" enum:"BootMode"` + + // Copy private Ip. + CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` + + // Copy tags. + CopyTags *bool `locationName:"copyTags" type:"boolean"` + + // EC2 launch template ID. + Ec2LaunchTemplateID *string `locationName:"ec2LaunchTemplateID" min:"20" type:"string"` + + // Enable map auto tagging. + EnableMapAutoTagging *bool `locationName:"enableMapAutoTagging" type:"boolean"` + + // Large volume config. + LargeVolumeConf *LaunchTemplateDiskConf `locationName:"largeVolumeConf" type:"structure"` + + // ID of the Launch Configuration Template. + // + // LaunchConfigurationTemplateID is a required field + LaunchConfigurationTemplateID *string `locationName:"launchConfigurationTemplateID" min:"21" type:"string" required:"true"` + + // Launch disposition. + LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` + + // Configure Licensing. + Licensing *Licensing `locationName:"licensing" type:"structure"` + + // Launch configuration template map auto tagging MPE ID. + MapAutoTaggingMpeID *string `locationName:"mapAutoTaggingMpeID" type:"string"` + + // Post Launch Actions of the Launch Configuration Template. + PostLaunchActions *PostLaunchActions `locationName:"postLaunchActions" type:"structure"` + + // Small volume config. + SmallVolumeConf *LaunchTemplateDiskConf `locationName:"smallVolumeConf" type:"structure"` + + // Small volume maximum size. + SmallVolumeMaxSize *int64 `locationName:"smallVolumeMaxSize" type:"long"` -// SetVmWareUuid sets the VmWareUuid field's value. -func (s *IdentificationHints) SetVmWareUuid(v string) *IdentificationHints { - s.VmWareUuid = &v - return s -} + // Tags of the Launch Configuration Template. + // + // Tags is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by LaunchConfigurationTemplate's + // String and GoString methods. + Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` -type InitializeServiceInput struct { - _ struct{} `type:"structure" nopayload:"true"` + // Target instance type right-sizing method. + TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` } // String returns the string representation. @@ -10208,7 +12062,7 @@ type InitializeServiceInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InitializeServiceInput) String() string { +func (s LaunchConfigurationTemplate) String() string { return awsutil.Prettify(s) } @@ -10217,137 +12071,124 @@ func (s InitializeServiceInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s InitializeServiceInput) GoString() string { +func (s LaunchConfigurationTemplate) GoString() string { return s.String() } -type InitializeServiceOutput struct { - _ struct{} `type:"structure"` +// SetArn sets the Arn field's value. +func (s *LaunchConfigurationTemplate) SetArn(v string) *LaunchConfigurationTemplate { + s.Arn = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InitializeServiceOutput) String() string { - return awsutil.Prettify(s) +// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. +func (s *LaunchConfigurationTemplate) SetAssociatePublicIpAddress(v bool) *LaunchConfigurationTemplate { + s.AssociatePublicIpAddress = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InitializeServiceOutput) GoString() string { - return s.String() +// SetBootMode sets the BootMode field's value. +func (s *LaunchConfigurationTemplate) SetBootMode(v string) *LaunchConfigurationTemplate { + s.BootMode = &v + return s } -// The server encountered an unexpected condition that prevented it from fulfilling -// the request. -type InternalServerException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"message" type:"string"` - - // The server encountered an unexpected condition that prevented it from fulfilling - // the request. The request will be retried again after x seconds. - RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"long"` +// SetCopyPrivateIp sets the CopyPrivateIp field's value. +func (s *LaunchConfigurationTemplate) SetCopyPrivateIp(v bool) *LaunchConfigurationTemplate { + s.CopyPrivateIp = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InternalServerException) String() string { - return awsutil.Prettify(s) +// SetCopyTags sets the CopyTags field's value. +func (s *LaunchConfigurationTemplate) SetCopyTags(v bool) *LaunchConfigurationTemplate { + s.CopyTags = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s InternalServerException) GoString() string { - return s.String() +// SetEc2LaunchTemplateID sets the Ec2LaunchTemplateID field's value. +func (s *LaunchConfigurationTemplate) SetEc2LaunchTemplateID(v string) *LaunchConfigurationTemplate { + s.Ec2LaunchTemplateID = &v + return s } -func newErrorInternalServerException(v protocol.ResponseMetadata) error { - return &InternalServerException{ - RespMetadata: v, - } +// SetEnableMapAutoTagging sets the EnableMapAutoTagging field's value. +func (s *LaunchConfigurationTemplate) SetEnableMapAutoTagging(v bool) *LaunchConfigurationTemplate { + s.EnableMapAutoTagging = &v + return s } -// Code returns the exception type name. -func (s *InternalServerException) Code() string { - return "InternalServerException" +// SetLargeVolumeConf sets the LargeVolumeConf field's value. +func (s *LaunchConfigurationTemplate) SetLargeVolumeConf(v *LaunchTemplateDiskConf) *LaunchConfigurationTemplate { + s.LargeVolumeConf = v + return s } -// Message returns the exception's message. -func (s *InternalServerException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetLaunchConfigurationTemplateID sets the LaunchConfigurationTemplateID field's value. +func (s *LaunchConfigurationTemplate) SetLaunchConfigurationTemplateID(v string) *LaunchConfigurationTemplate { + s.LaunchConfigurationTemplateID = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InternalServerException) OrigErr() error { - return nil +// SetLaunchDisposition sets the LaunchDisposition field's value. +func (s *LaunchConfigurationTemplate) SetLaunchDisposition(v string) *LaunchConfigurationTemplate { + s.LaunchDisposition = &v + return s } -func (s *InternalServerException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetLicensing sets the Licensing field's value. +func (s *LaunchConfigurationTemplate) SetLicensing(v *Licensing) *LaunchConfigurationTemplate { + s.Licensing = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *InternalServerException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetMapAutoTaggingMpeID sets the MapAutoTaggingMpeID field's value. +func (s *LaunchConfigurationTemplate) SetMapAutoTaggingMpeID(v string) *LaunchConfigurationTemplate { + s.MapAutoTaggingMpeID = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *InternalServerException) RequestID() string { - return s.RespMetadata.RequestID +// SetPostLaunchActions sets the PostLaunchActions field's value. +func (s *LaunchConfigurationTemplate) SetPostLaunchActions(v *PostLaunchActions) *LaunchConfigurationTemplate { + s.PostLaunchActions = v + return s } -// Job. -type Job struct { - _ struct{} `type:"structure"` - - // the ARN of the specific Job. - Arn *string `locationName:"arn" min:"20" type:"string"` - - // Job creation time. - CreationDateTime *string `locationName:"creationDateTime" min:"19" type:"string"` +// SetSmallVolumeConf sets the SmallVolumeConf field's value. +func (s *LaunchConfigurationTemplate) SetSmallVolumeConf(v *LaunchTemplateDiskConf) *LaunchConfigurationTemplate { + s.SmallVolumeConf = v + return s +} - // Job end time. - EndDateTime *string `locationName:"endDateTime" min:"19" type:"string"` +// SetSmallVolumeMaxSize sets the SmallVolumeMaxSize field's value. +func (s *LaunchConfigurationTemplate) SetSmallVolumeMaxSize(v int64) *LaunchConfigurationTemplate { + s.SmallVolumeMaxSize = &v + return s +} - // Job initiated by field. - InitiatedBy *string `locationName:"initiatedBy" type:"string" enum:"InitiatedBy"` +// SetTags sets the Tags field's value. +func (s *LaunchConfigurationTemplate) SetTags(v map[string]*string) *LaunchConfigurationTemplate { + s.Tags = v + return s +} - // Job ID. - // - // JobID is a required field - JobID *string `locationName:"jobID" min:"24" type:"string" required:"true"` +// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. +func (s *LaunchConfigurationTemplate) SetTargetInstanceTypeRightSizingMethod(v string) *LaunchConfigurationTemplate { + s.TargetInstanceTypeRightSizingMethod = &v + return s +} - // Servers participating in a specific Job. - ParticipatingServers []*ParticipatingServer `locationName:"participatingServers" type:"list"` +// Launch template disk configuration. +type LaunchTemplateDiskConf struct { + _ struct{} `type:"structure"` - // Job status. - Status *string `locationName:"status" type:"string" enum:"JobStatus"` + // Launch template disk iops configuration. + Iops *int64 `locationName:"iops" type:"long"` - // Tags associated with specific Job. - // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by Job's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Launch template disk throughput configuration. + Throughput *int64 `locationName:"throughput" type:"long"` - // Job type. - Type *string `locationName:"type" type:"string" enum:"JobType"` + // Launch template disk volume type configuration. + VolumeType *string `locationName:"volumeType" type:"string" enum:"VolumeType"` } // String returns the string representation. @@ -10355,7 +12196,7 @@ type Job struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Job) String() string { +func (s LaunchTemplateDiskConf) String() string { return awsutil.Prettify(s) } @@ -10364,76 +12205,40 @@ func (s Job) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Job) GoString() string { +func (s LaunchTemplateDiskConf) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Job) SetArn(v string) *Job { - s.Arn = &v - return s -} - -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *Job) SetCreationDateTime(v string) *Job { - s.CreationDateTime = &v - return s -} - -// SetEndDateTime sets the EndDateTime field's value. -func (s *Job) SetEndDateTime(v string) *Job { - s.EndDateTime = &v - return s -} - -// SetInitiatedBy sets the InitiatedBy field's value. -func (s *Job) SetInitiatedBy(v string) *Job { - s.InitiatedBy = &v - return s -} - -// SetJobID sets the JobID field's value. -func (s *Job) SetJobID(v string) *Job { - s.JobID = &v - return s -} - -// SetParticipatingServers sets the ParticipatingServers field's value. -func (s *Job) SetParticipatingServers(v []*ParticipatingServer) *Job { - s.ParticipatingServers = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Job) SetStatus(v string) *Job { - s.Status = &v +// SetIops sets the Iops field's value. +func (s *LaunchTemplateDiskConf) SetIops(v int64) *LaunchTemplateDiskConf { + s.Iops = &v return s } -// SetTags sets the Tags field's value. -func (s *Job) SetTags(v map[string]*string) *Job { - s.Tags = v +// SetThroughput sets the Throughput field's value. +func (s *LaunchTemplateDiskConf) SetThroughput(v int64) *LaunchTemplateDiskConf { + s.Throughput = &v return s } -// SetType sets the Type field's value. -func (s *Job) SetType(v string) *Job { - s.Type = &v +// SetVolumeType sets the VolumeType field's value. +func (s *LaunchTemplateDiskConf) SetVolumeType(v string) *LaunchTemplateDiskConf { + s.VolumeType = &v return s } -// Job log. -type JobLog struct { +// Launched instance. +type LaunchedInstance struct { _ struct{} `type:"structure"` - // Job log event. - Event *string `locationName:"event" type:"string" enum:"JobLogEvent"` + // Launched instance EC2 ID. + Ec2InstanceID *string `locationName:"ec2InstanceID" type:"string"` - // Job event data - EventData *JobLogEventData `locationName:"eventData" type:"structure"` + // Launched instance first boot. + FirstBoot *string `locationName:"firstBoot" type:"string" enum:"FirstBoot"` - // Job log event date and time. - LogDateTime *string `locationName:"logDateTime" min:"19" type:"string"` + // Launched instance Job ID. + JobID *string `locationName:"jobID" min:"24" type:"string"` } // String returns the string representation. @@ -10441,7 +12246,7 @@ type JobLog struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s JobLog) String() string { +func (s LaunchedInstance) String() string { return awsutil.Prettify(s) } @@ -10450,43 +12255,34 @@ func (s JobLog) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s JobLog) GoString() string { +func (s LaunchedInstance) GoString() string { return s.String() } -// SetEvent sets the Event field's value. -func (s *JobLog) SetEvent(v string) *JobLog { - s.Event = &v +// SetEc2InstanceID sets the Ec2InstanceID field's value. +func (s *LaunchedInstance) SetEc2InstanceID(v string) *LaunchedInstance { + s.Ec2InstanceID = &v return s } -// SetEventData sets the EventData field's value. -func (s *JobLog) SetEventData(v *JobLogEventData) *JobLog { - s.EventData = v +// SetFirstBoot sets the FirstBoot field's value. +func (s *LaunchedInstance) SetFirstBoot(v string) *LaunchedInstance { + s.FirstBoot = &v return s } -// SetLogDateTime sets the LogDateTime field's value. -func (s *JobLog) SetLogDateTime(v string) *JobLog { - s.LogDateTime = &v +// SetJobID sets the JobID field's value. +func (s *LaunchedInstance) SetJobID(v string) *LaunchedInstance { + s.JobID = &v return s } -// Job log data -type JobLogEventData struct { +// Configure Licensing. +type Licensing struct { _ struct{} `type:"structure"` - // Job Event conversion Server ID. - ConversionServerID *string `locationName:"conversionServerID" type:"string"` - - // Job error. - RawError *string `locationName:"rawError" type:"string"` - - // Job Event Source Server ID. - SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` - - // Job Event Target instance ID. - TargetInstanceID *string `locationName:"targetInstanceID" type:"string"` + // Configure BYOL OS licensing. + OsByol *bool `locationName:"osByol" type:"boolean"` } // String returns the string representation. @@ -10494,7 +12290,7 @@ type JobLogEventData struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s JobLogEventData) String() string { +func (s Licensing) String() string { return awsutil.Prettify(s) } @@ -10503,53 +12299,40 @@ func (s JobLogEventData) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s JobLogEventData) GoString() string { +func (s Licensing) GoString() string { return s.String() } -// SetConversionServerID sets the ConversionServerID field's value. -func (s *JobLogEventData) SetConversionServerID(v string) *JobLogEventData { - s.ConversionServerID = &v - return s -} - -// SetRawError sets the RawError field's value. -func (s *JobLogEventData) SetRawError(v string) *JobLogEventData { - s.RawError = &v +// SetOsByol sets the OsByol field's value. +func (s *Licensing) SetOsByol(v bool) *Licensing { + s.OsByol = &v return s } -// SetSourceServerID sets the SourceServerID field's value. -func (s *JobLogEventData) SetSourceServerID(v string) *JobLogEventData { - s.SourceServerID = &v - return s -} +// Lifecycle. +type LifeCycle struct { + _ struct{} `type:"structure"` -// SetTargetInstanceID sets the TargetInstanceID field's value. -func (s *JobLogEventData) SetTargetInstanceID(v string) *JobLogEventData { - s.TargetInstanceID = &v - return s -} + // Lifecycle added to service data and time. + AddedToServiceDateTime *string `locationName:"addedToServiceDateTime" min:"19" type:"string"` -// Launch Status of the Job Post Launch Actions. -type JobPostLaunchActionsLaunchStatus struct { - _ struct{} `type:"structure"` + // Lifecycle elapsed time and duration. + ElapsedReplicationDuration *string `locationName:"elapsedReplicationDuration" min:"1" type:"string"` - // AWS Systems Manager Document's execution ID of the of the Job Post Launch - // Actions. - ExecutionID *string `locationName:"executionID" type:"string"` + // Lifecycle replication initiation date and time. + FirstByteDateTime *string `locationName:"firstByteDateTime" min:"19" type:"string"` - // AWS Systems Manager Document's execution status. - ExecutionStatus *string `locationName:"executionStatus" type:"string" enum:"PostLaunchActionExecutionStatus"` + // Lifecycle last Cutover. + LastCutover *LifeCycleLastCutover `locationName:"lastCutover" type:"structure"` - // AWS Systems Manager Document's failure reason. - FailureReason *string `locationName:"failureReason" type:"string"` + // Lifecycle last seen date and time. + LastSeenByServiceDateTime *string `locationName:"lastSeenByServiceDateTime" min:"19" type:"string"` - // AWS Systems Manager's Document of the of the Job Post Launch Actions. - SsmDocument *SsmDocument `locationName:"ssmDocument" type:"structure"` + // Lifecycle last Test. + LastTest *LifeCycleLastTest `locationName:"lastTest" type:"structure"` - // AWS Systems Manager Document type. - SsmDocumentType *string `locationName:"ssmDocumentType" type:"string" enum:"SsmDocumentType"` + // Lifecycle state. + State *string `locationName:"state" type:"string" enum:"LifeCycleState"` } // String returns the string representation. @@ -10557,7 +12340,7 @@ type JobPostLaunchActionsLaunchStatus struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s JobPostLaunchActionsLaunchStatus) String() string { +func (s LifeCycle) String() string { return awsutil.Prettify(s) } @@ -10566,99 +12349,142 @@ func (s JobPostLaunchActionsLaunchStatus) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s JobPostLaunchActionsLaunchStatus) GoString() string { +func (s LifeCycle) GoString() string { return s.String() } -// SetExecutionID sets the ExecutionID field's value. -func (s *JobPostLaunchActionsLaunchStatus) SetExecutionID(v string) *JobPostLaunchActionsLaunchStatus { - s.ExecutionID = &v +// SetAddedToServiceDateTime sets the AddedToServiceDateTime field's value. +func (s *LifeCycle) SetAddedToServiceDateTime(v string) *LifeCycle { + s.AddedToServiceDateTime = &v return s } -// SetExecutionStatus sets the ExecutionStatus field's value. -func (s *JobPostLaunchActionsLaunchStatus) SetExecutionStatus(v string) *JobPostLaunchActionsLaunchStatus { - s.ExecutionStatus = &v +// SetElapsedReplicationDuration sets the ElapsedReplicationDuration field's value. +func (s *LifeCycle) SetElapsedReplicationDuration(v string) *LifeCycle { + s.ElapsedReplicationDuration = &v return s } -// SetFailureReason sets the FailureReason field's value. -func (s *JobPostLaunchActionsLaunchStatus) SetFailureReason(v string) *JobPostLaunchActionsLaunchStatus { - s.FailureReason = &v +// SetFirstByteDateTime sets the FirstByteDateTime field's value. +func (s *LifeCycle) SetFirstByteDateTime(v string) *LifeCycle { + s.FirstByteDateTime = &v return s } -// SetSsmDocument sets the SsmDocument field's value. -func (s *JobPostLaunchActionsLaunchStatus) SetSsmDocument(v *SsmDocument) *JobPostLaunchActionsLaunchStatus { - s.SsmDocument = v +// SetLastCutover sets the LastCutover field's value. +func (s *LifeCycle) SetLastCutover(v *LifeCycleLastCutover) *LifeCycle { + s.LastCutover = v return s } -// SetSsmDocumentType sets the SsmDocumentType field's value. -func (s *JobPostLaunchActionsLaunchStatus) SetSsmDocumentType(v string) *JobPostLaunchActionsLaunchStatus { - s.SsmDocumentType = &v +// SetLastSeenByServiceDateTime sets the LastSeenByServiceDateTime field's value. +func (s *LifeCycle) SetLastSeenByServiceDateTime(v string) *LifeCycle { + s.LastSeenByServiceDateTime = &v return s } -type LaunchConfigurationTemplate struct { - _ struct{} `type:"structure"` +// SetLastTest sets the LastTest field's value. +func (s *LifeCycle) SetLastTest(v *LifeCycleLastTest) *LifeCycle { + s.LastTest = v + return s +} - // ARN of the Launch Configuration Template. - Arn *string `locationName:"arn" min:"20" type:"string"` +// SetState sets the State field's value. +func (s *LifeCycle) SetState(v string) *LifeCycle { + s.State = &v + return s +} - // Associate public Ip address. - AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` +// Lifecycle last Cutover . +type LifeCycleLastCutover struct { + _ struct{} `type:"structure"` - // Launch configuration template boot mode. - BootMode *string `locationName:"bootMode" type:"string" enum:"BootMode"` + // Lifecycle Cutover finalized date and time. + Finalized *LifeCycleLastCutoverFinalized `locationName:"finalized" type:"structure"` - // Copy private Ip. - CopyPrivateIp *bool `locationName:"copyPrivateIp" type:"boolean"` + // Lifecycle last Cutover initiated. + Initiated *LifeCycleLastCutoverInitiated `locationName:"initiated" type:"structure"` - // Copy tags. - CopyTags *bool `locationName:"copyTags" type:"boolean"` + // Lifecycle last Cutover reverted. + Reverted *LifeCycleLastCutoverReverted `locationName:"reverted" type:"structure"` +} - // EC2 launch template ID. - Ec2LaunchTemplateID *string `locationName:"ec2LaunchTemplateID" min:"20" type:"string"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LifeCycleLastCutover) String() string { + return awsutil.Prettify(s) +} - // Enable map auto tagging. - EnableMapAutoTagging *bool `locationName:"enableMapAutoTagging" type:"boolean"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LifeCycleLastCutover) GoString() string { + return s.String() +} - // Large volume config. - LargeVolumeConf *LaunchTemplateDiskConf `locationName:"largeVolumeConf" type:"structure"` +// SetFinalized sets the Finalized field's value. +func (s *LifeCycleLastCutover) SetFinalized(v *LifeCycleLastCutoverFinalized) *LifeCycleLastCutover { + s.Finalized = v + return s +} - // ID of the Launch Configuration Template. - // - // LaunchConfigurationTemplateID is a required field - LaunchConfigurationTemplateID *string `locationName:"launchConfigurationTemplateID" min:"21" type:"string" required:"true"` +// SetInitiated sets the Initiated field's value. +func (s *LifeCycleLastCutover) SetInitiated(v *LifeCycleLastCutoverInitiated) *LifeCycleLastCutover { + s.Initiated = v + return s +} - // Launch disposition. - LaunchDisposition *string `locationName:"launchDisposition" type:"string" enum:"LaunchDisposition"` +// SetReverted sets the Reverted field's value. +func (s *LifeCycleLastCutover) SetReverted(v *LifeCycleLastCutoverReverted) *LifeCycleLastCutover { + s.Reverted = v + return s +} - // Configure Licensing. - Licensing *Licensing `locationName:"licensing" type:"structure"` +// Lifecycle Cutover finalized +type LifeCycleLastCutoverFinalized struct { + _ struct{} `type:"structure"` - // Launch configuration template map auto tagging MPE ID. - MapAutoTaggingMpeID *string `locationName:"mapAutoTaggingMpeID" type:"string"` + // Lifecycle Cutover finalized date and time. + ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` +} - // Post Launch Actions of the Launch Configuration Template. - PostLaunchActions *PostLaunchActions `locationName:"postLaunchActions" type:"structure"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LifeCycleLastCutoverFinalized) String() string { + return awsutil.Prettify(s) +} - // Small volume config. - SmallVolumeConf *LaunchTemplateDiskConf `locationName:"smallVolumeConf" type:"structure"` +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LifeCycleLastCutoverFinalized) GoString() string { + return s.String() +} + +// SetApiCallDateTime sets the ApiCallDateTime field's value. +func (s *LifeCycleLastCutoverFinalized) SetApiCallDateTime(v string) *LifeCycleLastCutoverFinalized { + s.ApiCallDateTime = &v + return s +} - // Small volume maximum size. - SmallVolumeMaxSize *int64 `locationName:"smallVolumeMaxSize" type:"long"` +// Lifecycle last Cutover initiated. +type LifeCycleLastCutoverInitiated struct { + _ struct{} `type:"structure"` - // Tags of the Launch Configuration Template. - // - // Tags is a sensitive parameter and its value will be - // replaced with "sensitive" in string returned by LaunchConfigurationTemplate's - // String and GoString methods. - Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` - // Target instance type right-sizing method. - TargetInstanceTypeRightSizingMethod *string `locationName:"targetInstanceTypeRightSizingMethod" type:"string" enum:"TargetInstanceTypeRightSizingMethod"` + // Lifecycle last Cutover initiated by Job ID. + JobID *string `locationName:"jobID" min:"24" type:"string"` } // String returns the string representation. @@ -10666,7 +12492,7 @@ type LaunchConfigurationTemplate struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LaunchConfigurationTemplate) String() string { +func (s LifeCycleLastCutoverInitiated) String() string { return awsutil.Prettify(s) } @@ -10675,124 +12501,110 @@ func (s LaunchConfigurationTemplate) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LaunchConfigurationTemplate) GoString() string { +func (s LifeCycleLastCutoverInitiated) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *LaunchConfigurationTemplate) SetArn(v string) *LaunchConfigurationTemplate { - s.Arn = &v - return s -} - -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *LaunchConfigurationTemplate) SetAssociatePublicIpAddress(v bool) *LaunchConfigurationTemplate { - s.AssociatePublicIpAddress = &v +// SetApiCallDateTime sets the ApiCallDateTime field's value. +func (s *LifeCycleLastCutoverInitiated) SetApiCallDateTime(v string) *LifeCycleLastCutoverInitiated { + s.ApiCallDateTime = &v return s } -// SetBootMode sets the BootMode field's value. -func (s *LaunchConfigurationTemplate) SetBootMode(v string) *LaunchConfigurationTemplate { - s.BootMode = &v +// SetJobID sets the JobID field's value. +func (s *LifeCycleLastCutoverInitiated) SetJobID(v string) *LifeCycleLastCutoverInitiated { + s.JobID = &v return s } -// SetCopyPrivateIp sets the CopyPrivateIp field's value. -func (s *LaunchConfigurationTemplate) SetCopyPrivateIp(v bool) *LaunchConfigurationTemplate { - s.CopyPrivateIp = &v - return s -} +// Lifecycle last Cutover reverted. +type LifeCycleLastCutoverReverted struct { + _ struct{} `type:"structure"` -// SetCopyTags sets the CopyTags field's value. -func (s *LaunchConfigurationTemplate) SetCopyTags(v bool) *LaunchConfigurationTemplate { - s.CopyTags = &v - return s + // Lifecycle last Cutover reverted API call date time. + ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` } -// SetEc2LaunchTemplateID sets the Ec2LaunchTemplateID field's value. -func (s *LaunchConfigurationTemplate) SetEc2LaunchTemplateID(v string) *LaunchConfigurationTemplate { - s.Ec2LaunchTemplateID = &v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LifeCycleLastCutoverReverted) String() string { + return awsutil.Prettify(s) } -// SetEnableMapAutoTagging sets the EnableMapAutoTagging field's value. -func (s *LaunchConfigurationTemplate) SetEnableMapAutoTagging(v bool) *LaunchConfigurationTemplate { - s.EnableMapAutoTagging = &v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LifeCycleLastCutoverReverted) GoString() string { + return s.String() } -// SetLargeVolumeConf sets the LargeVolumeConf field's value. -func (s *LaunchConfigurationTemplate) SetLargeVolumeConf(v *LaunchTemplateDiskConf) *LaunchConfigurationTemplate { - s.LargeVolumeConf = v +// SetApiCallDateTime sets the ApiCallDateTime field's value. +func (s *LifeCycleLastCutoverReverted) SetApiCallDateTime(v string) *LifeCycleLastCutoverReverted { + s.ApiCallDateTime = &v return s } -// SetLaunchConfigurationTemplateID sets the LaunchConfigurationTemplateID field's value. -func (s *LaunchConfigurationTemplate) SetLaunchConfigurationTemplateID(v string) *LaunchConfigurationTemplate { - s.LaunchConfigurationTemplateID = &v - return s -} +// Lifecycle last Test. +type LifeCycleLastTest struct { + _ struct{} `type:"structure"` -// SetLaunchDisposition sets the LaunchDisposition field's value. -func (s *LaunchConfigurationTemplate) SetLaunchDisposition(v string) *LaunchConfigurationTemplate { - s.LaunchDisposition = &v - return s -} + // Lifecycle last Test finalized. + Finalized *LifeCycleLastTestFinalized `locationName:"finalized" type:"structure"` -// SetLicensing sets the Licensing field's value. -func (s *LaunchConfigurationTemplate) SetLicensing(v *Licensing) *LaunchConfigurationTemplate { - s.Licensing = v - return s -} + // Lifecycle last Test initiated. + Initiated *LifeCycleLastTestInitiated `locationName:"initiated" type:"structure"` -// SetMapAutoTaggingMpeID sets the MapAutoTaggingMpeID field's value. -func (s *LaunchConfigurationTemplate) SetMapAutoTaggingMpeID(v string) *LaunchConfigurationTemplate { - s.MapAutoTaggingMpeID = &v - return s + // Lifecycle last Test reverted. + Reverted *LifeCycleLastTestReverted `locationName:"reverted" type:"structure"` } -// SetPostLaunchActions sets the PostLaunchActions field's value. -func (s *LaunchConfigurationTemplate) SetPostLaunchActions(v *PostLaunchActions) *LaunchConfigurationTemplate { - s.PostLaunchActions = v - return s +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LifeCycleLastTest) String() string { + return awsutil.Prettify(s) } -// SetSmallVolumeConf sets the SmallVolumeConf field's value. -func (s *LaunchConfigurationTemplate) SetSmallVolumeConf(v *LaunchTemplateDiskConf) *LaunchConfigurationTemplate { - s.SmallVolumeConf = v - return s +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LifeCycleLastTest) GoString() string { + return s.String() } -// SetSmallVolumeMaxSize sets the SmallVolumeMaxSize field's value. -func (s *LaunchConfigurationTemplate) SetSmallVolumeMaxSize(v int64) *LaunchConfigurationTemplate { - s.SmallVolumeMaxSize = &v +// SetFinalized sets the Finalized field's value. +func (s *LifeCycleLastTest) SetFinalized(v *LifeCycleLastTestFinalized) *LifeCycleLastTest { + s.Finalized = v return s } -// SetTags sets the Tags field's value. -func (s *LaunchConfigurationTemplate) SetTags(v map[string]*string) *LaunchConfigurationTemplate { - s.Tags = v +// SetInitiated sets the Initiated field's value. +func (s *LifeCycleLastTest) SetInitiated(v *LifeCycleLastTestInitiated) *LifeCycleLastTest { + s.Initiated = v return s } -// SetTargetInstanceTypeRightSizingMethod sets the TargetInstanceTypeRightSizingMethod field's value. -func (s *LaunchConfigurationTemplate) SetTargetInstanceTypeRightSizingMethod(v string) *LaunchConfigurationTemplate { - s.TargetInstanceTypeRightSizingMethod = &v +// SetReverted sets the Reverted field's value. +func (s *LifeCycleLastTest) SetReverted(v *LifeCycleLastTestReverted) *LifeCycleLastTest { + s.Reverted = v return s } -// Launch template disk configuration. -type LaunchTemplateDiskConf struct { +// Lifecycle last Test finalized. +type LifeCycleLastTestFinalized struct { _ struct{} `type:"structure"` - // Launch template disk iops configuration. - Iops *int64 `locationName:"iops" type:"long"` - - // Launch template disk throughput configuration. - Throughput *int64 `locationName:"throughput" type:"long"` - - // Launch template disk volume type configuration. - VolumeType *string `locationName:"volumeType" type:"string" enum:"VolumeType"` + // Lifecycle Test failed API call date and time. + ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` } // String returns the string representation. @@ -10800,7 +12612,7 @@ type LaunchTemplateDiskConf struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LaunchTemplateDiskConf) String() string { +func (s LifeCycleLastTestFinalized) String() string { return awsutil.Prettify(s) } @@ -10809,39 +12621,24 @@ func (s LaunchTemplateDiskConf) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LaunchTemplateDiskConf) GoString() string { +func (s LifeCycleLastTestFinalized) GoString() string { return s.String() } -// SetIops sets the Iops field's value. -func (s *LaunchTemplateDiskConf) SetIops(v int64) *LaunchTemplateDiskConf { - s.Iops = &v - return s -} - -// SetThroughput sets the Throughput field's value. -func (s *LaunchTemplateDiskConf) SetThroughput(v int64) *LaunchTemplateDiskConf { - s.Throughput = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *LaunchTemplateDiskConf) SetVolumeType(v string) *LaunchTemplateDiskConf { - s.VolumeType = &v +// SetApiCallDateTime sets the ApiCallDateTime field's value. +func (s *LifeCycleLastTestFinalized) SetApiCallDateTime(v string) *LifeCycleLastTestFinalized { + s.ApiCallDateTime = &v return s } -// Launched instance. -type LaunchedInstance struct { +// Lifecycle last Test initiated. +type LifeCycleLastTestInitiated struct { _ struct{} `type:"structure"` - // Launched instance EC2 ID. - Ec2InstanceID *string `locationName:"ec2InstanceID" type:"string"` - - // Launched instance first boot. - FirstBoot *string `locationName:"firstBoot" type:"string" enum:"FirstBoot"` + // Lifecycle last Test initiated API call date and time. + ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` - // Launched instance Job ID. + // Lifecycle last Test initiated Job ID. JobID *string `locationName:"jobID" min:"24" type:"string"` } @@ -10850,7 +12647,7 @@ type LaunchedInstance struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LaunchedInstance) String() string { +func (s LifeCycleLastTestInitiated) String() string { return awsutil.Prettify(s) } @@ -10859,34 +12656,28 @@ func (s LaunchedInstance) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LaunchedInstance) GoString() string { +func (s LifeCycleLastTestInitiated) GoString() string { return s.String() } -// SetEc2InstanceID sets the Ec2InstanceID field's value. -func (s *LaunchedInstance) SetEc2InstanceID(v string) *LaunchedInstance { - s.Ec2InstanceID = &v - return s -} - -// SetFirstBoot sets the FirstBoot field's value. -func (s *LaunchedInstance) SetFirstBoot(v string) *LaunchedInstance { - s.FirstBoot = &v +// SetApiCallDateTime sets the ApiCallDateTime field's value. +func (s *LifeCycleLastTestInitiated) SetApiCallDateTime(v string) *LifeCycleLastTestInitiated { + s.ApiCallDateTime = &v return s } // SetJobID sets the JobID field's value. -func (s *LaunchedInstance) SetJobID(v string) *LaunchedInstance { +func (s *LifeCycleLastTestInitiated) SetJobID(v string) *LifeCycleLastTestInitiated { s.JobID = &v return s } -// Configure Licensing. -type Licensing struct { +// Lifecycle last Test reverted. +type LifeCycleLastTestReverted struct { _ struct{} `type:"structure"` - // Configure BYOL OS licensing. - OsByol *bool `locationName:"osByol" type:"boolean"` + // Lifecycle last Test reverted API call date and time. + ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` } // String returns the string representation. @@ -10894,7 +12685,7 @@ type Licensing struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Licensing) String() string { +func (s LifeCycleLastTestReverted) String() string { return awsutil.Prettify(s) } @@ -10903,40 +12694,27 @@ func (s Licensing) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s Licensing) GoString() string { +func (s LifeCycleLastTestReverted) GoString() string { return s.String() } -// SetOsByol sets the OsByol field's value. -func (s *Licensing) SetOsByol(v bool) *Licensing { - s.OsByol = &v +// SetApiCallDateTime sets the ApiCallDateTime field's value. +func (s *LifeCycleLastTestReverted) SetApiCallDateTime(v string) *LifeCycleLastTestReverted { + s.ApiCallDateTime = &v return s } -// Lifecycle. -type LifeCycle struct { +type ListApplicationsInput struct { _ struct{} `type:"structure"` - // Lifecycle added to service data and time. - AddedToServiceDateTime *string `locationName:"addedToServiceDateTime" min:"19" type:"string"` - - // Lifecycle elapsed time and duration. - ElapsedReplicationDuration *string `locationName:"elapsedReplicationDuration" min:"1" type:"string"` - - // Lifecycle replication initiation date and time. - FirstByteDateTime *string `locationName:"firstByteDateTime" min:"19" type:"string"` - - // Lifecycle last Cutover. - LastCutover *LifeCycleLastCutover `locationName:"lastCutover" type:"structure"` - - // Lifecycle last seen date and time. - LastSeenByServiceDateTime *string `locationName:"lastSeenByServiceDateTime" min:"19" type:"string"` + // Applications list filters. + Filters *ListApplicationsRequestFilters `locationName:"filters" type:"structure"` - // Lifecycle last Test. - LastTest *LifeCycleLastTest `locationName:"lastTest" type:"structure"` + // Maximum results to return when listing applications. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` - // Lifecycle state. - State *string `locationName:"state" type:"string" enum:"LifeCycleState"` + // Request next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -10944,7 +12722,7 @@ type LifeCycle struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycle) String() string { +func (s ListApplicationsInput) String() string { return awsutil.Prettify(s) } @@ -10953,64 +12731,93 @@ func (s LifeCycle) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycle) GoString() string { +func (s ListApplicationsInput) GoString() string { return s.String() } -// SetAddedToServiceDateTime sets the AddedToServiceDateTime field's value. -func (s *LifeCycle) SetAddedToServiceDateTime(v string) *LifeCycle { - s.AddedToServiceDateTime = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListApplicationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListApplicationsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetElapsedReplicationDuration sets the ElapsedReplicationDuration field's value. -func (s *LifeCycle) SetElapsedReplicationDuration(v string) *LifeCycle { - s.ElapsedReplicationDuration = &v +// SetFilters sets the Filters field's value. +func (s *ListApplicationsInput) SetFilters(v *ListApplicationsRequestFilters) *ListApplicationsInput { + s.Filters = v return s } -// SetFirstByteDateTime sets the FirstByteDateTime field's value. -func (s *LifeCycle) SetFirstByteDateTime(v string) *LifeCycle { - s.FirstByteDateTime = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListApplicationsInput) SetMaxResults(v int64) *ListApplicationsInput { + s.MaxResults = &v return s } -// SetLastCutover sets the LastCutover field's value. -func (s *LifeCycle) SetLastCutover(v *LifeCycleLastCutover) *LifeCycle { - s.LastCutover = v +// SetNextToken sets the NextToken field's value. +func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput { + s.NextToken = &v return s } -// SetLastSeenByServiceDateTime sets the LastSeenByServiceDateTime field's value. -func (s *LifeCycle) SetLastSeenByServiceDateTime(v string) *LifeCycle { - s.LastSeenByServiceDateTime = &v - return s +type ListApplicationsOutput struct { + _ struct{} `type:"structure"` + + // Applications list. + Items []*Application `locationName:"items" type:"list"` + + // Response next token. + NextToken *string `locationName:"nextToken" type:"string"` } -// SetLastTest sets the LastTest field's value. -func (s *LifeCycle) SetLastTest(v *LifeCycleLastTest) *LifeCycle { - s.LastTest = v +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListApplicationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListApplicationsOutput) GoString() string { + return s.String() +} + +// SetItems sets the Items field's value. +func (s *ListApplicationsOutput) SetItems(v []*Application) *ListApplicationsOutput { + s.Items = v return s } -// SetState sets the State field's value. -func (s *LifeCycle) SetState(v string) *LifeCycle { - s.State = &v +// SetNextToken sets the NextToken field's value. +func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput { + s.NextToken = &v return s } -// Lifecycle last Cutover . -type LifeCycleLastCutover struct { +// Applications list filters. +type ListApplicationsRequestFilters struct { _ struct{} `type:"structure"` - // Lifecycle Cutover finalized date and time. - Finalized *LifeCycleLastCutoverFinalized `locationName:"finalized" type:"structure"` + // Filter applications list by application ID. + ApplicationIDs []*string `locationName:"applicationIDs" type:"list"` - // Lifecycle last Cutover initiated. - Initiated *LifeCycleLastCutoverInitiated `locationName:"initiated" type:"structure"` + // Filter applications list by archival status. + IsArchived *bool `locationName:"isArchived" type:"boolean"` - // Lifecycle last Cutover reverted. - Reverted *LifeCycleLastCutoverReverted `locationName:"reverted" type:"structure"` + // Filter applications list by wave ID. + WaveIDs []*string `locationName:"waveIDs" type:"list"` } // String returns the string representation. @@ -11018,7 +12825,7 @@ type LifeCycleLastCutover struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastCutover) String() string { +func (s ListApplicationsRequestFilters) String() string { return awsutil.Prettify(s) } @@ -11027,34 +12834,42 @@ func (s LifeCycleLastCutover) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastCutover) GoString() string { +func (s ListApplicationsRequestFilters) GoString() string { return s.String() } -// SetFinalized sets the Finalized field's value. -func (s *LifeCycleLastCutover) SetFinalized(v *LifeCycleLastCutoverFinalized) *LifeCycleLastCutover { - s.Finalized = v +// SetApplicationIDs sets the ApplicationIDs field's value. +func (s *ListApplicationsRequestFilters) SetApplicationIDs(v []*string) *ListApplicationsRequestFilters { + s.ApplicationIDs = v return s } -// SetInitiated sets the Initiated field's value. -func (s *LifeCycleLastCutover) SetInitiated(v *LifeCycleLastCutoverInitiated) *LifeCycleLastCutover { - s.Initiated = v +// SetIsArchived sets the IsArchived field's value. +func (s *ListApplicationsRequestFilters) SetIsArchived(v bool) *ListApplicationsRequestFilters { + s.IsArchived = &v return s } -// SetReverted sets the Reverted field's value. -func (s *LifeCycleLastCutover) SetReverted(v *LifeCycleLastCutoverReverted) *LifeCycleLastCutover { - s.Reverted = v +// SetWaveIDs sets the WaveIDs field's value. +func (s *ListApplicationsRequestFilters) SetWaveIDs(v []*string) *ListApplicationsRequestFilters { + s.WaveIDs = v return s } -// Lifecycle Cutover finalized -type LifeCycleLastCutoverFinalized struct { +// List export errors request. +type ListExportErrorsInput struct { _ struct{} `type:"structure"` - // Lifecycle Cutover finalized date and time. - ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` + // List export errors request export id. + // + // ExportID is a required field + ExportID *string `locationName:"exportID" min:"24" type:"string" required:"true"` + + // List export errors request max results. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // List export errors request next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -11062,7 +12877,7 @@ type LifeCycleLastCutoverFinalized struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastCutoverFinalized) String() string { +func (s ListExportErrorsInput) String() string { return awsutil.Prettify(s) } @@ -11071,24 +12886,56 @@ func (s LifeCycleLastCutoverFinalized) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastCutoverFinalized) GoString() string { +func (s ListExportErrorsInput) GoString() string { return s.String() } -// SetApiCallDateTime sets the ApiCallDateTime field's value. -func (s *LifeCycleLastCutoverFinalized) SetApiCallDateTime(v string) *LifeCycleLastCutoverFinalized { - s.ApiCallDateTime = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListExportErrorsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListExportErrorsInput"} + if s.ExportID == nil { + invalidParams.Add(request.NewErrParamRequired("ExportID")) + } + if s.ExportID != nil && len(*s.ExportID) < 24 { + invalidParams.Add(request.NewErrParamMinLen("ExportID", 24)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetExportID sets the ExportID field's value. +func (s *ListExportErrorsInput) SetExportID(v string) *ListExportErrorsInput { + s.ExportID = &v return s } -// Lifecycle last Cutover initiated. -type LifeCycleLastCutoverInitiated struct { +// SetMaxResults sets the MaxResults field's value. +func (s *ListExportErrorsInput) SetMaxResults(v int64) *ListExportErrorsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListExportErrorsInput) SetNextToken(v string) *ListExportErrorsInput { + s.NextToken = &v + return s +} + +// List export errors response. +type ListExportErrorsOutput struct { _ struct{} `type:"structure"` - ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` + // List export errors response items. + Items []*ExportTaskError `locationName:"items" type:"list"` - // Lifecycle last Cutover initiated by Job ID. - JobID *string `locationName:"jobID" min:"24" type:"string"` + // List export errors response next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -11096,7 +12943,7 @@ type LifeCycleLastCutoverInitiated struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastCutoverInitiated) String() string { +func (s ListExportErrorsOutput) String() string { return awsutil.Prettify(s) } @@ -11105,28 +12952,34 @@ func (s LifeCycleLastCutoverInitiated) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastCutoverInitiated) GoString() string { +func (s ListExportErrorsOutput) GoString() string { return s.String() } -// SetApiCallDateTime sets the ApiCallDateTime field's value. -func (s *LifeCycleLastCutoverInitiated) SetApiCallDateTime(v string) *LifeCycleLastCutoverInitiated { - s.ApiCallDateTime = &v +// SetItems sets the Items field's value. +func (s *ListExportErrorsOutput) SetItems(v []*ExportTaskError) *ListExportErrorsOutput { + s.Items = v return s } -// SetJobID sets the JobID field's value. -func (s *LifeCycleLastCutoverInitiated) SetJobID(v string) *LifeCycleLastCutoverInitiated { - s.JobID = &v +// SetNextToken sets the NextToken field's value. +func (s *ListExportErrorsOutput) SetNextToken(v string) *ListExportErrorsOutput { + s.NextToken = &v return s } -// Lifecycle last Cutover reverted. -type LifeCycleLastCutoverReverted struct { +// List export request. +type ListExportsInput struct { _ struct{} `type:"structure"` - // Lifecycle last Cutover reverted API call date time. - ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` + // List exports request filters. + Filters *ListExportsRequestFilters `locationName:"filters" type:"structure"` + + // List export request max results. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // List export request next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -11134,7 +12987,7 @@ type LifeCycleLastCutoverReverted struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastCutoverReverted) String() string { +func (s ListExportsInput) String() string { return awsutil.Prettify(s) } @@ -11143,28 +12996,50 @@ func (s LifeCycleLastCutoverReverted) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastCutoverReverted) GoString() string { +func (s ListExportsInput) GoString() string { return s.String() } -// SetApiCallDateTime sets the ApiCallDateTime field's value. -func (s *LifeCycleLastCutoverReverted) SetApiCallDateTime(v string) *LifeCycleLastCutoverReverted { - s.ApiCallDateTime = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListExportsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListExportsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *ListExportsInput) SetFilters(v *ListExportsRequestFilters) *ListExportsInput { + s.Filters = v return s } -// Lifecycle last Test. -type LifeCycleLastTest struct { - _ struct{} `type:"structure"` +// SetMaxResults sets the MaxResults field's value. +func (s *ListExportsInput) SetMaxResults(v int64) *ListExportsInput { + s.MaxResults = &v + return s +} - // Lifecycle last Test finalized. - Finalized *LifeCycleLastTestFinalized `locationName:"finalized" type:"structure"` +// SetNextToken sets the NextToken field's value. +func (s *ListExportsInput) SetNextToken(v string) *ListExportsInput { + s.NextToken = &v + return s +} - // Lifecycle last Test initiated. - Initiated *LifeCycleLastTestInitiated `locationName:"initiated" type:"structure"` +// List export response. +type ListExportsOutput struct { + _ struct{} `type:"structure"` - // Lifecycle last Test reverted. - Reverted *LifeCycleLastTestReverted `locationName:"reverted" type:"structure"` + // List export response items. + Items []*ExportTask `locationName:"items" type:"list"` + + // List export response next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -11172,7 +13047,7 @@ type LifeCycleLastTest struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastTest) String() string { +func (s ListExportsOutput) String() string { return awsutil.Prettify(s) } @@ -11181,34 +13056,28 @@ func (s LifeCycleLastTest) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastTest) GoString() string { +func (s ListExportsOutput) GoString() string { return s.String() } -// SetFinalized sets the Finalized field's value. -func (s *LifeCycleLastTest) SetFinalized(v *LifeCycleLastTestFinalized) *LifeCycleLastTest { - s.Finalized = v - return s -} - -// SetInitiated sets the Initiated field's value. -func (s *LifeCycleLastTest) SetInitiated(v *LifeCycleLastTestInitiated) *LifeCycleLastTest { - s.Initiated = v +// SetItems sets the Items field's value. +func (s *ListExportsOutput) SetItems(v []*ExportTask) *ListExportsOutput { + s.Items = v return s } -// SetReverted sets the Reverted field's value. -func (s *LifeCycleLastTest) SetReverted(v *LifeCycleLastTestReverted) *LifeCycleLastTest { - s.Reverted = v +// SetNextToken sets the NextToken field's value. +func (s *ListExportsOutput) SetNextToken(v string) *ListExportsOutput { + s.NextToken = &v return s } -// Lifecycle last Test finalized. -type LifeCycleLastTestFinalized struct { +// List exports request filters. +type ListExportsRequestFilters struct { _ struct{} `type:"structure"` - // Lifecycle Test failed API call date and time. - ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` + // List exports request filters export ids. + ExportIDs []*string `locationName:"exportIDs" type:"list"` } // String returns the string representation. @@ -11216,7 +13085,7 @@ type LifeCycleLastTestFinalized struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastTestFinalized) String() string { +func (s ListExportsRequestFilters) String() string { return awsutil.Prettify(s) } @@ -11225,25 +13094,30 @@ func (s LifeCycleLastTestFinalized) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastTestFinalized) GoString() string { +func (s ListExportsRequestFilters) GoString() string { return s.String() } -// SetApiCallDateTime sets the ApiCallDateTime field's value. -func (s *LifeCycleLastTestFinalized) SetApiCallDateTime(v string) *LifeCycleLastTestFinalized { - s.ApiCallDateTime = &v +// SetExportIDs sets the ExportIDs field's value. +func (s *ListExportsRequestFilters) SetExportIDs(v []*string) *ListExportsRequestFilters { + s.ExportIDs = v return s } - -// Lifecycle last Test initiated. -type LifeCycleLastTestInitiated struct { + +// List import errors request. +type ListImportErrorsInput struct { _ struct{} `type:"structure"` - // Lifecycle last Test initiated API call date and time. - ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` + // List import errors request import id. + // + // ImportID is a required field + ImportID *string `locationName:"importID" min:"24" type:"string" required:"true"` - // Lifecycle last Test initiated Job ID. - JobID *string `locationName:"jobID" min:"24" type:"string"` + // List import errors request max results. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // List import errors request next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -11251,7 +13125,7 @@ type LifeCycleLastTestInitiated struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastTestInitiated) String() string { +func (s ListImportErrorsInput) String() string { return awsutil.Prettify(s) } @@ -11260,28 +13134,56 @@ func (s LifeCycleLastTestInitiated) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastTestInitiated) GoString() string { +func (s ListImportErrorsInput) GoString() string { return s.String() } -// SetApiCallDateTime sets the ApiCallDateTime field's value. -func (s *LifeCycleLastTestInitiated) SetApiCallDateTime(v string) *LifeCycleLastTestInitiated { - s.ApiCallDateTime = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListImportErrorsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListImportErrorsInput"} + if s.ImportID == nil { + invalidParams.Add(request.NewErrParamRequired("ImportID")) + } + if s.ImportID != nil && len(*s.ImportID) < 24 { + invalidParams.Add(request.NewErrParamMinLen("ImportID", 24)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetImportID sets the ImportID field's value. +func (s *ListImportErrorsInput) SetImportID(v string) *ListImportErrorsInput { + s.ImportID = &v return s } -// SetJobID sets the JobID field's value. -func (s *LifeCycleLastTestInitiated) SetJobID(v string) *LifeCycleLastTestInitiated { - s.JobID = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListImportErrorsInput) SetMaxResults(v int64) *ListImportErrorsInput { + s.MaxResults = &v return s } -// Lifecycle last Test reverted. -type LifeCycleLastTestReverted struct { +// SetNextToken sets the NextToken field's value. +func (s *ListImportErrorsInput) SetNextToken(v string) *ListImportErrorsInput { + s.NextToken = &v + return s +} + +// List imports errors response. +type ListImportErrorsOutput struct { _ struct{} `type:"structure"` - // Lifecycle last Test reverted API call date and time. - ApiCallDateTime *string `locationName:"apiCallDateTime" min:"19" type:"string"` + // List imports errors response items. + Items []*ImportTaskError `locationName:"items" type:"list"` + + // List imports errors response next token. + NextToken *string `locationName:"nextToken" type:"string"` } // String returns the string representation. @@ -11289,7 +13191,7 @@ type LifeCycleLastTestReverted struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastTestReverted) String() string { +func (s ListImportErrorsOutput) String() string { return awsutil.Prettify(s) } @@ -11298,26 +13200,33 @@ func (s LifeCycleLastTestReverted) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s LifeCycleLastTestReverted) GoString() string { +func (s ListImportErrorsOutput) GoString() string { return s.String() } -// SetApiCallDateTime sets the ApiCallDateTime field's value. -func (s *LifeCycleLastTestReverted) SetApiCallDateTime(v string) *LifeCycleLastTestReverted { - s.ApiCallDateTime = &v +// SetItems sets the Items field's value. +func (s *ListImportErrorsOutput) SetItems(v []*ImportTaskError) *ListImportErrorsOutput { + s.Items = v return s } -type ListApplicationsInput struct { +// SetNextToken sets the NextToken field's value. +func (s *ListImportErrorsOutput) SetNextToken(v string) *ListImportErrorsOutput { + s.NextToken = &v + return s +} + +// List imports request. +type ListImportsInput struct { _ struct{} `type:"structure"` - // Applications list filters. - Filters *ListApplicationsRequestFilters `locationName:"filters" type:"structure"` + // List imports request filters. + Filters *ListImportsRequestFilters `locationName:"filters" type:"structure"` - // Maximum results to return when listing applications. + // List imports request max results. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` - // Request next token. + // List imports request next token. NextToken *string `locationName:"nextToken" type:"string"` } @@ -11326,7 +13235,7 @@ type ListApplicationsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListApplicationsInput) String() string { +func (s ListImportsInput) String() string { return awsutil.Prettify(s) } @@ -11335,13 +13244,13 @@ func (s ListApplicationsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListApplicationsInput) GoString() string { +func (s ListImportsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListApplicationsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListApplicationsInput"} +func (s *ListImportsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListImportsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } @@ -11353,30 +13262,31 @@ func (s *ListApplicationsInput) Validate() error { } // SetFilters sets the Filters field's value. -func (s *ListApplicationsInput) SetFilters(v *ListApplicationsRequestFilters) *ListApplicationsInput { +func (s *ListImportsInput) SetFilters(v *ListImportsRequestFilters) *ListImportsInput { s.Filters = v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListApplicationsInput) SetMaxResults(v int64) *ListApplicationsInput { +func (s *ListImportsInput) SetMaxResults(v int64) *ListImportsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput { +func (s *ListImportsInput) SetNextToken(v string) *ListImportsInput { s.NextToken = &v return s } -type ListApplicationsOutput struct { +// List import response. +type ListImportsOutput struct { _ struct{} `type:"structure"` - // Applications list. - Items []*Application `locationName:"items" type:"list"` + // List import response items. + Items []*ImportTask `locationName:"items" type:"list"` - // Response next token. + // List import response next token. NextToken *string `locationName:"nextToken" type:"string"` } @@ -11385,7 +13295,7 @@ type ListApplicationsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListApplicationsOutput) String() string { +func (s ListImportsOutput) String() string { return awsutil.Prettify(s) } @@ -11394,34 +13304,28 @@ func (s ListApplicationsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListApplicationsOutput) GoString() string { +func (s ListImportsOutput) GoString() string { return s.String() } // SetItems sets the Items field's value. -func (s *ListApplicationsOutput) SetItems(v []*Application) *ListApplicationsOutput { +func (s *ListImportsOutput) SetItems(v []*ImportTask) *ListImportsOutput { s.Items = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput { +func (s *ListImportsOutput) SetNextToken(v string) *ListImportsOutput { s.NextToken = &v return s } -// Applications list filters. -type ListApplicationsRequestFilters struct { +// List imports request filters. +type ListImportsRequestFilters struct { _ struct{} `type:"structure"` - // Filter applications list by application ID. - ApplicationIDs []*string `locationName:"applicationIDs" type:"list"` - - // Filter applications list by archival status. - IsArchived *bool `locationName:"isArchived" type:"boolean"` - - // Filter applications list by wave ID. - WaveIDs []*string `locationName:"waveIDs" type:"list"` + // List imports request filters import IDs. + ImportIDs []*string `locationName:"importIDs" type:"list"` } // String returns the string representation. @@ -11429,7 +13333,7 @@ type ListApplicationsRequestFilters struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListApplicationsRequestFilters) String() string { +func (s ListImportsRequestFilters) String() string { return awsutil.Prettify(s) } @@ -11438,25 +13342,13 @@ func (s ListApplicationsRequestFilters) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListApplicationsRequestFilters) GoString() string { +func (s ListImportsRequestFilters) GoString() string { return s.String() } -// SetApplicationIDs sets the ApplicationIDs field's value. -func (s *ListApplicationsRequestFilters) SetApplicationIDs(v []*string) *ListApplicationsRequestFilters { - s.ApplicationIDs = v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *ListApplicationsRequestFilters) SetIsArchived(v bool) *ListApplicationsRequestFilters { - s.IsArchived = &v - return s -} - -// SetWaveIDs sets the WaveIDs field's value. -func (s *ListApplicationsRequestFilters) SetWaveIDs(v []*string) *ListApplicationsRequestFilters { - s.WaveIDs = v +// SetImportIDs sets the ImportIDs field's value. +func (s *ListImportsRequestFilters) SetImportIDs(v []*string) *ListImportsRequestFilters { + s.ImportIDs = v return s } @@ -11988,6 +13880,9 @@ type MarkAsArchivedOutput struct { // Source server data replication info. DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` + // Source server fqdn for action framework. + FqdnForActionFramework *string `locationName:"fqdnForActionFramework" type:"string"` + // Source server archived status. IsArchived *bool `locationName:"isArchived" type:"boolean"` @@ -12013,6 +13908,9 @@ type MarkAsArchivedOutput struct { // String and GoString methods. Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Source server user provided ID. + UserProvidedID *string `locationName:"userProvidedID" type:"string"` + // Source server vCenter client id. VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` } @@ -12053,6 +13951,12 @@ func (s *MarkAsArchivedOutput) SetDataReplicationInfo(v *DataReplicationInfo) *M return s } +// SetFqdnForActionFramework sets the FqdnForActionFramework field's value. +func (s *MarkAsArchivedOutput) SetFqdnForActionFramework(v string) *MarkAsArchivedOutput { + s.FqdnForActionFramework = &v + return s +} + // SetIsArchived sets the IsArchived field's value. func (s *MarkAsArchivedOutput) SetIsArchived(v bool) *MarkAsArchivedOutput { s.IsArchived = &v @@ -12095,6 +13999,12 @@ func (s *MarkAsArchivedOutput) SetTags(v map[string]*string) *MarkAsArchivedOutp return s } +// SetUserProvidedID sets the UserProvidedID field's value. +func (s *MarkAsArchivedOutput) SetUserProvidedID(v string) *MarkAsArchivedOutput { + s.UserProvidedID = &v + return s +} + // SetVcenterClientID sets the VcenterClientID field's value. func (s *MarkAsArchivedOutput) SetVcenterClientID(v string) *MarkAsArchivedOutput { s.VcenterClientID = &v @@ -12396,6 +14306,12 @@ type PutSourceServerActionInput struct { // Source server post migration custom action active status. Active *bool `locationName:"active" type:"boolean"` + // Source server post migration custom action category. + Category *string `locationName:"category" type:"string" enum:"ActionCategory"` + + // Source server post migration custom action description. + Description *string `locationName:"description" type:"string"` + // Source server post migration custom action document identifier. // // DocumentIdentifier is a required field @@ -12404,6 +14320,9 @@ type PutSourceServerActionInput struct { // Source server post migration custom action document version. DocumentVersion *string `locationName:"documentVersion" type:"string"` + // Source server post migration custom action external parameters. + ExternalParameters map[string]*SsmExternalParameter `locationName:"externalParameters" type:"map"` + // Source server post migration custom action must succeed for cutover. MustSucceedForCutover *bool `locationName:"mustSucceedForCutover" type:"boolean"` @@ -12475,6 +14394,16 @@ func (s *PutSourceServerActionInput) Validate() error { if s.TimeoutSeconds != nil && *s.TimeoutSeconds < 1 { invalidParams.Add(request.NewErrParamMinValue("TimeoutSeconds", 1)) } + if s.ExternalParameters != nil { + for i, v := range s.ExternalParameters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExternalParameters", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -12500,6 +14429,18 @@ func (s *PutSourceServerActionInput) SetActive(v bool) *PutSourceServerActionInp return s } +// SetCategory sets the Category field's value. +func (s *PutSourceServerActionInput) SetCategory(v string) *PutSourceServerActionInput { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutSourceServerActionInput) SetDescription(v string) *PutSourceServerActionInput { + s.Description = &v + return s +} + // SetDocumentIdentifier sets the DocumentIdentifier field's value. func (s *PutSourceServerActionInput) SetDocumentIdentifier(v string) *PutSourceServerActionInput { s.DocumentIdentifier = &v @@ -12512,6 +14453,12 @@ func (s *PutSourceServerActionInput) SetDocumentVersion(v string) *PutSourceServ return s } +// SetExternalParameters sets the ExternalParameters field's value. +func (s *PutSourceServerActionInput) SetExternalParameters(v map[string]*SsmExternalParameter) *PutSourceServerActionInput { + s.ExternalParameters = v + return s +} + // SetMustSucceedForCutover sets the MustSucceedForCutover field's value. func (s *PutSourceServerActionInput) SetMustSucceedForCutover(v bool) *PutSourceServerActionInput { s.MustSucceedForCutover = &v @@ -12554,12 +14501,21 @@ type PutSourceServerActionOutput struct { // Source server post migration custom action active status. Active *bool `locationName:"active" type:"boolean"` + // Source server post migration custom action category. + Category *string `locationName:"category" type:"string" enum:"ActionCategory"` + + // Source server post migration custom action description. + Description *string `locationName:"description" type:"string"` + // Source server post migration custom action document identifier. DocumentIdentifier *string `locationName:"documentIdentifier" type:"string"` // Source server post migration custom action document version. DocumentVersion *string `locationName:"documentVersion" type:"string"` + // Source server post migration custom action external parameters. + ExternalParameters map[string]*SsmExternalParameter `locationName:"externalParameters" type:"map"` + // Source server post migration custom action must succeed for cutover. MustSucceedForCutover *bool `locationName:"mustSucceedForCutover" type:"boolean"` @@ -12609,6 +14565,18 @@ func (s *PutSourceServerActionOutput) SetActive(v bool) *PutSourceServerActionOu return s } +// SetCategory sets the Category field's value. +func (s *PutSourceServerActionOutput) SetCategory(v string) *PutSourceServerActionOutput { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutSourceServerActionOutput) SetDescription(v string) *PutSourceServerActionOutput { + s.Description = &v + return s +} + // SetDocumentIdentifier sets the DocumentIdentifier field's value. func (s *PutSourceServerActionOutput) SetDocumentIdentifier(v string) *PutSourceServerActionOutput { s.DocumentIdentifier = &v @@ -12621,6 +14589,12 @@ func (s *PutSourceServerActionOutput) SetDocumentVersion(v string) *PutSourceSer return s } +// SetExternalParameters sets the ExternalParameters field's value. +func (s *PutSourceServerActionOutput) SetExternalParameters(v map[string]*SsmExternalParameter) *PutSourceServerActionOutput { + s.ExternalParameters = v + return s +} + // SetMustSucceedForCutover sets the MustSucceedForCutover field's value. func (s *PutSourceServerActionOutput) SetMustSucceedForCutover(v bool) *PutSourceServerActionOutput { s.MustSucceedForCutover = &v @@ -12661,6 +14635,12 @@ type PutTemplateActionInput struct { // Template post migration custom action active status. Active *bool `locationName:"active" type:"boolean"` + // Template post migration custom action category. + Category *string `locationName:"category" type:"string" enum:"ActionCategory"` + + // Template post migration custom action description. + Description *string `locationName:"description" type:"string"` + // Template post migration custom action document identifier. // // DocumentIdentifier is a required field @@ -12669,6 +14649,9 @@ type PutTemplateActionInput struct { // Template post migration custom action document version. DocumentVersion *string `locationName:"documentVersion" type:"string"` + // Template post migration custom action external parameters. + ExternalParameters map[string]*SsmExternalParameter `locationName:"externalParameters" type:"map"` + // Launch configuration template ID. // // LaunchConfigurationTemplateID is a required field @@ -12740,6 +14723,16 @@ func (s *PutTemplateActionInput) Validate() error { if s.TimeoutSeconds != nil && *s.TimeoutSeconds < 1 { invalidParams.Add(request.NewErrParamMinValue("TimeoutSeconds", 1)) } + if s.ExternalParameters != nil { + for i, v := range s.ExternalParameters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExternalParameters", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -12765,6 +14758,18 @@ func (s *PutTemplateActionInput) SetActive(v bool) *PutTemplateActionInput { return s } +// SetCategory sets the Category field's value. +func (s *PutTemplateActionInput) SetCategory(v string) *PutTemplateActionInput { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutTemplateActionInput) SetDescription(v string) *PutTemplateActionInput { + s.Description = &v + return s +} + // SetDocumentIdentifier sets the DocumentIdentifier field's value. func (s *PutTemplateActionInput) SetDocumentIdentifier(v string) *PutTemplateActionInput { s.DocumentIdentifier = &v @@ -12777,6 +14782,12 @@ func (s *PutTemplateActionInput) SetDocumentVersion(v string) *PutTemplateAction return s } +// SetExternalParameters sets the ExternalParameters field's value. +func (s *PutTemplateActionInput) SetExternalParameters(v map[string]*SsmExternalParameter) *PutTemplateActionInput { + s.ExternalParameters = v + return s +} + // SetLaunchConfigurationTemplateID sets the LaunchConfigurationTemplateID field's value. func (s *PutTemplateActionInput) SetLaunchConfigurationTemplateID(v string) *PutTemplateActionInput { s.LaunchConfigurationTemplateID = &v @@ -12825,12 +14836,21 @@ type PutTemplateActionOutput struct { // Template post migration custom action active status. Active *bool `locationName:"active" type:"boolean"` + // Template post migration custom action category. + Category *string `locationName:"category" type:"string" enum:"ActionCategory"` + + // Template post migration custom action description. + Description *string `locationName:"description" type:"string"` + // Template post migration custom action document identifier. DocumentIdentifier *string `locationName:"documentIdentifier" type:"string"` // Template post migration custom action document version. DocumentVersion *string `locationName:"documentVersion" type:"string"` + // Template post migration custom action external parameters. + ExternalParameters map[string]*SsmExternalParameter `locationName:"externalParameters" type:"map"` + // Template post migration custom action must succeed for cutover. MustSucceedForCutover *bool `locationName:"mustSucceedForCutover" type:"boolean"` @@ -12883,6 +14903,18 @@ func (s *PutTemplateActionOutput) SetActive(v bool) *PutTemplateActionOutput { return s } +// SetCategory sets the Category field's value. +func (s *PutTemplateActionOutput) SetCategory(v string) *PutTemplateActionOutput { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *PutTemplateActionOutput) SetDescription(v string) *PutTemplateActionOutput { + s.Description = &v + return s +} + // SetDocumentIdentifier sets the DocumentIdentifier field's value. func (s *PutTemplateActionOutput) SetDocumentIdentifier(v string) *PutTemplateActionOutput { s.DocumentIdentifier = &v @@ -12895,6 +14927,12 @@ func (s *PutTemplateActionOutput) SetDocumentVersion(v string) *PutTemplateActio return s } +// SetExternalParameters sets the ExternalParameters field's value. +func (s *PutTemplateActionOutput) SetExternalParameters(v map[string]*SsmExternalParameter) *PutTemplateActionOutput { + s.ExternalParameters = v + return s +} + // SetMustSucceedForCutover sets the MustSucceedForCutover field's value. func (s *PutTemplateActionOutput) SetMustSucceedForCutover(v bool) *PutTemplateActionOutput { s.MustSucceedForCutover = &v @@ -13470,6 +15508,9 @@ type RetryDataReplicationOutput struct { // Source server data replication info. DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` + // Source server fqdn for action framework. + FqdnForActionFramework *string `locationName:"fqdnForActionFramework" type:"string"` + // Source server archived status. IsArchived *bool `locationName:"isArchived" type:"boolean"` @@ -13495,6 +15536,9 @@ type RetryDataReplicationOutput struct { // String and GoString methods. Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Source server user provided ID. + UserProvidedID *string `locationName:"userProvidedID" type:"string"` + // Source server vCenter client id. VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` } @@ -13535,6 +15579,12 @@ func (s *RetryDataReplicationOutput) SetDataReplicationInfo(v *DataReplicationIn return s } +// SetFqdnForActionFramework sets the FqdnForActionFramework field's value. +func (s *RetryDataReplicationOutput) SetFqdnForActionFramework(v string) *RetryDataReplicationOutput { + s.FqdnForActionFramework = &v + return s +} + // SetIsArchived sets the IsArchived field's value. func (s *RetryDataReplicationOutput) SetIsArchived(v bool) *RetryDataReplicationOutput { s.IsArchived = &v @@ -13577,12 +15627,91 @@ func (s *RetryDataReplicationOutput) SetTags(v map[string]*string) *RetryDataRep return s } +// SetUserProvidedID sets the UserProvidedID field's value. +func (s *RetryDataReplicationOutput) SetUserProvidedID(v string) *RetryDataReplicationOutput { + s.UserProvidedID = &v + return s +} + // SetVcenterClientID sets the VcenterClientID field's value. func (s *RetryDataReplicationOutput) SetVcenterClientID(v string) *RetryDataReplicationOutput { s.VcenterClientID = &v return s } +// S3 bucket source. +type S3BucketSource struct { + _ struct{} `type:"structure"` + + // S3 bucket source s3 bucket. + // + // S3Bucket is a required field + S3Bucket *string `locationName:"s3Bucket" type:"string" required:"true"` + + // S3 bucket source s3 bucket owner. + S3BucketOwner *string `locationName:"s3BucketOwner" min:"12" type:"string"` + + // S3 bucket source s3 key. + // + // S3Key is a required field + S3Key *string `locationName:"s3Key" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3BucketSource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s S3BucketSource) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3BucketSource) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3BucketSource"} + if s.S3Bucket == nil { + invalidParams.Add(request.NewErrParamRequired("S3Bucket")) + } + if s.S3BucketOwner != nil && len(*s.S3BucketOwner) < 12 { + invalidParams.Add(request.NewErrParamMinLen("S3BucketOwner", 12)) + } + if s.S3Key == nil { + invalidParams.Add(request.NewErrParamRequired("S3Key")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetS3Bucket sets the S3Bucket field's value. +func (s *S3BucketSource) SetS3Bucket(v string) *S3BucketSource { + s.S3Bucket = &v + return s +} + +// SetS3BucketOwner sets the S3BucketOwner field's value. +func (s *S3BucketSource) SetS3BucketOwner(v string) *S3BucketSource { + s.S3BucketOwner = &v + return s +} + +// SetS3Key sets the S3Key field's value. +func (s *S3BucketSource) SetS3Key(v string) *S3BucketSource { + s.S3Key = &v + return s +} + // The request could not be completed because its exceeded the service quota. type ServiceQuotaExceededException struct { _ struct{} `type:"structure"` @@ -13771,6 +15900,9 @@ type SourceServer struct { // Source server data replication info. DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` + // Source server fqdn for action framework. + FqdnForActionFramework *string `locationName:"fqdnForActionFramework" type:"string"` + // Source server archived status. IsArchived *bool `locationName:"isArchived" type:"boolean"` @@ -13796,6 +15928,9 @@ type SourceServer struct { // String and GoString methods. Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Source server user provided ID. + UserProvidedID *string `locationName:"userProvidedID" type:"string"` + // Source server vCenter client id. VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` } @@ -13836,6 +15971,12 @@ func (s *SourceServer) SetDataReplicationInfo(v *DataReplicationInfo) *SourceSer return s } +// SetFqdnForActionFramework sets the FqdnForActionFramework field's value. +func (s *SourceServer) SetFqdnForActionFramework(v string) *SourceServer { + s.FqdnForActionFramework = &v + return s +} + // SetIsArchived sets the IsArchived field's value. func (s *SourceServer) SetIsArchived(v bool) *SourceServer { s.IsArchived = &v @@ -13878,6 +16019,12 @@ func (s *SourceServer) SetTags(v map[string]*string) *SourceServer { return s } +// SetUserProvidedID sets the UserProvidedID field's value. +func (s *SourceServer) SetUserProvidedID(v string) *SourceServer { + s.UserProvidedID = &v + return s +} + // SetVcenterClientID sets the VcenterClientID field's value. func (s *SourceServer) SetVcenterClientID(v string) *SourceServer { s.VcenterClientID = &v @@ -13896,12 +16043,21 @@ type SourceServerActionDocument struct { // Source server post migration custom action active status. Active *bool `locationName:"active" type:"boolean"` + // Source server post migration custom action category. + Category *string `locationName:"category" type:"string" enum:"ActionCategory"` + + // Source server post migration custom action description. + Description *string `locationName:"description" type:"string"` + // Source server post migration custom action document identifier. DocumentIdentifier *string `locationName:"documentIdentifier" type:"string"` // Source server post migration custom action document version. DocumentVersion *string `locationName:"documentVersion" type:"string"` + // Source server post migration custom action external parameters. + ExternalParameters map[string]*SsmExternalParameter `locationName:"externalParameters" type:"map"` + // Source server post migration custom action must succeed for cutover. MustSucceedForCutover *bool `locationName:"mustSucceedForCutover" type:"boolean"` @@ -13945,9 +16101,21 @@ func (s *SourceServerActionDocument) SetActionName(v string) *SourceServerAction return s } -// SetActive sets the Active field's value. -func (s *SourceServerActionDocument) SetActive(v bool) *SourceServerActionDocument { - s.Active = &v +// SetActive sets the Active field's value. +func (s *SourceServerActionDocument) SetActive(v bool) *SourceServerActionDocument { + s.Active = &v + return s +} + +// SetCategory sets the Category field's value. +func (s *SourceServerActionDocument) SetCategory(v string) *SourceServerActionDocument { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *SourceServerActionDocument) SetDescription(v string) *SourceServerActionDocument { + s.Description = &v return s } @@ -13963,6 +16131,12 @@ func (s *SourceServerActionDocument) SetDocumentVersion(v string) *SourceServerA return s } +// SetExternalParameters sets the ExternalParameters field's value. +func (s *SourceServerActionDocument) SetExternalParameters(v map[string]*SsmExternalParameter) *SourceServerActionDocument { + s.ExternalParameters = v + return s +} + // SetMustSucceedForCutover sets the MustSucceedForCutover field's value. func (s *SourceServerActionDocument) SetMustSucceedForCutover(v bool) *SourceServerActionDocument { s.MustSucceedForCutover = &v @@ -14028,6 +16202,9 @@ type SsmDocument struct { // ActionName is a required field ActionName *string `locationName:"actionName" type:"string" required:"true"` + // AWS Systems Manager Document external parameters. + ExternalParameters map[string]*SsmExternalParameter `locationName:"externalParameters" type:"map"` + // If true, Cutover will not be enabled if the document has failed. MustSucceedForCutover *bool `locationName:"mustSucceedForCutover" type:"boolean"` @@ -14076,6 +16253,16 @@ func (s *SsmDocument) Validate() error { if s.TimeoutSeconds != nil && *s.TimeoutSeconds < 1 { invalidParams.Add(request.NewErrParamMinValue("TimeoutSeconds", 1)) } + if s.ExternalParameters != nil { + for i, v := range s.ExternalParameters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExternalParameters", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -14089,6 +16276,12 @@ func (s *SsmDocument) SetActionName(v string) *SsmDocument { return s } +// SetExternalParameters sets the ExternalParameters field's value. +func (s *SsmDocument) SetExternalParameters(v map[string]*SsmExternalParameter) *SsmDocument { + s.ExternalParameters = v + return s +} + // SetMustSucceedForCutover sets the MustSucceedForCutover field's value. func (s *SsmDocument) SetMustSucceedForCutover(v bool) *SsmDocument { s.MustSucceedForCutover = &v @@ -14113,6 +16306,51 @@ func (s *SsmDocument) SetTimeoutSeconds(v int64) *SsmDocument { return s } +// AWS Systems Manager Document external parameter. +type SsmExternalParameter struct { + _ struct{} `type:"structure"` + + // AWS Systems Manager Document external parameters dynamic path. + DynamicPath *string `locationName:"dynamicPath" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SsmExternalParameter) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SsmExternalParameter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SsmExternalParameter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SsmExternalParameter"} + if s.DynamicPath != nil && len(*s.DynamicPath) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DynamicPath", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDynamicPath sets the DynamicPath field's value. +func (s *SsmExternalParameter) SetDynamicPath(v string) *SsmExternalParameter { + s.DynamicPath = &v + return s +} + // AWS Systems Manager Parameter Store parameter. type SsmParameterStoreParameter struct { _ struct{} `type:"structure"` @@ -14251,6 +16489,204 @@ func (s *StartCutoverOutput) SetJob(v *Job) *StartCutoverOutput { return s } +// Start export request. +type StartExportInput struct { + _ struct{} `type:"structure"` + + // Start export request s3 bucket. + // + // S3Bucket is a required field + S3Bucket *string `locationName:"s3Bucket" type:"string" required:"true"` + + // Start export request s3 bucket owner. + S3BucketOwner *string `locationName:"s3BucketOwner" min:"12" type:"string"` + + // Start export request s3key. + // + // S3Key is a required field + S3Key *string `locationName:"s3Key" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartExportInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartExportInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartExportInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartExportInput"} + if s.S3Bucket == nil { + invalidParams.Add(request.NewErrParamRequired("S3Bucket")) + } + if s.S3BucketOwner != nil && len(*s.S3BucketOwner) < 12 { + invalidParams.Add(request.NewErrParamMinLen("S3BucketOwner", 12)) + } + if s.S3Key == nil { + invalidParams.Add(request.NewErrParamRequired("S3Key")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetS3Bucket sets the S3Bucket field's value. +func (s *StartExportInput) SetS3Bucket(v string) *StartExportInput { + s.S3Bucket = &v + return s +} + +// SetS3BucketOwner sets the S3BucketOwner field's value. +func (s *StartExportInput) SetS3BucketOwner(v string) *StartExportInput { + s.S3BucketOwner = &v + return s +} + +// SetS3Key sets the S3Key field's value. +func (s *StartExportInput) SetS3Key(v string) *StartExportInput { + s.S3Key = &v + return s +} + +// Start export response. +type StartExportOutput struct { + _ struct{} `type:"structure"` + + // Start export response export task. + ExportTask *ExportTask `locationName:"exportTask" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartExportOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartExportOutput) GoString() string { + return s.String() +} + +// SetExportTask sets the ExportTask field's value. +func (s *StartExportOutput) SetExportTask(v *ExportTask) *StartExportOutput { + s.ExportTask = v + return s +} + +// Start import request. +type StartImportInput struct { + _ struct{} `type:"structure"` + + // Start import request client token. + ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` + + // Start import request s3 bucket source. + // + // S3BucketSource is a required field + S3BucketSource *S3BucketSource `locationName:"s3BucketSource" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartImportInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartImportInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartImportInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartImportInput"} + if s.S3BucketSource == nil { + invalidParams.Add(request.NewErrParamRequired("S3BucketSource")) + } + if s.S3BucketSource != nil { + if err := s.S3BucketSource.Validate(); err != nil { + invalidParams.AddNested("S3BucketSource", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *StartImportInput) SetClientToken(v string) *StartImportInput { + s.ClientToken = &v + return s +} + +// SetS3BucketSource sets the S3BucketSource field's value. +func (s *StartImportInput) SetS3BucketSource(v *S3BucketSource) *StartImportInput { + s.S3BucketSource = v + return s +} + +// Start import response. +type StartImportOutput struct { + _ struct{} `type:"structure"` + + // Start import response import task. + ImportTask *ImportTask `locationName:"importTask" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartImportOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StartImportOutput) GoString() string { + return s.String() +} + +// SetImportTask sets the ImportTask field's value. +func (s *StartImportOutput) SetImportTask(v *ImportTask) *StartImportOutput { + s.ImportTask = v + return s +} + type StartReplicationInput struct { _ struct{} `type:"structure"` @@ -14312,6 +16748,9 @@ type StartReplicationOutput struct { // Source server data replication info. DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` + // Source server fqdn for action framework. + FqdnForActionFramework *string `locationName:"fqdnForActionFramework" type:"string"` + // Source server archived status. IsArchived *bool `locationName:"isArchived" type:"boolean"` @@ -14337,6 +16776,9 @@ type StartReplicationOutput struct { // String and GoString methods. Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Source server user provided ID. + UserProvidedID *string `locationName:"userProvidedID" type:"string"` + // Source server vCenter client id. VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` } @@ -14377,6 +16819,12 @@ func (s *StartReplicationOutput) SetDataReplicationInfo(v *DataReplicationInfo) return s } +// SetFqdnForActionFramework sets the FqdnForActionFramework field's value. +func (s *StartReplicationOutput) SetFqdnForActionFramework(v string) *StartReplicationOutput { + s.FqdnForActionFramework = &v + return s +} + // SetIsArchived sets the IsArchived field's value. func (s *StartReplicationOutput) SetIsArchived(v bool) *StartReplicationOutput { s.IsArchived = &v @@ -14419,6 +16867,12 @@ func (s *StartReplicationOutput) SetTags(v map[string]*string) *StartReplication return s } +// SetUserProvidedID sets the UserProvidedID field's value. +func (s *StartReplicationOutput) SetUserProvidedID(v string) *StartReplicationOutput { + s.UserProvidedID = &v + return s +} + // SetVcenterClientID sets the VcenterClientID field's value. func (s *StartReplicationOutput) SetVcenterClientID(v string) *StartReplicationOutput { s.VcenterClientID = &v @@ -14619,12 +17073,21 @@ type TemplateActionDocument struct { // Template post migration custom action active status. Active *bool `locationName:"active" type:"boolean"` + // Template post migration custom action category. + Category *string `locationName:"category" type:"string" enum:"ActionCategory"` + + // Template post migration custom action description. + Description *string `locationName:"description" type:"string"` + // Template post migration custom action document identifier. DocumentIdentifier *string `locationName:"documentIdentifier" type:"string"` // Template post migration custom action document version. DocumentVersion *string `locationName:"documentVersion" type:"string"` + // Template post migration custom action external parameters. + ExternalParameters map[string]*SsmExternalParameter `locationName:"externalParameters" type:"map"` + // Template post migration custom action must succeed for cutover. MustSucceedForCutover *bool `locationName:"mustSucceedForCutover" type:"boolean"` @@ -14677,6 +17140,18 @@ func (s *TemplateActionDocument) SetActive(v bool) *TemplateActionDocument { return s } +// SetCategory sets the Category field's value. +func (s *TemplateActionDocument) SetCategory(v string) *TemplateActionDocument { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *TemplateActionDocument) SetDescription(v string) *TemplateActionDocument { + s.Description = &v + return s +} + // SetDocumentIdentifier sets the DocumentIdentifier field's value. func (s *TemplateActionDocument) SetDocumentIdentifier(v string) *TemplateActionDocument { s.DocumentIdentifier = &v @@ -14689,6 +17164,12 @@ func (s *TemplateActionDocument) SetDocumentVersion(v string) *TemplateActionDoc return s } +// SetExternalParameters sets the ExternalParameters field's value. +func (s *TemplateActionDocument) SetExternalParameters(v map[string]*SsmExternalParameter) *TemplateActionDocument { + s.ExternalParameters = v + return s +} + // SetMustSucceedForCutover sets the MustSucceedForCutover field's value. func (s *TemplateActionDocument) SetMustSucceedForCutover(v bool) *TemplateActionDocument { s.MustSucceedForCutover = &v @@ -16974,6 +19455,9 @@ type UpdateSourceServerReplicationTypeOutput struct { // Source server data replication info. DataReplicationInfo *DataReplicationInfo `locationName:"dataReplicationInfo" type:"structure"` + // Source server fqdn for action framework. + FqdnForActionFramework *string `locationName:"fqdnForActionFramework" type:"string"` + // Source server archived status. IsArchived *bool `locationName:"isArchived" type:"boolean"` @@ -16999,6 +19483,9 @@ type UpdateSourceServerReplicationTypeOutput struct { // String and GoString methods. Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Source server user provided ID. + UserProvidedID *string `locationName:"userProvidedID" type:"string"` + // Source server vCenter client id. VcenterClientID *string `locationName:"vcenterClientID" min:"21" type:"string"` } @@ -17039,6 +19526,12 @@ func (s *UpdateSourceServerReplicationTypeOutput) SetDataReplicationInfo(v *Data return s } +// SetFqdnForActionFramework sets the FqdnForActionFramework field's value. +func (s *UpdateSourceServerReplicationTypeOutput) SetFqdnForActionFramework(v string) *UpdateSourceServerReplicationTypeOutput { + s.FqdnForActionFramework = &v + return s +} + // SetIsArchived sets the IsArchived field's value. func (s *UpdateSourceServerReplicationTypeOutput) SetIsArchived(v bool) *UpdateSourceServerReplicationTypeOutput { s.IsArchived = &v @@ -17081,6 +19574,12 @@ func (s *UpdateSourceServerReplicationTypeOutput) SetTags(v map[string]*string) return s } +// SetUserProvidedID sets the UserProvidedID field's value. +func (s *UpdateSourceServerReplicationTypeOutput) SetUserProvidedID(v string) *UpdateSourceServerReplicationTypeOutput { + s.UserProvidedID = &v + return s +} + // SetVcenterClientID sets the VcenterClientID field's value. func (s *UpdateSourceServerReplicationTypeOutput) SetVcenterClientID(v string) *UpdateSourceServerReplicationTypeOutput { s.VcenterClientID = &v @@ -17655,6 +20154,54 @@ func (s *WaveAggregatedStatus) SetTotalApplications(v int64) *WaveAggregatedStat return s } +const ( + // ActionCategoryDisasterRecovery is a ActionCategory enum value + ActionCategoryDisasterRecovery = "DISASTER_RECOVERY" + + // ActionCategoryOperatingSystem is a ActionCategory enum value + ActionCategoryOperatingSystem = "OPERATING_SYSTEM" + + // ActionCategoryLicenseAndSubscription is a ActionCategory enum value + ActionCategoryLicenseAndSubscription = "LICENSE_AND_SUBSCRIPTION" + + // ActionCategoryValidation is a ActionCategory enum value + ActionCategoryValidation = "VALIDATION" + + // ActionCategoryObservability is a ActionCategory enum value + ActionCategoryObservability = "OBSERVABILITY" + + // ActionCategorySecurity is a ActionCategory enum value + ActionCategorySecurity = "SECURITY" + + // ActionCategoryNetworking is a ActionCategory enum value + ActionCategoryNetworking = "NETWORKING" + + // ActionCategoryConfiguration is a ActionCategory enum value + ActionCategoryConfiguration = "CONFIGURATION" + + // ActionCategoryBackup is a ActionCategory enum value + ActionCategoryBackup = "BACKUP" + + // ActionCategoryOther is a ActionCategory enum value + ActionCategoryOther = "OTHER" +) + +// ActionCategory_Values returns all elements of the ActionCategory enum +func ActionCategory_Values() []string { + return []string{ + ActionCategoryDisasterRecovery, + ActionCategoryOperatingSystem, + ActionCategoryLicenseAndSubscription, + ActionCategoryValidation, + ActionCategoryObservability, + ActionCategorySecurity, + ActionCategoryNetworking, + ActionCategoryConfiguration, + ActionCategoryBackup, + ActionCategoryOther, + } +} + const ( // ApplicationHealthStatusHealthy is a ApplicationHealthStatus enum value ApplicationHealthStatusHealthy = "HEALTHY" @@ -17939,6 +20486,30 @@ func DataReplicationState_Values() []string { } } +const ( + // ExportStatusPending is a ExportStatus enum value + ExportStatusPending = "PENDING" + + // ExportStatusStarted is a ExportStatus enum value + ExportStatusStarted = "STARTED" + + // ExportStatusFailed is a ExportStatus enum value + ExportStatusFailed = "FAILED" + + // ExportStatusSucceeded is a ExportStatus enum value + ExportStatusSucceeded = "SUCCEEDED" +) + +// ExportStatus_Values returns all elements of the ExportStatus enum +func ExportStatus_Values() []string { + return []string{ + ExportStatusPending, + ExportStatusStarted, + ExportStatusFailed, + ExportStatusSucceeded, + } +} + const ( // FirstBootWaiting is a FirstBoot enum value FirstBootWaiting = "WAITING" @@ -17963,6 +20534,46 @@ func FirstBoot_Values() []string { } } +const ( + // ImportErrorTypeValidationError is a ImportErrorType enum value + ImportErrorTypeValidationError = "VALIDATION_ERROR" + + // ImportErrorTypeProcessingError is a ImportErrorType enum value + ImportErrorTypeProcessingError = "PROCESSING_ERROR" +) + +// ImportErrorType_Values returns all elements of the ImportErrorType enum +func ImportErrorType_Values() []string { + return []string{ + ImportErrorTypeValidationError, + ImportErrorTypeProcessingError, + } +} + +const ( + // ImportStatusPending is a ImportStatus enum value + ImportStatusPending = "PENDING" + + // ImportStatusStarted is a ImportStatus enum value + ImportStatusStarted = "STARTED" + + // ImportStatusFailed is a ImportStatus enum value + ImportStatusFailed = "FAILED" + + // ImportStatusSucceeded is a ImportStatus enum value + ImportStatusSucceeded = "SUCCEEDED" +) + +// ImportStatus_Values returns all elements of the ImportStatus enum +func ImportStatus_Values() []string { + return []string{ + ImportStatusPending, + ImportStatusStarted, + ImportStatusFailed, + ImportStatusSucceeded, + } +} + const ( // InitiatedByStartTest is a InitiatedBy enum value InitiatedByStartTest = "START_TEST" @@ -18166,6 +20777,9 @@ const ( // LifeCycleStateDiscovered is a LifeCycleState enum value LifeCycleStateDiscovered = "DISCOVERED" + + // LifeCycleStatePendingInstallation is a LifeCycleState enum value + LifeCycleStatePendingInstallation = "PENDING_INSTALLATION" ) // LifeCycleState_Values returns all elements of the LifeCycleState enum @@ -18180,6 +20794,7 @@ func LifeCycleState_Values() []string { LifeCycleStateCutover, LifeCycleStateDisconnected, LifeCycleStateDiscovered, + LifeCycleStatePendingInstallation, } } diff --git a/service/mgn/mgniface/interface.go b/service/mgn/mgniface/interface.go index d6cfbc8bde..ff2e035de7 100644 --- a/service/mgn/mgniface/interface.go +++ b/service/mgn/mgniface/interface.go @@ -201,6 +201,34 @@ type MgnAPI interface { ListApplicationsPages(*mgn.ListApplicationsInput, func(*mgn.ListApplicationsOutput, bool) bool) error ListApplicationsPagesWithContext(aws.Context, *mgn.ListApplicationsInput, func(*mgn.ListApplicationsOutput, bool) bool, ...request.Option) error + ListExportErrors(*mgn.ListExportErrorsInput) (*mgn.ListExportErrorsOutput, error) + ListExportErrorsWithContext(aws.Context, *mgn.ListExportErrorsInput, ...request.Option) (*mgn.ListExportErrorsOutput, error) + ListExportErrorsRequest(*mgn.ListExportErrorsInput) (*request.Request, *mgn.ListExportErrorsOutput) + + ListExportErrorsPages(*mgn.ListExportErrorsInput, func(*mgn.ListExportErrorsOutput, bool) bool) error + ListExportErrorsPagesWithContext(aws.Context, *mgn.ListExportErrorsInput, func(*mgn.ListExportErrorsOutput, bool) bool, ...request.Option) error + + ListExports(*mgn.ListExportsInput) (*mgn.ListExportsOutput, error) + ListExportsWithContext(aws.Context, *mgn.ListExportsInput, ...request.Option) (*mgn.ListExportsOutput, error) + ListExportsRequest(*mgn.ListExportsInput) (*request.Request, *mgn.ListExportsOutput) + + ListExportsPages(*mgn.ListExportsInput, func(*mgn.ListExportsOutput, bool) bool) error + ListExportsPagesWithContext(aws.Context, *mgn.ListExportsInput, func(*mgn.ListExportsOutput, bool) bool, ...request.Option) error + + ListImportErrors(*mgn.ListImportErrorsInput) (*mgn.ListImportErrorsOutput, error) + ListImportErrorsWithContext(aws.Context, *mgn.ListImportErrorsInput, ...request.Option) (*mgn.ListImportErrorsOutput, error) + ListImportErrorsRequest(*mgn.ListImportErrorsInput) (*request.Request, *mgn.ListImportErrorsOutput) + + ListImportErrorsPages(*mgn.ListImportErrorsInput, func(*mgn.ListImportErrorsOutput, bool) bool) error + ListImportErrorsPagesWithContext(aws.Context, *mgn.ListImportErrorsInput, func(*mgn.ListImportErrorsOutput, bool) bool, ...request.Option) error + + ListImports(*mgn.ListImportsInput) (*mgn.ListImportsOutput, error) + ListImportsWithContext(aws.Context, *mgn.ListImportsInput, ...request.Option) (*mgn.ListImportsOutput, error) + ListImportsRequest(*mgn.ListImportsInput) (*request.Request, *mgn.ListImportsOutput) + + ListImportsPages(*mgn.ListImportsInput, func(*mgn.ListImportsOutput, bool) bool) error + ListImportsPagesWithContext(aws.Context, *mgn.ListImportsInput, func(*mgn.ListImportsOutput, bool) bool, ...request.Option) error + ListSourceServerActions(*mgn.ListSourceServerActionsInput) (*mgn.ListSourceServerActionsOutput, error) ListSourceServerActionsWithContext(aws.Context, *mgn.ListSourceServerActionsInput, ...request.Option) (*mgn.ListSourceServerActionsOutput, error) ListSourceServerActionsRequest(*mgn.ListSourceServerActionsInput) (*request.Request, *mgn.ListSourceServerActionsOutput) @@ -254,6 +282,14 @@ type MgnAPI interface { StartCutoverWithContext(aws.Context, *mgn.StartCutoverInput, ...request.Option) (*mgn.StartCutoverOutput, error) StartCutoverRequest(*mgn.StartCutoverInput) (*request.Request, *mgn.StartCutoverOutput) + StartExport(*mgn.StartExportInput) (*mgn.StartExportOutput, error) + StartExportWithContext(aws.Context, *mgn.StartExportInput, ...request.Option) (*mgn.StartExportOutput, error) + StartExportRequest(*mgn.StartExportInput) (*request.Request, *mgn.StartExportOutput) + + StartImport(*mgn.StartImportInput) (*mgn.StartImportOutput, error) + StartImportWithContext(aws.Context, *mgn.StartImportInput, ...request.Option) (*mgn.StartImportOutput, error) + StartImportRequest(*mgn.StartImportInput) (*request.Request, *mgn.StartImportOutput) + StartReplication(*mgn.StartReplicationInput) (*mgn.StartReplicationOutput, error) StartReplicationWithContext(aws.Context, *mgn.StartReplicationInput, ...request.Option) (*mgn.StartReplicationOutput, error) StartReplicationRequest(*mgn.StartReplicationInput) (*request.Request, *mgn.StartReplicationOutput)