From 60c251148c17133bb4e3b4cd0981d3ea224e93e5 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 15 Nov 2021 12:33:22 -0800 Subject: [PATCH] Release v1.42.5 (2021-11-15) (#4176) Release v1.42.5 (2021-11-15) === ### Service Client Updates * `service/appstream`: Updates service API * This release includes support for images of AmazonLinux2 platform type. * `service/dms`: Updates service API and documentation * Add Settings in JSON format for the source GCP MySQL endpoint * `service/ec2`: Updates service API and documentation * Adds a new VPC Subnet attribute "EnableDns64." When enabled on IPv6 Subnets, the Amazon-Provided DNS Resolver returns synthetic IPv6 addresses for IPv4-only destinations. * `service/eks`: Updates service API and documentation * `service/migrationhubstrategy`: Adds new service * `service/ssm`: Updates service API and documentation * Adds support for Session Reason and Max Session Duration for Systems Manager Session Manager. * `service/transfer`: Updates service API and documentation * AWS Transfer Family now supports integrating a custom identity provider using AWS Lambda * `service/wafv2`: Updates service API and documentation --- CHANGELOG.md | 18 + aws/endpoints/defaults.go | 25 + aws/version.go | 2 +- models/apis/appstream/2016-12-01/api-2.json | 6 +- models/apis/dms/2016-01-01/api-2.json | 29 +- models/apis/dms/2016-01-01/docs-2.json | 71 +- models/apis/ec2/2016-11-15/api-2.json | 7 +- models/apis/ec2/2016-11-15/docs-2.json | 2 + models/apis/eks/2017-11-01/api-2.json | 17 +- models/apis/eks/2017-11-01/docs-2.json | 23 +- .../2020-02-19/api-2.json | 1709 ++++ .../2020-02-19/docs-2.json | 1159 +++ .../2020-02-19/examples-1.json | 5 + .../2020-02-19/paginators-1.json | 34 + models/apis/ssm/2014-11-06/api-2.json | 17 +- models/apis/ssm/2014-11-06/docs-2.json | 15 +- models/apis/transfer/2018-11-05/api-2.json | 12 +- models/apis/transfer/2018-11-05/docs-2.json | 12 +- models/apis/wafv2/2019-07-29/api-2.json | 16 +- models/apis/wafv2/2019-07-29/docs-2.json | 14 +- models/endpoints/endpoints.json | 11 + service/appstream/api.go | 7 + service/databasemigrationservice/api.go | 333 +- service/databasemigrationservice/errors.go | 2 +- service/ec2/api.go | 20 + service/eks/api.go | 150 +- service/eks/errors.go | 11 + .../api.go | 7751 +++++++++++++++++ .../doc.go | 35 + .../errors.go | 73 + .../interface.go | 159 + .../service.go | 105 + service/ssm/api.go | 34 +- service/transfer/api.go | 28 + service/wafv2/api.go | 164 +- service/wafv2/errors.go | 10 + 36 files changed, 11927 insertions(+), 159 deletions(-) create mode 100644 models/apis/migrationhubstrategy/2020-02-19/api-2.json create mode 100644 models/apis/migrationhubstrategy/2020-02-19/docs-2.json create mode 100644 models/apis/migrationhubstrategy/2020-02-19/examples-1.json create mode 100644 models/apis/migrationhubstrategy/2020-02-19/paginators-1.json create mode 100644 service/migrationhubstrategyrecommendations/api.go create mode 100644 service/migrationhubstrategyrecommendations/doc.go create mode 100644 service/migrationhubstrategyrecommendations/errors.go create mode 100644 service/migrationhubstrategyrecommendations/migrationhubstrategyrecommendationsiface/interface.go create mode 100644 service/migrationhubstrategyrecommendations/service.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b2918a6b31..5b4aed0ce64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +Release v1.42.5 (2021-11-15) +=== + +### Service Client Updates +* `service/appstream`: Updates service API + * This release includes support for images of AmazonLinux2 platform type. +* `service/dms`: Updates service API and documentation + * Add Settings in JSON format for the source GCP MySQL endpoint +* `service/ec2`: Updates service API and documentation + * Adds a new VPC Subnet attribute "EnableDns64." When enabled on IPv6 Subnets, the Amazon-Provided DNS Resolver returns synthetic IPv6 addresses for IPv4-only destinations. +* `service/eks`: Updates service API and documentation +* `service/migrationhubstrategy`: Adds new service +* `service/ssm`: Updates service API and documentation + * Adds support for Session Reason and Max Session Duration for Systems Manager Session Manager. +* `service/transfer`: Updates service API and documentation + * AWS Transfer Family now supports integrating a custom identity provider using AWS Lambda +* `service/wafv2`: Updates service API and documentation + Release v1.42.4 (2021-11-12) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 7a19a8a7bdb..10b39cc5eac 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -12675,6 +12675,31 @@ var awsPartition = partition{ }: endpoint{}, }, }, + "migrationhub-strategy": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "ap-northeast-1", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-2", + }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + }: endpoint{}, + endpointKey{ + Region: "eu-west-1", + }: endpoint{}, + endpointKey{ + Region: "eu-west-2", + }: endpoint{}, + endpointKey{ + Region: "us-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-west-2", + }: endpoint{}, + }, + }, "mobileanalytics": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index e6d7c29533d..92d4ab69914 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.42.4" +const SDKVersion = "1.42.5" diff --git a/models/apis/appstream/2016-12-01/api-2.json b/models/apis/appstream/2016-12-01/api-2.json index 8ba6464f7c1..4189bd63046 100644 --- a/models/apis/appstream/2016-12-01/api-2.json +++ b/models/apis/appstream/2016-12-01/api-2.json @@ -457,7 +457,8 @@ "output":{"shape":"DescribeUsersResult"}, "errors":[ {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterCombinationException"} + {"shape":"InvalidParameterCombinationException"}, + {"shape":"OperationNotPermittedException"} ] }, "DisableUser":{ @@ -1855,7 +1856,8 @@ "enum":[ "WINDOWS", "WINDOWS_SERVER_2016", - "WINDOWS_SERVER_2019" + "WINDOWS_SERVER_2019", + "AMAZON_LINUX2" ] }, "RedirectURL":{ diff --git a/models/apis/dms/2016-01-01/api-2.json b/models/apis/dms/2016-01-01/api-2.json index 235b3d70d67..b525b9cf468 100644 --- a/models/apis/dms/2016-01-01/api-2.json +++ b/models/apis/dms/2016-01-01/api-2.json @@ -965,7 +965,8 @@ "IBMDb2Settings":{"shape":"IBMDb2Settings"}, "ResourceIdentifier":{"shape":"String"}, "DocDbSettings":{"shape":"DocDbSettings"}, - "RedisSettings":{"shape":"RedisSettings"} + "RedisSettings":{"shape":"RedisSettings"}, + "GcpMySQLSettings":{"shape":"GcpMySQLSettings"} } }, "CreateEndpointResponse":{ @@ -1657,7 +1658,8 @@ "MicrosoftSQLServerSettings":{"shape":"MicrosoftSQLServerSettings"}, "IBMDb2Settings":{"shape":"IBMDb2Settings"}, "DocDbSettings":{"shape":"DocDbSettings"}, - "RedisSettings":{"shape":"RedisSettings"} + "RedisSettings":{"shape":"RedisSettings"}, + "GcpMySQLSettings":{"shape":"GcpMySQLSettings"} } }, "EndpointList":{ @@ -1766,6 +1768,25 @@ "type":"list", "member":{"shape":"String"} }, + "GcpMySQLSettings":{ + "type":"structure", + "members":{ + "AfterConnectScript":{"shape":"String"}, + "CleanSourceMetadataOnMismatch":{"shape":"BooleanOptional"}, + "DatabaseName":{"shape":"String"}, + "EventsPollInterval":{"shape":"IntegerOptional"}, + "TargetDbType":{"shape":"TargetDbType"}, + "MaxFileSize":{"shape":"IntegerOptional"}, + "ParallelLoadThreads":{"shape":"IntegerOptional"}, + "Password":{"shape":"SecretString"}, + "Port":{"shape":"IntegerOptional"}, + "ServerName":{"shape":"String"}, + "ServerTimezone":{"shape":"String"}, + "Username":{"shape":"String"}, + "SecretsManagerAccessRoleArn":{"shape":"String"}, + "SecretsManagerSecretId":{"shape":"String"} + } + }, "IBMDb2Settings":{ "type":"structure", "members":{ @@ -2022,7 +2043,8 @@ "IBMDb2Settings":{"shape":"IBMDb2Settings"}, "DocDbSettings":{"shape":"DocDbSettings"}, "RedisSettings":{"shape":"RedisSettings"}, - "ExactSettings":{"shape":"BooleanOptional"} + "ExactSettings":{"shape":"BooleanOptional"}, + "GcpMySQLSettings":{"shape":"GcpMySQLSettings"} } }, "ModifyEndpointResponse":{ @@ -2734,6 +2756,7 @@ "CsvNoSupValue":{"shape":"String"}, "PreserveTransactions":{"shape":"BooleanOptional"}, "CdcPath":{"shape":"String"}, + "UseTaskStartTimeForFullLoadTimestamp":{"shape":"BooleanOptional"}, "CannedAclForObjects":{"shape":"CannedAclForObjectsValue"}, "AddColumnName":{"shape":"BooleanOptional"}, "CdcMaxBatchInterval":{"shape":"IntegerOptional"}, diff --git a/models/apis/dms/2016-01-01/docs-2.json b/models/apis/dms/2016-01-01/docs-2.json index d7c3374496f..faa3e75d523 100644 --- a/models/apis/dms/2016-01-01/docs-2.json +++ b/models/apis/dms/2016-01-01/docs-2.json @@ -34,7 +34,7 @@ "DescribeReplicationInstanceTaskLogs": "

Returns information about the task logs for the specified task.

", "DescribeReplicationInstances": "

Returns information about replication instances for your account in the current region.

", "DescribeReplicationSubnetGroups": "

Returns information about the replication subnet groups.

", - "DescribeReplicationTaskAssessmentResults": "

Returns the task assessment results from the Amazon S3 bucket that DMS creates in your Amazon Web Services account. This action always returns the latest results.

For more information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.

", + "DescribeReplicationTaskAssessmentResults": "

Returns the task assessment results from the Amazon S3 bucket that DMS creates in your Amazon Web Services account. This action always returns the latest results.

For more information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.

", "DescribeReplicationTaskAssessmentRuns": "

Returns a paginated list of premigration assessment runs based on filter settings.

These filter settings can specify a combination of premigration assessment runs, migration tasks, replication instances, and assessment run status values.

This operation doesn't return information about individual assessments. For this information, see the DescribeReplicationTaskIndividualAssessments operation.

", "DescribeReplicationTaskIndividualAssessments": "

Returns a paginated list of individual assessments based on filter settings.

These filter settings can specify a combination of premigration assessment runs, migration tasks, and assessment status values.

", "DescribeReplicationTasks": "

Returns information about replication tasks for your account in the current region.

", @@ -148,6 +148,7 @@ "DescribeReplicationTasksMessage$WithoutSettings": "

An option to set to avoid returning information about settings. Use this to reduce overhead when setting information is too large. To use this option, choose true; otherwise, choose false (the default).

", "DocDbSettings$ExtractDocId": "

Specifies the document ID. Use this setting when NestingLevel is set to \"none\".

Default value is \"false\".

", "EndpointSetting$Sensitive": "

A value that marks this endpoint setting as sensitive.

", + "GcpMySQLSettings$CleanSourceMetadataOnMismatch": "

Adjusts the behavior of DMS when migrating from an SQL Server source database that is hosted as part of an Always On availability group cluster. If you need DMS to poll all the nodes in the Always On cluster for transaction backups, set this attribute to false.

", "IBMDb2Settings$SetDataCaptureChanges": "

Enables ongoing replication (CDC) as a BOOLEAN value. The default is true.

", "KafkaSettings$IncludeTransactionDetails": "

Provides detailed transaction information from the source database. This information includes a commit timestamp, a log position, and values for transaction_id, previous transaction_id, and transaction_record_id (the record offset within a transaction). The default is false.

", "KafkaSettings$IncludePartitionValue": "

Shows the partition value within the Kafka message output unless the partition type is schema-table-type. The default is false.

", @@ -209,6 +210,7 @@ "S3Settings$DatePartitionEnabled": "

When set to true, this parameter partitions S3 bucket folders based on transaction commit dates. The default value is false. For more information about date-based folder partitioning, see Using date-based folder partitioning.

", "S3Settings$UseCsvNoSupValue": "

This setting applies if the S3 output files during a change data capture (CDC) load are written in .csv format. If set to true for columns not included in the supplemental log, DMS uses the value specified by CsvNoSupValue . If not set or set to false, DMS uses the null value for these columns.

This setting is supported in DMS versions 3.4.1 and later.

", "S3Settings$PreserveTransactions": "

If set to true, DMS saves the transaction order for a change data capture (CDC) load on the Amazon S3 target specified by CdcPath . For more information, see Capturing data changes (CDC) including transaction order on the S3 target.

This setting is supported in DMS versions 3.4.2 and later.

", + "S3Settings$UseTaskStartTimeForFullLoadTimestamp": "

When set to true, this parameter uses the task start time as the timestamp column value instead of the time data is written to target. For full load, when useTaskStartTimeForFullLoadTimestamp is set to true, each row of the timestamp column contains the task start time. For CDC loads, each row of the timestamp column contains the transaction commit time.

When useTaskStartTimeForFullLoadTimestamp is set to false, the full load timestamp in the timestamp column increments with the time data arrives at the target.

", "S3Settings$AddColumnName": "

An optional parameter that, when set to true or y, you can use to add column name information to the .csv output file.

The default value is false. Valid values are true, false, y, and n.

", "S3Settings$Rfc4180": "

For an S3 source, when this value is set to true or y, each leading double quotation mark has to be followed by an ending double quotation mark. This formatting complies with RFC 4180. When this value is set to false or n, string literals are copied to the target as is. In this case, a delimiter (row or column) signals the end of the field. Thus, you can't use a delimiter as part of the string, because it signals the end of the value.

For an S3 target, an optional parameter used to set behavior to comply with RFC 4180 for data migrated to Amazon S3 using .csv file format only. When this value is set to true or y using Amazon S3 as a target, if the data has quotation marks or newline characters in it, DMS encloses the entire column with an additional pair of double quotation marks (\"). Every quotation mark within the data is repeated twice.

The default value is true. Valid values include true, false, y, and n.

", "TableStatistics$FullLoadReloaded": "

A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).

" @@ -247,8 +249,8 @@ "CertificateWallet": { "base": null, "refs": { - "Certificate$CertificateWallet": "

The location of an imported Oracle Wallet certificate for use with SSL.

", - "ImportCertificateMessage$CertificateWallet": "

The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso file using the fileb:// prefix. You can't provide the certificate inline.

" + "Certificate$CertificateWallet": "

The location of an imported Oracle Wallet certificate for use with SSL. Example: filebase64(\"${path.root}/rds-ca-2019-root.sso\")

", + "ImportCertificateMessage$CertificateWallet": "

The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso file using the fileb:// prefix. You can't provide the certificate inline.

Example: filebase64(\"${path.root}/rds-ca-2019-root.sso\")

" } }, "CharLengthSemantics": { @@ -657,7 +659,7 @@ "base": "

The settings in JSON format for the DMS Transfer type source endpoint.

", "refs": { "CreateEndpointMessage$DmsTransferSettings": "

The settings in JSON format for the DMS transfer type of source endpoint.

Possible settings include the following:

Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string

JSON syntax for these settings is as follows: { \"ServiceAccessRoleArn\": \"string\", \"BucketName\": \"string\", }

", - "Endpoint$DmsTransferSettings": "

The settings in JSON format for the DMS transfer type of source endpoint.

Possible settings include the following:

Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string,

JSON syntax for these settings is as follows: { \"ServiceAccessRoleArn\": \"string\", \"BucketName\": \"string\"}

", + "Endpoint$DmsTransferSettings": "

The settings for the DMS Transfer type source. For more information, see the DmsTransferSettings structure.

", "ModifyEndpointMessage$DmsTransferSettings": "

The settings in JSON format for the DMS transfer type of source endpoint.

Attributes include the following:

Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string ,BucketName=string

JSON syntax for these settings is as follows: { \"ServiceAccessRoleArn\": \"string\", \"BucketName\": \"string\"}

" } }, @@ -678,11 +680,11 @@ } }, "ElasticsearchSettings": { - "base": "

Provides information that defines an Elasticsearch endpoint.

", + "base": "

Provides information that defines an OpenSearch endpoint.

", "refs": { - "CreateEndpointMessage$ElasticsearchSettings": "

Settings in JSON format for the target Elasticsearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for DMS in the Database Migration Service User Guide.

", - "Endpoint$ElasticsearchSettings": "

The settings for the Elasticsearch source endpoint. For more information, see the ElasticsearchSettings structure.

", - "ModifyEndpointMessage$ElasticsearchSettings": "

Settings in JSON format for the target Elasticsearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using Elasticsearch as a Target for DMS in the Database Migration Service User Guide.

" + "CreateEndpointMessage$ElasticsearchSettings": "

Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using OpenSearch as a Target for DMS in the Database Migration Service User Guide.

", + "Endpoint$ElasticsearchSettings": "

The settings for the OpenSearch source endpoint. For more information, see the ElasticsearchSettings structure.

", + "ModifyEndpointMessage$ElasticsearchSettings": "

Settings in JSON format for the target OpenSearch endpoint. For more information about the available settings, see Extra Connection Attributes When Using OpenSearch as a Target for DMS in the Database Migration Service User Guide.

" } }, "EncodingTypeValue": { @@ -830,13 +832,13 @@ "FilterList": { "base": null, "refs": { - "DescribeCertificatesMessage$Filters": "

Filters applied to the certificates described in the form of key-value pairs.

", + "DescribeCertificatesMessage$Filters": "

Filters applied to the certificates described in the form of key-value pairs. Valid values are certificate-arn and certificate-id.

", "DescribeConnectionsMessage$Filters": "

The filters applied to the connection.

Valid filter names: endpoint-arn | replication-instance-arn

", "DescribeEndpointTypesMessage$Filters": "

Filters applied to the endpoint types.

Valid filter names: engine-name | endpoint-type

", "DescribeEndpointsMessage$Filters": "

Filters applied to the endpoints.

Valid filter names: endpoint-arn | endpoint-type | endpoint-id | engine-name

", "DescribeEventCategoriesMessage$Filters": "

Filters applied to the event categories.

", - "DescribeEventSubscriptionsMessage$Filters": "

Filters applied to event subscriptions.

", - "DescribeEventsMessage$Filters": "

Filters applied to events.

", + "DescribeEventSubscriptionsMessage$Filters": "

Filters applied to event subscriptions.

Valid filter names: event-subscription-arn | event-subscription-id

", + "DescribeEventsMessage$Filters": "

Filters applied to events. The only valid filter is replication-instance-id.

", "DescribePendingMaintenanceActionsMessage$Filters": "

", "DescribeReplicationInstancesMessage$Filters": "

Filters applied to replication instances.

Valid filter names: replication-instance-arn | replication-instance-id | replication-instance-class | engine-version

", "DescribeReplicationSubnetGroupsMessage$Filters": "

Filters applied to replication subnet groups.

Valid filter names: replication-subnet-group-id

", @@ -852,6 +854,14 @@ "Filter$Values": "

The filter value, which can specify one or more values used to narrow the returned results.

" } }, + "GcpMySQLSettings": { + "base": "

Settings in JSON format for the source GCP MySQL endpoint.

", + "refs": { + "CreateEndpointMessage$GcpMySQLSettings": "

Settings in JSON format for the source GCP MySQL endpoint.

", + "Endpoint$GcpMySQLSettings": "

Settings in JSON format for the source GCP MySQL endpoint.

", + "ModifyEndpointMessage$GcpMySQLSettings": "

Settings in JSON format for the source GCP MySQL endpoint.

" + } + }, "IBMDb2Settings": { "base": "

Provides information that defines an IBM Db2 LUW endpoint.

", "refs": { @@ -940,11 +950,15 @@ "DescribeTableStatisticsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 500.

", "DocDbSettings$Port": "

The port value for the DocumentDB source endpoint.

", "DocDbSettings$DocsToInvestigate": "

Indicates the number of documents to preview to determine the document organization. Use this setting when NestingLevel is set to \"one\".

Must be a positive value greater than 0. Default value is 1000.

", - "ElasticsearchSettings$FullLoadErrorPercentage": "

The maximum percentage of records that can fail to be written before a full load operation stops.

To avoid early failure, this counter is only effective after 1000 records are transferred. Elasticsearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.

", - "ElasticsearchSettings$ErrorRetryDuration": "

The maximum number of seconds for which DMS retries failed API requests to the Elasticsearch cluster.

", + "ElasticsearchSettings$FullLoadErrorPercentage": "

The maximum percentage of records that can fail to be written before a full load operation stops.

To avoid early failure, this counter is only effective after 1000 records are transferred. OpenSearch also has the concept of error monitoring during the last 10 minutes of an Observation Window. If transfer of all records fail in the last 10 minutes, the full load operation stops.

", + "ElasticsearchSettings$ErrorRetryDuration": "

The maximum number of seconds for which DMS retries failed API requests to the OpenSearch cluster.

", "Endpoint$Port": "

The port value used to access the endpoint.

", "EndpointSetting$IntValueMin": "

The minimum value of an endpoint setting that is of type int.

", "EndpointSetting$IntValueMax": "

The maximum value of an endpoint setting that is of type int.

", + "GcpMySQLSettings$EventsPollInterval": "

Specifies how often to check the binary log for new changes/events when the database is idle. The default is five seconds.

Example: eventsPollInterval=5;

In the example, DMS checks for changes in the binary logs every five seconds.

", + "GcpMySQLSettings$MaxFileSize": "

Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

Example: maxFileSize=512

", + "GcpMySQLSettings$ParallelLoadThreads": "

Improves performance when loading data into the MySQL-compatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread. The default is one.

Example: parallelLoadThreads=1

", + "GcpMySQLSettings$Port": "

", "IBMDb2Settings$Port": "

Endpoint TCP port. The default value is 50000.

", "IBMDb2Settings$MaxKBytesPerRead": "

Maximum number of bytes per read, as a NUMBER value. The default is 64 KB.

", "KafkaSettings$MessageMaxBytes": "

The maximum size in bytes for records created on the endpoint The default is 1,000,000.

", @@ -953,9 +967,9 @@ "ModifyEndpointMessage$Port": "

The port used by the endpoint database.

", "ModifyReplicationInstanceMessage$AllocatedStorage": "

The amount of storage (in gigabytes) to be allocated for the replication instance.

", "MongoDbSettings$Port": "

The port value for the MongoDB source endpoint.

", - "MySQLSettings$EventsPollInterval": "

Specifies how often to check the binary log for new changes/events when the database is idle.

Example: eventsPollInterval=5;

In the example, DMS checks for changes in the binary logs every five seconds.

", + "MySQLSettings$EventsPollInterval": "

Specifies how often to check the binary log for new changes/events when the database is idle. The default is five seconds.

Example: eventsPollInterval=5;

In the example, DMS checks for changes in the binary logs every five seconds.

", "MySQLSettings$MaxFileSize": "

Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

Example: maxFileSize=512

", - "MySQLSettings$ParallelLoadThreads": "

Improves performance when loading data into the MySQL-compatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread.

Example: parallelLoadThreads=1

", + "MySQLSettings$ParallelLoadThreads": "

Improves performance when loading data into the MySQL-compatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread. The default is one.

Example: parallelLoadThreads=1

", "MySQLSettings$Port": "

Endpoint TCP port.

", "NeptuneSettings$ErrorRetryDuration": "

The number of milliseconds for DMS to wait to retry a bulk-load of migrated graph data to the Neptune target database before raising an error. The default is 250.

", "NeptuneSettings$MaxFileSize": "

The maximum size in kilobytes of migrated graph data stored in a .csv file before DMS bulk-loads the data to the Neptune target database. The default is 1,048,576 KB. If the bulk load is successful, DMS clears the bucket, ready to store the next batch of migrated graph data.

", @@ -971,7 +985,7 @@ "PostgreSQLSettings$MaxFileSize": "

Specifies the maximum size (in KB) of any .csv file used to transfer data to PostgreSQL.

Example: maxFileSize=512

", "PostgreSQLSettings$ExecuteTimeout": "

Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds.

Example: executeTimeout=100;

", "PostgreSQLSettings$HeartbeatFrequency": "

Sets the WAL heartbeat frequency (in minutes).

", - "PostgreSQLSettings$Port": "

Endpoint TCP port.

", + "PostgreSQLSettings$Port": "

Endpoint TCP port. The default is 5432.

", "RedshiftSettings$ConnectionTimeout": "

A value that sets the amount of time to wait (in milliseconds) before timing out, beginning from when you initially establish a connection.

", "RedshiftSettings$FileTransferUploadStreams": "

The number of threads used to upload a single file. This parameter accepts a value from 1 through 64. It defaults to 10.

The number of parallel streams used to upload a single .csv file to an S3 bucket using S3 Multipart Upload. For more information, see Multipart upload overview.

FileTransferUploadStreams accepts a value from 1 through 64. It defaults to 10.

", "RedshiftSettings$LoadTimeout": "

The amount of time to wait (in milliseconds) before timing out of operations performed by DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE, and UPDATE.

", @@ -986,7 +1000,7 @@ "S3Settings$CdcMinFileSize": "

Minimum file size, defined in megabytes, to reach for a file output to Amazon S3.

When CdcMinFileSize and CdcMaxBatchInterval are both specified, the file write is triggered by whichever parameter condition is met first within an DMS CloudFormation template.

The default value is 32 MB.

", "S3Settings$IgnoreHeaderRows": "

When this value is set to 1, DMS ignores the first row header in a .csv file. A value of 1 turns on the feature; a value of 0 turns off the feature.

The default is 0.

", "S3Settings$MaxFileSize": "

A value that specifies the maximum size (in KB) of any .csv file to be created while migrating to an S3 target during full load.

The default value is 1,048,576 KB (1 GB). Valid values include 1 to 1,048,576.

", - "SybaseSettings$Port": "

Endpoint TCP port.

" + "SybaseSettings$Port": "

Endpoint TCP port. The default is 5000.

" } }, "InvalidCertificateFault": { @@ -1010,7 +1024,7 @@ } }, "KMSDisabledFault": { - "base": "

The specified master key (CMK) isn't enabled.

", + "base": "

The specified KMS key isn't enabled.

", "refs": { } }, @@ -1574,6 +1588,7 @@ "refs": { "CreateEndpointMessage$Password": "

The password to be used to log in to the endpoint database.

", "DocDbSettings$Password": "

The password for the user account you use to access the DocumentDB source endpoint.

", + "GcpMySQLSettings$Password": "

Endpoint connection password.

", "IBMDb2Settings$Password": "

Endpoint connection password.

", "ImportCertificateMessage$CertificatePem": "

The contents of a .pem file, which contains an X.509 certificate.

", "KafkaSettings$SslClientKeyPassword": "

The password for the client private key used to securely connect to a Kafka target endpoint.

", @@ -1644,7 +1659,7 @@ "StartReplicationTaskTypeValue": { "base": null, "refs": { - "StartReplicationTaskMessage$StartReplicationTaskType": "

A type of replication task.

" + "StartReplicationTaskMessage$StartReplicationTaskType": "

The type of replication task to start.

When the migration type is full-load or full-load-and-cdc, the only valid value for the first run of the task is start-replication. You use reload-target to restart the task and resume-processing to resume the task.

When the migration type is cdc, you use start-replication to start or restart the task, and resume-processing to resume the task. reload-target is not a valid value for a task with migration type of cdc.

" } }, "StopReplicationTaskMessage": { @@ -1686,7 +1701,7 @@ "Connection$EndpointIdentifier": "

The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

", "Connection$ReplicationInstanceIdentifier": "

The replication instance identifier. This parameter is stored as a lowercase string.

", "CreateEndpointMessage$EndpointIdentifier": "

The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.

", - "CreateEndpointMessage$EngineName": "

The type of engine for the endpoint. Valid values, depending on the EndpointType value, include \"mysql\", \"oracle\", \"postgres\", \"mariadb\", \"aurora\", \"aurora-postgresql\", \"redshift\", \"s3\", \"db2\", \"azuredb\", \"sybase\", \"dynamodb\", \"mongodb\", \"kinesis\", \"kafka\", \"elasticsearch\", \"docdb\", \"sqlserver\", and \"neptune\".

", + "CreateEndpointMessage$EngineName": "

The type of engine for the endpoint. Valid values, depending on the EndpointType value, include \"mysql\", \"oracle\", \"postgres\", \"mariadb\", \"aurora\", \"aurora-postgresql\", \"opensearch\", \"redshift\", \"s3\", \"db2\", \"azuredb\", \"sybase\", \"dynamodb\", \"mongodb\", \"kinesis\", \"kafka\", \"elasticsearch\", \"docdb\", \"sqlserver\", and \"neptune\".

", "CreateEndpointMessage$Username": "

The user name to be used to log in to the endpoint database.

", "CreateEndpointMessage$ServerName": "

The name of the server where the endpoint database resides.

", "CreateEndpointMessage$DatabaseName": "

The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.

", @@ -1720,7 +1735,7 @@ "CreateReplicationTaskMessage$CdcStopPosition": "

Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time.

Server time example: --cdc-stop-position “server_time:2018-02-09T12:12:12”

Commit time example: --cdc-stop-position “commit_time: 2018-02-09T12:12:12 “

", "CreateReplicationTaskMessage$TaskData": "

Supplemental information that the task requires to migrate the data for certain source and target endpoints. For more information, see Specifying Supplemental Data for Task Settings in the Database Migration Service User Guide.

", "CreateReplicationTaskMessage$ResourceIdentifier": "

A friendly name for the resource identifier at the end of the EndpointArn response parameter that is returned in the created Endpoint object. The value for this parameter can have up to 31 characters. It can contain only ASCII letters, digits, and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter, such as Example-App-ARN1. For example, this value might result in the EndpointArn value arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1. If you don't specify a ResourceIdentifier value, DMS generates a default identifier value for the end of EndpointArn.

", - "DeleteCertificateMessage$CertificateArn": "

The Amazon Resource Name (ARN) of the deleted certificate.

", + "DeleteCertificateMessage$CertificateArn": "

The Amazon Resource Name (ARN) of the certificate.

", "DeleteConnectionMessage$EndpointArn": "

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

", "DeleteConnectionMessage$ReplicationInstanceArn": "

The Amazon Resource Name (ARN) of the replication instance.

", "DeleteEndpointMessage$EndpointArn": "

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

", @@ -1795,9 +1810,9 @@ "DocDbSettings$SecretsManagerSecretId": "

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the DocumentDB endpoint connection details.

", "DynamoDbSettings$ServiceAccessRoleArn": "

The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

", "ElasticsearchSettings$ServiceAccessRoleArn": "

The Amazon Resource Name (ARN) used by the service to access the IAM role. The role must allow the iam:PassRole action.

", - "ElasticsearchSettings$EndpointUri": "

The endpoint for the Elasticsearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

", + "ElasticsearchSettings$EndpointUri": "

The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol (http/https) is not specified.

", "Endpoint$EndpointIdentifier": "

The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

", - "Endpoint$EngineName": "

The database engine name. Valid values, depending on the EndpointType, include \"mysql\", \"oracle\", \"postgres\", \"mariadb\", \"aurora\", \"aurora-postgresql\", \"redshift\", \"s3\", \"db2\", \"azuredb\", \"sybase\", \"dynamodb\", \"mongodb\", \"kinesis\", \"kafka\", \"elasticsearch\", \"documentdb\", \"sqlserver\", and \"neptune\".

", + "Endpoint$EngineName": "

The database engine name. Valid values, depending on the EndpointType, include \"mysql\", \"oracle\", \"postgres\", \"mariadb\", \"aurora\", \"aurora-postgresql\", \"opensearch\", \"redshift\", \"s3\", \"db2\", \"azuredb\", \"sybase\", \"dynamodb\", \"mongodb\", \"kinesis\", \"kafka\", \"elasticsearch\", \"documentdb\", \"sqlserver\", and \"neptune\".

", "Endpoint$EngineDisplayName": "

The expanded name for the engine name. For example, if the EngineName parameter is \"aurora,\" this value would be \"Amazon Aurora MySQL.\"

", "Endpoint$Username": "

The user name used to connect to the endpoint.

", "Endpoint$ServerName": "

The name of the server at the endpoint.

", @@ -1828,6 +1843,13 @@ "ExcludeTestList$member": null, "Filter$Name": "

The name of the filter as specified for a Describe* or similar operation.

", "FilterValueList$member": null, + "GcpMySQLSettings$AfterConnectScript": "

Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues running regardless if the SQL statement succeeds or fails.

For this parameter, provide the code of the script itself, not the name of a file containing the script.

", + "GcpMySQLSettings$DatabaseName": "

Database name for the endpoint. For a MySQL source or target endpoint, don't explicitly specify the database using the DatabaseName request parameter on either the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName when you create or modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the DMS task.

", + "GcpMySQLSettings$ServerName": "

Endpoint TCP port.

", + "GcpMySQLSettings$ServerTimezone": "

Specifies the time zone for the source MySQL database.

Example: serverTimezone=US/Pacific;

Note: Do not enclose time zones in single quotes.

", + "GcpMySQLSettings$Username": "

Endpoint connection user name.

", + "GcpMySQLSettings$SecretsManagerAccessRoleArn": "

The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as the trusted entity and grants the required permissions to access the value in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the Amazon Web Services Secrets Manager secret that allows access to the MySQL endpoint.

You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId. Or you can specify clear-text values for UserName, Password, ServerName, and Port. You can't specify both. For more information on creating this SecretsManagerSecret and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to access it, see Using secrets to access Database Migration Service resources in the Database Migration Service User Guide.

", + "GcpMySQLSettings$SecretsManagerSecretId": "

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the MySQL endpoint connection details.

", "IBMDb2Settings$DatabaseName": "

Database name for the endpoint.

", "IBMDb2Settings$ServerName": "

Fully qualified domain name of the endpoint.

", "IBMDb2Settings$CurrentLsn": "

For ongoing replication (CDC), use CurrentLSN to specify a log sequence number (LSN) where you want the replication to start.

", @@ -1855,7 +1877,7 @@ "MicrosoftSQLServerSettings$SecretsManagerSecretId": "

The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that contains the SQL Server endpoint connection details.

", "ModifyEndpointMessage$EndpointArn": "

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

", "ModifyEndpointMessage$EndpointIdentifier": "

The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

", - "ModifyEndpointMessage$EngineName": "

The type of engine for the endpoint. Valid values, depending on the EndpointType, include \"mysql\", \"oracle\", \"postgres\", \"mariadb\", \"aurora\", \"aurora-postgresql\", \"redshift\", \"s3\", \"db2\", \"azuredb\", \"sybase\", \"dynamodb\", \"mongodb\", \"kinesis\", \"kafka\", \"elasticsearch\", \"documentdb\", \"sqlserver\", and \"neptune\".

", + "ModifyEndpointMessage$EngineName": "

The type of engine for the endpoint. Valid values, depending on the EndpointType, include \"mysql\", \"oracle\", \"postgres\", \"mariadb\", \"aurora\", \"aurora-postgresql\", \"opensearch\", \"redshift\", \"s3\", \"db2\", \"azuredb\", \"sybase\", \"dynamodb\", \"mongodb\", \"kinesis\", \"kafka\", \"elasticsearch\", \"documentdb\", \"sqlserver\", and \"neptune\".

", "ModifyEndpointMessage$Username": "

The user name to be used to login to the endpoint database.

", "ModifyEndpointMessage$ServerName": "

The name of the server where the endpoint database resides.

", "ModifyEndpointMessage$DatabaseName": "

The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName.

", @@ -2189,6 +2211,7 @@ "TargetDbType": { "base": null, "refs": { + "GcpMySQLSettings$TargetDbType": "

Specifies where to migrate source tables on the target, either to a single database or multiple databases.

Example: targetDbType=MULTIPLE_DATABASES

", "MySQLSettings$TargetDbType": "

Specifies where to migrate source tables on the target, either to a single database or multiple databases.

Example: targetDbType=MULTIPLE_DATABASES

" } }, diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 2a1278d0a01..cf65bbad540 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -25315,7 +25315,8 @@ "locationName":"subnetId" }, "MapCustomerOwnedIpOnLaunch":{"shape":"AttributeBooleanValue"}, - "CustomerOwnedIpv4Pool":{"shape":"CoipPoolId"} + "CustomerOwnedIpv4Pool":{"shape":"CoipPoolId"}, + "EnableDns64":{"shape":"AttributeBooleanValue"} } }, "ModifyTrafficMirrorFilterNetworkServicesRequest":{ @@ -32465,6 +32466,10 @@ "OutpostArn":{ "shape":"String", "locationName":"outpostArn" + }, + "EnableDns64":{ + "shape":"Boolean", + "locationName":"enableDns64" } } }, diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index ee0807701c0..ee3a307d8d7 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -1230,6 +1230,7 @@ "ModifySubnetAttributeRequest$AssignIpv6AddressOnCreation": "

Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives an IPv6 address).

If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an IPv6 address if it's created using version 2016-11-15 or later of the Amazon EC2 API.

", "ModifySubnetAttributeRequest$MapPublicIpOnLaunch": "

Specify true to indicate that network interfaces attached to instances created in the specified subnet should be assigned a public IPv4 address.

", "ModifySubnetAttributeRequest$MapCustomerOwnedIpOnLaunch": "

Specify true to indicate that network interfaces attached to instances created in the specified subnet should be assigned a customer-owned IPv4 address.

When this value is true, you must specify the customer-owned IP pool using CustomerOwnedIpv4Pool.

", + "ModifySubnetAttributeRequest$EnableDns64": "

Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.

", "ModifyVolumeAttributeRequest$AutoEnableIO": "

Indicates whether the volume should be auto-enabled for I/O operations.

", "ModifyVpcAttributeRequest$EnableDnsHostnames": "

Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.

", "ModifyVpcAttributeRequest$EnableDnsSupport": "

Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range \"plus two\" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled.

You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.

" @@ -2152,6 +2153,7 @@ "Subnet$MapPublicIpOnLaunch": "

Indicates whether instances launched in this subnet receive a public IPv4 address.

", "Subnet$MapCustomerOwnedIpOnLaunch": "

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives a customer-owned IPv4 address.

", "Subnet$AssignIpv6AddressOnCreation": "

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances) receives an IPv6 address.

", + "Subnet$EnableDns64": "

Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.

", "TerminateClientVpnConnectionsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "TerminateInstancesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "TransitGatewayMulticastGroup$GroupMember": "

Indicates that the resource is a transit gateway multicast group member.

", diff --git a/models/apis/eks/2017-11-01/api-2.json b/models/apis/eks/2017-11-01/api-2.json index 49f61cfcff8..d5f6deecd2d 100644 --- a/models/apis/eks/2017-11-01/api-2.json +++ b/models/apis/eks/2017-11-01/api-2.json @@ -194,7 +194,8 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ClientException"}, {"shape":"ServerException"}, - {"shape":"ServiceUnavailableException"} + {"shape":"ServiceUnavailableException"}, + {"shape":"AccessDeniedException"} ] }, "DescribeAddon":{ @@ -440,7 +441,8 @@ {"shape":"InvalidParameterException"}, {"shape":"ClientException"}, {"shape":"ServerException"}, - {"shape":"ServiceUnavailableException"} + {"shape":"ServiceUnavailableException"}, + {"shape":"AccessDeniedException"} ] }, "TagResource":{ @@ -567,6 +569,14 @@ "BOTTLEROCKET_x86_64" ] }, + "AccessDeniedException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "error":{"httpStatusCode":403}, + "exception":true + }, "Addon":{ "type":"structure", "members":{ @@ -1899,7 +1909,8 @@ "clientRequestToken":{ "shape":"String", "idempotencyToken":true - } + }, + "tags":{"shape":"TagMap"} } }, "RegisterClusterResponse":{ diff --git a/models/apis/eks/2017-11-01/docs-2.json b/models/apis/eks/2017-11-01/docs-2.json index 07b7babdb24..7efb438ffd9 100644 --- a/models/apis/eks/2017-11-01/docs-2.json +++ b/models/apis/eks/2017-11-01/docs-2.json @@ -4,7 +4,7 @@ "operations": { "AssociateEncryptionConfig": "

Associate encryption configuration to an existing cluster.

You can use this API to enable encryption on existing clusters which do not have encryption already enabled. This allows you to implement a defense-in-depth security strategy without migrating applications to new Amazon EKS clusters.

", "AssociateIdentityProviderConfig": "

Associate an identity provider configuration to a cluster.

If you want to authenticate identities using an identity provider, you can create an identity provider configuration and associate it to your cluster. After configuring authentication to your cluster you can create Kubernetes roles and clusterroles to assign permissions to the roles, and then bind the roles to the identities using Kubernetes rolebindings and clusterrolebindings. For more information see Using RBAC Authorization in the Kubernetes documentation.

", - "CreateAddon": "

Creates an Amazon EKS add-on.

Amazon EKS add-ons help to automate the provisioning and lifecycle management of common operational software for Amazon EKS clusters. Amazon EKS add-ons can only be used with Amazon EKS clusters running version 1.18 with platform version eks.3 or later because add-ons rely on the Server-side Apply Kubernetes feature, which is only available in Kubernetes 1.18 and later.

", + "CreateAddon": "

Creates an Amazon EKS add-on.

Amazon EKS add-ons help to automate the provisioning and lifecycle management of common operational software for Amazon EKS clusters. Amazon EKS add-ons require clusters running version 1.18 or later because Amazon EKS add-ons rely on the Server-side Apply Kubernetes feature, which is only available in Kubernetes 1.18 and later. For more information, see Amazon EKS add-ons in the Amazon EKS User Guide.

", "CreateCluster": "

Creates an Amazon EKS control plane.

The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, such as etcd and the API server. The control plane runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed via the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its own set of Amazon EC2 instances.

The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to provide connectivity from the control plane instances to the nodes (for example, to support kubectl exec, logs, and proxy data flows).

Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane via the Kubernetes API server endpoint and a certificate file that is created for your cluster.

Cluster creation typically takes several minutes. After you create an Amazon EKS cluster, you must configure your Kubernetes tooling to communicate with the API server and launch nodes into your cluster. For more information, see Managing Cluster Authentication and Launching Amazon EKS nodes in the Amazon EKS User Guide.

", "CreateFargateProfile": "

Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate profile in a cluster to be able to run pods on Fargate.

The Fargate profile allows an administrator to declare which pods run on Fargate and specify which pods run on which Fargate profile. This declaration is done through the profile’s selectors. Each profile can have up to five selectors that contain a namespace and labels. A namespace is required for every selector. The label field consists of multiple optional key-value pairs. Pods that match the selectors are scheduled on Fargate. If a to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is run on Fargate.

When you create a Fargate profile, you must specify a pod execution role to use with the pods that are scheduled with the profile. This role is added to the cluster's Kubernetes Role Based Access Control (RBAC) for authorization so that the kubelet that is running on the Fargate infrastructure can register with your Amazon EKS cluster so that it can appear in your cluster as a node. The pod execution role also provides IAM permissions to the Fargate infrastructure to allow read access to Amazon ECR image repositories. For more information, see Pod Execution Role in the Amazon EKS User Guide.

Fargate profiles are immutable. However, you can create a new updated profile to replace an existing profile and then delete the original after the updated profile has finished creating.

If any Fargate profiles in a cluster are in the DELETING status, you must wait for that Fargate profile to finish deleting before you can create any other profiles in that cluster.

For more information, see Fargate Profile in the Amazon EKS User Guide.

", "CreateNodegroup": "

Creates a managed node group for an Amazon EKS cluster. You can only create a node group for your cluster that is equal to the current Kubernetes version for the cluster. All node groups are created with the latest AMI release version for the respective minor Kubernetes version of the cluster, unless you deploy a custom AMI using a launch template. For more information about using launch templates, see Launch template support.

An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that are managed by Amazon Web Services for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS optimized Amazon Linux 2 AMI. For more information, see Managed Node Groups in the Amazon EKS User Guide.

", @@ -28,7 +28,7 @@ "ListNodegroups": "

Lists the Amazon EKS managed node groups associated with the specified cluster in your Amazon Web Services account in the specified Region. Self-managed node groups are not listed.

", "ListTagsForResource": "

List the tags for an Amazon EKS resource.

", "ListUpdates": "

Lists the updates associated with an Amazon EKS cluster or managed node group in your Amazon Web Services account, in the specified Region.

", - "RegisterCluster": "

Connects a Kubernetes cluster to the Amazon EKS control plane.

Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.

Cluster connection requires two steps. First, send a RegisterClusterRequest to add it to the Amazon EKS control plane.

Second, a Manifest containing the activationID and activationCode must be applied to the Kubernetes cluster through it's native provider to provide visibility.

After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within a set amount of time, then the connected cluster will no longer be visible and must be deregistered. See DeregisterCluster.

", + "RegisterCluster": "

Connects a Kubernetes cluster to the Amazon EKS control plane.

Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.

Cluster connection requires two steps. First, send a RegisterClusterRequest to add it to the Amazon EKS control plane.

Second, a Manifest containing the activationID and activationCode must be applied to the Kubernetes cluster through it's native provider to provide visibility.

After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within three days, then the connected cluster will no longer be visible and must be deregistered. See DeregisterCluster.

", "TagResource": "

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well. Tags that you create for Amazon EKS resources do not propagate to any other resources associated with the cluster. For example, if you tag a cluster with this operation, that tag does not automatically propagate to the subnets and nodes associated with the cluster.

", "UntagResource": "

Deletes specified tags from a resource.

", "UpdateAddon": "

Updates an Amazon EKS add-on.

", @@ -45,8 +45,13 @@ "Nodegroup$amiType": "

If the node group was deployed using a launch template with a custom AMI, then this is CUSTOM. For node groups that weren't deployed using a launch template, this is the AMI type that was specified in the node group configuration.

" } }, + "AccessDeniedException": { + "base": "

You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.

", + "refs": { + } + }, "Addon": { - "base": "

An Amazon EKS add-on.

", + "base": "

An Amazon EKS add-on. For more information, see Amazon EKS add-ons in the Amazon EKS User Guide.

", "refs": { "CreateAddonResponse$addon": null, "DeleteAddonResponse$addon": null, @@ -212,7 +217,7 @@ "DeleteAddonRequest$clusterName": "

The name of the cluster to delete the add-on from.

", "DescribeAddonRequest$clusterName": "

The name of the cluster.

", "ListAddonsRequest$clusterName": "

The name of the cluster.

", - "RegisterClusterRequest$name": "

Define a unique name for this cluster within your AWS account.

", + "RegisterClusterRequest$name": "

Define a unique name for this cluster for your Region.

", "UpdateAddonRequest$clusterName": "

The name of the cluster.

" } }, @@ -722,7 +727,7 @@ "NodegroupIssueCode": { "base": null, "refs": { - "Issue$code": "

A brief description of the error.

" + "Issue$code": "

A brief description of the error.

" } }, "NodegroupResources": { @@ -853,6 +858,7 @@ "String": { "base": null, "refs": { + "AccessDeniedException$message": null, "Addon$addonName": "

The name of the add-on.

", "Addon$addonVersion": "

The version of the add-on.

", "Addon$addonArn": "

The Amazon Resource Name (ARN) of the add-on.

", @@ -884,7 +890,7 @@ "ConnectorConfigResponse$activationId": "

A unique ID associated with the cluster for registration purposes.

", "ConnectorConfigResponse$activationCode": "

A unique code associated with the cluster for registration purposes.

", "ConnectorConfigResponse$provider": "

The cluster's cloud service provider.

", - "ConnectorConfigResponse$roleArn": "

The Amazon Resource Name (ARN) of the role that is used by the EKS connector to communicate with AWS services from the connected Kubernetes cluster.

", + "ConnectorConfigResponse$roleArn": "

The Amazon Resource Name (ARN) of the role to communicate with services from the connected Kubernetes cluster.

", "CreateAddonRequest$addonName": "

The name of the add-on. The name must match one of the names returned by DescribeAddonVersions .

", "CreateAddonRequest$addonVersion": "

The version of the add-on. The version must match one of the versions returned by DescribeAddonVersions .

", "CreateAddonRequest$clientRequestToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", @@ -946,7 +952,7 @@ "InvalidRequestException$addonName": null, "InvalidRequestException$message": null, "Issue$message": "

The error message associated with the issue.

", - "KubernetesNetworkConfigRequest$serviceIpv4Cidr": "

The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. The block must meet the following requirements:

You can only specify a custom CIDR block when you create a cluster and can't change this value once the cluster is created.

", + "KubernetesNetworkConfigRequest$serviceIpv4Cidr": "

The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. The block must meet the following requirements:

You can only specify a custom CIDR block when you create a cluster and can't change this value once the cluster is created.

", "KubernetesNetworkConfigResponse$serviceIpv4Cidr": "

The CIDR block that Kubernetes service IP addresses are assigned from. If you didn't specify a CIDR block when you created the cluster, then Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. If this was specified, then it was specified when the cluster was created and it cannot be changed.

", "LaunchTemplateSpecification$name": "

The name of the launch template.

", "LaunchTemplateSpecification$version": "

The version of the launch template to use. If no version is specified, then the template's default version is used.

", @@ -1102,6 +1108,7 @@ "ListTagsForResourceResponse$tags": "

The tags for the resource.

", "Nodegroup$tags": "

The metadata applied to the node group to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Node group tags do not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets.

", "OidcIdentityProviderConfig$tags": "

The metadata to apply to the provider configuration to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you defined.

", + "RegisterClusterRequest$tags": "

The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Cluster tags do not propagate to any other resources associated with the cluster.

", "TagResourceRequest$tags": "

The tags to add to the resource. A tag is an array of key-value pairs.

" } }, @@ -1284,7 +1291,7 @@ "base": null, "refs": { "NodegroupScalingConfig$minSize": "

The minimum number of nodes that the managed node group can scale in to.

", - "NodegroupScalingConfig$desiredSize": "

The current number of nodes that the managed node group should maintain.

" + "NodegroupScalingConfig$desiredSize": "

The current number of nodes that the managed node group should maintain.

If you use Cluster Autoscaler, you shouldn't change the desiredSize value directly, as this can cause the Cluster Autoscaler to suddenly scale up or scale down.

Whenever this parameter changes, the number of worker nodes in the node group is updated to the specified size. If this parameter is given a value that is smaller than the current number of running worker nodes, the necessary number of worker nodes are terminated to match the given value. When using CloudFormation, no action occurs if you remove this parameter from your CFN template.

This parameter can be different from minSize in some cases, such as when starting with extra hosts for testing. This parameter can also be different when you want to start with an estimated number of needed hosts, but let Cluster Autoscaler reduce the number if there are too many. When Cluster Autoscaler is used, the desiredSize parameter is altered by Cluster Autoscaler (but can be out-of-date for short periods of time). Cluster Autoscaler doesn't scale a managed node group lower than minSize or higher than maxSize.

" } }, "configStatus": { diff --git a/models/apis/migrationhubstrategy/2020-02-19/api-2.json b/models/apis/migrationhubstrategy/2020-02-19/api-2.json new file mode 100644 index 00000000000..ddde19d5b84 --- /dev/null +++ b/models/apis/migrationhubstrategy/2020-02-19/api-2.json @@ -0,0 +1,1709 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2020-02-19", + "endpointPrefix":"migrationhub-strategy", + "jsonVersion":"1.1", + "protocol":"rest-json", + "serviceFullName":"Migration Hub Strategy Recommendations", + "serviceId":"MigrationHubStrategy", + "signatureVersion":"v4", + "signingName":"migrationhub-strategy", + "uid":"migrationhubstrategy-2020-02-19" + }, + "operations":{ + "GetApplicationComponentDetails":{ + "name":"GetApplicationComponentDetails", + "http":{ + "method":"GET", + "requestUri":"/get-applicationcomponent-details/{applicationComponentId}", + "responseCode":200 + }, + "input":{"shape":"GetApplicationComponentDetailsRequest"}, + "output":{"shape":"GetApplicationComponentDetailsResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, + "GetApplicationComponentStrategies":{ + "name":"GetApplicationComponentStrategies", + "http":{ + "method":"GET", + "requestUri":"/get-applicationcomponent-strategies/{applicationComponentId}", + "responseCode":200 + }, + "input":{"shape":"GetApplicationComponentStrategiesRequest"}, + "output":{"shape":"GetApplicationComponentStrategiesResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, + "GetAssessment":{ + "name":"GetAssessment", + "http":{ + "method":"GET", + "requestUri":"/get-assessment/{id}", + "responseCode":200 + }, + "input":{"shape":"GetAssessmentRequest"}, + "output":{"shape":"GetAssessmentResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, + "GetImportFileTask":{ + "name":"GetImportFileTask", + "http":{ + "method":"GET", + "requestUri":"/get-import-file-task/{id}", + "responseCode":200 + }, + "input":{"shape":"GetImportFileTaskRequest"}, + "output":{"shape":"GetImportFileTaskResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "GetPortfolioPreferences":{ + "name":"GetPortfolioPreferences", + "http":{ + "method":"GET", + "requestUri":"/get-portfolio-preferences", + "responseCode":200 + }, + "input":{"shape":"GetPortfolioPreferencesRequest"}, + "output":{"shape":"GetPortfolioPreferencesResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, + "GetPortfolioSummary":{ + "name":"GetPortfolioSummary", + "http":{ + "method":"GET", + "requestUri":"/get-portfolio-summary", + "responseCode":200 + }, + "input":{"shape":"GetPortfolioSummaryRequest"}, + "output":{"shape":"GetPortfolioSummaryResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, + "GetRecommendationReportDetails":{ + "name":"GetRecommendationReportDetails", + "http":{ + "method":"GET", + "requestUri":"/get-recommendation-report-details/{id}", + "responseCode":200 + }, + "input":{"shape":"GetRecommendationReportDetailsRequest"}, + "output":{"shape":"GetRecommendationReportDetailsResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "GetServerDetails":{ + "name":"GetServerDetails", + "http":{ + "method":"GET", + "requestUri":"/get-server-details/{serverId}", + "responseCode":200 + }, + "input":{"shape":"GetServerDetailsRequest"}, + "output":{"shape":"GetServerDetailsResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "GetServerStrategies":{ + "name":"GetServerStrategies", + "http":{ + "method":"GET", + "requestUri":"/get-server-strategies/{serverId}", + "responseCode":200 + }, + "input":{"shape":"GetServerStrategiesRequest"}, + "output":{"shape":"GetServerStrategiesResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListApplicationComponents":{ + "name":"ListApplicationComponents", + "http":{ + "method":"POST", + "requestUri":"/list-applicationcomponents", + "responseCode":200 + }, + "input":{"shape":"ListApplicationComponentsRequest"}, + "output":{"shape":"ListApplicationComponentsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ServiceLinkedRoleLockClientException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListCollectors":{ + "name":"ListCollectors", + "http":{ + "method":"GET", + "requestUri":"/list-collectors", + "responseCode":200 + }, + "input":{"shape":"ListCollectorsRequest"}, + "output":{"shape":"ListCollectorsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListImportFileTask":{ + "name":"ListImportFileTask", + "http":{ + "method":"GET", + "requestUri":"/list-import-file-task", + "responseCode":200 + }, + "input":{"shape":"ListImportFileTaskRequest"}, + "output":{"shape":"ListImportFileTaskResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "ListServers":{ + "name":"ListServers", + "http":{ + "method":"POST", + "requestUri":"/list-servers", + "responseCode":200 + }, + "input":{"shape":"ListServersRequest"}, + "output":{"shape":"ListServersResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "PutPortfolioPreferences":{ + "name":"PutPortfolioPreferences", + "http":{ + "method":"POST", + "requestUri":"/put-portfolio-preferences", + "responseCode":200 + }, + "input":{"shape":"PutPortfolioPreferencesRequest"}, + "output":{"shape":"PutPortfolioPreferencesResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, + "StartAssessment":{ + "name":"StartAssessment", + "http":{ + "method":"POST", + "requestUri":"/start-assessment", + "responseCode":200 + }, + "input":{"shape":"StartAssessmentRequest"}, + "output":{"shape":"StartAssessmentResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"InternalServerException"} + ] + }, + "StartImportFileTask":{ + "name":"StartImportFileTask", + "http":{ + "method":"POST", + "requestUri":"/start-import-file-task", + "responseCode":200 + }, + "input":{"shape":"StartImportFileTaskRequest"}, + "output":{"shape":"StartImportFileTaskResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "StartRecommendationReportGeneration":{ + "name":"StartRecommendationReportGeneration", + "http":{ + "method":"POST", + "requestUri":"/start-recommendation-report-generation", + "responseCode":200 + }, + "input":{"shape":"StartRecommendationReportGenerationRequest"}, + "output":{"shape":"StartRecommendationReportGenerationResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, + "StopAssessment":{ + "name":"StopAssessment", + "http":{ + "method":"POST", + "requestUri":"/stop-assessment", + "responseCode":200 + }, + "input":{"shape":"StopAssessmentRequest"}, + "output":{"shape":"StopAssessmentResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "UpdateApplicationComponentConfig":{ + "name":"UpdateApplicationComponentConfig", + "http":{ + "method":"POST", + "requestUri":"/update-applicationcomponent-config/", + "responseCode":200 + }, + "input":{"shape":"UpdateApplicationComponentConfigRequest"}, + "output":{"shape":"UpdateApplicationComponentConfigResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, + "UpdateServerConfig":{ + "name":"UpdateServerConfig", + "http":{ + "method":"POST", + "requestUri":"/update-server-config/", + "responseCode":200 + }, + "input":{"shape":"UpdateServerConfigRequest"}, + "output":{"shape":"UpdateServerConfigResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + } + }, + "shapes":{ + "AccessDeniedException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "AntipatternReportStatus":{ + "type":"string", + "enum":[ + "FAILED", + "IN_PROGRESS", + "SUCCESS" + ] + }, + "AntipatternSeveritySummary":{ + "type":"structure", + "members":{ + "count":{"shape":"Integer"}, + "severity":{"shape":"Severity"} + } + }, + "AppType":{ + "type":"string", + "enum":[ + "DotNetFramework", + "Java", + "SQLServer", + "IIS", + "Oracle", + "Other" + ] + }, + "ApplicationComponentCriteria":{ + "type":"string", + "enum":[ + "NOT_DEFINED", + "APP_NAME", + "SERVER_ID", + "APP_TYPE", + "STRATEGY", + "DESTINATION" + ] + }, + "ApplicationComponentDetail":{ + "type":"structure", + "members":{ + "analysisStatus":{"shape":"SrcCodeOrDbAnalysisStatus"}, + "antipatternReportS3Object":{"shape":"S3Object"}, + "antipatternReportStatus":{"shape":"AntipatternReportStatus"}, + "antipatternReportStatusMessage":{"shape":"StatusMessage"}, + "appType":{"shape":"AppType"}, + "associatedServerId":{"shape":"ServerId"}, + "databaseConfigDetail":{"shape":"DatabaseConfigDetail"}, + "id":{"shape":"ResourceId"}, + "inclusionStatus":{"shape":"InclusionStatus"}, + "lastAnalyzedTimestamp":{"shape":"TimeStamp"}, + "listAntipatternSeveritySummary":{"shape":"ListAntipatternSeveritySummary"}, + "moreServerAssociationExists":{"shape":"Boolean"}, + "name":{"shape":"ResourceName"}, + "osDriver":{"shape":"String"}, + "osVersion":{"shape":"String"}, + "recommendationSet":{"shape":"RecommendationSet"}, + "resourceSubType":{"shape":"ResourceSubType"}, + "sourceCodeRepositories":{"shape":"SourceCodeRepositories"}, + "statusMessage":{"shape":"StatusMessage"} + } + }, + "ApplicationComponentDetails":{ + "type":"list", + "member":{"shape":"ApplicationComponentDetail"} + }, + "ApplicationComponentId":{ + "type":"string", + "max":44, + "min":0, + "pattern":"[0-9a-zA-Z-]+" + }, + "ApplicationComponentStrategies":{ + "type":"list", + "member":{"shape":"ApplicationComponentStrategy"} + }, + "ApplicationComponentStrategy":{ + "type":"structure", + "members":{ + "isPreferred":{"shape":"Boolean"}, + "recommendation":{"shape":"RecommendationSet"}, + "status":{"shape":"StrategyRecommendation"} + } + }, + "ApplicationComponentSummary":{ + "type":"structure", + "members":{ + "appType":{"shape":"AppType"}, + "count":{"shape":"Integer"} + } + }, + "ApplicationPreferences":{ + "type":"structure", + "members":{ + "managementPreference":{"shape":"ManagementPreference"} + } + }, + "AssessmentStatus":{ + "type":"string", + "enum":[ + "IN_PROGRESS", + "COMPLETE", + "FAILED", + "STOPPED" + ] + }, + "AssessmentSummary":{ + "type":"structure", + "members":{ + "antipatternReportS3Object":{"shape":"S3Object"}, + "antipatternReportStatus":{"shape":"AntipatternReportStatus"}, + "antipatternReportStatusMessage":{"shape":"StatusMessage"}, + "lastAnalyzedTimestamp":{"shape":"TimeStamp"}, + "listAntipatternSeveritySummary":{"shape":"ListAntipatternSeveritySummary"}, + "listApplicationComponentStrategySummary":{"shape":"ListStrategySummary"}, + "listApplicationComponentSummary":{"shape":"ListApplicationComponentSummary"}, + "listServerStrategySummary":{"shape":"ListStrategySummary"}, + "listServerSummary":{"shape":"ListServerSummary"} + } + }, + "AssociatedApplication":{ + "type":"structure", + "members":{ + "id":{"shape":"String"}, + "name":{"shape":"String"} + } + }, + "AssociatedApplications":{ + "type":"list", + "member":{"shape":"AssociatedApplication"} + }, + "AssociatedServerIDs":{ + "type":"list", + "member":{"shape":"String"} + }, + "AsyncTaskId":{ + "type":"string", + "max":52, + "min":0, + "pattern":"[0-9a-z-:]+" + }, + "AwsManagedResources":{ + "type":"structure", + "required":["targetDestination"], + "members":{ + "targetDestination":{"shape":"AwsManagedTargetDestinations"} + } + }, + "AwsManagedTargetDestination":{ + "type":"string", + "enum":[ + "None specified", + "AWS Elastic BeanStalk", + "AWS Fargate" + ] + }, + "AwsManagedTargetDestinations":{ + "type":"list", + "member":{"shape":"AwsManagedTargetDestination"}, + "max":1, + "min":1 + }, + "Boolean":{ + "type":"boolean", + "box":true + }, + "BusinessGoals":{ + "type":"structure", + "members":{ + "licenseCostReduction":{"shape":"BusinessGoalsInteger"}, + "modernizeInfrastructureWithCloudNativeTechnologies":{"shape":"BusinessGoalsInteger"}, + "reduceOperationalOverheadWithManagedServices":{"shape":"BusinessGoalsInteger"}, + "speedOfMigration":{"shape":"BusinessGoalsInteger"} + } + }, + "BusinessGoalsInteger":{ + "type":"integer", + "box":true, + "max":5, + "min":1 + }, + "Collector":{ + "type":"structure", + "members":{ + "collectorHealth":{"shape":"CollectorHealth"}, + "collectorId":{"shape":"String"}, + "collectorVersion":{"shape":"String"}, + "hostName":{"shape":"String"}, + "ipAddress":{"shape":"String"}, + "lastActivityTimeStamp":{"shape":"String"}, + "registeredTimeStamp":{"shape":"String"} + } + }, + "CollectorHealth":{ + "type":"string", + "enum":[ + "COLLECTOR_HEALTHY", + "COLLECTOR_UNHEALTHY" + ] + }, + "Collectors":{ + "type":"list", + "member":{"shape":"Collector"} + }, + "ConflictException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "DataCollectionDetails":{ + "type":"structure", + "members":{ + "completionTime":{"shape":"TimeStamp"}, + "failed":{"shape":"Integer"}, + "inProgress":{"shape":"Integer"}, + "servers":{"shape":"Integer"}, + "startTime":{"shape":"TimeStamp"}, + "status":{"shape":"AssessmentStatus"}, + "success":{"shape":"Integer"} + } + }, + "DataSourceType":{ + "type":"string", + "enum":[ + "ApplicationDiscoveryService", + "MPA" + ] + }, + "DatabaseConfigDetail":{ + "type":"structure", + "members":{ + "secretName":{"shape":"String"} + } + }, + "DatabaseManagementPreference":{ + "type":"string", + "enum":[ + "AWS-managed", + "Self-manage", + "No preference" + ] + }, + "DatabaseMigrationPreference":{ + "type":"structure", + "members":{ + "heterogeneous":{"shape":"Heterogeneous"}, + "homogeneous":{"shape":"Homogeneous"}, + "noPreference":{"shape":"NoDatabaseMigrationPreference"} + }, + "union":true + }, + "DatabasePreferences":{ + "type":"structure", + "members":{ + "databaseManagementPreference":{"shape":"DatabaseManagementPreference"}, + "databaseMigrationPreference":{"shape":"DatabaseMigrationPreference"} + } + }, + "GetApplicationComponentDetailsRequest":{ + "type":"structure", + "required":["applicationComponentId"], + "members":{ + "applicationComponentId":{ + "shape":"ApplicationComponentId", + "location":"uri", + "locationName":"applicationComponentId" + } + } + }, + "GetApplicationComponentDetailsResponse":{ + "type":"structure", + "members":{ + "applicationComponentDetail":{"shape":"ApplicationComponentDetail"}, + "associatedApplications":{"shape":"AssociatedApplications"}, + "associatedServerIds":{"shape":"AssociatedServerIDs"}, + "moreApplicationResource":{"shape":"Boolean"} + } + }, + "GetApplicationComponentStrategiesRequest":{ + "type":"structure", + "required":["applicationComponentId"], + "members":{ + "applicationComponentId":{ + "shape":"ApplicationComponentId", + "location":"uri", + "locationName":"applicationComponentId" + } + } + }, + "GetApplicationComponentStrategiesResponse":{ + "type":"structure", + "members":{ + "applicationComponentStrategies":{"shape":"ApplicationComponentStrategies"} + } + }, + "GetAssessmentRequest":{ + "type":"structure", + "required":["id"], + "members":{ + "id":{ + "shape":"AsyncTaskId", + "location":"uri", + "locationName":"id" + } + } + }, + "GetAssessmentResponse":{ + "type":"structure", + "members":{ + "dataCollectionDetails":{"shape":"DataCollectionDetails"}, + "id":{"shape":"AsyncTaskId"} + } + }, + "GetImportFileTaskRequest":{ + "type":"structure", + "required":["id"], + "members":{ + "id":{ + "shape":"String", + "location":"uri", + "locationName":"id" + } + } + }, + "GetImportFileTaskResponse":{ + "type":"structure", + "members":{ + "completionTime":{"shape":"TimeStamp"}, + "id":{"shape":"String"}, + "importName":{"shape":"String"}, + "inputS3Bucket":{"shape":"importS3Bucket"}, + "inputS3Key":{"shape":"importS3Key"}, + "numberOfRecordsFailed":{"shape":"Integer"}, + "numberOfRecordsSuccess":{"shape":"Integer"}, + "startTime":{"shape":"TimeStamp"}, + "status":{"shape":"ImportFileTaskStatus"}, + "statusReportS3Bucket":{"shape":"importS3Bucket"}, + "statusReportS3Key":{"shape":"importS3Key"} + } + }, + "GetPortfolioPreferencesRequest":{ + "type":"structure", + "members":{ + } + }, + "GetPortfolioPreferencesResponse":{ + "type":"structure", + "members":{ + "applicationPreferences":{"shape":"ApplicationPreferences"}, + "databasePreferences":{"shape":"DatabasePreferences"}, + "prioritizeBusinessGoals":{"shape":"PrioritizeBusinessGoals"} + } + }, + "GetPortfolioSummaryRequest":{ + "type":"structure", + "members":{ + } + }, + "GetPortfolioSummaryResponse":{ + "type":"structure", + "members":{ + "assessmentSummary":{"shape":"AssessmentSummary"} + } + }, + "GetRecommendationReportDetailsRequest":{ + "type":"structure", + "required":["id"], + "members":{ + "id":{ + "shape":"RecommendationTaskId", + "location":"uri", + "locationName":"id" + } + } + }, + "GetRecommendationReportDetailsResponse":{ + "type":"structure", + "members":{ + "id":{"shape":"RecommendationTaskId"}, + "recommendationReportDetails":{"shape":"RecommendationReportDetails"} + } + }, + "GetServerDetailsRequest":{ + "type":"structure", + "required":["serverId"], + "members":{ + "maxResults":{ + "shape":"MaxResult", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + }, + "serverId":{ + "shape":"ServerId", + "location":"uri", + "locationName":"serverId" + } + } + }, + "GetServerDetailsResponse":{ + "type":"structure", + "members":{ + "associatedApplications":{"shape":"AssociatedApplications"}, + "nextToken":{"shape":"String"}, + "serverDetail":{"shape":"ServerDetail"} + } + }, + "GetServerStrategiesRequest":{ + "type":"structure", + "required":["serverId"], + "members":{ + "serverId":{ + "shape":"ServerId", + "location":"uri", + "locationName":"serverId" + } + } + }, + "GetServerStrategiesResponse":{ + "type":"structure", + "members":{ + "serverStrategies":{"shape":"ServerStrategies"} + } + }, + "Group":{ + "type":"structure", + "members":{ + "name":{"shape":"GroupName"}, + "value":{"shape":"String"} + } + }, + "GroupIds":{ + "type":"list", + "member":{"shape":"Group"} + }, + "GroupName":{ + "type":"string", + "enum":["ExternalId"] + }, + "Heterogeneous":{ + "type":"structure", + "required":["targetDatabaseEngine"], + "members":{ + "targetDatabaseEngine":{"shape":"HeterogeneousTargetDatabaseEngines"} + } + }, + "HeterogeneousTargetDatabaseEngine":{ + "type":"string", + "enum":[ + "None specified", + "Amazon Aurora", + "AWS PostgreSQL", + "MySQL", + "Microsoft SQL Server", + "Oracle Database", + "MariaDB", + "SAP", + "Db2 LUW", + "MongoDB" + ] + }, + "HeterogeneousTargetDatabaseEngines":{ + "type":"list", + "member":{"shape":"HeterogeneousTargetDatabaseEngine"}, + "max":1, + "min":1 + }, + "Homogeneous":{ + "type":"structure", + "members":{ + "targetDatabaseEngine":{"shape":"HomogeneousTargetDatabaseEngines"} + } + }, + "HomogeneousTargetDatabaseEngine":{ + "type":"string", + "enum":["None specified"] + }, + "HomogeneousTargetDatabaseEngines":{ + "type":"list", + "member":{"shape":"HomogeneousTargetDatabaseEngine"}, + "max":1, + "min":0 + }, + "IPAddress":{ + "type":"string", + "max":15, + "min":0, + "pattern":"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$" + }, + "ImportFileTaskInformation":{ + "type":"structure", + "members":{ + "completionTime":{"shape":"TimeStamp"}, + "id":{"shape":"String"}, + "importName":{"shape":"String"}, + "inputS3Bucket":{"shape":"importS3Bucket"}, + "inputS3Key":{"shape":"importS3Key"}, + "numberOfRecordsFailed":{"shape":"Integer"}, + "numberOfRecordsSuccess":{"shape":"Integer"}, + "startTime":{"shape":"TimeStamp"}, + "status":{"shape":"ImportFileTaskStatus"}, + "statusReportS3Bucket":{"shape":"importS3Bucket"}, + "statusReportS3Key":{"shape":"importS3Key"} + } + }, + "ImportFileTaskStatus":{ + "type":"string", + "enum":[ + "ImportInProgress", + "ImportFailed", + "ImportPartialSuccess", + "ImportSuccess", + "DeleteInProgress", + "DeleteFailed", + "DeletePartialSuccess", + "DeleteSuccess" + ] + }, + "InclusionStatus":{ + "type":"string", + "enum":[ + "excludeFromAssessment", + "includeInAssessment" + ] + }, + "Integer":{ + "type":"integer", + "box":true + }, + "InterfaceName":{ + "type":"string", + "max":1024, + "min":0, + "pattern":".*" + }, + "InternalServerException":{ + "type":"structure", + "members":{ + "message":{"shape":"errorMessage"} + }, + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true + }, + "ListAntipatternSeveritySummary":{ + "type":"list", + "member":{"shape":"AntipatternSeveritySummary"} + }, + "ListApplicationComponentSummary":{ + "type":"list", + "member":{"shape":"ApplicationComponentSummary"} + }, + "ListApplicationComponentsRequest":{ + "type":"structure", + "members":{ + "applicationComponentCriteria":{"shape":"ApplicationComponentCriteria"}, + "filterValue":{"shape":"ListApplicationComponentsRequestFilterValueString"}, + "groupIdFilter":{"shape":"GroupIds"}, + "maxResults":{"shape":"MaxResult"}, + "nextToken":{"shape":"NextToken"}, + "sort":{"shape":"SortOrder"} + } + }, + "ListApplicationComponentsRequestFilterValueString":{ + "type":"string", + "max":256, + "min":0, + "pattern":".*\\S.*" + }, + "ListApplicationComponentsResponse":{ + "type":"structure", + "members":{ + "applicationComponentInfos":{"shape":"ApplicationComponentDetails"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListCollectorsRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"MaxResult", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListCollectorsResponse":{ + "type":"structure", + "members":{ + "Collectors":{"shape":"Collectors"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListImportFileTaskInformation":{ + "type":"list", + "member":{"shape":"ImportFileTaskInformation"} + }, + "ListImportFileTaskRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"Integer", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListImportFileTaskResponse":{ + "type":"structure", + "members":{ + "nextToken":{"shape":"String"}, + "taskInfos":{"shape":"ListImportFileTaskInformation"} + } + }, + "ListServerSummary":{ + "type":"list", + "member":{"shape":"ServerSummary"} + }, + "ListServersRequest":{ + "type":"structure", + "members":{ + "filterValue":{"shape":"String"}, + "groupIdFilter":{"shape":"GroupIds"}, + "maxResults":{"shape":"MaxResult"}, + "nextToken":{"shape":"NextToken"}, + "serverCriteria":{"shape":"ServerCriteria"}, + "sort":{"shape":"SortOrder"} + } + }, + "ListServersResponse":{ + "type":"structure", + "members":{ + "nextToken":{"shape":"NextToken"}, + "serverInfos":{"shape":"ServerDetails"} + } + }, + "ListStrategySummary":{ + "type":"list", + "member":{"shape":"StrategySummary"} + }, + "Location":{ + "type":"string", + "max":128, + "min":1, + "pattern":".*\\S.*" + }, + "MacAddress":{ + "type":"string", + "max":17, + "min":0, + "pattern":"^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})|([0-9a-fA-F]{4}\\\\.[0-9a-fA-F]{4}\\\\.[0-9a-fA-F]{4})$”$" + }, + "ManagementPreference":{ + "type":"structure", + "members":{ + "awsManagedResources":{"shape":"AwsManagedResources"}, + "noPreference":{"shape":"NoManagementPreference"}, + "selfManageResources":{"shape":"SelfManageResources"} + }, + "union":true + }, + "MaxResult":{ + "type":"integer", + "box":true + }, + "NetMask":{ + "type":"string", + "max":1024, + "min":0, + "pattern":".*" + }, + "NetworkInfo":{ + "type":"structure", + "required":[ + "interfaceName", + "ipAddress", + "macAddress", + "netMask" + ], + "members":{ + "interfaceName":{"shape":"InterfaceName"}, + "ipAddress":{"shape":"IPAddress"}, + "macAddress":{"shape":"MacAddress"}, + "netMask":{"shape":"NetMask"} + } + }, + "NetworkInfoList":{ + "type":"list", + "member":{"shape":"NetworkInfo"} + }, + "NextToken":{ + "type":"string", + "max":2048, + "min":0, + "pattern":".*\\S.*" + }, + "NoDatabaseMigrationPreference":{ + "type":"structure", + "required":["targetDatabaseEngine"], + "members":{ + "targetDatabaseEngine":{"shape":"TargetDatabaseEngines"} + } + }, + "NoManagementPreference":{ + "type":"structure", + "required":["targetDestination"], + "members":{ + "targetDestination":{"shape":"NoPreferenceTargetDestinations"} + } + }, + "NoPreferenceTargetDestination":{ + "type":"string", + "enum":[ + "None specified", + "AWS Elastic BeanStalk", + "AWS Fargate", + "Amazon Elastic Cloud Compute (EC2)", + "Amazon Elastic Container Service (ECS)", + "Amazon Elastic Kubernetes Service (EKS)" + ] + }, + "NoPreferenceTargetDestinations":{ + "type":"list", + "member":{"shape":"NoPreferenceTargetDestination"}, + "max":1, + "min":1 + }, + "OSInfo":{ + "type":"structure", + "members":{ + "type":{"shape":"OSType"}, + "version":{"shape":"OSVersion"} + } + }, + "OSType":{ + "type":"string", + "enum":[ + "LINUX", + "WINDOWS" + ] + }, + "OSVersion":{ + "type":"string", + "max":64, + "min":1, + "pattern":".*\\S.*" + }, + "OutputFormat":{ + "type":"string", + "enum":[ + "Excel", + "Json" + ] + }, + "PrioritizeBusinessGoals":{ + "type":"structure", + "members":{ + "businessGoals":{"shape":"BusinessGoals"} + } + }, + "PutPortfolioPreferencesRequest":{ + "type":"structure", + "members":{ + "applicationPreferences":{"shape":"ApplicationPreferences"}, + "databasePreferences":{"shape":"DatabasePreferences"}, + "prioritizeBusinessGoals":{"shape":"PrioritizeBusinessGoals"} + } + }, + "PutPortfolioPreferencesResponse":{ + "type":"structure", + "members":{ + } + }, + "RecommendationReportDetails":{ + "type":"structure", + "members":{ + "completionTime":{"shape":"RecommendationReportTimeStamp"}, + "s3Bucket":{"shape":"String"}, + "s3Keys":{"shape":"S3Keys"}, + "startTime":{"shape":"RecommendationReportTimeStamp"}, + "status":{"shape":"RecommendationReportStatus"}, + "statusMessage":{"shape":"RecommendationReportStatusMessage"} + } + }, + "RecommendationReportStatus":{ + "type":"string", + "enum":[ + "FAILED", + "IN_PROGRESS", + "SUCCESS" + ] + }, + "RecommendationReportStatusMessage":{ + "type":"string", + "max":512, + "min":0, + "pattern":".*\\S.*" + }, + "RecommendationReportTimeStamp":{"type":"timestamp"}, + "RecommendationSet":{ + "type":"structure", + "members":{ + "strategy":{"shape":"Strategy"}, + "targetDestination":{"shape":"TargetDestination"}, + "transformationTool":{"shape":"TransformationTool"} + } + }, + "RecommendationTaskId":{ + "type":"string", + "max":52, + "min":0, + "pattern":"[0-9a-z-:]+" + }, + "ResourceId":{ + "type":"string", + "max":44, + "min":0, + "pattern":"^[0-9a-b]+" + }, + "ResourceName":{"type":"string"}, + "ResourceNotFoundException":{ + "type":"structure", + "members":{ + "message":{"shape":"errorMessage"} + }, + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "ResourceSubType":{ + "type":"string", + "enum":[ + "Database", + "Process", + "DatabaseProcess" + ] + }, + "RunTimeAssessmentStatus":{ + "type":"string", + "enum":[ + "dataCollectionTaskToBeScheduled", + "dataCollectionTaskScheduled", + "dataCollectionTaskStarted", + "dataCollectionTaskStopped", + "dataCollectionTaskSuccess", + "dataCollectionTaskFailed", + "dataCollectionTaskPartialSuccess" + ] + }, + "S3Bucket":{ + "type":"string", + "max":63, + "min":0, + "pattern":"[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+" + }, + "S3Key":{ + "type":"string", + "max":1024, + "min":0, + "pattern":".*\\S.*" + }, + "S3Keys":{ + "type":"list", + "member":{"shape":"String"} + }, + "S3Object":{ + "type":"structure", + "members":{ + "s3Bucket":{"shape":"S3Bucket"}, + "s3key":{"shape":"S3Key"} + } + }, + "SecretsManagerKey":{ + "type":"string", + "max":512, + "min":1, + "pattern":".*", + "sensitive":true + }, + "SelfManageResources":{ + "type":"structure", + "required":["targetDestination"], + "members":{ + "targetDestination":{"shape":"SelfManageTargetDestinations"} + } + }, + "SelfManageTargetDestination":{ + "type":"string", + "enum":[ + "None specified", + "Amazon Elastic Cloud Compute (EC2)", + "Amazon Elastic Container Service (ECS)", + "Amazon Elastic Kubernetes Service (EKS)" + ] + }, + "SelfManageTargetDestinations":{ + "type":"list", + "member":{"shape":"SelfManageTargetDestination"}, + "max":1, + "min":1 + }, + "ServerCriteria":{ + "type":"string", + "enum":[ + "NOT_DEFINED", + "OS_NAME", + "STRATEGY", + "DESTINATION", + "SERVER_ID" + ] + }, + "ServerDetail":{ + "type":"structure", + "members":{ + "antipatternReportS3Object":{"shape":"S3Object"}, + "antipatternReportStatus":{"shape":"AntipatternReportStatus"}, + "antipatternReportStatusMessage":{"shape":"StatusMessage"}, + "applicationComponentStrategySummary":{"shape":"ListStrategySummary"}, + "dataCollectionStatus":{"shape":"RunTimeAssessmentStatus"}, + "id":{"shape":"ResourceId"}, + "lastAnalyzedTimestamp":{"shape":"TimeStamp"}, + "listAntipatternSeveritySummary":{"shape":"ListAntipatternSeveritySummary"}, + "name":{"shape":"ResourceName"}, + "recommendationSet":{"shape":"RecommendationSet"}, + "serverType":{"shape":"String"}, + "statusMessage":{"shape":"StatusMessage"}, + "systemInfo":{"shape":"SystemInfo"} + } + }, + "ServerDetails":{ + "type":"list", + "member":{"shape":"ServerDetail"} + }, + "ServerId":{ + "type":"string", + "max":27, + "min":1, + "pattern":".*\\S.*" + }, + "ServerOsType":{ + "type":"string", + "enum":[ + "WindowsServer", + "AmazonLinux", + "EndOfSupportWindowsServer", + "Redhat", + "Other" + ] + }, + "ServerStrategies":{ + "type":"list", + "member":{"shape":"ServerStrategy"} + }, + "ServerStrategy":{ + "type":"structure", + "members":{ + "isPreferred":{"shape":"Boolean"}, + "numberOfApplicationComponents":{"shape":"Integer"}, + "recommendation":{"shape":"RecommendationSet"}, + "status":{"shape":"StrategyRecommendation"} + } + }, + "ServerSummary":{ + "type":"structure", + "members":{ + "ServerOsType":{"shape":"ServerOsType"}, + "count":{"shape":"Integer"} + } + }, + "ServiceLinkedRoleLockClientException":{ + "type":"structure", + "members":{ + "message":{"shape":"errorMessage"} + }, + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "ServiceQuotaExceededException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":402, + "senderFault":true + }, + "exception":true + }, + "Severity":{ + "type":"string", + "enum":[ + "HIGH", + "MEDIUM", + "LOW" + ] + }, + "SortOrder":{ + "type":"string", + "enum":[ + "ASC", + "DESC" + ] + }, + "SourceCode":{ + "type":"structure", + "members":{ + "location":{"shape":"Location"}, + "sourceVersion":{"shape":"SourceVersion"}, + "versionControl":{"shape":"VersionControl"} + } + }, + "SourceCodeList":{ + "type":"list", + "member":{"shape":"SourceCode"} + }, + "SourceCodeRepositories":{ + "type":"list", + "member":{"shape":"SourceCodeRepository"} + }, + "SourceCodeRepository":{ + "type":"structure", + "members":{ + "branch":{"shape":"String"}, + "repository":{"shape":"String"}, + "versionControlType":{"shape":"String"} + } + }, + "SourceVersion":{ + "type":"string", + "max":40, + "min":1, + "pattern":".*\\S.*" + }, + "SrcCodeOrDbAnalysisStatus":{ + "type":"string", + "enum":[ + "ANALYSIS_TO_BE_SCHEDULED", + "ANALYSIS_STARTED", + "ANALYSIS_SUCCESS", + "ANALYSIS_FAILED" + ] + }, + "StartAssessmentRequest":{ + "type":"structure", + "members":{ + "s3bucketForAnalysisData":{"shape":"StartAssessmentRequestS3bucketForAnalysisDataString"}, + "s3bucketForReportData":{"shape":"StartAssessmentRequestS3bucketForReportDataString"} + } + }, + "StartAssessmentRequestS3bucketForAnalysisDataString":{ + "type":"string", + "max":63, + "min":0, + "pattern":"[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+" + }, + "StartAssessmentRequestS3bucketForReportDataString":{ + "type":"string", + "max":63, + "min":0, + "pattern":"[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+" + }, + "StartAssessmentResponse":{ + "type":"structure", + "members":{ + "assessmentId":{"shape":"AsyncTaskId"} + } + }, + "StartImportFileTaskRequest":{ + "type":"structure", + "required":[ + "S3Bucket", + "name", + "s3key" + ], + "members":{ + "S3Bucket":{"shape":"importS3Bucket"}, + "dataSourceType":{"shape":"DataSourceType"}, + "groupId":{"shape":"GroupIds"}, + "name":{"shape":"StartImportFileTaskRequestNameString"}, + "s3bucketForReportData":{"shape":"StartImportFileTaskRequestS3bucketForReportDataString"}, + "s3key":{"shape":"String"} + } + }, + "StartImportFileTaskRequestNameString":{ + "type":"string", + "max":50, + "min":1, + "pattern":"[a-zA-Z0-9_-]+" + }, + "StartImportFileTaskRequestS3bucketForReportDataString":{ + "type":"string", + "max":63, + "min":0, + "pattern":"[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+" + }, + "StartImportFileTaskResponse":{ + "type":"structure", + "members":{ + "id":{"shape":"String"} + } + }, + "StartRecommendationReportGenerationRequest":{ + "type":"structure", + "members":{ + "groupIdFilter":{"shape":"GroupIds"}, + "outputFormat":{"shape":"OutputFormat"} + } + }, + "StartRecommendationReportGenerationResponse":{ + "type":"structure", + "members":{ + "id":{"shape":"RecommendationTaskId"} + } + }, + "StatusMessage":{ + "type":"string", + "max":1024, + "min":0, + "pattern":".*\\S.*" + }, + "StopAssessmentRequest":{ + "type":"structure", + "required":["assessmentId"], + "members":{ + "assessmentId":{"shape":"AsyncTaskId"} + } + }, + "StopAssessmentResponse":{ + "type":"structure", + "members":{ + } + }, + "Strategy":{ + "type":"string", + "enum":[ + "Rehost", + "Retirement", + "Refactor", + "Replatform", + "Retain", + "Relocate", + "Repurchase" + ] + }, + "StrategyOption":{ + "type":"structure", + "members":{ + "isPreferred":{"shape":"Boolean"}, + "strategy":{"shape":"Strategy"}, + "targetDestination":{"shape":"TargetDestination"}, + "toolName":{"shape":"TransformationToolName"} + } + }, + "StrategyRecommendation":{ + "type":"string", + "enum":[ + "recommended", + "viableOption", + "notRecommended" + ] + }, + "StrategySummary":{ + "type":"structure", + "members":{ + "count":{"shape":"Integer"}, + "strategy":{"shape":"Strategy"} + } + }, + "String":{ + "type":"string", + "max":1024, + "min":0, + "pattern":".*\\S.*" + }, + "SystemInfo":{ + "type":"structure", + "members":{ + "cpuArchitecture":{"shape":"String"}, + "fileSystemType":{"shape":"String"}, + "networkInfoList":{"shape":"NetworkInfoList"}, + "osInfo":{"shape":"OSInfo"} + } + }, + "TargetDatabaseEngine":{ + "type":"string", + "enum":[ + "None specified", + "Amazon Aurora", + "AWS PostgreSQL", + "MySQL", + "Microsoft SQL Server", + "Oracle Database", + "MariaDB", + "SAP", + "Db2 LUW", + "MongoDB" + ] + }, + "TargetDatabaseEngines":{ + "type":"list", + "member":{"shape":"TargetDatabaseEngine"}, + "max":1, + "min":1 + }, + "TargetDestination":{ + "type":"string", + "enum":[ + "None specified", + "AWS Elastic BeanStalk", + "AWS Fargate", + "Amazon Elastic Cloud Compute (EC2)", + "Amazon Elastic Container Service (ECS)", + "Amazon Elastic Kubernetes Service (EKS)", + "Aurora MySQL", + "Aurora PostgreSQL", + "Amazon Relational Database Service on MySQL", + "Amazon Relational Database Service on PostgreSQL", + "Amazon DocumentDB", + "Amazon DynamoDB", + "Amazon Relational Database Service" + ] + }, + "ThrottlingException":{ + "type":"structure", + "members":{ + "message":{"shape":"errorMessage"} + }, + "error":{ + "httpStatusCode":429, + "senderFault":true + }, + "exception":true + }, + "TimeStamp":{"type":"timestamp"}, + "TranformationToolDescription":{ + "type":"string", + "max":1024, + "min":1, + "pattern":".*\\S.*" + }, + "TranformationToolInstallationLink":{ + "type":"string", + "max":1024, + "min":1, + "pattern":".*\\S.*" + }, + "TransformationTool":{ + "type":"structure", + "members":{ + "description":{"shape":"TranformationToolDescription"}, + "name":{"shape":"TransformationToolName"}, + "tranformationToolInstallationLink":{"shape":"TranformationToolInstallationLink"} + } + }, + "TransformationToolName":{ + "type":"string", + "enum":[ + "App2Container", + "Porting Assistant For .NET", + "End of Support Migration", + "Windows Web Application Migration Assistant", + "Application Migration Service", + "Strategy Recommendation Support", + "In Place Operating System Upgrade", + "Schema Conversion Tool", + "Database Migration Service", + "Native SQL Server Backup/Restore" + ] + }, + "UpdateApplicationComponentConfigRequest":{ + "type":"structure", + "required":["applicationComponentId"], + "members":{ + "applicationComponentId":{"shape":"ApplicationComponentId"}, + "inclusionStatus":{"shape":"InclusionStatus"}, + "secretsManagerKey":{"shape":"SecretsManagerKey"}, + "sourceCodeList":{"shape":"SourceCodeList"}, + "strategyOption":{"shape":"StrategyOption"} + } + }, + "UpdateApplicationComponentConfigResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateServerConfigRequest":{ + "type":"structure", + "required":["serverId"], + "members":{ + "serverId":{"shape":"ServerId"}, + "strategyOption":{"shape":"StrategyOption"} + } + }, + "UpdateServerConfigResponse":{ + "type":"structure", + "members":{ + } + }, + "ValidationException":{ + "type":"structure", + "members":{ + "message":{"shape":"errorMessage"} + }, + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "VersionControl":{ + "type":"string", + "enum":[ + "GITHUB", + "GITHUB_ENTERPRISE" + ] + }, + "errorMessage":{"type":"string"}, + "importS3Bucket":{ + "type":"string", + "max":63, + "min":0, + "pattern":"[0-9a-z]+[0-9a-z\\.\\-]*[0-9a-z]+" + }, + "importS3Key":{ + "type":"string", + "max":1024, + "min":0, + "pattern":".*\\S.*" + } + } +} diff --git a/models/apis/migrationhubstrategy/2020-02-19/docs-2.json b/models/apis/migrationhubstrategy/2020-02-19/docs-2.json new file mode 100644 index 00000000000..9a2ea4024ea --- /dev/null +++ b/models/apis/migrationhubstrategy/2020-02-19/docs-2.json @@ -0,0 +1,1159 @@ +{ + "version": "2.0", + "service": "

Migration Hub Strategy Recommendations

 <p>This API reference provides descriptions, syntax, and other details about each of the actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p> 
", + "operations": { + "GetApplicationComponentDetails": "

Retrieves details about an application component.

", + "GetApplicationComponentStrategies": "

Retrieves a list of all the recommended strategies and tools for an application component running on a server.

", + "GetAssessment": "

Retrieves the status of an on-going assessment.

", + "GetImportFileTask": "

Retrieves the details about a specific import task.

", + "GetPortfolioPreferences": "

Retrieves your migration and modernization preferences.

", + "GetPortfolioSummary": "

Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.

", + "GetRecommendationReportDetails": "

Retrieves detailed information about the specified recommendation report.

", + "GetServerDetails": "

Retrieves detailed information about a specified server.

", + "GetServerStrategies": "

Retrieves recommended strategies and tools for the specified server.

", + "ListApplicationComponents": "

Retrieves a list of all the application components (processes).

", + "ListCollectors": "

Retrieves a list of all the installed collectors.

", + "ListImportFileTask": "

Retrieves a list of all the imports performed.

", + "ListServers": "

Returns a list of all the servers.

", + "PutPortfolioPreferences": "

Saves the specified migration and modernization preferences.

", + "StartAssessment": "

Starts the assessment of an on-premises environment.

", + "StartImportFileTask": "

Starts a file import.

", + "StartRecommendationReportGeneration": "

Starts generating a recommendation report.

", + "StopAssessment": "

Stops the assessment of an on-premises environment.

", + "UpdateApplicationComponentConfig": "

Updates the configuration of an application component.

", + "UpdateServerConfig": "

Updates the configuration of the specified server.

" + }, + "shapes": { + "AccessDeniedException": { + "base": "

The AWS user account does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this account.

", + "refs": { + } + }, + "AntipatternReportStatus": { + "base": null, + "refs": { + "ApplicationComponentDetail$antipatternReportStatus": "

The status of the anti-pattern report generation.

", + "AssessmentSummary$antipatternReportStatus": "

The status of the anti-pattern report.

", + "ServerDetail$antipatternReportStatus": "

The status of the anti-pattern report generation.

" + } + }, + "AntipatternSeveritySummary": { + "base": "

Contains the summary of anti-patterns and their severity.

", + "refs": { + "ListAntipatternSeveritySummary$member": null + } + }, + "AppType": { + "base": null, + "refs": { + "ApplicationComponentDetail$appType": "

The type of application component.

", + "ApplicationComponentSummary$appType": "

Contains the name of application types.

" + } + }, + "ApplicationComponentCriteria": { + "base": null, + "refs": { + "ListApplicationComponentsRequest$applicationComponentCriteria": "

Criteria for filtering the list of application components.

" + } + }, + "ApplicationComponentDetail": { + "base": "

Contains detailed information about an application component.

", + "refs": { + "ApplicationComponentDetails$member": null, + "GetApplicationComponentDetailsResponse$applicationComponentDetail": "

Detailed information about an application component.

" + } + }, + "ApplicationComponentDetails": { + "base": null, + "refs": { + "ListApplicationComponentsResponse$applicationComponentInfos": "

The list of application components with detailed information about each component.

" + } + }, + "ApplicationComponentId": { + "base": null, + "refs": { + "GetApplicationComponentDetailsRequest$applicationComponentId": "

The ID of the application component. The ID is unique within an AWS account.

", + "GetApplicationComponentStrategiesRequest$applicationComponentId": "

The ID of the application component. The ID is unique within an AWS account.

", + "UpdateApplicationComponentConfigRequest$applicationComponentId": "

The ID of the application component. The ID is unique within an AWS account.

" + } + }, + "ApplicationComponentStrategies": { + "base": null, + "refs": { + "GetApplicationComponentStrategiesResponse$applicationComponentStrategies": "

A list of application component strategy recommendations.

" + } + }, + "ApplicationComponentStrategy": { + "base": "

Contains information about a strategy recommendation for an application component.

", + "refs": { + "ApplicationComponentStrategies$member": null + } + }, + "ApplicationComponentSummary": { + "base": "

Contains the summary of application components.

", + "refs": { + "ListApplicationComponentSummary$member": null + } + }, + "ApplicationPreferences": { + "base": "

Application preferences that you specify.

", + "refs": { + "GetPortfolioPreferencesResponse$applicationPreferences": "

The transformation preferences for non-database applications.

", + "PutPortfolioPreferencesRequest$applicationPreferences": "

The transformation preferences for non-database applications.

" + } + }, + "AssessmentStatus": { + "base": null, + "refs": { + "DataCollectionDetails$status": "

The status of the assessment.

" + } + }, + "AssessmentSummary": { + "base": "

Contains the summary of the assessment results.

", + "refs": { + "GetPortfolioSummaryResponse$assessmentSummary": "

An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns.

" + } + }, + "AssociatedApplication": { + "base": "

Object containing details about applications as defined in Application Discovery Service.

", + "refs": { + "AssociatedApplications$member": null + } + }, + "AssociatedApplications": { + "base": null, + "refs": { + "GetApplicationComponentDetailsResponse$associatedApplications": "

The associated application group as defined in AWS Application Discovery Service.

", + "GetServerDetailsResponse$associatedApplications": "

The associated application group the server belongs to, as defined in AWS Application Discovery Service.

" + } + }, + "AssociatedServerIDs": { + "base": null, + "refs": { + "GetApplicationComponentDetailsResponse$associatedServerIds": "

A list of the IDs of the servers on which the application component is running.

" + } + }, + "AsyncTaskId": { + "base": null, + "refs": { + "GetAssessmentRequest$id": "

The assessmentid returned by StartAssessment.

", + "GetAssessmentResponse$id": "

The ID for the specific assessment task.

", + "StartAssessmentResponse$assessmentId": "

The ID of the assessment.

", + "StopAssessmentRequest$assessmentId": "

The assessmentId returned by StartAssessment.

" + } + }, + "AwsManagedResources": { + "base": "

Object containing the choice of application destination that you specify.

", + "refs": { + "ManagementPreference$awsManagedResources": "

Indicates interest in solutions that are managed by AWS.

" + } + }, + "AwsManagedTargetDestination": { + "base": null, + "refs": { + "AwsManagedTargetDestinations$member": null + } + }, + "AwsManagedTargetDestinations": { + "base": null, + "refs": { + "AwsManagedResources$targetDestination": "

The choice of application destination that you specify.

" + } + }, + "Boolean": { + "base": null, + "refs": { + "ApplicationComponentDetail$moreServerAssociationExists": "

Set to true if the application component is running on multiple servers.

", + "ApplicationComponentStrategy$isPreferred": "

Set to true if the recommendation is set as preferred.

", + "GetApplicationComponentDetailsResponse$moreApplicationResource": "

Set to true if the application component belongs to more than one application group.

", + "ServerStrategy$isPreferred": "

Set to true if the recommendation is set as preferred.

", + "StrategyOption$isPreferred": "

Indicates if a specific strategy is preferred for the application component.

" + } + }, + "BusinessGoals": { + "base": "

Business goals that you specify.

", + "refs": { + "PrioritizeBusinessGoals$businessGoals": "

Rank of business goals based on priority.

" + } + }, + "BusinessGoalsInteger": { + "base": null, + "refs": { + "BusinessGoals$licenseCostReduction": "

Business goal to reduce license costs.

", + "BusinessGoals$modernizeInfrastructureWithCloudNativeTechnologies": "

Business goal to modernize infrastructure by moving to cloud native technologies.

", + "BusinessGoals$reduceOperationalOverheadWithManagedServices": "

Business goal to reduce the operational overhead on the team by moving into managed services.

", + "BusinessGoals$speedOfMigration": "

Business goal to achieve migration at a fast pace.

" + } + }, + "Collector": { + "base": "

Process data collector that runs in the environment that you specify.

", + "refs": { + "Collectors$member": null + } + }, + "CollectorHealth": { + "base": null, + "refs": { + "Collector$collectorHealth": "

Indicates the health of a collector.

" + } + }, + "Collectors": { + "base": null, + "refs": { + "ListCollectorsResponse$Collectors": "

The list of all the installed collectors.

" + } + }, + "ConflictException": { + "base": "

Exception to indicate that there is an ongoing task when a new task is created. Return when once the existing tasks are complete.

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

Detailed information about an assessment.

", + "refs": { + "GetAssessmentResponse$dataCollectionDetails": "

Detailed information about the assessment.

" + } + }, + "DataSourceType": { + "base": null, + "refs": { + "StartImportFileTaskRequest$dataSourceType": "

Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.

" + } + }, + "DatabaseConfigDetail": { + "base": "

Configuration information used for assessing databases.

", + "refs": { + "ApplicationComponentDetail$databaseConfigDetail": "

Configuration details for the database associated with the application component.

" + } + }, + "DatabaseManagementPreference": { + "base": null, + "refs": { + "DatabasePreferences$databaseManagementPreference": "

Specifies whether you're interested in self-managed databases or databases managed by AWS.

" + } + }, + "DatabaseMigrationPreference": { + "base": "

Preferences for migrating a database to AWS.

", + "refs": { + "DatabasePreferences$databaseMigrationPreference": "

Specifies your preferred migration path.

" + } + }, + "DatabasePreferences": { + "base": "

Preferences on managing your databases on AWS.

", + "refs": { + "GetPortfolioPreferencesResponse$databasePreferences": "

The transformation preferences for database applications.

", + "PutPortfolioPreferencesRequest$databasePreferences": "

The transformation preferences for database applications.

" + } + }, + "GetApplicationComponentDetailsRequest": { + "base": null, + "refs": { + } + }, + "GetApplicationComponentDetailsResponse": { + "base": null, + "refs": { + } + }, + "GetApplicationComponentStrategiesRequest": { + "base": null, + "refs": { + } + }, + "GetApplicationComponentStrategiesResponse": { + "base": null, + "refs": { + } + }, + "GetAssessmentRequest": { + "base": null, + "refs": { + } + }, + "GetAssessmentResponse": { + "base": null, + "refs": { + } + }, + "GetImportFileTaskRequest": { + "base": null, + "refs": { + } + }, + "GetImportFileTaskResponse": { + "base": null, + "refs": { + } + }, + "GetPortfolioPreferencesRequest": { + "base": null, + "refs": { + } + }, + "GetPortfolioPreferencesResponse": { + "base": null, + "refs": { + } + }, + "GetPortfolioSummaryRequest": { + "base": null, + "refs": { + } + }, + "GetPortfolioSummaryResponse": { + "base": null, + "refs": { + } + }, + "GetRecommendationReportDetailsRequest": { + "base": null, + "refs": { + } + }, + "GetRecommendationReportDetailsResponse": { + "base": null, + "refs": { + } + }, + "GetServerDetailsRequest": { + "base": null, + "refs": { + } + }, + "GetServerDetailsResponse": { + "base": null, + "refs": { + } + }, + "GetServerStrategiesRequest": { + "base": null, + "refs": { + } + }, + "GetServerStrategiesResponse": { + "base": null, + "refs": { + } + }, + "Group": { + "base": "

The object containing information about distinct imports or groups for Strategy Recommendations.

", + "refs": { + "GroupIds$member": null + } + }, + "GroupIds": { + "base": null, + "refs": { + "ListApplicationComponentsRequest$groupIdFilter": "

The group ID specified in to filter on.

", + "ListServersRequest$groupIdFilter": "

Specifies the group ID to filter on.

", + "StartImportFileTaskRequest$groupId": "

Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.

", + "StartRecommendationReportGenerationRequest$groupIdFilter": "

Groups the resources in the recommendation report with a unique name.

" + } + }, + "GroupName": { + "base": null, + "refs": { + "Group$name": "

The key of the specific import group.

" + } + }, + "Heterogeneous": { + "base": "

The object containing details about heterogeneous database preferences.

", + "refs": { + "DatabaseMigrationPreference$heterogeneous": "

Indicates whether you are interested in moving from one type of database to another. For example, from SQL Server to Amazon Aurora MySQL-Compatible Edition.

" + } + }, + "HeterogeneousTargetDatabaseEngine": { + "base": null, + "refs": { + "HeterogeneousTargetDatabaseEngines$member": null + } + }, + "HeterogeneousTargetDatabaseEngines": { + "base": null, + "refs": { + "Heterogeneous$targetDatabaseEngine": "

The target database engine for heterogeneous database migration preference.

" + } + }, + "Homogeneous": { + "base": "

The object containing details about homogeneous database preferences.

", + "refs": { + "DatabaseMigrationPreference$homogeneous": "

Indicates whether you are interested in moving to the same type of database into AWS. For example, from SQL Server in your environment to SQL Server on AWS.

" + } + }, + "HomogeneousTargetDatabaseEngine": { + "base": null, + "refs": { + "HomogeneousTargetDatabaseEngines$member": null + } + }, + "HomogeneousTargetDatabaseEngines": { + "base": null, + "refs": { + "Homogeneous$targetDatabaseEngine": "

The target database engine for homogeneous database migration preferences.

" + } + }, + "IPAddress": { + "base": null, + "refs": { + "NetworkInfo$ipAddress": "

Information about the IP address of the server for which the assessment was run.

" + } + }, + "ImportFileTaskInformation": { + "base": "

Information about the import file tasks you request.

", + "refs": { + "ListImportFileTaskInformation$member": null + } + }, + "ImportFileTaskStatus": { + "base": null, + "refs": { + "GetImportFileTaskResponse$status": "

Status of import file task.

", + "ImportFileTaskInformation$status": "

Status of import file task.

" + } + }, + "InclusionStatus": { + "base": null, + "refs": { + "ApplicationComponentDetail$inclusionStatus": "

Indicates whether the application component has been included for server recommendation or not.

", + "UpdateApplicationComponentConfigRequest$inclusionStatus": "

Indicates whether the application component has been included for server recommendation or not.

" + } + }, + "Integer": { + "base": null, + "refs": { + "AntipatternSeveritySummary$count": "

Contains the count of anti-patterns.

", + "ApplicationComponentSummary$count": "

Contains the count of application type.

", + "DataCollectionDetails$failed": "

The number of failed servers in the assessment.

", + "DataCollectionDetails$inProgress": "

The number of servers with the assessment status IN_PROGESS.

", + "DataCollectionDetails$servers": "

The total number of servers in the assessment.

", + "DataCollectionDetails$success": "

The number of successful servers in the assessment.

", + "GetImportFileTaskResponse$numberOfRecordsFailed": "

The number of records that failed to be imported.

", + "GetImportFileTaskResponse$numberOfRecordsSuccess": "

The number of records successfully imported.

", + "ImportFileTaskInformation$numberOfRecordsFailed": "

The number of records that failed to be imported.

", + "ImportFileTaskInformation$numberOfRecordsSuccess": "

The number of records successfully imported.

", + "ListImportFileTaskRequest$maxResults": "

The total number of items to return. The maximum value is 100.

", + "ServerStrategy$numberOfApplicationComponents": "

The number of application components with this strategy recommendation running on the server.

", + "ServerSummary$count": "

Number of servers.

", + "StrategySummary$count": "

The count of recommendations per strategy.

" + } + }, + "InterfaceName": { + "base": null, + "refs": { + "NetworkInfo$interfaceName": "

Information about the name of the interface of the server for which the assessment was run.

" + } + }, + "InternalServerException": { + "base": "

The server experienced an internal error. Try again.

", + "refs": { + } + }, + "ListAntipatternSeveritySummary": { + "base": null, + "refs": { + "ApplicationComponentDetail$listAntipatternSeveritySummary": "

A list of anti-pattern severity summaries.

", + "AssessmentSummary$listAntipatternSeveritySummary": "

List of AntipatternSeveritySummary.

", + "ServerDetail$listAntipatternSeveritySummary": "

A list of anti-pattern severity summaries.

" + } + }, + "ListApplicationComponentSummary": { + "base": null, + "refs": { + "AssessmentSummary$listApplicationComponentSummary": "

List of ApplicationComponentSummary.

" + } + }, + "ListApplicationComponentsRequest": { + "base": null, + "refs": { + } + }, + "ListApplicationComponentsRequestFilterValueString": { + "base": null, + "refs": { + "ListApplicationComponentsRequest$filterValue": "

Specify the value based on the application component criteria type. For example, if applicationComponentCriteria is set to SERVER_ID and filterValue is set to server1, then ListApplicationComponents returns all the application components running on server1.

" + } + }, + "ListApplicationComponentsResponse": { + "base": null, + "refs": { + } + }, + "ListCollectorsRequest": { + "base": null, + "refs": { + } + }, + "ListCollectorsResponse": { + "base": null, + "refs": { + } + }, + "ListImportFileTaskInformation": { + "base": null, + "refs": { + "ListImportFileTaskResponse$taskInfos": "

Lists information about the files you import.

" + } + }, + "ListImportFileTaskRequest": { + "base": null, + "refs": { + } + }, + "ListImportFileTaskResponse": { + "base": null, + "refs": { + } + }, + "ListServerSummary": { + "base": null, + "refs": { + "AssessmentSummary$listServerSummary": "

List of ServerSummary.

" + } + }, + "ListServersRequest": { + "base": null, + "refs": { + } + }, + "ListServersResponse": { + "base": null, + "refs": { + } + }, + "ListStrategySummary": { + "base": null, + "refs": { + "AssessmentSummary$listApplicationComponentStrategySummary": "

List of ApplicationComponentStrategySummary.

", + "AssessmentSummary$listServerStrategySummary": "

List of ServerStrategySummary.

", + "ServerDetail$applicationComponentStrategySummary": "

A list of strategy summaries.

" + } + }, + "Location": { + "base": null, + "refs": { + "SourceCode$location": "

The repository name for the source code.

" + } + }, + "MacAddress": { + "base": null, + "refs": { + "NetworkInfo$macAddress": "

Information about the MAC address of the server for which the assessment was run.

" + } + }, + "ManagementPreference": { + "base": "

Preferences for migrating an application to AWS.

", + "refs": { + "ApplicationPreferences$managementPreference": "

Application preferences that you specify to prefer managed environment.

" + } + }, + "MaxResult": { + "base": null, + "refs": { + "GetServerDetailsRequest$maxResults": "

The maximum number of items to include in the response. The maximum value is 100.

", + "ListApplicationComponentsRequest$maxResults": "

The maximum number of items to include in the response. The maximum value is 100.

", + "ListCollectorsRequest$maxResults": "

The maximum number of items to include in the response. The maximum value is 100.

", + "ListServersRequest$maxResults": "

The maximum number of items to include in the response. The maximum value is 100.

" + } + }, + "NetMask": { + "base": null, + "refs": { + "NetworkInfo$netMask": "

Information about the subnet mask of the server for which the assessment was run.

" + } + }, + "NetworkInfo": { + "base": "

Information about the server's network for which the assessment was run.

", + "refs": { + "NetworkInfoList$member": null + } + }, + "NetworkInfoList": { + "base": null, + "refs": { + "SystemInfo$networkInfoList": "

Networking information related to a server.

" + } + }, + "NextToken": { + "base": null, + "refs": { + "GetServerDetailsRequest$nextToken": "

The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

", + "ListApplicationComponentsRequest$nextToken": "

The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

", + "ListApplicationComponentsResponse$nextToken": "

The token you use to retrieve the next set of results, or null if there are no more results.

", + "ListCollectorsRequest$nextToken": "

The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

", + "ListCollectorsResponse$nextToken": "

The token you use to retrieve the next set of results, or null if there are no more results.

", + "ListServersRequest$nextToken": "

The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

", + "ListServersResponse$nextToken": "

The token you use to retrieve the next set of results, or null if there are no more results.

" + } + }, + "NoDatabaseMigrationPreference": { + "base": "

The object containing details about database migration preferences, when you have no particular preference.

", + "refs": { + "DatabaseMigrationPreference$noPreference": "

Indicated that you do not prefer heterogeneous or homogeneous.

" + } + }, + "NoManagementPreference": { + "base": "

Object containing the choice of application destination that you specify.

", + "refs": { + "ManagementPreference$noPreference": "

No specific preference.

" + } + }, + "NoPreferenceTargetDestination": { + "base": null, + "refs": { + "NoPreferenceTargetDestinations$member": null + } + }, + "NoPreferenceTargetDestinations": { + "base": null, + "refs": { + "NoManagementPreference$targetDestination": "

The choice of application destination that you specify.

" + } + }, + "OSInfo": { + "base": "

Information about the operating system.

", + "refs": { + "SystemInfo$osInfo": "

Operating system corresponding to a server.

" + } + }, + "OSType": { + "base": null, + "refs": { + "OSInfo$type": "

Information about the type of operating system.

" + } + }, + "OSVersion": { + "base": null, + "refs": { + "OSInfo$version": "

Information about the version of operating system.

" + } + }, + "OutputFormat": { + "base": null, + "refs": { + "StartRecommendationReportGenerationRequest$outputFormat": "

The output format for the recommendation report file. The default format is Microsoft Excel.

" + } + }, + "PrioritizeBusinessGoals": { + "base": "

Rank of business goals based on priority.

", + "refs": { + "GetPortfolioPreferencesResponse$prioritizeBusinessGoals": "

The rank of business goals based on priority.

", + "PutPortfolioPreferencesRequest$prioritizeBusinessGoals": "

The rank of the business goals based on priority.

" + } + }, + "PutPortfolioPreferencesRequest": { + "base": null, + "refs": { + } + }, + "PutPortfolioPreferencesResponse": { + "base": null, + "refs": { + } + }, + "RecommendationReportDetails": { + "base": "

Contains detailed information about a recommendation report.

", + "refs": { + "GetRecommendationReportDetailsResponse$recommendationReportDetails": "

Detailed information about the recommendation report.

" + } + }, + "RecommendationReportStatus": { + "base": null, + "refs": { + "RecommendationReportDetails$status": "

The status of the recommendation report generation task.

" + } + }, + "RecommendationReportStatusMessage": { + "base": null, + "refs": { + "RecommendationReportDetails$statusMessage": "

The status message for recommendation report generation.

" + } + }, + "RecommendationReportTimeStamp": { + "base": null, + "refs": { + "RecommendationReportDetails$completionTime": "

The time that the recommendation report generation task completes.

", + "RecommendationReportDetails$startTime": "

The time that the recommendation report generation task starts.

" + } + }, + "RecommendationSet": { + "base": "

Contains a recommendation set.

", + "refs": { + "ApplicationComponentDetail$recommendationSet": "

The top recommendation set for the application component.

", + "ApplicationComponentStrategy$recommendation": "

Strategy recommendation for the application component.

", + "ServerDetail$recommendationSet": "

A set of recommendations.

", + "ServerStrategy$recommendation": "

Strategy recommendation for the server.

" + } + }, + "RecommendationTaskId": { + "base": null, + "refs": { + "GetRecommendationReportDetailsRequest$id": "

The recommendation report generation task id returned by StartRecommendationReportGeneration.

", + "GetRecommendationReportDetailsResponse$id": "

The ID of the recommendation report generation task. See the response of StartRecommendationReportGeneration.

", + "StartRecommendationReportGenerationResponse$id": "

The ID of the recommendation report generation task.

" + } + }, + "ResourceId": { + "base": null, + "refs": { + "ApplicationComponentDetail$id": "

The ID of the application component.

", + "ServerDetail$id": "

The server ID.

" + } + }, + "ResourceName": { + "base": null, + "refs": { + "ApplicationComponentDetail$name": "

The name of application component.

", + "ServerDetail$name": "

The name of the server.

" + } + }, + "ResourceNotFoundException": { + "base": "

The specified ID in the request is not found.

", + "refs": { + } + }, + "ResourceSubType": { + "base": null, + "refs": { + "ApplicationComponentDetail$resourceSubType": "

The application component subtype.

" + } + }, + "RunTimeAssessmentStatus": { + "base": null, + "refs": { + "ServerDetail$dataCollectionStatus": "

The status of assessment for the server.

" + } + }, + "S3Bucket": { + "base": null, + "refs": { + "S3Object$s3Bucket": "

The S3 bucket name.

" + } + }, + "S3Key": { + "base": null, + "refs": { + "S3Object$s3key": "

The Amazon S3 key name.

" + } + }, + "S3Keys": { + "base": null, + "refs": { + "RecommendationReportDetails$s3Keys": "

The Amazon S3 key name of the report file.

" + } + }, + "S3Object": { + "base": "

Contains the S3 bucket name and the Amazon S3 key name.

", + "refs": { + "ApplicationComponentDetail$antipatternReportS3Object": "

The S3 bucket name and the Amazon S3 key name for the anti-pattern report.

", + "AssessmentSummary$antipatternReportS3Object": "

The Amazon S3 object containing the anti-pattern report.

", + "ServerDetail$antipatternReportS3Object": "

The S3 bucket name and Amazon S3 key name for anti-pattern report.

" + } + }, + "SecretsManagerKey": { + "base": null, + "refs": { + "UpdateApplicationComponentConfigRequest$secretsManagerKey": "

Database credentials.

" + } + }, + "SelfManageResources": { + "base": "

Self-managed resources.

", + "refs": { + "ManagementPreference$selfManageResources": "

Indicates interest in managing your own resources on AWS.

" + } + }, + "SelfManageTargetDestination": { + "base": null, + "refs": { + "SelfManageTargetDestinations$member": null + } + }, + "SelfManageTargetDestinations": { + "base": null, + "refs": { + "SelfManageResources$targetDestination": "

Self-managed resources target destination.

" + } + }, + "ServerCriteria": { + "base": null, + "refs": { + "ListServersRequest$serverCriteria": "

Criteria for filtering servers.

" + } + }, + "ServerDetail": { + "base": "

Detailed information about a server.

", + "refs": { + "GetServerDetailsResponse$serverDetail": "

Detailed information about the server.

", + "ServerDetails$member": null + } + }, + "ServerDetails": { + "base": null, + "refs": { + "ListServersResponse$serverInfos": "

The list of servers with detailed information about each server.

" + } + }, + "ServerId": { + "base": null, + "refs": { + "ApplicationComponentDetail$associatedServerId": "

The ID of the server that the application component is running on.

", + "GetServerDetailsRequest$serverId": "

The ID of the server.

", + "GetServerStrategiesRequest$serverId": "

The ID of the server.

", + "UpdateServerConfigRequest$serverId": "

The ID of the server.

" + } + }, + "ServerOsType": { + "base": null, + "refs": { + "ServerSummary$ServerOsType": "

Type of operating system for the servers.

" + } + }, + "ServerStrategies": { + "base": null, + "refs": { + "GetServerStrategiesResponse$serverStrategies": "

A list of strategy recommendations for the server.

" + } + }, + "ServerStrategy": { + "base": "

Contains information about a strategy recommendation for a server.

", + "refs": { + "ServerStrategies$member": null + } + }, + "ServerSummary": { + "base": "

Object containing details about the servers imported by Application Discovery Service

", + "refs": { + "ListServerSummary$member": null + } + }, + "ServiceLinkedRoleLockClientException": { + "base": "

Exception to indicate that the service-linked role (SLR) is locked.

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

The AWS account has reached its quota of imports. Contact AWS Support to increase the quota for this account.

", + "refs": { + } + }, + "Severity": { + "base": null, + "refs": { + "AntipatternSeveritySummary$severity": "

Contains the severity of anti-patterns.

" + } + }, + "SortOrder": { + "base": null, + "refs": { + "ListApplicationComponentsRequest$sort": "

Specifies whether to sort by ascending (ASC) or descending (DESC) order.

", + "ListServersRequest$sort": "

Specifies whether to sort by ascending (ASC) or descending (DESC) order.

" + } + }, + "SourceCode": { + "base": "

Object containing source code information that is linked to an application component.

", + "refs": { + "SourceCodeList$member": null + } + }, + "SourceCodeList": { + "base": null, + "refs": { + "UpdateApplicationComponentConfigRequest$sourceCodeList": "

The list of source code configurations to update for the application component.

" + } + }, + "SourceCodeRepositories": { + "base": null, + "refs": { + "ApplicationComponentDetail$sourceCodeRepositories": "

Details about the source code repository associated with the application component.

" + } + }, + "SourceCodeRepository": { + "base": "

Object containing source code information that is linked to an application component.

", + "refs": { + "SourceCodeRepositories$member": null + } + }, + "SourceVersion": { + "base": null, + "refs": { + "SourceCode$sourceVersion": "

The branch of the source code.

" + } + }, + "SrcCodeOrDbAnalysisStatus": { + "base": null, + "refs": { + "ApplicationComponentDetail$analysisStatus": "

The status of analysis, if the application component has source code or an associated database.

" + } + }, + "StartAssessmentRequest": { + "base": null, + "refs": { + } + }, + "StartAssessmentRequestS3bucketForAnalysisDataString": { + "base": null, + "refs": { + "StartAssessmentRequest$s3bucketForAnalysisData": "

The S3 bucket used by the collectors to send analysis data to the service. The bucket name must begin with migrationhub-strategy-.

" + } + }, + "StartAssessmentRequestS3bucketForReportDataString": { + "base": null, + "refs": { + "StartAssessmentRequest$s3bucketForReportData": "

The S3 bucket where all the reports generated by the service are stored. The bucket name must begin with migrationhub-strategy-.

" + } + }, + "StartAssessmentResponse": { + "base": null, + "refs": { + } + }, + "StartImportFileTaskRequest": { + "base": null, + "refs": { + } + }, + "StartImportFileTaskRequestNameString": { + "base": null, + "refs": { + "StartImportFileTaskRequest$name": "

A descriptive name for the request.

" + } + }, + "StartImportFileTaskRequestS3bucketForReportDataString": { + "base": null, + "refs": { + "StartImportFileTaskRequest$s3bucketForReportData": "

The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.

" + } + }, + "StartImportFileTaskResponse": { + "base": null, + "refs": { + } + }, + "StartRecommendationReportGenerationRequest": { + "base": null, + "refs": { + } + }, + "StartRecommendationReportGenerationResponse": { + "base": null, + "refs": { + } + }, + "StatusMessage": { + "base": null, + "refs": { + "ApplicationComponentDetail$antipatternReportStatusMessage": "

The status message for the anti-pattern.

", + "ApplicationComponentDetail$statusMessage": "

A detailed description of the analysis status and any failure message.

", + "AssessmentSummary$antipatternReportStatusMessage": "

The status message of the anti-pattern report.

", + "ServerDetail$antipatternReportStatusMessage": "

A message about the status of the anti-pattern report generation.

", + "ServerDetail$statusMessage": "

A message about the status of data collection, which contains detailed descriptions of any error messages.

" + } + }, + "StopAssessmentRequest": { + "base": null, + "refs": { + } + }, + "StopAssessmentResponse": { + "base": null, + "refs": { + } + }, + "Strategy": { + "base": null, + "refs": { + "RecommendationSet$strategy": "

The recommended strategy.

", + "StrategyOption$strategy": "

Type of transformation. For example, Rehost, Replatform, and so on.

", + "StrategySummary$strategy": "

The name of recommended strategy.

" + } + }, + "StrategyOption": { + "base": "

Information about all the available strategy options for migrating and modernizing an application component.

", + "refs": { + "UpdateApplicationComponentConfigRequest$strategyOption": "

The preferred strategy options for the application component. Use values from the GetApplicationComponentStrategies response.

", + "UpdateServerConfigRequest$strategyOption": "

The preferred strategy options for the application component. See the response from GetServerStrategies.

" + } + }, + "StrategyRecommendation": { + "base": null, + "refs": { + "ApplicationComponentStrategy$status": "

The recommendation status of a strategy for an application component.

", + "ServerStrategy$status": "

The recommendation status of the strategy for the server.

" + } + }, + "StrategySummary": { + "base": "

Object containing the summary of the strategy recommendations.

", + "refs": { + "ListStrategySummary$member": null + } + }, + "String": { + "base": null, + "refs": { + "AccessDeniedException$message": null, + "ApplicationComponentDetail$osDriver": "

OS driver.

", + "ApplicationComponentDetail$osVersion": "

OS version.

", + "AssociatedApplication$id": "

ID of the application as defined in Application Discovery Service.

", + "AssociatedApplication$name": "

Name of the application as defined in Application Discovery Service.

", + "AssociatedServerIDs$member": null, + "Collector$collectorId": "

The ID of the collector.

", + "Collector$collectorVersion": "

Current version of the collector that is running in the environment that you specify.

", + "Collector$hostName": "

Hostname of the server that is hosting the collector.

", + "Collector$ipAddress": "

IP address of the server that is hosting the collector.

", + "Collector$lastActivityTimeStamp": "

Time when the collector last pinged the service.

", + "Collector$registeredTimeStamp": "

Time when the collector registered with the service.

", + "ConflictException$message": null, + "DatabaseConfigDetail$secretName": "

AWS Secrets Manager key that holds the credentials that you use to connect to a database.

", + "GetImportFileTaskRequest$id": "

The ID of the import file task. This ID is returned in the response of StartImportFileTask.

", + "GetImportFileTaskResponse$id": "

The import file task id returned in the response of StartImportFileTask.

", + "GetImportFileTaskResponse$importName": "

The name of the import task given in StartImportFileTask.

", + "GetServerDetailsResponse$nextToken": "

The token you use to retrieve the next set of results, or null if there are no more results.

", + "Group$value": "

The value of the specific import group.

", + "ImportFileTaskInformation$id": "

The ID of the import file task.

", + "ImportFileTaskInformation$importName": "

The name of the import task given in StartImportFileTask.

", + "ListImportFileTaskRequest$nextToken": "

The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

", + "ListImportFileTaskResponse$nextToken": "

The token you use to retrieve the next set of results, or null if there are no more results.

", + "ListServersRequest$filterValue": "

Specifies the filter value, which is based on the type of server criteria. For example, if serverCriteria is OS_NAME, and the filterValue is equal to WindowsServer, then ListServers returns all of the servers matching the OS name WindowsServer.

", + "RecommendationReportDetails$s3Bucket": "

The S3 bucket where the report file is located.

", + "S3Keys$member": null, + "ServerDetail$serverType": "

The type of server.

", + "ServiceQuotaExceededException$message": null, + "SourceCodeRepository$branch": "

The branch of the source code.

", + "SourceCodeRepository$repository": "

The repository name for the source code.

", + "SourceCodeRepository$versionControlType": "

The type of repository to use for the source code.

", + "StartImportFileTaskRequest$s3key": "

The Amazon S3 key name of the import file.

", + "StartImportFileTaskResponse$id": "

The ID for a specific import task. The ID is unique within an AWS account.

", + "SystemInfo$cpuArchitecture": "

CPU architecture type for the server.

", + "SystemInfo$fileSystemType": "

File system type for the server.

" + } + }, + "SystemInfo": { + "base": "

Information about the server that hosts application components.

", + "refs": { + "ServerDetail$systemInfo": "

System information about the server.

" + } + }, + "TargetDatabaseEngine": { + "base": null, + "refs": { + "TargetDatabaseEngines$member": null + } + }, + "TargetDatabaseEngines": { + "base": null, + "refs": { + "NoDatabaseMigrationPreference$targetDatabaseEngine": "

The target database engine for database migration preference that you specify.

" + } + }, + "TargetDestination": { + "base": null, + "refs": { + "RecommendationSet$targetDestination": "

The recommended target destination.

", + "StrategyOption$targetDestination": "

Destination information about where the application component can migrate to. For example, EC2, ECS, and so on.

" + } + }, + "ThrottlingException": { + "base": "

The request was denied due to request throttling.

", + "refs": { + } + }, + "TimeStamp": { + "base": null, + "refs": { + "ApplicationComponentDetail$lastAnalyzedTimestamp": "

The timestamp of when the application component was assessed.

", + "AssessmentSummary$lastAnalyzedTimestamp": "

The time the assessment was performed.

", + "DataCollectionDetails$completionTime": "

The time the assessment completes.

", + "DataCollectionDetails$startTime": "

The start time of assessment.

", + "GetImportFileTaskResponse$completionTime": "

The time that the import task completed.

", + "GetImportFileTaskResponse$startTime": "

Start time of the import task.

", + "ImportFileTaskInformation$completionTime": "

The time that the import task completes.

", + "ImportFileTaskInformation$startTime": "

Start time of the import task.

", + "ServerDetail$lastAnalyzedTimestamp": "

The timestamp of when the server was assessed.

" + } + }, + "TranformationToolDescription": { + "base": null, + "refs": { + "TransformationTool$description": "

Description of the tool.

" + } + }, + "TranformationToolInstallationLink": { + "base": null, + "refs": { + "TransformationTool$tranformationToolInstallationLink": "

URL for installing the tool.

" + } + }, + "TransformationTool": { + "base": "

Information of the transformation tool that can be used to migrate and modernize the application.

", + "refs": { + "RecommendationSet$transformationTool": "

The target destination for the recommendation set.

" + } + }, + "TransformationToolName": { + "base": null, + "refs": { + "StrategyOption$toolName": "

The name of the tool that can be used to transform an application component using this strategy.

", + "TransformationTool$name": "

Name of the tool.

" + } + }, + "UpdateApplicationComponentConfigRequest": { + "base": null, + "refs": { + } + }, + "UpdateApplicationComponentConfigResponse": { + "base": null, + "refs": { + } + }, + "UpdateServerConfigRequest": { + "base": null, + "refs": { + } + }, + "UpdateServerConfigResponse": { + "base": null, + "refs": { + } + }, + "ValidationException": { + "base": "

The request body isn't valid.

", + "refs": { + } + }, + "VersionControl": { + "base": null, + "refs": { + "SourceCode$versionControl": "

The type of repository to use for the source code.

" + } + }, + "errorMessage": { + "base": null, + "refs": { + "InternalServerException$message": null, + "ResourceNotFoundException$message": null, + "ServiceLinkedRoleLockClientException$message": null, + "ThrottlingException$message": null, + "ValidationException$message": null + } + }, + "importS3Bucket": { + "base": null, + "refs": { + "GetImportFileTaskResponse$inputS3Bucket": "

The S3 bucket where import file is located.

", + "GetImportFileTaskResponse$statusReportS3Bucket": "

The S3 bucket name for status report of import task.

", + "ImportFileTaskInformation$inputS3Bucket": "

The S3 bucket where the import file is located.

", + "ImportFileTaskInformation$statusReportS3Bucket": "

The S3 bucket name for status report of import task.

", + "StartImportFileTaskRequest$S3Bucket": "

The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.

" + } + }, + "importS3Key": { + "base": null, + "refs": { + "GetImportFileTaskResponse$inputS3Key": "

The Amazon S3 key name of the import file.

", + "GetImportFileTaskResponse$statusReportS3Key": "

The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.

", + "ImportFileTaskInformation$inputS3Key": "

The Amazon S3 key name of the import file.

", + "ImportFileTaskInformation$statusReportS3Key": "

The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.

" + } + } + } +} diff --git a/models/apis/migrationhubstrategy/2020-02-19/examples-1.json b/models/apis/migrationhubstrategy/2020-02-19/examples-1.json new file mode 100644 index 00000000000..0ea7e3b0bbe --- /dev/null +++ b/models/apis/migrationhubstrategy/2020-02-19/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/migrationhubstrategy/2020-02-19/paginators-1.json b/models/apis/migrationhubstrategy/2020-02-19/paginators-1.json new file mode 100644 index 00000000000..5f446456d51 --- /dev/null +++ b/models/apis/migrationhubstrategy/2020-02-19/paginators-1.json @@ -0,0 +1,34 @@ +{ + "pagination": { + "GetServerDetails": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "associatedApplications" + }, + "ListApplicationComponents": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "applicationComponentInfos" + }, + "ListCollectors": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "Collectors" + }, + "ListImportFileTask": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "taskInfos" + }, + "ListServers": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "serverInfos" + } + } +} diff --git a/models/apis/ssm/2014-11-06/api-2.json b/models/apis/ssm/2014-11-06/api-2.json index 8141b523a36..fec3126eaa9 100644 --- a/models/apis/ssm/2014-11-06/api-2.json +++ b/models/apis/ssm/2014-11-06/api-2.json @@ -7156,6 +7156,12 @@ "max":50, "min":5 }, + "MaxSessionDuration":{ + "type":"string", + "max":4, + "min":1, + "pattern":"^([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1[0-4][0-3][0-9]|1440)$" + }, "MetadataKey":{ "type":"string", "max":256, @@ -9371,8 +9377,10 @@ "EndDate":{"shape":"DateTime"}, "DocumentName":{"shape":"DocumentName"}, "Owner":{"shape":"SessionOwner"}, + "Reason":{"shape":"SessionReason"}, "Details":{"shape":"SessionDetails"}, - "OutputUrl":{"shape":"SessionManagerOutputUrl"} + "OutputUrl":{"shape":"SessionManagerOutputUrl"}, + "MaxSessionDuration":{"shape":"MaxSessionDuration"} } }, "SessionDetails":{ @@ -9468,6 +9476,12 @@ "max":256, "min":1 }, + "SessionReason":{ + "type":"string", + "max":256, + "min":1, + "pattern":"^.{1,256}$" + }, "SessionState":{ "type":"string", "enum":[ @@ -9609,6 +9623,7 @@ "members":{ "Target":{"shape":"SessionTarget"}, "DocumentName":{"shape":"DocumentARN"}, + "Reason":{"shape":"SessionReason"}, "Parameters":{"shape":"SessionManagerParameters"} } }, diff --git a/models/apis/ssm/2014-11-06/docs-2.json b/models/apis/ssm/2014-11-06/docs-2.json index 326fba5f684..36428e22bf9 100644 --- a/models/apis/ssm/2014-11-06/docs-2.json +++ b/models/apis/ssm/2014-11-06/docs-2.json @@ -4650,6 +4650,12 @@ "DescribeInstanceInformationRequest$MaxResults": "

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

" } }, + "MaxSessionDuration": { + "base": null, + "refs": { + "Session$MaxSessionDuration": "

The maximum duration of a session before it terminates.

" + } + }, "MetadataKey": { "base": null, "refs": { @@ -5696,7 +5702,7 @@ "ParameterStringFilterKey": { "base": null, "refs": { - "ParameterStringFilter$Key": "

The name of the filter.

The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API operations. However, not all of the pattern values listed for Key can be used with both operations.

For DescribeActions, all of the listed patterns are valid except Label.

For GetParametersByPath, the following patterns listed for Key aren't valid: tag, DataType, Name, Path, and Tier.

For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see Searching for Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.

" + "ParameterStringFilter$Key": "

The name of the filter.

The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API operations. However, not all of the pattern values listed for Key can be used with both operations.

For DescribeParameters, all of the listed patterns are valid except Label.

For GetParametersByPath, the following patterns listed for Key aren't valid: tag, DataType, Name, Path, and Tier.

For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see Searching for Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.

" } }, "ParameterStringFilterList": { @@ -7115,6 +7121,13 @@ "Session$Owner": "

The ID of the Amazon Web Services user account that started the session.

" } }, + "SessionReason": { + "base": null, + "refs": { + "Session$Reason": "

The reason for connecting to the instance.

", + "StartSessionRequest$Reason": "

The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.

" + } + }, "SessionState": { "base": null, "refs": { diff --git a/models/apis/transfer/2018-11-05/api-2.json b/models/apis/transfer/2018-11-05/api-2.json index 4ca68592273..eba501236f6 100644 --- a/models/apis/transfer/2018-11-05/api-2.json +++ b/models/apis/transfer/2018-11-05/api-2.json @@ -1050,6 +1050,12 @@ } }, "Fips":{"type":"boolean"}, + "Function":{ + "type":"string", + "max":170, + "min":1, + "pattern":"^arn:[a-z-]+:lambda:.*$" + }, "HomeDirectory":{ "type":"string", "max":1024, @@ -1090,7 +1096,8 @@ "members":{ "Url":{"shape":"Url"}, "InvocationRole":{"shape":"Role"}, - "DirectoryId":{"shape":"DirectoryId"} + "DirectoryId":{"shape":"DirectoryId"}, + "Function":{"shape":"Function"} } }, "IdentityProviderType":{ @@ -1098,7 +1105,8 @@ "enum":[ "SERVICE_MANAGED", "API_GATEWAY", - "AWS_DIRECTORY_SERVICE" + "AWS_DIRECTORY_SERVICE", + "AWS_LAMBDA" ] }, "ImportSshPublicKeyRequest":{ diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json index 012f79fed4a..38bb49cca28 100644 --- a/models/apis/transfer/2018-11-05/docs-2.json +++ b/models/apis/transfer/2018-11-05/docs-2.json @@ -419,6 +419,12 @@ "DescribedSecurityPolicy$Fips": "

Specifies whether this policy enables Federal Information Processing Standards (FIPS).

" } }, + "Function": { + "base": null, + "refs": { + "IdentityProviderDetails$Function": "

The ARN for a lambda function to use for the Identity provider.

" + } + }, "HomeDirectory": { "base": null, "refs": { @@ -486,9 +492,9 @@ "IdentityProviderType": { "base": "

Returns information related to the type of user authentication that is in use for a file transfer protocol-enabled server's users. For AWS_DIRECTORY_SERVICE or SERVICE_MANAGED authentication, the Secure Shell (SSH) public keys are stored with a user on the server instance. For API_GATEWAY authentication, your custom authentication method is implemented by using an API call. The server can have only one method of authentication.

", "refs": { - "CreateServerRequest$IdentityProviderType": "

Specifies the mode of authentication for a server. The default value is SERVICE_MANAGED, which allows you to store and access user credentials within the Amazon Web Services Transfer Family service.

Use AWS_DIRECTORY_SERVICE to provide access to Active Directory groups in Amazon Web Services Managed Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connectors. This option also requires you to provide a Directory ID using the IdentityProviderDetails parameter.

Use the API_GATEWAY value to integrate with an identity provider of your choosing. The API_GATEWAY setting requires you to provide an API Gateway endpoint URL to call for authentication using the IdentityProviderDetails parameter.

", - "DescribedServer$IdentityProviderType": "

Specifies the mode of authentication for a server. The default value is SERVICE_MANAGED, which allows you to store and access user credentials within the Amazon Web Services Transfer Family service.

Use AWS_DIRECTORY_SERVICE to provide access to Active Directory groups in Amazon Web Services Managed Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connectors. This option also requires you to provide a Directory ID using the IdentityProviderDetails parameter.

Use the API_GATEWAY value to integrate with an identity provider of your choosing. The API_GATEWAY setting requires you to provide an API Gateway endpoint URL to call for authentication using the IdentityProviderDetails parameter.

", - "ListedServer$IdentityProviderType": "

Specifies the mode of authentication for a server. The default value is SERVICE_MANAGED, which allows you to store and access user credentials within the Amazon Web Services Transfer Family service.

Use AWS_DIRECTORY_SERVICE to provide access to Active Directory groups in Amazon Web Services Managed Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connectors. This option also requires you to provide a Directory ID using the IdentityProviderDetails parameter.

Use the API_GATEWAY value to integrate with an identity provider of your choosing. The API_GATEWAY setting requires you to provide an API Gateway endpoint URL to call for authentication using the IdentityProviderDetails parameter.

" + "CreateServerRequest$IdentityProviderType": "

Specifies the mode of authentication for a server. The default value is SERVICE_MANAGED, which allows you to store and access user credentials within the Amazon Web Services Transfer Family service.

Use AWS_DIRECTORY_SERVICE to provide access to Active Directory groups in Amazon Web Services Managed Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connectors. This option also requires you to provide a Directory ID using the IdentityProviderDetails parameter.

Use the API_GATEWAY value to integrate with an identity provider of your choosing. The API_GATEWAY setting requires you to provide an API Gateway endpoint URL to call for authentication using the IdentityProviderDetails parameter.

Use the LAMBDA value to directly use a Lambda function as your identity provider. If you choose this value, you must specify the ARN for the lambda function in the Function parameter for the IdentityProviderDetails data type.

", + "DescribedServer$IdentityProviderType": "

Specifies the mode of authentication for a server. The default value is SERVICE_MANAGED, which allows you to store and access user credentials within the Amazon Web Services Transfer Family service.

Use AWS_DIRECTORY_SERVICE to provide access to Active Directory groups in Amazon Web Services Managed Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connectors. This option also requires you to provide a Directory ID using the IdentityProviderDetails parameter.

Use the API_GATEWAY value to integrate with an identity provider of your choosing. The API_GATEWAY setting requires you to provide an API Gateway endpoint URL to call for authentication using the IdentityProviderDetails parameter.

Use the LAMBDA value to directly use a Lambda function as your identity provider. If you choose this value, you must specify the ARN for the lambda function in the Function parameter for the IdentityProviderDetails data type.

", + "ListedServer$IdentityProviderType": "

Specifies the mode of authentication for a server. The default value is SERVICE_MANAGED, which allows you to store and access user credentials within the Amazon Web Services Transfer Family service.

Use AWS_DIRECTORY_SERVICE to provide access to Active Directory groups in Amazon Web Services Managed Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connectors. This option also requires you to provide a Directory ID using the IdentityProviderDetails parameter.

Use the API_GATEWAY value to integrate with an identity provider of your choosing. The API_GATEWAY setting requires you to provide an API Gateway endpoint URL to call for authentication using the IdentityProviderDetails parameter.

Use the LAMBDA value to directly use a Lambda function as your identity provider. If you choose this value, you must specify the ARN for the lambda function in the Function parameter for the IdentityProviderDetails data type.

" } }, "ImportSshPublicKeyRequest": { diff --git a/models/apis/wafv2/2019-07-29/api-2.json b/models/apis/wafv2/2019-07-29/api-2.json index b9c6079e9b9..d1365c580ef 100755 --- a/models/apis/wafv2/2019-07-29/api-2.json +++ b/models/apis/wafv2/2019-07-29/api-2.json @@ -593,7 +593,8 @@ {"shape":"WAFServiceLinkedRoleErrorException"}, {"shape":"WAFInvalidParameterException"}, {"shape":"WAFInvalidOperationException"}, - {"shape":"WAFLimitsExceededException"} + {"shape":"WAFLimitsExceededException"}, + {"shape":"WAFLogDestinationPermissionIssueException"} ] }, "PutManagedRuleSetVersions":{ @@ -1886,8 +1887,7 @@ }, "IPAddresses":{ "type":"list", - "member":{"shape":"IPAddress"}, - "min":1 + "member":{"shape":"IPAddress"} }, "IPSet":{ "type":"structure", @@ -2442,7 +2442,8 @@ "FILTER_CONDITION", "EXPIRE_TIMESTAMP", "CHANGE_PROPAGATION_STATUS", - "ASSOCIABLE_RESOURCE" + "ASSOCIABLE_RESOURCE", + "LOG_DESTINATION" ] }, "ParameterExceptionParameter":{ @@ -3244,6 +3245,13 @@ }, "exception":true }, + "WAFLogDestinationPermissionIssueException":{ + "type":"structure", + "members":{ + "Message":{"shape":"ErrorMessage"} + }, + "exception":true + }, "WAFNonexistentItemException":{ "type":"structure", "members":{ diff --git a/models/apis/wafv2/2019-07-29/docs-2.json b/models/apis/wafv2/2019-07-29/docs-2.json index cc8a3dddaef..4a0e511edae 100755 --- a/models/apis/wafv2/2019-07-29/docs-2.json +++ b/models/apis/wafv2/2019-07-29/docs-2.json @@ -37,7 +37,7 @@ "ListRuleGroups": "

Retrieves an array of RuleGroupSummary objects for the rule groups that you manage.

", "ListTagsForResource": "

Retrieves the TagInfoForResource for the specified resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.

You can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF console.

", "ListWebACLs": "

Retrieves an array of WebACLSummary objects for the web ACLs that you manage.

", - "PutLoggingConfiguration": "

Enables the specified LoggingConfiguration, to start logging from a web ACL, according to the configuration provided.

You can access information about all traffic that WAF inspects using the following steps:

  1. Create an Amazon Kinesis Data Firehose.

    Create the data firehose with a PUT source and in the Region that you are operating. If you are capturing logs for Amazon CloudFront, always create the firehose in US East (N. Virginia).

    Give the data firehose a name that starts with the prefix aws-waf-logs-. For example, aws-waf-logs-us-east-2-analytics.

    Do not create the data firehose using a Kinesis stream as your source.

  2. Associate that firehose to your web ACL using a PutLoggingConfiguration request.

When you successfully enable logging using a PutLoggingConfiguration request, WAF will create a service linked role with the necessary permissions to write logs to the Amazon Kinesis Data Firehose. For more information, see Logging Web ACL Traffic Information in the WAF Developer Guide.

This operation completely replaces the mutable specifications that you already have for the logging configuration with the ones that you provide to this call. To modify the logging configuration, retrieve it by calling GetLoggingConfiguration, update the settings as needed, and then provide the complete logging configuration specification to this call.

", + "PutLoggingConfiguration": "

Enables the specified LoggingConfiguration, to start logging from a web ACL, according to the configuration provided.

You can access information about all traffic that WAF inspects using the following steps:

  1. Create your logging destination. You can use an Amazon CloudWatch Logs log group, an Amazon Simple Storage Service (Amazon S3) bucket, or an Amazon Kinesis Data Firehose. For information about configuring logging destinations and the permissions that are required for each, see Logging web ACL traffic information in the WAF Developer Guide.

  2. Associate your logging destination to your web ACL using a PutLoggingConfiguration request.

When you successfully enable logging using a PutLoggingConfiguration request, WAF creates an additional role or policy that is required to write logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group. For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.

This operation completely replaces the mutable specifications that you already have for the logging configuration with the ones that you provide to this call. To modify the logging configuration, retrieve it by calling GetLoggingConfiguration, update the settings as needed, and then provide the complete logging configuration specification to this call.

", "PutManagedRuleSetVersions": "

Defines the versions of your managed rule set that you are offering to the customers. Customers see your offerings as managed rule groups with versioning.

This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers.

Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are ListManagedRuleSets, GetManagedRuleSet, PutManagedRuleSetVersions, and UpdateManagedRuleSetVersionExpiryDate.

Customers retrieve their managed rule group list by calling ListAvailableManagedRuleGroups. The name that you provide here for your managed rule set is the name the customer sees for the corresponding managed rule group. Customers can retrieve the available versions for a managed rule group by calling ListAvailableManagedRuleGroupVersions. You provide a rule group specification for each version. For each managed rule set, you must specify a version that you recommend using.

To initiate the expiration of a managed rule group version, use UpdateManagedRuleSetVersionExpiryDate.

", "PutPermissionPolicy": "

Attaches an IAM policy to the specified resource. Use this to share a rule group across accounts.

You must be the owner of the rule group to perform this operation.

This action is subject to the following restrictions:

", "TagResource": "

Associates tags with the specified Amazon Web Services resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to \"customer\" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.

You can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF console.

", @@ -535,6 +535,7 @@ "WAFInvalidPermissionPolicyException$Message": null, "WAFInvalidResourceException$Message": null, "WAFLimitsExceededException$Message": null, + "WAFLogDestinationPermissionIssueException$Message": null, "WAFNonexistentItemException$Message": null, "WAFOptimisticLockException$Message": null, "WAFServiceLinkedRoleErrorException$message": null, @@ -1111,11 +1112,11 @@ "LogDestinationConfigs": { "base": null, "refs": { - "LoggingConfiguration$LogDestinationConfigs": "

The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want to associate with the web ACL.

" + "LoggingConfiguration$LogDestinationConfigs": "

The Amazon Resource Names (ARNs) of the logging destinations that you want to associate with the web ACL.

" } }, "LoggingConfiguration": { - "base": "

Defines an association between Amazon Kinesis Data Firehose destinations and a web ACL resource, for logging from WAF. As part of the association, you can specify parts of the standard logging fields to keep out of the logs and you can specify filters so that you log only a subset of the logging records.

", + "base": "

Defines an association between logging destinations and a web ACL resource, for logging from WAF. As part of the association, you can specify parts of the standard logging fields to keep out of the logs and you can specify filters so that you log only a subset of the logging records.

For information about configuring web ACL logging destinations, see Logging web ACL traffic information in the WAF Developer Guide.

", "refs": { "GetLoggingConfigurationResponse$LoggingConfiguration": "

The LoggingConfiguration for the specified web ACL.

", "LoggingConfigurations$member": null, @@ -1366,7 +1367,7 @@ "RedactedFields": { "base": null, "refs": { - "LoggingConfiguration$RedactedFields": "

The parts of the request that you want to keep out of the logs. For example, if you redact the SingleHeader field, the HEADER field in the firehose will be xxx.

You can specify only the following fields for redaction: UriPath, QueryString, SingleHeader, Method, and JsonBody.

" + "LoggingConfiguration$RedactedFields": "

The parts of the request that you want to keep out of the logs. For example, if you redact the SingleHeader field, the HEADER field in the logs will be xxx.

You can specify only the following fields for redaction: UriPath, QueryString, SingleHeader, Method, and JsonBody.

" } }, "Regex": { @@ -1963,6 +1964,11 @@ "refs": { } }, + "WAFLogDestinationPermissionIssueException": { + "base": "

The operation failed because you don't have the permissions that your logging configuration requires. For information, see Logging web ACL traffic information in the WAF Developer Guide.

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

WAF couldn’t perform the operation because your resource doesn’t exist.

", "refs": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index cf4cedd3e7e..e0947fa5273 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -7396,6 +7396,17 @@ "us-west-2" : { } } }, + "migrationhub-strategy" : { + "endpoints" : { + "ap-northeast-1" : { }, + "ap-southeast-2" : { }, + "eu-central-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "us-east-1" : { }, + "us-west-2" : { } + } + }, "mobileanalytics" : { "endpoints" : { "us-east-1" : { } diff --git a/service/appstream/api.go b/service/appstream/api.go index 5d927ca98c4..4daadaf2fe8 100644 --- a/service/appstream/api.go +++ b/service/appstream/api.go @@ -2853,6 +2853,9 @@ func (c *AppStream) DescribeUsersRequest(input *DescribeUsersInput) (req *reques // * InvalidParameterCombinationException // Indicates an incorrect combination of parameters, or a missing parameter. // +// * OperationNotPermittedException +// The attempted operation is not permitted. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers func (c *AppStream) DescribeUsers(input *DescribeUsersInput) (*DescribeUsersOutput, error) { req, out := c.DescribeUsersRequest(input) @@ -13774,6 +13777,9 @@ const ( // PlatformTypeWindowsServer2019 is a PlatformType enum value PlatformTypeWindowsServer2019 = "WINDOWS_SERVER_2019" + + // PlatformTypeAmazonLinux2 is a PlatformType enum value + PlatformTypeAmazonLinux2 = "AMAZON_LINUX2" ) // PlatformType_Values returns all elements of the PlatformType enum @@ -13782,6 +13788,7 @@ func PlatformType_Values() []string { PlatformTypeWindows, PlatformTypeWindowsServer2016, PlatformTypeWindowsServer2019, + PlatformTypeAmazonLinux2, } } diff --git a/service/databasemigrationservice/api.go b/service/databasemigrationservice/api.go index 36bfc7e59e6..9a0507fa808 100644 --- a/service/databasemigrationservice/api.go +++ b/service/databasemigrationservice/api.go @@ -463,7 +463,7 @@ func (c *DatabaseMigrationService) CreateEventSubscriptionRequest(input *CreateE // doesn't have access to. // // * KMSDisabledFault -// The specified master key (CMK) isn't enabled. +// The specified KMS key isn't enabled. // // * KMSInvalidStateFault // The state of the specified KMS resource isn't valid for this request. @@ -3587,7 +3587,7 @@ func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsReque // // For more information about DMS task assessments, see Creating a task assessment // report (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html) -// in the Database Migration Service User Guide (https://docs.aws.amazon.com/https:/docs.aws.amazon.com/dms/latest/userguide/Welcome.html). +// in the Database Migration Service User 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 @@ -4720,7 +4720,7 @@ func (c *DatabaseMigrationService) ModifyEventSubscriptionRequest(input *ModifyE // doesn't have access to. // // * KMSDisabledFault -// The specified master key (CMK) isn't enabled. +// The specified KMS key isn't enabled. // // * KMSInvalidStateFault // The state of the specified KMS resource isn't valid for this request. @@ -5734,7 +5734,7 @@ func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRunRequest(inpu // doesn't have access to. // // * KMSDisabledFault -// The specified master key (CMK) isn't enabled. +// The specified KMS key isn't enabled. // // * KMSFault // An Key Management Service (KMS) error is preventing access to KMS. @@ -6409,7 +6409,8 @@ type Certificate struct { // The contents of a .pem file, which contains an X.509 certificate. CertificatePem *string `type:"string"` - // The location of an imported Oracle Wallet certificate for use with SSL. + // The location of an imported Oracle Wallet certificate for use with SSL. Example: + // filebase64("${path.root}/rds-ca-2019-root.sso") // CertificateWallet is automatically base64 encoded/decoded by the SDK. CertificateWallet []byte `type:"blob"` @@ -6627,9 +6628,9 @@ type CreateEndpointInput struct { // in the Database Migration Service User Guide. DynamoDbSettings *DynamoDbSettings `type:"structure"` - // Settings in JSON format for the target Elasticsearch endpoint. For more information + // Settings in JSON format for the target OpenSearch endpoint. For more information // about the available settings, see Extra Connection Attributes When Using - // Elasticsearch as a Target for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration) + // OpenSearch as a Target for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration) // in the Database Migration Service User Guide. ElasticsearchSettings *ElasticsearchSettings `type:"structure"` @@ -6647,8 +6648,8 @@ type CreateEndpointInput struct { // The type of engine for the endpoint. Valid values, depending on the EndpointType // value, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", - // "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", - // "kafka", "elasticsearch", "docdb", "sqlserver", and "neptune". + // "opensearch", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", + // "kinesis", "kafka", "elasticsearch", "docdb", "sqlserver", and "neptune". // // EngineName is a required field EngineName *string `type:"string" required:"true"` @@ -6664,6 +6665,9 @@ type CreateEndpointInput struct { // in the Database Migration Service User Guide. ExtraConnectionAttributes *string `type:"string"` + // Settings in JSON format for the source GCP MySQL endpoint. + GcpMySQLSettings *GcpMySQLSettings `type:"structure"` + // Settings in JSON format for the source IBM Db2 LUW endpoint. For information // about other available settings, see Extra connection attributes when using // Db2 LUW as a source for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.html#CHAP_Source.DB2.ConnectionAttrib) @@ -6916,6 +6920,12 @@ func (s *CreateEndpointInput) SetExtraConnectionAttributes(v string) *CreateEndp return s } +// SetGcpMySQLSettings sets the GcpMySQLSettings field's value. +func (s *CreateEndpointInput) SetGcpMySQLSettings(v *GcpMySQLSettings) *CreateEndpointInput { + s.GcpMySQLSettings = v + return s +} + // SetIBMDb2Settings sets the IBMDb2Settings field's value. func (s *CreateEndpointInput) SetIBMDb2Settings(v *IBMDb2Settings) *CreateEndpointInput { s.IBMDb2Settings = v @@ -7883,7 +7893,7 @@ func (s *CreateReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *Cr type DeleteCertificateInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the deleted certificate. + // The Amazon Resource Name (ARN) of the certificate. // // CertificateArn is a required field CertificateArn *string `type:"string" required:"true"` @@ -8718,6 +8728,7 @@ type DescribeCertificatesInput struct { _ struct{} `type:"structure"` // Filters applied to the certificates described in the form of key-value pairs. + // Valid values are certificate-arn and certificate-id. Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter @@ -9401,6 +9412,8 @@ type DescribeEventSubscriptionsInput struct { _ struct{} `type:"structure"` // Filters applied to event subscriptions. + // + // Valid filter names: event-subscription-arn | event-subscription-id Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter @@ -9537,7 +9550,7 @@ type DescribeEventsInput struct { // A list of event categories for the source type that you've chosen. EventCategories []*string `type:"list"` - // Filters applied to events. + // Filters applied to events. The only valid filter is replication-instance-id. Filters []*Filter `type:"list"` // An optional pagination token provided by a previous request. If this parameter @@ -11349,25 +11362,25 @@ func (s *DynamoDbSettings) SetServiceAccessRoleArn(v string) *DynamoDbSettings { return s } -// Provides information that defines an Elasticsearch endpoint. +// Provides information that defines an OpenSearch endpoint. type ElasticsearchSettings struct { _ struct{} `type:"structure"` - // The endpoint for the Elasticsearch cluster. DMS uses HTTPS if a transport - // protocol (http/https) is not specified. + // The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport protocol + // (http/https) is not specified. // // EndpointUri is a required field EndpointUri *string `type:"string" required:"true"` // The maximum number of seconds for which DMS retries failed API requests to - // the Elasticsearch cluster. + // the OpenSearch cluster. ErrorRetryDuration *int64 `type:"integer"` // The maximum percentage of records that can fail to be written before a full // load operation stops. // // To avoid early failure, this counter is only effective after 1000 records - // are transferred. Elasticsearch also has the concept of error monitoring during + // are transferred. OpenSearch also has the concept of error monitoring during // the last 10 minutes of an Observation Window. If transfer of all records // fail in the last 10 minutes, the full load operation stops. FullLoadErrorPercentage *int64 `type:"integer"` @@ -11454,19 +11467,8 @@ type Endpoint struct { // The name of the database at the endpoint. DatabaseName *string `type:"string"` - // The settings in JSON format for the DMS transfer type of source endpoint. - // - // Possible settings include the following: - // - // * ServiceAccessRoleArn - - The Amazon Resource Name (ARN) used by the - // service access IAM role. The role must allow the iam:PassRole action. - // - // * BucketName - The name of the S3 bucket to use. - // - // Shorthand syntax for these settings is as follows: ServiceAccessRoleArn=string,BucketName=string, - // - // JSON syntax for these settings is as follows: { "ServiceAccessRoleArn": "string", - // "BucketName": "string"} + // The settings for the DMS Transfer type source. For more information, see + // the DmsTransferSettings structure. DmsTransferSettings *DmsTransferSettings `type:"structure"` // Provides information that defines a DocumentDB endpoint. @@ -11476,8 +11478,8 @@ type Endpoint struct { // the DynamoDBSettings structure. DynamoDbSettings *DynamoDbSettings `type:"structure"` - // The settings for the Elasticsearch source endpoint. For more information, - // see the ElasticsearchSettings structure. + // The settings for the OpenSearch source endpoint. For more information, see + // the ElasticsearchSettings structure. ElasticsearchSettings *ElasticsearchSettings `type:"structure"` // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. @@ -11497,8 +11499,8 @@ type Endpoint struct { // The database engine name. Valid values, depending on the EndpointType, include // "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", - // "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", - // "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune". + // "opensearch", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", + // "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune". EngineName *string `type:"string"` // Value returned by a call to CreateEndpoint that can be used for cross-account @@ -11512,6 +11514,9 @@ type Endpoint struct { // Additional connection attributes used to connect to the endpoint. ExtraConnectionAttributes *string `type:"string"` + // Settings in JSON format for the source GCP MySQL endpoint. + GcpMySQLSettings *GcpMySQLSettings `type:"structure"` + // The settings for the IBM Db2 LUW source endpoint. For more information, see // the IBMDb2Settings structure. IBMDb2Settings *IBMDb2Settings `type:"structure"` @@ -11696,6 +11701,12 @@ func (s *Endpoint) SetExtraConnectionAttributes(v string) *Endpoint { return s } +// SetGcpMySQLSettings sets the GcpMySQLSettings field's value. +func (s *Endpoint) SetGcpMySQLSettings(v *GcpMySQLSettings) *Endpoint { + s.GcpMySQLSettings = v + return s +} + // SetIBMDb2Settings sets the IBMDb2Settings field's value. func (s *Endpoint) SetIBMDb2Settings(v *IBMDb2Settings) *Endpoint { s.IBMDb2Settings = v @@ -12224,6 +12235,206 @@ func (s *Filter) SetValues(v []*string) *Filter { return s } +// Settings in JSON format for the source GCP MySQL endpoint. +type GcpMySQLSettings struct { + _ struct{} `type:"structure"` + + // Specifies a script to run immediately after DMS connects to the endpoint. + // The migration task continues running regardless if the SQL statement succeeds + // or fails. + // + // For this parameter, provide the code of the script itself, not the name of + // a file containing the script. + AfterConnectScript *string `type:"string"` + + // Adjusts the behavior of DMS when migrating from an SQL Server source database + // that is hosted as part of an Always On availability group cluster. If you + // need DMS to poll all the nodes in the Always On cluster for transaction backups, + // set this attribute to false. + CleanSourceMetadataOnMismatch *bool `type:"boolean"` + + // Database name for the endpoint. For a MySQL source or target endpoint, don't + // explicitly specify the database using the DatabaseName request parameter + // on either the CreateEndpoint or ModifyEndpoint API call. Specifying DatabaseName + // when you create or modify a MySQL endpoint replicates all the task tables + // to this single database. For MySQL endpoints, you specify the database only + // when you specify the schema in the table-mapping rules of the DMS task. + DatabaseName *string `type:"string"` + + // Specifies how often to check the binary log for new changes/events when the + // database is idle. The default is five seconds. + // + // Example: eventsPollInterval=5; + // + // In the example, DMS checks for changes in the binary logs every five seconds. + EventsPollInterval *int64 `type:"integer"` + + // Specifies the maximum size (in KB) of any .csv file used to transfer data + // to a MySQL-compatible database. + // + // Example: maxFileSize=512 + MaxFileSize *int64 `type:"integer"` + + // Improves performance when loading data into the MySQL-compatible target database. + // Specifies how many threads to use to load the data into the MySQL-compatible + // target database. Setting a large number of threads can have an adverse effect + // on database performance, because a separate connection is required for each + // thread. The default is one. + // + // Example: parallelLoadThreads=1 + ParallelLoadThreads *int64 `type:"integer"` + + // Endpoint connection password. + // + // Password is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by GcpMySQLSettings's + // String and GoString methods. + Password *string `type:"string" sensitive:"true"` + + Port *int64 `type:"integer"` + + // The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as + // the trusted entity and grants the required permissions to access the value + // in SecretsManagerSecret. The role must allow the iam:PassRole action. SecretsManagerSecret + // has the value of the Amazon Web Services Secrets Manager secret that allows + // access to the MySQL endpoint. + // + // You can specify one of two sets of values for these permissions. You can + // specify the values for this setting and SecretsManagerSecretId. Or you can + // specify clear-text values for UserName, Password, ServerName, and Port. You + // can't specify both. For more information on creating this SecretsManagerSecret + // and the SecretsManagerAccessRoleArn and SecretsManagerSecretId required to + // access it, see Using secrets to access Database Migration Service resources + // (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#security-iam-secretsmanager) + // in the Database Migration Service User Guide. + SecretsManagerAccessRoleArn *string `type:"string"` + + // The full ARN, partial ARN, or friendly name of the SecretsManagerSecret that + // contains the MySQL endpoint connection details. + SecretsManagerSecretId *string `type:"string"` + + // Endpoint TCP port. + ServerName *string `type:"string"` + + // Specifies the time zone for the source MySQL database. + // + // Example: serverTimezone=US/Pacific; + // + // Note: Do not enclose time zones in single quotes. + ServerTimezone *string `type:"string"` + + // Specifies where to migrate source tables on the target, either to a single + // database or multiple databases. + // + // Example: targetDbType=MULTIPLE_DATABASES + TargetDbType *string `type:"string" enum:"TargetDbType"` + + // Endpoint connection user name. + Username *string `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 GcpMySQLSettings) 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 GcpMySQLSettings) GoString() string { + return s.String() +} + +// SetAfterConnectScript sets the AfterConnectScript field's value. +func (s *GcpMySQLSettings) SetAfterConnectScript(v string) *GcpMySQLSettings { + s.AfterConnectScript = &v + return s +} + +// SetCleanSourceMetadataOnMismatch sets the CleanSourceMetadataOnMismatch field's value. +func (s *GcpMySQLSettings) SetCleanSourceMetadataOnMismatch(v bool) *GcpMySQLSettings { + s.CleanSourceMetadataOnMismatch = &v + return s +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *GcpMySQLSettings) SetDatabaseName(v string) *GcpMySQLSettings { + s.DatabaseName = &v + return s +} + +// SetEventsPollInterval sets the EventsPollInterval field's value. +func (s *GcpMySQLSettings) SetEventsPollInterval(v int64) *GcpMySQLSettings { + s.EventsPollInterval = &v + return s +} + +// SetMaxFileSize sets the MaxFileSize field's value. +func (s *GcpMySQLSettings) SetMaxFileSize(v int64) *GcpMySQLSettings { + s.MaxFileSize = &v + return s +} + +// SetParallelLoadThreads sets the ParallelLoadThreads field's value. +func (s *GcpMySQLSettings) SetParallelLoadThreads(v int64) *GcpMySQLSettings { + s.ParallelLoadThreads = &v + return s +} + +// SetPassword sets the Password field's value. +func (s *GcpMySQLSettings) SetPassword(v string) *GcpMySQLSettings { + s.Password = &v + return s +} + +// SetPort sets the Port field's value. +func (s *GcpMySQLSettings) SetPort(v int64) *GcpMySQLSettings { + s.Port = &v + return s +} + +// SetSecretsManagerAccessRoleArn sets the SecretsManagerAccessRoleArn field's value. +func (s *GcpMySQLSettings) SetSecretsManagerAccessRoleArn(v string) *GcpMySQLSettings { + s.SecretsManagerAccessRoleArn = &v + return s +} + +// SetSecretsManagerSecretId sets the SecretsManagerSecretId field's value. +func (s *GcpMySQLSettings) SetSecretsManagerSecretId(v string) *GcpMySQLSettings { + s.SecretsManagerSecretId = &v + return s +} + +// SetServerName sets the ServerName field's value. +func (s *GcpMySQLSettings) SetServerName(v string) *GcpMySQLSettings { + s.ServerName = &v + return s +} + +// SetServerTimezone sets the ServerTimezone field's value. +func (s *GcpMySQLSettings) SetServerTimezone(v string) *GcpMySQLSettings { + s.ServerTimezone = &v + return s +} + +// SetTargetDbType sets the TargetDbType field's value. +func (s *GcpMySQLSettings) SetTargetDbType(v string) *GcpMySQLSettings { + s.TargetDbType = &v + return s +} + +// SetUsername sets the Username field's value. +func (s *GcpMySQLSettings) SetUsername(v string) *GcpMySQLSettings { + s.Username = &v + return s +} + // Provides information that defines an IBM Db2 LUW endpoint. type IBMDb2Settings struct { _ struct{} `type:"structure"` @@ -12376,6 +12587,8 @@ type ImportCertificateInput struct { // The location of an imported Oracle Wallet certificate for use with SSL. Provide // the name of a .sso file using the fileb:// prefix. You can't provide the // certificate inline. + // + // Example: filebase64("${path.root}/rds-ca-2019-root.sso") // CertificateWallet is automatically base64 encoded/decoded by the SDK. CertificateWallet []byte `type:"blob"` @@ -12791,7 +13004,7 @@ func (s *KMSAccessDeniedFault) RequestID() string { return s.RespMetadata.RequestID } -// The specified master key (CMK) isn't enabled. +// The specified KMS key isn't enabled. type KMSDisabledFault struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -13849,9 +14062,9 @@ type ModifyEndpointInput struct { // in the Database Migration Service User Guide. DynamoDbSettings *DynamoDbSettings `type:"structure"` - // Settings in JSON format for the target Elasticsearch endpoint. For more information + // Settings in JSON format for the target OpenSearch endpoint. For more information // about the available settings, see Extra Connection Attributes When Using - // Elasticsearch as a Target for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration) + // OpenSearch as a Target for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.Elasticsearch.html#CHAP_Target.Elasticsearch.Configuration) // in the Database Migration Service User Guide. ElasticsearchSettings *ElasticsearchSettings `type:"structure"` @@ -13870,8 +14083,8 @@ type ModifyEndpointInput struct { // The type of engine for the endpoint. Valid values, depending on the EndpointType, // include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", - // "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", "kinesis", - // "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune". + // "opensearch", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", + // "kinesis", "kafka", "elasticsearch", "documentdb", "sqlserver", and "neptune". EngineName *string `type:"string"` // If this attribute is Y, the current call to ModifyEndpoint replaces all existing @@ -13902,6 +14115,9 @@ type ModifyEndpointInput struct { // pass the empty string ("") as an argument. ExtraConnectionAttributes *string `type:"string"` + // Settings in JSON format for the source GCP MySQL endpoint. + GcpMySQLSettings *GcpMySQLSettings `type:"structure"` + // Settings in JSON format for the source IBM Db2 LUW endpoint. For information // about other available settings, see Extra connection attributes when using // Db2 LUW as a source for DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.DB2.html#CHAP_Source.DB2.ConnectionAttrib) @@ -14136,6 +14352,12 @@ func (s *ModifyEndpointInput) SetExtraConnectionAttributes(v string) *ModifyEndp return s } +// SetGcpMySQLSettings sets the GcpMySQLSettings field's value. +func (s *ModifyEndpointInput) SetGcpMySQLSettings(v *GcpMySQLSettings) *ModifyEndpointInput { + s.GcpMySQLSettings = v + return s +} + // SetIBMDb2Settings sets the IBMDb2Settings field's value. func (s *ModifyEndpointInput) SetIBMDb2Settings(v *IBMDb2Settings) *ModifyEndpointInput { s.IBMDb2Settings = v @@ -15209,7 +15431,7 @@ type MySQLSettings struct { DatabaseName *string `type:"string"` // Specifies how often to check the binary log for new changes/events when the - // database is idle. + // database is idle. The default is five seconds. // // Example: eventsPollInterval=5; // @@ -15226,7 +15448,7 @@ type MySQLSettings struct { // Specifies how many threads to use to load the data into the MySQL-compatible // target database. Setting a large number of threads can have an adverse effect // on database performance, because a separate connection is required for each - // thread. + // thread. The default is one. // // Example: parallelLoadThreads=1 ParallelLoadThreads *int64 `type:"integer"` @@ -16333,7 +16555,7 @@ type PostgreSQLSettings struct { // Specifies the plugin to use to create a replication slot. PluginName *string `type:"string" enum:"PluginNameValue"` - // Endpoint TCP port. + // Endpoint TCP port. The default is 5432. Port *int64 `type:"integer"` // The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as @@ -19600,6 +19822,17 @@ type S3Settings struct { // // This setting is supported in DMS versions 3.4.1 and later. UseCsvNoSupValue *bool `type:"boolean"` + + // When set to true, this parameter uses the task start time as the timestamp + // column value instead of the time data is written to target. For full load, + // when useTaskStartTimeForFullLoadTimestamp is set to true, each row of the + // timestamp column contains the task start time. For CDC loads, each row of + // the timestamp column contains the transaction commit time. + // + // When useTaskStartTimeForFullLoadTimestamp is set to false, the full load + // timestamp in the timestamp column increments with the time data arrives at + // the target. + UseTaskStartTimeForFullLoadTimestamp *bool `type:"boolean"` } // String returns the string representation. @@ -19836,6 +20069,12 @@ func (s *S3Settings) SetUseCsvNoSupValue(v bool) *S3Settings { return s } +// SetUseTaskStartTimeForFullLoadTimestamp sets the UseTaskStartTimeForFullLoadTimestamp field's value. +func (s *S3Settings) SetUseTaskStartTimeForFullLoadTimestamp(v bool) *S3Settings { + s.UseTaskStartTimeForFullLoadTimestamp = &v + return s +} + // The SNS topic is invalid. type SNSInvalidTopicFault struct { _ struct{} `type:"structure"` @@ -20282,7 +20521,15 @@ type StartReplicationTaskInput struct { // ReplicationTaskArn is a required field ReplicationTaskArn *string `type:"string" required:"true"` - // A type of replication task. + // The type of replication task to start. + // + // When the migration type is full-load or full-load-and-cdc, the only valid + // value for the first run of the task is start-replication. You use reload-target + // to restart the task and resume-processing to resume the task. + // + // When the migration type is cdc, you use start-replication to start or restart + // the task, and resume-processing to resume the task. reload-target is not + // a valid value for a task with migration type of cdc. // // StartReplicationTaskType is a required field StartReplicationTaskType *string `type:"string" required:"true" enum:"StartReplicationTaskTypeValue"` @@ -20731,7 +20978,7 @@ type SybaseSettings struct { // String and GoString methods. Password *string `type:"string" sensitive:"true"` - // Endpoint TCP port. + // Endpoint TCP port. The default is 5000. Port *int64 `type:"integer"` // The full Amazon Resource Name (ARN) of the IAM role that specifies DMS as diff --git a/service/databasemigrationservice/errors.go b/service/databasemigrationservice/errors.go index 2c83695a67a..9794a2fd6cf 100644 --- a/service/databasemigrationservice/errors.go +++ b/service/databasemigrationservice/errors.go @@ -49,7 +49,7 @@ const ( // ErrCodeKMSDisabledFault for service response error code // "KMSDisabledFault". // - // The specified master key (CMK) isn't enabled. + // The specified KMS key isn't enabled. ErrCodeKMSDisabledFault = "KMSDisabledFault" // ErrCodeKMSFault for service response error code diff --git a/service/ec2/api.go b/service/ec2/api.go index b6d48fb1dd0..9cd38b26d1c 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -116377,6 +116377,10 @@ type ModifySubnetAttributeInput struct { // You must set this value when you specify true for MapCustomerOwnedIpOnLaunch. CustomerOwnedIpv4Pool *string `type:"string"` + // Indicates whether DNS queries made to the Amazon-provided DNS Resolver in + // this subnet should return synthetic IPv6 addresses for IPv4-only destinations. + EnableDns64 *AttributeBooleanValue `type:"structure"` + // Specify true to indicate that network interfaces attached to instances created // in the specified subnet should be assigned a customer-owned IPv4 address. // @@ -116437,6 +116441,12 @@ func (s *ModifySubnetAttributeInput) SetCustomerOwnedIpv4Pool(v string) *ModifyS return s } +// SetEnableDns64 sets the EnableDns64 field's value. +func (s *ModifySubnetAttributeInput) SetEnableDns64(v *AttributeBooleanValue) *ModifySubnetAttributeInput { + s.EnableDns64 = v + return s +} + // SetMapCustomerOwnedIpOnLaunch sets the MapCustomerOwnedIpOnLaunch field's value. func (s *ModifySubnetAttributeInput) SetMapCustomerOwnedIpOnLaunch(v *AttributeBooleanValue) *ModifySubnetAttributeInput { s.MapCustomerOwnedIpOnLaunch = v @@ -137372,6 +137382,10 @@ type Subnet struct { // Indicates whether this is the default subnet for the Availability Zone. DefaultForAz *bool `locationName:"defaultForAz" type:"boolean"` + // Indicates whether DNS queries made to the Amazon-provided DNS Resolver in + // this subnet should return synthetic IPv6 addresses for IPv4-only destinations. + EnableDns64 *bool `locationName:"enableDns64" type:"boolean"` + // Information about the IPv6 CIDR blocks associated with the subnet. Ipv6CidrBlockAssociationSet []*SubnetIpv6CidrBlockAssociation `locationName:"ipv6CidrBlockAssociationSet" locationNameList:"item" type:"list"` @@ -137466,6 +137480,12 @@ func (s *Subnet) SetDefaultForAz(v bool) *Subnet { return s } +// SetEnableDns64 sets the EnableDns64 field's value. +func (s *Subnet) SetEnableDns64(v bool) *Subnet { + s.EnableDns64 = &v + return s +} + // SetIpv6CidrBlockAssociationSet sets the Ipv6CidrBlockAssociationSet field's value. func (s *Subnet) SetIpv6CidrBlockAssociationSet(v []*SubnetIpv6CidrBlockAssociation) *Subnet { s.Ipv6CidrBlockAssociationSet = v diff --git a/service/eks/api.go b/service/eks/api.go index 7ea471b4c20..aee39f8f156 100644 --- a/service/eks/api.go +++ b/service/eks/api.go @@ -273,9 +273,11 @@ func (c *EKS) CreateAddonRequest(input *CreateAddonInput) (req *request.Request, // // Amazon EKS add-ons help to automate the provisioning and lifecycle management // of common operational software for Amazon EKS clusters. Amazon EKS add-ons -// can only be used with Amazon EKS clusters running version 1.18 with platform -// version eks.3 or later because add-ons rely on the Server-side Apply Kubernetes -// feature, which is only available in Kubernetes 1.18 and later. +// require clusters running version 1.18 or later because Amazon EKS add-ons +// rely on the Server-side Apply Kubernetes feature, which is only available +// in Kubernetes 1.18 and later. For more information, see Amazon EKS add-ons +// (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) in the +// Amazon EKS User 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 @@ -1184,6 +1186,13 @@ func (c *EKS) DeregisterClusterRequest(input *DeregisterClusterInput) (req *requ // * ServiceUnavailableException // The service is unavailable. Back off and retry the operation. // +// * AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeregisterCluster func (c *EKS) DeregisterCluster(input *DeregisterClusterInput) (*DeregisterClusterOutput, error) { req, out := c.DeregisterClusterRequest(input) @@ -3096,8 +3105,8 @@ func (c *EKS) RegisterClusterRequest(input *RegisterClusterInput) (req *request. // // After the Manifest is updated and applied, then the connected cluster is // visible to the Amazon EKS control plane. If the Manifest is not applied within -// a set amount of time, then the connected cluster will no longer be visible -// and must be deregistered. See DeregisterCluster. +// three days, then the connected cluster will no longer be visible and must +// be deregistered. See DeregisterCluster. // // 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 @@ -3125,6 +3134,13 @@ func (c *EKS) RegisterClusterRequest(input *RegisterClusterInput) (req *request. // * ServiceUnavailableException // The service is unavailable. Back off and retry the operation. // +// * AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterCluster func (c *EKS) RegisterCluster(input *RegisterClusterInput) (*RegisterClusterOutput, error) { req, out := c.RegisterClusterRequest(input) @@ -3889,7 +3905,76 @@ func (c *EKS) UpdateNodegroupVersionWithContext(ctx aws.Context, input *UpdateNo return out, req.Send() } -// An Amazon EKS add-on. +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + 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", s.Code(), s.Message()) +} + +// 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 +} + +// An Amazon EKS add-on. For more information, see Amazon EKS add-ons (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) +// in the Amazon EKS User Guide. type Addon struct { _ struct{} `type:"structure"` @@ -4948,8 +5033,8 @@ type ConnectorConfigResponse struct { // The cluster's cloud service provider. Provider *string `locationName:"provider" type:"string"` - // The Amazon Resource Name (ARN) of the role that is used by the EKS connector - // to communicate with AWS services from the connected Kubernetes cluster. + // The Amazon Resource Name (ARN) of the role to communicate with services from + // the connected Kubernetes cluster. RoleArn *string `locationName:"roleArn" type:"string"` } @@ -5133,7 +5218,8 @@ func (s *CreateAddonInput) SetTags(v map[string]*string) *CreateAddonInput { type CreateAddonOutput struct { _ struct{} `type:"structure"` - // An Amazon EKS add-on. + // An Amazon EKS add-on. For more information, see Amazon EKS add-ons (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) + // in the Amazon EKS User Guide. Addon *Addon `locationName:"addon" type:"structure"` } @@ -5925,7 +6011,8 @@ func (s *DeleteAddonInput) SetPreserve(v bool) *DeleteAddonInput { type DeleteAddonOutput struct { _ struct{} `type:"structure"` - // An Amazon EKS add-on. + // An Amazon EKS add-on. For more information, see Amazon EKS add-ons (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) + // in the Amazon EKS User Guide. Addon *Addon `locationName:"addon" type:"structure"` } @@ -6378,7 +6465,8 @@ func (s *DescribeAddonInput) SetClusterName(v string) *DescribeAddonInput { type DescribeAddonOutput struct { _ struct{} `type:"structure"` - // An Amazon EKS add-on. + // An Amazon EKS add-on. For more information, see Amazon EKS add-ons (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) + // in the Amazon EKS User Guide. Addon *Addon `locationName:"addon" type:"structure"` } @@ -7733,7 +7821,7 @@ type Issue struct { // // * NodeCreationFailure: Your launched instances are unable to register // with your Amazon EKS cluster. Common causes of this failure are insufficient - // node IAM role (https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html) + // node IAM role (https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) // permissions or lack of outbound internet access for the nodes. Code *string `locationName:"code" type:"string" enum:"NodegroupIssueCode"` @@ -7790,7 +7878,7 @@ type KubernetesNetworkConfigRequest struct { // does not overlap with resources in other networks that are peered or connected // to your VPC. The block must meet the following requirements: // - // * Within one of the following private IP address blocks: 10.0.0.0/8, 172.16.0.0.0/12, + // * Within one of the following private IP address blocks: 10.0.0.0/8, 172.16.0.0/12, // or 192.168.0.0/16. // // * Doesn't overlap with any CIDR block assigned to the VPC that you selected @@ -9181,6 +9269,25 @@ type NodegroupScalingConfig struct { _ struct{} `type:"structure"` // The current number of nodes that the managed node group should maintain. + // + // If you use Cluster Autoscaler, you shouldn't change the desiredSize value + // directly, as this can cause the Cluster Autoscaler to suddenly scale up or + // scale down. + // + // Whenever this parameter changes, the number of worker nodes in the node group + // is updated to the specified size. If this parameter is given a value that + // is smaller than the current number of running worker nodes, the necessary + // number of worker nodes are terminated to match the given value. When using + // CloudFormation, no action occurs if you remove this parameter from your CFN + // template. + // + // This parameter can be different from minSize in some cases, such as when + // starting with extra hosts for testing. This parameter can also be different + // when you want to start with an estimated number of needed hosts, but let + // Cluster Autoscaler reduce the number if there are too many. When Cluster + // Autoscaler is used, the desiredSize parameter is altered by Cluster Autoscaler + // (but can be out-of-date for short periods of time). Cluster Autoscaler doesn't + // scale a managed node group lower than minSize or higher than maxSize. DesiredSize *int64 `locationName:"desiredSize" type:"integer"` // The maximum number of nodes that the managed node group can scale out to. @@ -9734,10 +9841,16 @@ type RegisterClusterInput struct { // ConnectorConfig is a required field ConnectorConfig *ConnectorConfigRequest `locationName:"connectorConfig" type:"structure" required:"true"` - // Define a unique name for this cluster within your AWS account. + // Define a unique name for this cluster for your Region. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The metadata that you apply to the cluster to assist with categorization + // and organization. Each tag consists of a key and an optional value, both + // of which you define. Cluster tags do not propagate to any other resources + // associated with the cluster. + Tags map[string]*string `locationName:"tags" min:"1" type:"map"` } // String returns the string representation. @@ -9770,6 +9883,9 @@ func (s *RegisterClusterInput) Validate() error { if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } if s.ConnectorConfig != nil { if err := s.ConnectorConfig.Validate(); err != nil { invalidParams.AddNested("ConnectorConfig", err.(request.ErrInvalidParams)) @@ -9800,6 +9916,12 @@ func (s *RegisterClusterInput) SetName(v string) *RegisterClusterInput { return s } +// SetTags sets the Tags field's value. +func (s *RegisterClusterInput) SetTags(v map[string]*string) *RegisterClusterInput { + s.Tags = v + return s +} + type RegisterClusterOutput struct { _ struct{} `type:"structure"` diff --git a/service/eks/errors.go b/service/eks/errors.go index 7c908d3008e..6022a7d970d 100644 --- a/service/eks/errors.go +++ b/service/eks/errors.go @@ -8,6 +8,16 @@ import ( const ( + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // You don't have permissions to perform the requested operation. The user or + // role that is making the request must have at least one IAM permissions policy + // attached that grants the required permissions. For more information, see + // Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) + // in the IAM User Guide. + ErrCodeAccessDeniedException = "AccessDeniedException" + // ErrCodeBadRequestException for service response error code // "BadRequestException". // @@ -87,6 +97,7 @@ const ( ) var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "AccessDeniedException": newErrorAccessDeniedException, "BadRequestException": newErrorBadRequestException, "ClientException": newErrorClientException, "InvalidParameterException": newErrorInvalidParameterException, diff --git a/service/migrationhubstrategyrecommendations/api.go b/service/migrationhubstrategyrecommendations/api.go new file mode 100644 index 00000000000..2c95b03c155 --- /dev/null +++ b/service/migrationhubstrategyrecommendations/api.go @@ -0,0 +1,7751 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package migrationhubstrategyrecommendations + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +const opGetApplicationComponentDetails = "GetApplicationComponentDetails" + +// GetApplicationComponentDetailsRequest generates a "aws/request.Request" representing the +// client's request for the GetApplicationComponentDetails 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 GetApplicationComponentDetails for more information on using the GetApplicationComponentDetails +// 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 GetApplicationComponentDetailsRequest method. +// req, resp := client.GetApplicationComponentDetailsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentDetails +func (c *MigrationHubStrategyRecommendations) GetApplicationComponentDetailsRequest(input *GetApplicationComponentDetailsInput) (req *request.Request, output *GetApplicationComponentDetailsOutput) { + op := &request.Operation{ + Name: opGetApplicationComponentDetails, + HTTPMethod: "GET", + HTTPPath: "/get-applicationcomponent-details/{applicationComponentId}", + } + + if input == nil { + input = &GetApplicationComponentDetailsInput{} + } + + output = &GetApplicationComponentDetailsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetApplicationComponentDetails API operation for Migration Hub Strategy Recommendations. +// +// Retrieves details about an application component. +// +// 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 Migration Hub Strategy Recommendations's +// API operation GetApplicationComponentDetails for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The specified ID in the request is not found. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentDetails +func (c *MigrationHubStrategyRecommendations) GetApplicationComponentDetails(input *GetApplicationComponentDetailsInput) (*GetApplicationComponentDetailsOutput, error) { + req, out := c.GetApplicationComponentDetailsRequest(input) + return out, req.Send() +} + +// GetApplicationComponentDetailsWithContext is the same as GetApplicationComponentDetails with the addition of +// the ability to pass a context and additional request options. +// +// See GetApplicationComponentDetails 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 *MigrationHubStrategyRecommendations) GetApplicationComponentDetailsWithContext(ctx aws.Context, input *GetApplicationComponentDetailsInput, opts ...request.Option) (*GetApplicationComponentDetailsOutput, error) { + req, out := c.GetApplicationComponentDetailsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetApplicationComponentStrategies = "GetApplicationComponentStrategies" + +// GetApplicationComponentStrategiesRequest generates a "aws/request.Request" representing the +// client's request for the GetApplicationComponentStrategies 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 GetApplicationComponentStrategies for more information on using the GetApplicationComponentStrategies +// 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 GetApplicationComponentStrategiesRequest method. +// req, resp := client.GetApplicationComponentStrategiesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentStrategies +func (c *MigrationHubStrategyRecommendations) GetApplicationComponentStrategiesRequest(input *GetApplicationComponentStrategiesInput) (req *request.Request, output *GetApplicationComponentStrategiesOutput) { + op := &request.Operation{ + Name: opGetApplicationComponentStrategies, + HTTPMethod: "GET", + HTTPPath: "/get-applicationcomponent-strategies/{applicationComponentId}", + } + + if input == nil { + input = &GetApplicationComponentStrategiesInput{} + } + + output = &GetApplicationComponentStrategiesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetApplicationComponentStrategies API operation for Migration Hub Strategy Recommendations. +// +// Retrieves a list of all the recommended strategies and tools for an application +// component running on a server. +// +// 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 Migration Hub Strategy Recommendations's +// API operation GetApplicationComponentStrategies for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The specified ID in the request is not found. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentStrategies +func (c *MigrationHubStrategyRecommendations) GetApplicationComponentStrategies(input *GetApplicationComponentStrategiesInput) (*GetApplicationComponentStrategiesOutput, error) { + req, out := c.GetApplicationComponentStrategiesRequest(input) + return out, req.Send() +} + +// GetApplicationComponentStrategiesWithContext is the same as GetApplicationComponentStrategies with the addition of +// the ability to pass a context and additional request options. +// +// See GetApplicationComponentStrategies 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 *MigrationHubStrategyRecommendations) GetApplicationComponentStrategiesWithContext(ctx aws.Context, input *GetApplicationComponentStrategiesInput, opts ...request.Option) (*GetApplicationComponentStrategiesOutput, error) { + req, out := c.GetApplicationComponentStrategiesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetAssessment = "GetAssessment" + +// GetAssessmentRequest generates a "aws/request.Request" representing the +// client's request for the GetAssessment 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 GetAssessment for more information on using the GetAssessment +// 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 GetAssessmentRequest method. +// req, resp := client.GetAssessmentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetAssessment +func (c *MigrationHubStrategyRecommendations) GetAssessmentRequest(input *GetAssessmentInput) (req *request.Request, output *GetAssessmentOutput) { + op := &request.Operation{ + Name: opGetAssessment, + HTTPMethod: "GET", + HTTPPath: "/get-assessment/{id}", + } + + if input == nil { + input = &GetAssessmentInput{} + } + + output = &GetAssessmentOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAssessment API operation for Migration Hub Strategy Recommendations. +// +// Retrieves the status of an on-going assessment. +// +// 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 Migration Hub Strategy Recommendations's +// API operation GetAssessment for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The specified ID in the request is not found. +// +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetAssessment +func (c *MigrationHubStrategyRecommendations) GetAssessment(input *GetAssessmentInput) (*GetAssessmentOutput, error) { + req, out := c.GetAssessmentRequest(input) + return out, req.Send() +} + +// GetAssessmentWithContext is the same as GetAssessment with the addition of +// the ability to pass a context and additional request options. +// +// See GetAssessment 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 *MigrationHubStrategyRecommendations) GetAssessmentWithContext(ctx aws.Context, input *GetAssessmentInput, opts ...request.Option) (*GetAssessmentOutput, error) { + req, out := c.GetAssessmentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetImportFileTask = "GetImportFileTask" + +// GetImportFileTaskRequest generates a "aws/request.Request" representing the +// client's request for the GetImportFileTask 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 GetImportFileTask for more information on using the GetImportFileTask +// 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 GetImportFileTaskRequest method. +// req, resp := client.GetImportFileTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetImportFileTask +func (c *MigrationHubStrategyRecommendations) GetImportFileTaskRequest(input *GetImportFileTaskInput) (req *request.Request, output *GetImportFileTaskOutput) { + op := &request.Operation{ + Name: opGetImportFileTask, + HTTPMethod: "GET", + HTTPPath: "/get-import-file-task/{id}", + } + + if input == nil { + input = &GetImportFileTaskInput{} + } + + output = &GetImportFileTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetImportFileTask API operation for Migration Hub Strategy Recommendations. +// +// Retrieves the details about a specific import task. +// +// 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 Migration Hub Strategy Recommendations's +// API operation GetImportFileTask for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The specified ID in the request is not found. +// +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetImportFileTask +func (c *MigrationHubStrategyRecommendations) GetImportFileTask(input *GetImportFileTaskInput) (*GetImportFileTaskOutput, error) { + req, out := c.GetImportFileTaskRequest(input) + return out, req.Send() +} + +// GetImportFileTaskWithContext is the same as GetImportFileTask with the addition of +// the ability to pass a context and additional request options. +// +// See GetImportFileTask 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 *MigrationHubStrategyRecommendations) GetImportFileTaskWithContext(ctx aws.Context, input *GetImportFileTaskInput, opts ...request.Option) (*GetImportFileTaskOutput, error) { + req, out := c.GetImportFileTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetPortfolioPreferences = "GetPortfolioPreferences" + +// GetPortfolioPreferencesRequest generates a "aws/request.Request" representing the +// client's request for the GetPortfolioPreferences 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 GetPortfolioPreferences for more information on using the GetPortfolioPreferences +// 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 GetPortfolioPreferencesRequest method. +// req, resp := client.GetPortfolioPreferencesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioPreferences +func (c *MigrationHubStrategyRecommendations) GetPortfolioPreferencesRequest(input *GetPortfolioPreferencesInput) (req *request.Request, output *GetPortfolioPreferencesOutput) { + op := &request.Operation{ + Name: opGetPortfolioPreferences, + HTTPMethod: "GET", + HTTPPath: "/get-portfolio-preferences", + } + + if input == nil { + input = &GetPortfolioPreferencesInput{} + } + + output = &GetPortfolioPreferencesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetPortfolioPreferences API operation for Migration Hub Strategy Recommendations. +// +// Retrieves your migration and modernization preferences. +// +// 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 Migration Hub Strategy Recommendations's +// API operation GetPortfolioPreferences for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The specified ID in the request is not found. +// +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioPreferences +func (c *MigrationHubStrategyRecommendations) GetPortfolioPreferences(input *GetPortfolioPreferencesInput) (*GetPortfolioPreferencesOutput, error) { + req, out := c.GetPortfolioPreferencesRequest(input) + return out, req.Send() +} + +// GetPortfolioPreferencesWithContext is the same as GetPortfolioPreferences with the addition of +// the ability to pass a context and additional request options. +// +// See GetPortfolioPreferences 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 *MigrationHubStrategyRecommendations) GetPortfolioPreferencesWithContext(ctx aws.Context, input *GetPortfolioPreferencesInput, opts ...request.Option) (*GetPortfolioPreferencesOutput, error) { + req, out := c.GetPortfolioPreferencesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetPortfolioSummary = "GetPortfolioSummary" + +// GetPortfolioSummaryRequest generates a "aws/request.Request" representing the +// client's request for the GetPortfolioSummary 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 GetPortfolioSummary for more information on using the GetPortfolioSummary +// 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 GetPortfolioSummaryRequest method. +// req, resp := client.GetPortfolioSummaryRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioSummary +func (c *MigrationHubStrategyRecommendations) GetPortfolioSummaryRequest(input *GetPortfolioSummaryInput) (req *request.Request, output *GetPortfolioSummaryOutput) { + op := &request.Operation{ + Name: opGetPortfolioSummary, + HTTPMethod: "GET", + HTTPPath: "/get-portfolio-summary", + } + + if input == nil { + input = &GetPortfolioSummaryInput{} + } + + output = &GetPortfolioSummaryOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetPortfolioSummary API operation for Migration Hub Strategy Recommendations. +// +// Retrieves overall summary including the number of servers to rehost and the +// overall number of anti-patterns. +// +// 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 Migration Hub Strategy Recommendations's +// API operation GetPortfolioSummary for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioSummary +func (c *MigrationHubStrategyRecommendations) GetPortfolioSummary(input *GetPortfolioSummaryInput) (*GetPortfolioSummaryOutput, error) { + req, out := c.GetPortfolioSummaryRequest(input) + return out, req.Send() +} + +// GetPortfolioSummaryWithContext is the same as GetPortfolioSummary with the addition of +// the ability to pass a context and additional request options. +// +// See GetPortfolioSummary 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 *MigrationHubStrategyRecommendations) GetPortfolioSummaryWithContext(ctx aws.Context, input *GetPortfolioSummaryInput, opts ...request.Option) (*GetPortfolioSummaryOutput, error) { + req, out := c.GetPortfolioSummaryRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetRecommendationReportDetails = "GetRecommendationReportDetails" + +// GetRecommendationReportDetailsRequest generates a "aws/request.Request" representing the +// client's request for the GetRecommendationReportDetails 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 GetRecommendationReportDetails for more information on using the GetRecommendationReportDetails +// 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 GetRecommendationReportDetailsRequest method. +// req, resp := client.GetRecommendationReportDetailsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetRecommendationReportDetails +func (c *MigrationHubStrategyRecommendations) GetRecommendationReportDetailsRequest(input *GetRecommendationReportDetailsInput) (req *request.Request, output *GetRecommendationReportDetailsOutput) { + op := &request.Operation{ + Name: opGetRecommendationReportDetails, + HTTPMethod: "GET", + HTTPPath: "/get-recommendation-report-details/{id}", + } + + if input == nil { + input = &GetRecommendationReportDetailsInput{} + } + + output = &GetRecommendationReportDetailsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetRecommendationReportDetails API operation for Migration Hub Strategy Recommendations. +// +// Retrieves detailed information about the specified recommendation report. +// +// 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 Migration Hub Strategy Recommendations's +// API operation GetRecommendationReportDetails for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The specified ID in the request is not found. +// +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetRecommendationReportDetails +func (c *MigrationHubStrategyRecommendations) GetRecommendationReportDetails(input *GetRecommendationReportDetailsInput) (*GetRecommendationReportDetailsOutput, error) { + req, out := c.GetRecommendationReportDetailsRequest(input) + return out, req.Send() +} + +// GetRecommendationReportDetailsWithContext is the same as GetRecommendationReportDetails with the addition of +// the ability to pass a context and additional request options. +// +// See GetRecommendationReportDetails 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 *MigrationHubStrategyRecommendations) GetRecommendationReportDetailsWithContext(ctx aws.Context, input *GetRecommendationReportDetailsInput, opts ...request.Option) (*GetRecommendationReportDetailsOutput, error) { + req, out := c.GetRecommendationReportDetailsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetServerDetails = "GetServerDetails" + +// GetServerDetailsRequest generates a "aws/request.Request" representing the +// client's request for the GetServerDetails 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 GetServerDetails for more information on using the GetServerDetails +// 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 GetServerDetailsRequest method. +// req, resp := client.GetServerDetailsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerDetails +func (c *MigrationHubStrategyRecommendations) GetServerDetailsRequest(input *GetServerDetailsInput) (req *request.Request, output *GetServerDetailsOutput) { + op := &request.Operation{ + Name: opGetServerDetails, + HTTPMethod: "GET", + HTTPPath: "/get-server-details/{serverId}", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetServerDetailsInput{} + } + + output = &GetServerDetailsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetServerDetails API operation for Migration Hub Strategy Recommendations. +// +// Retrieves detailed information about a specified server. +// +// 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 Migration Hub Strategy Recommendations's +// API operation GetServerDetails for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The specified ID in the request is not found. +// +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerDetails +func (c *MigrationHubStrategyRecommendations) GetServerDetails(input *GetServerDetailsInput) (*GetServerDetailsOutput, error) { + req, out := c.GetServerDetailsRequest(input) + return out, req.Send() +} + +// GetServerDetailsWithContext is the same as GetServerDetails with the addition of +// the ability to pass a context and additional request options. +// +// See GetServerDetails 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 *MigrationHubStrategyRecommendations) GetServerDetailsWithContext(ctx aws.Context, input *GetServerDetailsInput, opts ...request.Option) (*GetServerDetailsOutput, error) { + req, out := c.GetServerDetailsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetServerDetailsPages iterates over the pages of a GetServerDetails operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetServerDetails 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 GetServerDetails operation. +// pageNum := 0 +// err := client.GetServerDetailsPages(params, +// func(page *migrationhubstrategyrecommendations.GetServerDetailsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MigrationHubStrategyRecommendations) GetServerDetailsPages(input *GetServerDetailsInput, fn func(*GetServerDetailsOutput, bool) bool) error { + return c.GetServerDetailsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetServerDetailsPagesWithContext same as GetServerDetailsPages 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 *MigrationHubStrategyRecommendations) GetServerDetailsPagesWithContext(ctx aws.Context, input *GetServerDetailsInput, fn func(*GetServerDetailsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetServerDetailsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetServerDetailsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetServerDetailsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opGetServerStrategies = "GetServerStrategies" + +// GetServerStrategiesRequest generates a "aws/request.Request" representing the +// client's request for the GetServerStrategies 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 GetServerStrategies for more information on using the GetServerStrategies +// 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 GetServerStrategiesRequest method. +// req, resp := client.GetServerStrategiesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerStrategies +func (c *MigrationHubStrategyRecommendations) GetServerStrategiesRequest(input *GetServerStrategiesInput) (req *request.Request, output *GetServerStrategiesOutput) { + op := &request.Operation{ + Name: opGetServerStrategies, + HTTPMethod: "GET", + HTTPPath: "/get-server-strategies/{serverId}", + } + + if input == nil { + input = &GetServerStrategiesInput{} + } + + output = &GetServerStrategiesOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetServerStrategies API operation for Migration Hub Strategy Recommendations. +// +// Retrieves recommended strategies and tools for the specified server. +// +// 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 Migration Hub Strategy Recommendations's +// API operation GetServerStrategies for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The specified ID in the request is not found. +// +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerStrategies +func (c *MigrationHubStrategyRecommendations) GetServerStrategies(input *GetServerStrategiesInput) (*GetServerStrategiesOutput, error) { + req, out := c.GetServerStrategiesRequest(input) + return out, req.Send() +} + +// GetServerStrategiesWithContext is the same as GetServerStrategies with the addition of +// the ability to pass a context and additional request options. +// +// See GetServerStrategies 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 *MigrationHubStrategyRecommendations) GetServerStrategiesWithContext(ctx aws.Context, input *GetServerStrategiesInput, opts ...request.Option) (*GetServerStrategiesOutput, error) { + req, out := c.GetServerStrategiesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListApplicationComponents = "ListApplicationComponents" + +// ListApplicationComponentsRequest generates a "aws/request.Request" representing the +// client's request for the ListApplicationComponents 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 ListApplicationComponents for more information on using the ListApplicationComponents +// 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 ListApplicationComponentsRequest method. +// req, resp := client.ListApplicationComponentsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListApplicationComponents +func (c *MigrationHubStrategyRecommendations) ListApplicationComponentsRequest(input *ListApplicationComponentsInput) (req *request.Request, output *ListApplicationComponentsOutput) { + op := &request.Operation{ + Name: opListApplicationComponents, + HTTPMethod: "POST", + HTTPPath: "/list-applicationcomponents", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListApplicationComponentsInput{} + } + + output = &ListApplicationComponentsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListApplicationComponents API operation for Migration Hub Strategy Recommendations. +// +// Retrieves a list of all the application components (processes). +// +// 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 Migration Hub Strategy Recommendations's +// API operation ListApplicationComponents for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ServiceLinkedRoleLockClientException +// Exception to indicate that the service-linked role (SLR) is locked. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListApplicationComponents +func (c *MigrationHubStrategyRecommendations) ListApplicationComponents(input *ListApplicationComponentsInput) (*ListApplicationComponentsOutput, error) { + req, out := c.ListApplicationComponentsRequest(input) + return out, req.Send() +} + +// ListApplicationComponentsWithContext is the same as ListApplicationComponents with the addition of +// the ability to pass a context and additional request options. +// +// See ListApplicationComponents 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 *MigrationHubStrategyRecommendations) ListApplicationComponentsWithContext(ctx aws.Context, input *ListApplicationComponentsInput, opts ...request.Option) (*ListApplicationComponentsOutput, error) { + req, out := c.ListApplicationComponentsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListApplicationComponentsPages iterates over the pages of a ListApplicationComponents operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListApplicationComponents 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 ListApplicationComponents operation. +// pageNum := 0 +// err := client.ListApplicationComponentsPages(params, +// func(page *migrationhubstrategyrecommendations.ListApplicationComponentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MigrationHubStrategyRecommendations) ListApplicationComponentsPages(input *ListApplicationComponentsInput, fn func(*ListApplicationComponentsOutput, bool) bool) error { + return c.ListApplicationComponentsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListApplicationComponentsPagesWithContext same as ListApplicationComponentsPages 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 *MigrationHubStrategyRecommendations) ListApplicationComponentsPagesWithContext(ctx aws.Context, input *ListApplicationComponentsInput, fn func(*ListApplicationComponentsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListApplicationComponentsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListApplicationComponentsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListApplicationComponentsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListCollectors = "ListCollectors" + +// ListCollectorsRequest generates a "aws/request.Request" representing the +// client's request for the ListCollectors 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 ListCollectors for more information on using the ListCollectors +// 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 ListCollectorsRequest method. +// req, resp := client.ListCollectorsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListCollectors +func (c *MigrationHubStrategyRecommendations) ListCollectorsRequest(input *ListCollectorsInput) (req *request.Request, output *ListCollectorsOutput) { + op := &request.Operation{ + Name: opListCollectors, + HTTPMethod: "GET", + HTTPPath: "/list-collectors", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListCollectorsInput{} + } + + output = &ListCollectorsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListCollectors API operation for Migration Hub Strategy Recommendations. +// +// Retrieves a list of all the installed collectors. +// +// 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 Migration Hub Strategy Recommendations's +// API operation ListCollectors for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListCollectors +func (c *MigrationHubStrategyRecommendations) ListCollectors(input *ListCollectorsInput) (*ListCollectorsOutput, error) { + req, out := c.ListCollectorsRequest(input) + return out, req.Send() +} + +// ListCollectorsWithContext is the same as ListCollectors with the addition of +// the ability to pass a context and additional request options. +// +// See ListCollectors 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 *MigrationHubStrategyRecommendations) ListCollectorsWithContext(ctx aws.Context, input *ListCollectorsInput, opts ...request.Option) (*ListCollectorsOutput, error) { + req, out := c.ListCollectorsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListCollectorsPages iterates over the pages of a ListCollectors operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListCollectors 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 ListCollectors operation. +// pageNum := 0 +// err := client.ListCollectorsPages(params, +// func(page *migrationhubstrategyrecommendations.ListCollectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MigrationHubStrategyRecommendations) ListCollectorsPages(input *ListCollectorsInput, fn func(*ListCollectorsOutput, bool) bool) error { + return c.ListCollectorsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListCollectorsPagesWithContext same as ListCollectorsPages 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 *MigrationHubStrategyRecommendations) ListCollectorsPagesWithContext(ctx aws.Context, input *ListCollectorsInput, fn func(*ListCollectorsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListCollectorsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListCollectorsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListCollectorsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListImportFileTask = "ListImportFileTask" + +// ListImportFileTaskRequest generates a "aws/request.Request" representing the +// client's request for the ListImportFileTask 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 ListImportFileTask for more information on using the ListImportFileTask +// 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 ListImportFileTaskRequest method. +// req, resp := client.ListImportFileTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListImportFileTask +func (c *MigrationHubStrategyRecommendations) ListImportFileTaskRequest(input *ListImportFileTaskInput) (req *request.Request, output *ListImportFileTaskOutput) { + op := &request.Operation{ + Name: opListImportFileTask, + HTTPMethod: "GET", + HTTPPath: "/list-import-file-task", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListImportFileTaskInput{} + } + + output = &ListImportFileTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListImportFileTask API operation for Migration Hub Strategy Recommendations. +// +// Retrieves a list of all the imports performed. +// +// 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 Migration Hub Strategy Recommendations's +// API operation ListImportFileTask for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListImportFileTask +func (c *MigrationHubStrategyRecommendations) ListImportFileTask(input *ListImportFileTaskInput) (*ListImportFileTaskOutput, error) { + req, out := c.ListImportFileTaskRequest(input) + return out, req.Send() +} + +// ListImportFileTaskWithContext is the same as ListImportFileTask with the addition of +// the ability to pass a context and additional request options. +// +// See ListImportFileTask 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 *MigrationHubStrategyRecommendations) ListImportFileTaskWithContext(ctx aws.Context, input *ListImportFileTaskInput, opts ...request.Option) (*ListImportFileTaskOutput, error) { + req, out := c.ListImportFileTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListImportFileTaskPages iterates over the pages of a ListImportFileTask operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListImportFileTask 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 ListImportFileTask operation. +// pageNum := 0 +// err := client.ListImportFileTaskPages(params, +// func(page *migrationhubstrategyrecommendations.ListImportFileTaskOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MigrationHubStrategyRecommendations) ListImportFileTaskPages(input *ListImportFileTaskInput, fn func(*ListImportFileTaskOutput, bool) bool) error { + return c.ListImportFileTaskPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListImportFileTaskPagesWithContext same as ListImportFileTaskPages 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 *MigrationHubStrategyRecommendations) ListImportFileTaskPagesWithContext(ctx aws.Context, input *ListImportFileTaskInput, fn func(*ListImportFileTaskOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListImportFileTaskInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListImportFileTaskRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListImportFileTaskOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListServers = "ListServers" + +// ListServersRequest generates a "aws/request.Request" representing the +// client's request for the ListServers 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 ListServers for more information on using the ListServers +// 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 ListServersRequest method. +// req, resp := client.ListServersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListServers +func (c *MigrationHubStrategyRecommendations) ListServersRequest(input *ListServersInput) (req *request.Request, output *ListServersOutput) { + op := &request.Operation{ + Name: opListServers, + HTTPMethod: "POST", + HTTPPath: "/list-servers", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListServersInput{} + } + + output = &ListServersOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListServers API operation for Migration Hub Strategy Recommendations. +// +// Returns a list of all the servers. +// +// 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 Migration Hub Strategy Recommendations's +// API operation ListServers for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListServers +func (c *MigrationHubStrategyRecommendations) ListServers(input *ListServersInput) (*ListServersOutput, error) { + req, out := c.ListServersRequest(input) + return out, req.Send() +} + +// ListServersWithContext is the same as ListServers with the addition of +// the ability to pass a context and additional request options. +// +// See ListServers 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 *MigrationHubStrategyRecommendations) ListServersWithContext(ctx aws.Context, input *ListServersInput, opts ...request.Option) (*ListServersOutput, error) { + req, out := c.ListServersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListServersPages iterates over the pages of a ListServers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListServers 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 ListServers operation. +// pageNum := 0 +// err := client.ListServersPages(params, +// func(page *migrationhubstrategyrecommendations.ListServersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MigrationHubStrategyRecommendations) ListServersPages(input *ListServersInput, fn func(*ListServersOutput, bool) bool) error { + return c.ListServersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListServersPagesWithContext same as ListServersPages 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 *MigrationHubStrategyRecommendations) ListServersPagesWithContext(ctx aws.Context, input *ListServersInput, fn func(*ListServersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListServersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListServersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListServersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opPutPortfolioPreferences = "PutPortfolioPreferences" + +// PutPortfolioPreferencesRequest generates a "aws/request.Request" representing the +// client's request for the PutPortfolioPreferences 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 PutPortfolioPreferences for more information on using the PutPortfolioPreferences +// 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 PutPortfolioPreferencesRequest method. +// req, resp := client.PutPortfolioPreferencesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/PutPortfolioPreferences +func (c *MigrationHubStrategyRecommendations) PutPortfolioPreferencesRequest(input *PutPortfolioPreferencesInput) (req *request.Request, output *PutPortfolioPreferencesOutput) { + op := &request.Operation{ + Name: opPutPortfolioPreferences, + HTTPMethod: "POST", + HTTPPath: "/put-portfolio-preferences", + } + + if input == nil { + input = &PutPortfolioPreferencesInput{} + } + + output = &PutPortfolioPreferencesOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// PutPortfolioPreferences API operation for Migration Hub Strategy Recommendations. +// +// Saves the specified migration and modernization preferences. +// +// 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 Migration Hub Strategy Recommendations's +// API operation PutPortfolioPreferences for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * ConflictException +// Exception to indicate that there is an ongoing task when a new task is created. +// Return when once the existing tasks are complete. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/PutPortfolioPreferences +func (c *MigrationHubStrategyRecommendations) PutPortfolioPreferences(input *PutPortfolioPreferencesInput) (*PutPortfolioPreferencesOutput, error) { + req, out := c.PutPortfolioPreferencesRequest(input) + return out, req.Send() +} + +// PutPortfolioPreferencesWithContext is the same as PutPortfolioPreferences with the addition of +// the ability to pass a context and additional request options. +// +// See PutPortfolioPreferences 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 *MigrationHubStrategyRecommendations) PutPortfolioPreferencesWithContext(ctx aws.Context, input *PutPortfolioPreferencesInput, opts ...request.Option) (*PutPortfolioPreferencesOutput, error) { + req, out := c.PutPortfolioPreferencesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartAssessment = "StartAssessment" + +// StartAssessmentRequest generates a "aws/request.Request" representing the +// client's request for the StartAssessment 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 StartAssessment for more information on using the StartAssessment +// 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 StartAssessmentRequest method. +// req, resp := client.StartAssessmentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartAssessment +func (c *MigrationHubStrategyRecommendations) StartAssessmentRequest(input *StartAssessmentInput) (req *request.Request, output *StartAssessmentOutput) { + op := &request.Operation{ + Name: opStartAssessment, + HTTPMethod: "POST", + HTTPPath: "/start-assessment", + } + + if input == nil { + input = &StartAssessmentInput{} + } + + output = &StartAssessmentOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartAssessment API operation for Migration Hub Strategy Recommendations. +// +// Starts the assessment of an on-premises environment. +// +// 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 Migration Hub Strategy Recommendations's +// API operation StartAssessment for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ServiceQuotaExceededException +// The AWS account has reached its quota of imports. Contact AWS Support to +// increase the quota for this account. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartAssessment +func (c *MigrationHubStrategyRecommendations) StartAssessment(input *StartAssessmentInput) (*StartAssessmentOutput, error) { + req, out := c.StartAssessmentRequest(input) + return out, req.Send() +} + +// StartAssessmentWithContext is the same as StartAssessment with the addition of +// the ability to pass a context and additional request options. +// +// See StartAssessment 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 *MigrationHubStrategyRecommendations) StartAssessmentWithContext(ctx aws.Context, input *StartAssessmentInput, opts ...request.Option) (*StartAssessmentOutput, error) { + req, out := c.StartAssessmentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartImportFileTask = "StartImportFileTask" + +// StartImportFileTaskRequest generates a "aws/request.Request" representing the +// client's request for the StartImportFileTask 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 StartImportFileTask for more information on using the StartImportFileTask +// 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 StartImportFileTaskRequest method. +// req, resp := client.StartImportFileTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartImportFileTask +func (c *MigrationHubStrategyRecommendations) StartImportFileTaskRequest(input *StartImportFileTaskInput) (req *request.Request, output *StartImportFileTaskOutput) { + op := &request.Operation{ + Name: opStartImportFileTask, + HTTPMethod: "POST", + HTTPPath: "/start-import-file-task", + } + + if input == nil { + input = &StartImportFileTaskInput{} + } + + output = &StartImportFileTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartImportFileTask API operation for Migration Hub Strategy Recommendations. +// +// Starts a file 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 Migration Hub Strategy Recommendations's +// API operation StartImportFileTask for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ServiceQuotaExceededException +// The AWS account has reached its quota of imports. Contact AWS Support to +// increase the quota for this account. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartImportFileTask +func (c *MigrationHubStrategyRecommendations) StartImportFileTask(input *StartImportFileTaskInput) (*StartImportFileTaskOutput, error) { + req, out := c.StartImportFileTaskRequest(input) + return out, req.Send() +} + +// StartImportFileTaskWithContext is the same as StartImportFileTask with the addition of +// the ability to pass a context and additional request options. +// +// See StartImportFileTask 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 *MigrationHubStrategyRecommendations) StartImportFileTaskWithContext(ctx aws.Context, input *StartImportFileTaskInput, opts ...request.Option) (*StartImportFileTaskOutput, error) { + req, out := c.StartImportFileTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartRecommendationReportGeneration = "StartRecommendationReportGeneration" + +// StartRecommendationReportGenerationRequest generates a "aws/request.Request" representing the +// client's request for the StartRecommendationReportGeneration 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 StartRecommendationReportGeneration for more information on using the StartRecommendationReportGeneration +// 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 StartRecommendationReportGenerationRequest method. +// req, resp := client.StartRecommendationReportGenerationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartRecommendationReportGeneration +func (c *MigrationHubStrategyRecommendations) StartRecommendationReportGenerationRequest(input *StartRecommendationReportGenerationInput) (req *request.Request, output *StartRecommendationReportGenerationOutput) { + op := &request.Operation{ + Name: opStartRecommendationReportGeneration, + HTTPMethod: "POST", + HTTPPath: "/start-recommendation-report-generation", + } + + if input == nil { + input = &StartRecommendationReportGenerationInput{} + } + + output = &StartRecommendationReportGenerationOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartRecommendationReportGeneration API operation for Migration Hub Strategy Recommendations. +// +// Starts generating a recommendation report. +// +// 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 Migration Hub Strategy Recommendations's +// API operation StartRecommendationReportGeneration for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * ConflictException +// Exception to indicate that there is an ongoing task when a new task is created. +// Return when once the existing tasks are complete. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartRecommendationReportGeneration +func (c *MigrationHubStrategyRecommendations) StartRecommendationReportGeneration(input *StartRecommendationReportGenerationInput) (*StartRecommendationReportGenerationOutput, error) { + req, out := c.StartRecommendationReportGenerationRequest(input) + return out, req.Send() +} + +// StartRecommendationReportGenerationWithContext is the same as StartRecommendationReportGeneration with the addition of +// the ability to pass a context and additional request options. +// +// See StartRecommendationReportGeneration 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 *MigrationHubStrategyRecommendations) StartRecommendationReportGenerationWithContext(ctx aws.Context, input *StartRecommendationReportGenerationInput, opts ...request.Option) (*StartRecommendationReportGenerationOutput, error) { + req, out := c.StartRecommendationReportGenerationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStopAssessment = "StopAssessment" + +// StopAssessmentRequest generates a "aws/request.Request" representing the +// client's request for the StopAssessment 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 StopAssessment for more information on using the StopAssessment +// 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 StopAssessmentRequest method. +// req, resp := client.StopAssessmentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StopAssessment +func (c *MigrationHubStrategyRecommendations) StopAssessmentRequest(input *StopAssessmentInput) (req *request.Request, output *StopAssessmentOutput) { + op := &request.Operation{ + Name: opStopAssessment, + HTTPMethod: "POST", + HTTPPath: "/stop-assessment", + } + + if input == nil { + input = &StopAssessmentInput{} + } + + output = &StopAssessmentOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// StopAssessment API operation for Migration Hub Strategy Recommendations. +// +// Stops the assessment of an on-premises environment. +// +// 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 Migration Hub Strategy Recommendations's +// API operation StopAssessment for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StopAssessment +func (c *MigrationHubStrategyRecommendations) StopAssessment(input *StopAssessmentInput) (*StopAssessmentOutput, error) { + req, out := c.StopAssessmentRequest(input) + return out, req.Send() +} + +// StopAssessmentWithContext is the same as StopAssessment with the addition of +// the ability to pass a context and additional request options. +// +// See StopAssessment 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 *MigrationHubStrategyRecommendations) StopAssessmentWithContext(ctx aws.Context, input *StopAssessmentInput, opts ...request.Option) (*StopAssessmentOutput, error) { + req, out := c.StopAssessmentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateApplicationComponentConfig = "UpdateApplicationComponentConfig" + +// UpdateApplicationComponentConfigRequest generates a "aws/request.Request" representing the +// client's request for the UpdateApplicationComponentConfig 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 UpdateApplicationComponentConfig for more information on using the UpdateApplicationComponentConfig +// 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 UpdateApplicationComponentConfigRequest method. +// req, resp := client.UpdateApplicationComponentConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateApplicationComponentConfig +func (c *MigrationHubStrategyRecommendations) UpdateApplicationComponentConfigRequest(input *UpdateApplicationComponentConfigInput) (req *request.Request, output *UpdateApplicationComponentConfigOutput) { + op := &request.Operation{ + Name: opUpdateApplicationComponentConfig, + HTTPMethod: "POST", + HTTPPath: "/update-applicationcomponent-config/", + } + + if input == nil { + input = &UpdateApplicationComponentConfigInput{} + } + + output = &UpdateApplicationComponentConfigOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateApplicationComponentConfig API operation for Migration Hub Strategy Recommendations. +// +// Updates the configuration of an application component. +// +// 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 Migration Hub Strategy Recommendations's +// API operation UpdateApplicationComponentConfig for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The specified ID in the request is not found. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateApplicationComponentConfig +func (c *MigrationHubStrategyRecommendations) UpdateApplicationComponentConfig(input *UpdateApplicationComponentConfigInput) (*UpdateApplicationComponentConfigOutput, error) { + req, out := c.UpdateApplicationComponentConfigRequest(input) + return out, req.Send() +} + +// UpdateApplicationComponentConfigWithContext is the same as UpdateApplicationComponentConfig with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateApplicationComponentConfig 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 *MigrationHubStrategyRecommendations) UpdateApplicationComponentConfigWithContext(ctx aws.Context, input *UpdateApplicationComponentConfigInput, opts ...request.Option) (*UpdateApplicationComponentConfigOutput, error) { + req, out := c.UpdateApplicationComponentConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateServerConfig = "UpdateServerConfig" + +// UpdateServerConfigRequest generates a "aws/request.Request" representing the +// client's request for the UpdateServerConfig 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 UpdateServerConfig for more information on using the UpdateServerConfig +// 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 UpdateServerConfigRequest method. +// req, resp := client.UpdateServerConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateServerConfig +func (c *MigrationHubStrategyRecommendations) UpdateServerConfigRequest(input *UpdateServerConfigInput) (req *request.Request, output *UpdateServerConfigOutput) { + op := &request.Operation{ + Name: opUpdateServerConfig, + HTTPMethod: "POST", + HTTPPath: "/update-server-config/", + } + + if input == nil { + input = &UpdateServerConfigInput{} + } + + output = &UpdateServerConfigOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateServerConfig API operation for Migration Hub Strategy Recommendations. +// +// Updates the configuration of the specified server. +// +// 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 Migration Hub Strategy Recommendations's +// API operation UpdateServerConfig for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The specified ID in the request is not found. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * ValidationException +// The request body isn't valid. +// +// * InternalServerException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateServerConfig +func (c *MigrationHubStrategyRecommendations) UpdateServerConfig(input *UpdateServerConfigInput) (*UpdateServerConfigOutput, error) { + req, out := c.UpdateServerConfigRequest(input) + return out, req.Send() +} + +// UpdateServerConfigWithContext is the same as UpdateServerConfig with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateServerConfig 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 *MigrationHubStrategyRecommendations) UpdateServerConfigWithContext(ctx aws.Context, input *UpdateServerConfigInput, opts ...request.Option) (*UpdateServerConfigOutput, error) { + req, out := c.UpdateServerConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + 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", s.Code(), s.Message()) +} + +// 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 +} + +// Contains the summary of anti-patterns and their severity. +type AntipatternSeveritySummary struct { + _ struct{} `type:"structure"` + + // Contains the count of anti-patterns. + Count *int64 `locationName:"count" type:"integer"` + + // Contains the severity of anti-patterns. + Severity *string `locationName:"severity" type:"string" enum:"Severity"` +} + +// 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 AntipatternSeveritySummary) 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 AntipatternSeveritySummary) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *AntipatternSeveritySummary) SetCount(v int64) *AntipatternSeveritySummary { + s.Count = &v + return s +} + +// SetSeverity sets the Severity field's value. +func (s *AntipatternSeveritySummary) SetSeverity(v string) *AntipatternSeveritySummary { + s.Severity = &v + return s +} + +// Contains detailed information about an application component. +type ApplicationComponentDetail struct { + _ struct{} `type:"structure"` + + // The status of analysis, if the application component has source code or an + // associated database. + AnalysisStatus *string `locationName:"analysisStatus" type:"string" enum:"SrcCodeOrDbAnalysisStatus"` + + // The S3 bucket name and the Amazon S3 key name for the anti-pattern report. + AntipatternReportS3Object *S3Object `locationName:"antipatternReportS3Object" type:"structure"` + + // The status of the anti-pattern report generation. + AntipatternReportStatus *string `locationName:"antipatternReportStatus" type:"string" enum:"AntipatternReportStatus"` + + // The status message for the anti-pattern. + AntipatternReportStatusMessage *string `locationName:"antipatternReportStatusMessage" type:"string"` + + // The type of application component. + AppType *string `locationName:"appType" type:"string" enum:"AppType"` + + // The ID of the server that the application component is running on. + AssociatedServerId *string `locationName:"associatedServerId" min:"1" type:"string"` + + // Configuration details for the database associated with the application component. + DatabaseConfigDetail *DatabaseConfigDetail `locationName:"databaseConfigDetail" type:"structure"` + + // The ID of the application component. + Id *string `locationName:"id" type:"string"` + + // Indicates whether the application component has been included for server + // recommendation or not. + InclusionStatus *string `locationName:"inclusionStatus" type:"string" enum:"InclusionStatus"` + + // The timestamp of when the application component was assessed. + LastAnalyzedTimestamp *time.Time `locationName:"lastAnalyzedTimestamp" type:"timestamp"` + + // A list of anti-pattern severity summaries. + ListAntipatternSeveritySummary []*AntipatternSeveritySummary `locationName:"listAntipatternSeveritySummary" type:"list"` + + // Set to true if the application component is running on multiple servers. + MoreServerAssociationExists *bool `locationName:"moreServerAssociationExists" type:"boolean"` + + // The name of application component. + Name *string `locationName:"name" type:"string"` + + // OS driver. + OsDriver *string `locationName:"osDriver" type:"string"` + + // OS version. + OsVersion *string `locationName:"osVersion" type:"string"` + + // The top recommendation set for the application component. + RecommendationSet *RecommendationSet `locationName:"recommendationSet" type:"structure"` + + // The application component subtype. + ResourceSubType *string `locationName:"resourceSubType" type:"string" enum:"ResourceSubType"` + + // Details about the source code repository associated with the application + // component. + SourceCodeRepositories []*SourceCodeRepository `locationName:"sourceCodeRepositories" type:"list"` + + // A detailed description of the analysis status and any failure message. + StatusMessage *string `locationName:"statusMessage" 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 ApplicationComponentDetail) 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 ApplicationComponentDetail) GoString() string { + return s.String() +} + +// SetAnalysisStatus sets the AnalysisStatus field's value. +func (s *ApplicationComponentDetail) SetAnalysisStatus(v string) *ApplicationComponentDetail { + s.AnalysisStatus = &v + return s +} + +// SetAntipatternReportS3Object sets the AntipatternReportS3Object field's value. +func (s *ApplicationComponentDetail) SetAntipatternReportS3Object(v *S3Object) *ApplicationComponentDetail { + s.AntipatternReportS3Object = v + return s +} + +// SetAntipatternReportStatus sets the AntipatternReportStatus field's value. +func (s *ApplicationComponentDetail) SetAntipatternReportStatus(v string) *ApplicationComponentDetail { + s.AntipatternReportStatus = &v + return s +} + +// SetAntipatternReportStatusMessage sets the AntipatternReportStatusMessage field's value. +func (s *ApplicationComponentDetail) SetAntipatternReportStatusMessage(v string) *ApplicationComponentDetail { + s.AntipatternReportStatusMessage = &v + return s +} + +// SetAppType sets the AppType field's value. +func (s *ApplicationComponentDetail) SetAppType(v string) *ApplicationComponentDetail { + s.AppType = &v + return s +} + +// SetAssociatedServerId sets the AssociatedServerId field's value. +func (s *ApplicationComponentDetail) SetAssociatedServerId(v string) *ApplicationComponentDetail { + s.AssociatedServerId = &v + return s +} + +// SetDatabaseConfigDetail sets the DatabaseConfigDetail field's value. +func (s *ApplicationComponentDetail) SetDatabaseConfigDetail(v *DatabaseConfigDetail) *ApplicationComponentDetail { + s.DatabaseConfigDetail = v + return s +} + +// SetId sets the Id field's value. +func (s *ApplicationComponentDetail) SetId(v string) *ApplicationComponentDetail { + s.Id = &v + return s +} + +// SetInclusionStatus sets the InclusionStatus field's value. +func (s *ApplicationComponentDetail) SetInclusionStatus(v string) *ApplicationComponentDetail { + s.InclusionStatus = &v + return s +} + +// SetLastAnalyzedTimestamp sets the LastAnalyzedTimestamp field's value. +func (s *ApplicationComponentDetail) SetLastAnalyzedTimestamp(v time.Time) *ApplicationComponentDetail { + s.LastAnalyzedTimestamp = &v + return s +} + +// SetListAntipatternSeveritySummary sets the ListAntipatternSeveritySummary field's value. +func (s *ApplicationComponentDetail) SetListAntipatternSeveritySummary(v []*AntipatternSeveritySummary) *ApplicationComponentDetail { + s.ListAntipatternSeveritySummary = v + return s +} + +// SetMoreServerAssociationExists sets the MoreServerAssociationExists field's value. +func (s *ApplicationComponentDetail) SetMoreServerAssociationExists(v bool) *ApplicationComponentDetail { + s.MoreServerAssociationExists = &v + return s +} + +// SetName sets the Name field's value. +func (s *ApplicationComponentDetail) SetName(v string) *ApplicationComponentDetail { + s.Name = &v + return s +} + +// SetOsDriver sets the OsDriver field's value. +func (s *ApplicationComponentDetail) SetOsDriver(v string) *ApplicationComponentDetail { + s.OsDriver = &v + return s +} + +// SetOsVersion sets the OsVersion field's value. +func (s *ApplicationComponentDetail) SetOsVersion(v string) *ApplicationComponentDetail { + s.OsVersion = &v + return s +} + +// SetRecommendationSet sets the RecommendationSet field's value. +func (s *ApplicationComponentDetail) SetRecommendationSet(v *RecommendationSet) *ApplicationComponentDetail { + s.RecommendationSet = v + return s +} + +// SetResourceSubType sets the ResourceSubType field's value. +func (s *ApplicationComponentDetail) SetResourceSubType(v string) *ApplicationComponentDetail { + s.ResourceSubType = &v + return s +} + +// SetSourceCodeRepositories sets the SourceCodeRepositories field's value. +func (s *ApplicationComponentDetail) SetSourceCodeRepositories(v []*SourceCodeRepository) *ApplicationComponentDetail { + s.SourceCodeRepositories = v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *ApplicationComponentDetail) SetStatusMessage(v string) *ApplicationComponentDetail { + s.StatusMessage = &v + return s +} + +// Contains information about a strategy recommendation for an application component. +type ApplicationComponentStrategy struct { + _ struct{} `type:"structure"` + + // Set to true if the recommendation is set as preferred. + IsPreferred *bool `locationName:"isPreferred" type:"boolean"` + + // Strategy recommendation for the application component. + Recommendation *RecommendationSet `locationName:"recommendation" type:"structure"` + + // The recommendation status of a strategy for an application component. + Status *string `locationName:"status" type:"string" enum:"StrategyRecommendation"` +} + +// 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 ApplicationComponentStrategy) 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 ApplicationComponentStrategy) GoString() string { + return s.String() +} + +// SetIsPreferred sets the IsPreferred field's value. +func (s *ApplicationComponentStrategy) SetIsPreferred(v bool) *ApplicationComponentStrategy { + s.IsPreferred = &v + return s +} + +// SetRecommendation sets the Recommendation field's value. +func (s *ApplicationComponentStrategy) SetRecommendation(v *RecommendationSet) *ApplicationComponentStrategy { + s.Recommendation = v + return s +} + +// SetStatus sets the Status field's value. +func (s *ApplicationComponentStrategy) SetStatus(v string) *ApplicationComponentStrategy { + s.Status = &v + return s +} + +// Contains the summary of application components. +type ApplicationComponentSummary struct { + _ struct{} `type:"structure"` + + // Contains the name of application types. + AppType *string `locationName:"appType" type:"string" enum:"AppType"` + + // Contains the count of application type. + Count *int64 `locationName:"count" 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 ApplicationComponentSummary) 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 ApplicationComponentSummary) GoString() string { + return s.String() +} + +// SetAppType sets the AppType field's value. +func (s *ApplicationComponentSummary) SetAppType(v string) *ApplicationComponentSummary { + s.AppType = &v + return s +} + +// SetCount sets the Count field's value. +func (s *ApplicationComponentSummary) SetCount(v int64) *ApplicationComponentSummary { + s.Count = &v + return s +} + +// Application preferences that you specify. +type ApplicationPreferences struct { + _ struct{} `type:"structure"` + + // Application preferences that you specify to prefer managed environment. + ManagementPreference *ManagementPreference `locationName:"managementPreference" 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 ApplicationPreferences) 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 ApplicationPreferences) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ApplicationPreferences) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ApplicationPreferences"} + if s.ManagementPreference != nil { + if err := s.ManagementPreference.Validate(); err != nil { + invalidParams.AddNested("ManagementPreference", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetManagementPreference sets the ManagementPreference field's value. +func (s *ApplicationPreferences) SetManagementPreference(v *ManagementPreference) *ApplicationPreferences { + s.ManagementPreference = v + return s +} + +// Contains the summary of the assessment results. +type AssessmentSummary struct { + _ struct{} `type:"structure"` + + // The Amazon S3 object containing the anti-pattern report. + AntipatternReportS3Object *S3Object `locationName:"antipatternReportS3Object" type:"structure"` + + // The status of the anti-pattern report. + AntipatternReportStatus *string `locationName:"antipatternReportStatus" type:"string" enum:"AntipatternReportStatus"` + + // The status message of the anti-pattern report. + AntipatternReportStatusMessage *string `locationName:"antipatternReportStatusMessage" type:"string"` + + // The time the assessment was performed. + LastAnalyzedTimestamp *time.Time `locationName:"lastAnalyzedTimestamp" type:"timestamp"` + + // List of AntipatternSeveritySummary. + ListAntipatternSeveritySummary []*AntipatternSeveritySummary `locationName:"listAntipatternSeveritySummary" type:"list"` + + // List of ApplicationComponentStrategySummary. + ListApplicationComponentStrategySummary []*StrategySummary `locationName:"listApplicationComponentStrategySummary" type:"list"` + + // List of ApplicationComponentSummary. + ListApplicationComponentSummary []*ApplicationComponentSummary `locationName:"listApplicationComponentSummary" type:"list"` + + // List of ServerStrategySummary. + ListServerStrategySummary []*StrategySummary `locationName:"listServerStrategySummary" type:"list"` + + // List of ServerSummary. + ListServerSummary []*ServerSummary `locationName:"listServerSummary" 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 AssessmentSummary) 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 AssessmentSummary) GoString() string { + return s.String() +} + +// SetAntipatternReportS3Object sets the AntipatternReportS3Object field's value. +func (s *AssessmentSummary) SetAntipatternReportS3Object(v *S3Object) *AssessmentSummary { + s.AntipatternReportS3Object = v + return s +} + +// SetAntipatternReportStatus sets the AntipatternReportStatus field's value. +func (s *AssessmentSummary) SetAntipatternReportStatus(v string) *AssessmentSummary { + s.AntipatternReportStatus = &v + return s +} + +// SetAntipatternReportStatusMessage sets the AntipatternReportStatusMessage field's value. +func (s *AssessmentSummary) SetAntipatternReportStatusMessage(v string) *AssessmentSummary { + s.AntipatternReportStatusMessage = &v + return s +} + +// SetLastAnalyzedTimestamp sets the LastAnalyzedTimestamp field's value. +func (s *AssessmentSummary) SetLastAnalyzedTimestamp(v time.Time) *AssessmentSummary { + s.LastAnalyzedTimestamp = &v + return s +} + +// SetListAntipatternSeveritySummary sets the ListAntipatternSeveritySummary field's value. +func (s *AssessmentSummary) SetListAntipatternSeveritySummary(v []*AntipatternSeveritySummary) *AssessmentSummary { + s.ListAntipatternSeveritySummary = v + return s +} + +// SetListApplicationComponentStrategySummary sets the ListApplicationComponentStrategySummary field's value. +func (s *AssessmentSummary) SetListApplicationComponentStrategySummary(v []*StrategySummary) *AssessmentSummary { + s.ListApplicationComponentStrategySummary = v + return s +} + +// SetListApplicationComponentSummary sets the ListApplicationComponentSummary field's value. +func (s *AssessmentSummary) SetListApplicationComponentSummary(v []*ApplicationComponentSummary) *AssessmentSummary { + s.ListApplicationComponentSummary = v + return s +} + +// SetListServerStrategySummary sets the ListServerStrategySummary field's value. +func (s *AssessmentSummary) SetListServerStrategySummary(v []*StrategySummary) *AssessmentSummary { + s.ListServerStrategySummary = v + return s +} + +// SetListServerSummary sets the ListServerSummary field's value. +func (s *AssessmentSummary) SetListServerSummary(v []*ServerSummary) *AssessmentSummary { + s.ListServerSummary = v + return s +} + +// Object containing details about applications as defined in Application Discovery +// Service. +type AssociatedApplication struct { + _ struct{} `type:"structure"` + + // ID of the application as defined in Application Discovery Service. + Id *string `locationName:"id" type:"string"` + + // Name of the application as defined in Application Discovery Service. + Name *string `locationName:"name" 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 AssociatedApplication) 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 AssociatedApplication) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *AssociatedApplication) SetId(v string) *AssociatedApplication { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *AssociatedApplication) SetName(v string) *AssociatedApplication { + s.Name = &v + return s +} + +// Object containing the choice of application destination that you specify. +type AwsManagedResources struct { + _ struct{} `type:"structure"` + + // The choice of application destination that you specify. + // + // TargetDestination is a required field + TargetDestination []*string `locationName:"targetDestination" 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 AwsManagedResources) 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 AwsManagedResources) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AwsManagedResources) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AwsManagedResources"} + if s.TargetDestination == nil { + invalidParams.Add(request.NewErrParamRequired("TargetDestination")) + } + if s.TargetDestination != nil && len(s.TargetDestination) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TargetDestination", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTargetDestination sets the TargetDestination field's value. +func (s *AwsManagedResources) SetTargetDestination(v []*string) *AwsManagedResources { + s.TargetDestination = v + return s +} + +// Business goals that you specify. +type BusinessGoals struct { + _ struct{} `type:"structure"` + + // Business goal to reduce license costs. + LicenseCostReduction *int64 `locationName:"licenseCostReduction" min:"1" type:"integer"` + + // Business goal to modernize infrastructure by moving to cloud native technologies. + ModernizeInfrastructureWithCloudNativeTechnologies *int64 `locationName:"modernizeInfrastructureWithCloudNativeTechnologies" min:"1" type:"integer"` + + // Business goal to reduce the operational overhead on the team by moving into + // managed services. + ReduceOperationalOverheadWithManagedServices *int64 `locationName:"reduceOperationalOverheadWithManagedServices" min:"1" type:"integer"` + + // Business goal to achieve migration at a fast pace. + SpeedOfMigration *int64 `locationName:"speedOfMigration" min:"1" 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 BusinessGoals) 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 BusinessGoals) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BusinessGoals) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BusinessGoals"} + if s.LicenseCostReduction != nil && *s.LicenseCostReduction < 1 { + invalidParams.Add(request.NewErrParamMinValue("LicenseCostReduction", 1)) + } + if s.ModernizeInfrastructureWithCloudNativeTechnologies != nil && *s.ModernizeInfrastructureWithCloudNativeTechnologies < 1 { + invalidParams.Add(request.NewErrParamMinValue("ModernizeInfrastructureWithCloudNativeTechnologies", 1)) + } + if s.ReduceOperationalOverheadWithManagedServices != nil && *s.ReduceOperationalOverheadWithManagedServices < 1 { + invalidParams.Add(request.NewErrParamMinValue("ReduceOperationalOverheadWithManagedServices", 1)) + } + if s.SpeedOfMigration != nil && *s.SpeedOfMigration < 1 { + invalidParams.Add(request.NewErrParamMinValue("SpeedOfMigration", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLicenseCostReduction sets the LicenseCostReduction field's value. +func (s *BusinessGoals) SetLicenseCostReduction(v int64) *BusinessGoals { + s.LicenseCostReduction = &v + return s +} + +// SetModernizeInfrastructureWithCloudNativeTechnologies sets the ModernizeInfrastructureWithCloudNativeTechnologies field's value. +func (s *BusinessGoals) SetModernizeInfrastructureWithCloudNativeTechnologies(v int64) *BusinessGoals { + s.ModernizeInfrastructureWithCloudNativeTechnologies = &v + return s +} + +// SetReduceOperationalOverheadWithManagedServices sets the ReduceOperationalOverheadWithManagedServices field's value. +func (s *BusinessGoals) SetReduceOperationalOverheadWithManagedServices(v int64) *BusinessGoals { + s.ReduceOperationalOverheadWithManagedServices = &v + return s +} + +// SetSpeedOfMigration sets the SpeedOfMigration field's value. +func (s *BusinessGoals) SetSpeedOfMigration(v int64) *BusinessGoals { + s.SpeedOfMigration = &v + return s +} + +// Process data collector that runs in the environment that you specify. +type Collector struct { + _ struct{} `type:"structure"` + + // Indicates the health of a collector. + CollectorHealth *string `locationName:"collectorHealth" type:"string" enum:"CollectorHealth"` + + // The ID of the collector. + CollectorId *string `locationName:"collectorId" type:"string"` + + // Current version of the collector that is running in the environment that + // you specify. + CollectorVersion *string `locationName:"collectorVersion" type:"string"` + + // Hostname of the server that is hosting the collector. + HostName *string `locationName:"hostName" type:"string"` + + // IP address of the server that is hosting the collector. + IpAddress *string `locationName:"ipAddress" type:"string"` + + // Time when the collector last pinged the service. + LastActivityTimeStamp *string `locationName:"lastActivityTimeStamp" type:"string"` + + // Time when the collector registered with the service. + RegisteredTimeStamp *string `locationName:"registeredTimeStamp" 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 Collector) 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 Collector) GoString() string { + return s.String() +} + +// SetCollectorHealth sets the CollectorHealth field's value. +func (s *Collector) SetCollectorHealth(v string) *Collector { + s.CollectorHealth = &v + return s +} + +// SetCollectorId sets the CollectorId field's value. +func (s *Collector) SetCollectorId(v string) *Collector { + s.CollectorId = &v + return s +} + +// SetCollectorVersion sets the CollectorVersion field's value. +func (s *Collector) SetCollectorVersion(v string) *Collector { + s.CollectorVersion = &v + return s +} + +// SetHostName sets the HostName field's value. +func (s *Collector) SetHostName(v string) *Collector { + s.HostName = &v + return s +} + +// SetIpAddress sets the IpAddress field's value. +func (s *Collector) SetIpAddress(v string) *Collector { + s.IpAddress = &v + return s +} + +// SetLastActivityTimeStamp sets the LastActivityTimeStamp field's value. +func (s *Collector) SetLastActivityTimeStamp(v string) *Collector { + s.LastActivityTimeStamp = &v + return s +} + +// SetRegisteredTimeStamp sets the RegisteredTimeStamp field's value. +func (s *Collector) SetRegisteredTimeStamp(v string) *Collector { + s.RegisteredTimeStamp = &v + return s +} + +// Exception to indicate that there is an ongoing task when a new task is created. +// Return when once the existing tasks are complete. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + 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 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 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 "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Detailed information about an assessment. +type DataCollectionDetails struct { + _ struct{} `type:"structure"` + + // The time the assessment completes. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp"` + + // The number of failed servers in the assessment. + Failed *int64 `locationName:"failed" type:"integer"` + + // The number of servers with the assessment status IN_PROGESS. + InProgress *int64 `locationName:"inProgress" type:"integer"` + + // The total number of servers in the assessment. + Servers *int64 `locationName:"servers" type:"integer"` + + // The start time of assessment. + StartTime *time.Time `locationName:"startTime" type:"timestamp"` + + // The status of the assessment. + Status *string `locationName:"status" type:"string" enum:"AssessmentStatus"` + + // The number of successful servers in the assessment. + Success *int64 `locationName:"success" 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 DataCollectionDetails) 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 DataCollectionDetails) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *DataCollectionDetails) SetCompletionTime(v time.Time) *DataCollectionDetails { + s.CompletionTime = &v + return s +} + +// SetFailed sets the Failed field's value. +func (s *DataCollectionDetails) SetFailed(v int64) *DataCollectionDetails { + s.Failed = &v + return s +} + +// SetInProgress sets the InProgress field's value. +func (s *DataCollectionDetails) SetInProgress(v int64) *DataCollectionDetails { + s.InProgress = &v + return s +} + +// SetServers sets the Servers field's value. +func (s *DataCollectionDetails) SetServers(v int64) *DataCollectionDetails { + s.Servers = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *DataCollectionDetails) SetStartTime(v time.Time) *DataCollectionDetails { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DataCollectionDetails) SetStatus(v string) *DataCollectionDetails { + s.Status = &v + return s +} + +// SetSuccess sets the Success field's value. +func (s *DataCollectionDetails) SetSuccess(v int64) *DataCollectionDetails { + s.Success = &v + return s +} + +// Configuration information used for assessing databases. +type DatabaseConfigDetail struct { + _ struct{} `type:"structure"` + + // AWS Secrets Manager key that holds the credentials that you use to connect + // to a database. + SecretName *string `locationName:"secretName" 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 DatabaseConfigDetail) 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 DatabaseConfigDetail) GoString() string { + return s.String() +} + +// SetSecretName sets the SecretName field's value. +func (s *DatabaseConfigDetail) SetSecretName(v string) *DatabaseConfigDetail { + s.SecretName = &v + return s +} + +// Preferences for migrating a database to AWS. +type DatabaseMigrationPreference struct { + _ struct{} `type:"structure"` + + // Indicates whether you are interested in moving from one type of database + // to another. For example, from SQL Server to Amazon Aurora MySQL-Compatible + // Edition. + Heterogeneous *Heterogeneous `locationName:"heterogeneous" type:"structure"` + + // Indicates whether you are interested in moving to the same type of database + // into AWS. For example, from SQL Server in your environment to SQL Server + // on AWS. + Homogeneous *Homogeneous `locationName:"homogeneous" type:"structure"` + + // Indicated that you do not prefer heterogeneous or homogeneous. + NoPreference *NoDatabaseMigrationPreference `locationName:"noPreference" 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 DatabaseMigrationPreference) 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 DatabaseMigrationPreference) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DatabaseMigrationPreference) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DatabaseMigrationPreference"} + if s.Heterogeneous != nil { + if err := s.Heterogeneous.Validate(); err != nil { + invalidParams.AddNested("Heterogeneous", err.(request.ErrInvalidParams)) + } + } + if s.NoPreference != nil { + if err := s.NoPreference.Validate(); err != nil { + invalidParams.AddNested("NoPreference", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHeterogeneous sets the Heterogeneous field's value. +func (s *DatabaseMigrationPreference) SetHeterogeneous(v *Heterogeneous) *DatabaseMigrationPreference { + s.Heterogeneous = v + return s +} + +// SetHomogeneous sets the Homogeneous field's value. +func (s *DatabaseMigrationPreference) SetHomogeneous(v *Homogeneous) *DatabaseMigrationPreference { + s.Homogeneous = v + return s +} + +// SetNoPreference sets the NoPreference field's value. +func (s *DatabaseMigrationPreference) SetNoPreference(v *NoDatabaseMigrationPreference) *DatabaseMigrationPreference { + s.NoPreference = v + return s +} + +// Preferences on managing your databases on AWS. +type DatabasePreferences struct { + _ struct{} `type:"structure"` + + // Specifies whether you're interested in self-managed databases or databases + // managed by AWS. + DatabaseManagementPreference *string `locationName:"databaseManagementPreference" type:"string" enum:"DatabaseManagementPreference"` + + // Specifies your preferred migration path. + DatabaseMigrationPreference *DatabaseMigrationPreference `locationName:"databaseMigrationPreference" 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 DatabasePreferences) 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 DatabasePreferences) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DatabasePreferences) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DatabasePreferences"} + if s.DatabaseMigrationPreference != nil { + if err := s.DatabaseMigrationPreference.Validate(); err != nil { + invalidParams.AddNested("DatabaseMigrationPreference", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDatabaseManagementPreference sets the DatabaseManagementPreference field's value. +func (s *DatabasePreferences) SetDatabaseManagementPreference(v string) *DatabasePreferences { + s.DatabaseManagementPreference = &v + return s +} + +// SetDatabaseMigrationPreference sets the DatabaseMigrationPreference field's value. +func (s *DatabasePreferences) SetDatabaseMigrationPreference(v *DatabaseMigrationPreference) *DatabasePreferences { + s.DatabaseMigrationPreference = v + return s +} + +type GetApplicationComponentDetailsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the application component. The ID is unique within an AWS account. + // + // ApplicationComponentId is a required field + ApplicationComponentId *string `location:"uri" locationName:"applicationComponentId" 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 GetApplicationComponentDetailsInput) 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 GetApplicationComponentDetailsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetApplicationComponentDetailsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetApplicationComponentDetailsInput"} + if s.ApplicationComponentId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationComponentId")) + } + if s.ApplicationComponentId != nil && len(*s.ApplicationComponentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationComponentId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationComponentId sets the ApplicationComponentId field's value. +func (s *GetApplicationComponentDetailsInput) SetApplicationComponentId(v string) *GetApplicationComponentDetailsInput { + s.ApplicationComponentId = &v + return s +} + +type GetApplicationComponentDetailsOutput struct { + _ struct{} `type:"structure"` + + // Detailed information about an application component. + ApplicationComponentDetail *ApplicationComponentDetail `locationName:"applicationComponentDetail" type:"structure"` + + // The associated application group as defined in AWS Application Discovery + // Service. + AssociatedApplications []*AssociatedApplication `locationName:"associatedApplications" type:"list"` + + // A list of the IDs of the servers on which the application component is running. + AssociatedServerIds []*string `locationName:"associatedServerIds" type:"list"` + + // Set to true if the application component belongs to more than one application + // group. + MoreApplicationResource *bool `locationName:"moreApplicationResource" 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 GetApplicationComponentDetailsOutput) 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 GetApplicationComponentDetailsOutput) GoString() string { + return s.String() +} + +// SetApplicationComponentDetail sets the ApplicationComponentDetail field's value. +func (s *GetApplicationComponentDetailsOutput) SetApplicationComponentDetail(v *ApplicationComponentDetail) *GetApplicationComponentDetailsOutput { + s.ApplicationComponentDetail = v + return s +} + +// SetAssociatedApplications sets the AssociatedApplications field's value. +func (s *GetApplicationComponentDetailsOutput) SetAssociatedApplications(v []*AssociatedApplication) *GetApplicationComponentDetailsOutput { + s.AssociatedApplications = v + return s +} + +// SetAssociatedServerIds sets the AssociatedServerIds field's value. +func (s *GetApplicationComponentDetailsOutput) SetAssociatedServerIds(v []*string) *GetApplicationComponentDetailsOutput { + s.AssociatedServerIds = v + return s +} + +// SetMoreApplicationResource sets the MoreApplicationResource field's value. +func (s *GetApplicationComponentDetailsOutput) SetMoreApplicationResource(v bool) *GetApplicationComponentDetailsOutput { + s.MoreApplicationResource = &v + return s +} + +type GetApplicationComponentStrategiesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the application component. The ID is unique within an AWS account. + // + // ApplicationComponentId is a required field + ApplicationComponentId *string `location:"uri" locationName:"applicationComponentId" 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 GetApplicationComponentStrategiesInput) 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 GetApplicationComponentStrategiesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetApplicationComponentStrategiesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetApplicationComponentStrategiesInput"} + if s.ApplicationComponentId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationComponentId")) + } + if s.ApplicationComponentId != nil && len(*s.ApplicationComponentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationComponentId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationComponentId sets the ApplicationComponentId field's value. +func (s *GetApplicationComponentStrategiesInput) SetApplicationComponentId(v string) *GetApplicationComponentStrategiesInput { + s.ApplicationComponentId = &v + return s +} + +type GetApplicationComponentStrategiesOutput struct { + _ struct{} `type:"structure"` + + // A list of application component strategy recommendations. + ApplicationComponentStrategies []*ApplicationComponentStrategy `locationName:"applicationComponentStrategies" 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 GetApplicationComponentStrategiesOutput) 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 GetApplicationComponentStrategiesOutput) GoString() string { + return s.String() +} + +// SetApplicationComponentStrategies sets the ApplicationComponentStrategies field's value. +func (s *GetApplicationComponentStrategiesOutput) SetApplicationComponentStrategies(v []*ApplicationComponentStrategy) *GetApplicationComponentStrategiesOutput { + s.ApplicationComponentStrategies = v + return s +} + +type GetAssessmentInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The assessmentid returned by StartAssessment. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" 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 GetAssessmentInput) 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 GetAssessmentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAssessmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAssessmentInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetAssessmentInput) SetId(v string) *GetAssessmentInput { + s.Id = &v + return s +} + +type GetAssessmentOutput struct { + _ struct{} `type:"structure"` + + // Detailed information about the assessment. + DataCollectionDetails *DataCollectionDetails `locationName:"dataCollectionDetails" type:"structure"` + + // The ID for the specific assessment task. + Id *string `locationName:"id" 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 GetAssessmentOutput) 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 GetAssessmentOutput) GoString() string { + return s.String() +} + +// SetDataCollectionDetails sets the DataCollectionDetails field's value. +func (s *GetAssessmentOutput) SetDataCollectionDetails(v *DataCollectionDetails) *GetAssessmentOutput { + s.DataCollectionDetails = v + return s +} + +// SetId sets the Id field's value. +func (s *GetAssessmentOutput) SetId(v string) *GetAssessmentOutput { + s.Id = &v + return s +} + +type GetImportFileTaskInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the import file task. This ID is returned in the response of StartImportFileTask. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" 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 GetImportFileTaskInput) 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 GetImportFileTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetImportFileTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetImportFileTaskInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetImportFileTaskInput) SetId(v string) *GetImportFileTaskInput { + s.Id = &v + return s +} + +type GetImportFileTaskOutput struct { + _ struct{} `type:"structure"` + + // The time that the import task completed. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp"` + + // The import file task id returned in the response of StartImportFileTask. + Id *string `locationName:"id" type:"string"` + + // The name of the import task given in StartImportFileTask. + ImportName *string `locationName:"importName" type:"string"` + + // The S3 bucket where import file is located. + InputS3Bucket *string `locationName:"inputS3Bucket" type:"string"` + + // The Amazon S3 key name of the import file. + InputS3Key *string `locationName:"inputS3Key" type:"string"` + + // The number of records that failed to be imported. + NumberOfRecordsFailed *int64 `locationName:"numberOfRecordsFailed" type:"integer"` + + // The number of records successfully imported. + NumberOfRecordsSuccess *int64 `locationName:"numberOfRecordsSuccess" type:"integer"` + + // Start time of the import task. + StartTime *time.Time `locationName:"startTime" type:"timestamp"` + + // Status of import file task. + Status *string `locationName:"status" type:"string" enum:"ImportFileTaskStatus"` + + // The S3 bucket name for status report of import task. + StatusReportS3Bucket *string `locationName:"statusReportS3Bucket" type:"string"` + + // The Amazon S3 key name for status report of import task. The report contains + // details about whether each record imported successfully or why it did not. + StatusReportS3Key *string `locationName:"statusReportS3Key" 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 GetImportFileTaskOutput) 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 GetImportFileTaskOutput) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *GetImportFileTaskOutput) SetCompletionTime(v time.Time) *GetImportFileTaskOutput { + s.CompletionTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *GetImportFileTaskOutput) SetId(v string) *GetImportFileTaskOutput { + s.Id = &v + return s +} + +// SetImportName sets the ImportName field's value. +func (s *GetImportFileTaskOutput) SetImportName(v string) *GetImportFileTaskOutput { + s.ImportName = &v + return s +} + +// SetInputS3Bucket sets the InputS3Bucket field's value. +func (s *GetImportFileTaskOutput) SetInputS3Bucket(v string) *GetImportFileTaskOutput { + s.InputS3Bucket = &v + return s +} + +// SetInputS3Key sets the InputS3Key field's value. +func (s *GetImportFileTaskOutput) SetInputS3Key(v string) *GetImportFileTaskOutput { + s.InputS3Key = &v + return s +} + +// SetNumberOfRecordsFailed sets the NumberOfRecordsFailed field's value. +func (s *GetImportFileTaskOutput) SetNumberOfRecordsFailed(v int64) *GetImportFileTaskOutput { + s.NumberOfRecordsFailed = &v + return s +} + +// SetNumberOfRecordsSuccess sets the NumberOfRecordsSuccess field's value. +func (s *GetImportFileTaskOutput) SetNumberOfRecordsSuccess(v int64) *GetImportFileTaskOutput { + s.NumberOfRecordsSuccess = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *GetImportFileTaskOutput) SetStartTime(v time.Time) *GetImportFileTaskOutput { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *GetImportFileTaskOutput) SetStatus(v string) *GetImportFileTaskOutput { + s.Status = &v + return s +} + +// SetStatusReportS3Bucket sets the StatusReportS3Bucket field's value. +func (s *GetImportFileTaskOutput) SetStatusReportS3Bucket(v string) *GetImportFileTaskOutput { + s.StatusReportS3Bucket = &v + return s +} + +// SetStatusReportS3Key sets the StatusReportS3Key field's value. +func (s *GetImportFileTaskOutput) SetStatusReportS3Key(v string) *GetImportFileTaskOutput { + s.StatusReportS3Key = &v + return s +} + +type GetPortfolioPreferencesInput struct { + _ struct{} `type:"structure" nopayload:"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 GetPortfolioPreferencesInput) 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 GetPortfolioPreferencesInput) GoString() string { + return s.String() +} + +type GetPortfolioPreferencesOutput struct { + _ struct{} `type:"structure"` + + // The transformation preferences for non-database applications. + ApplicationPreferences *ApplicationPreferences `locationName:"applicationPreferences" type:"structure"` + + // The transformation preferences for database applications. + DatabasePreferences *DatabasePreferences `locationName:"databasePreferences" type:"structure"` + + // The rank of business goals based on priority. + PrioritizeBusinessGoals *PrioritizeBusinessGoals `locationName:"prioritizeBusinessGoals" 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 GetPortfolioPreferencesOutput) 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 GetPortfolioPreferencesOutput) GoString() string { + return s.String() +} + +// SetApplicationPreferences sets the ApplicationPreferences field's value. +func (s *GetPortfolioPreferencesOutput) SetApplicationPreferences(v *ApplicationPreferences) *GetPortfolioPreferencesOutput { + s.ApplicationPreferences = v + return s +} + +// SetDatabasePreferences sets the DatabasePreferences field's value. +func (s *GetPortfolioPreferencesOutput) SetDatabasePreferences(v *DatabasePreferences) *GetPortfolioPreferencesOutput { + s.DatabasePreferences = v + return s +} + +// SetPrioritizeBusinessGoals sets the PrioritizeBusinessGoals field's value. +func (s *GetPortfolioPreferencesOutput) SetPrioritizeBusinessGoals(v *PrioritizeBusinessGoals) *GetPortfolioPreferencesOutput { + s.PrioritizeBusinessGoals = v + return s +} + +type GetPortfolioSummaryInput struct { + _ struct{} `type:"structure" nopayload:"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 GetPortfolioSummaryInput) 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 GetPortfolioSummaryInput) GoString() string { + return s.String() +} + +type GetPortfolioSummaryOutput struct { + _ struct{} `type:"structure"` + + // An assessment summary for the portfolio including the number of servers to + // rehost and the overall number of anti-patterns. + AssessmentSummary *AssessmentSummary `locationName:"assessmentSummary" 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 GetPortfolioSummaryOutput) 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 GetPortfolioSummaryOutput) GoString() string { + return s.String() +} + +// SetAssessmentSummary sets the AssessmentSummary field's value. +func (s *GetPortfolioSummaryOutput) SetAssessmentSummary(v *AssessmentSummary) *GetPortfolioSummaryOutput { + s.AssessmentSummary = v + return s +} + +type GetRecommendationReportDetailsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The recommendation report generation task id returned by StartRecommendationReportGeneration. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" 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 GetRecommendationReportDetailsInput) 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 GetRecommendationReportDetailsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetRecommendationReportDetailsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetRecommendationReportDetailsInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *GetRecommendationReportDetailsInput) SetId(v string) *GetRecommendationReportDetailsInput { + s.Id = &v + return s +} + +type GetRecommendationReportDetailsOutput struct { + _ struct{} `type:"structure"` + + // The ID of the recommendation report generation task. See the response of + // StartRecommendationReportGeneration. + Id *string `locationName:"id" type:"string"` + + // Detailed information about the recommendation report. + RecommendationReportDetails *RecommendationReportDetails `locationName:"recommendationReportDetails" 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 GetRecommendationReportDetailsOutput) 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 GetRecommendationReportDetailsOutput) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *GetRecommendationReportDetailsOutput) SetId(v string) *GetRecommendationReportDetailsOutput { + s.Id = &v + return s +} + +// SetRecommendationReportDetails sets the RecommendationReportDetails field's value. +func (s *GetRecommendationReportDetailsOutput) SetRecommendationReportDetails(v *RecommendationReportDetails) *GetRecommendationReportDetailsOutput { + s.RecommendationReportDetails = v + return s +} + +type GetServerDetailsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of items to include in the response. The maximum value + // is 100. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // The token from a previous call that you use to retrieve the next set of results. + // For example, if a previous call to this action returned 100 items, but you + // set maxResults to 10. You'll receive a set of 10 results along with a token. + // You then use the returned token to retrieve the next set of 10. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The ID of the server. + // + // ServerId is a required field + ServerId *string `location:"uri" locationName:"serverId" min:"1" 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 GetServerDetailsInput) 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 GetServerDetailsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetServerDetailsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetServerDetailsInput"} + if s.ServerId == nil { + invalidParams.Add(request.NewErrParamRequired("ServerId")) + } + if s.ServerId != nil && len(*s.ServerId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ServerId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetServerDetailsInput) SetMaxResults(v int64) *GetServerDetailsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetServerDetailsInput) SetNextToken(v string) *GetServerDetailsInput { + s.NextToken = &v + return s +} + +// SetServerId sets the ServerId field's value. +func (s *GetServerDetailsInput) SetServerId(v string) *GetServerDetailsInput { + s.ServerId = &v + return s +} + +type GetServerDetailsOutput struct { + _ struct{} `type:"structure"` + + // The associated application group the server belongs to, as defined in AWS + // Application Discovery Service. + AssociatedApplications []*AssociatedApplication `locationName:"associatedApplications" type:"list"` + + // The token you use to retrieve the next set of results, or null if there are + // no more results. + NextToken *string `locationName:"nextToken" type:"string"` + + // Detailed information about the server. + ServerDetail *ServerDetail `locationName:"serverDetail" 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 GetServerDetailsOutput) 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 GetServerDetailsOutput) GoString() string { + return s.String() +} + +// SetAssociatedApplications sets the AssociatedApplications field's value. +func (s *GetServerDetailsOutput) SetAssociatedApplications(v []*AssociatedApplication) *GetServerDetailsOutput { + s.AssociatedApplications = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetServerDetailsOutput) SetNextToken(v string) *GetServerDetailsOutput { + s.NextToken = &v + return s +} + +// SetServerDetail sets the ServerDetail field's value. +func (s *GetServerDetailsOutput) SetServerDetail(v *ServerDetail) *GetServerDetailsOutput { + s.ServerDetail = v + return s +} + +type GetServerStrategiesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the server. + // + // ServerId is a required field + ServerId *string `location:"uri" locationName:"serverId" min:"1" 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 GetServerStrategiesInput) 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 GetServerStrategiesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetServerStrategiesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetServerStrategiesInput"} + if s.ServerId == nil { + invalidParams.Add(request.NewErrParamRequired("ServerId")) + } + if s.ServerId != nil && len(*s.ServerId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ServerId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetServerId sets the ServerId field's value. +func (s *GetServerStrategiesInput) SetServerId(v string) *GetServerStrategiesInput { + s.ServerId = &v + return s +} + +type GetServerStrategiesOutput struct { + _ struct{} `type:"structure"` + + // A list of strategy recommendations for the server. + ServerStrategies []*ServerStrategy `locationName:"serverStrategies" 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 GetServerStrategiesOutput) 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 GetServerStrategiesOutput) GoString() string { + return s.String() +} + +// SetServerStrategies sets the ServerStrategies field's value. +func (s *GetServerStrategiesOutput) SetServerStrategies(v []*ServerStrategy) *GetServerStrategiesOutput { + s.ServerStrategies = v + return s +} + +// The object containing information about distinct imports or groups for Strategy +// Recommendations. +type Group struct { + _ struct{} `type:"structure"` + + // The key of the specific import group. + Name *string `locationName:"name" type:"string" enum:"GroupName"` + + // The value of the specific import group. + Value *string `locationName:"value" 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 Group) 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 Group) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *Group) SetName(v string) *Group { + s.Name = &v + return s +} + +// SetValue sets the Value field's value. +func (s *Group) SetValue(v string) *Group { + s.Value = &v + return s +} + +// The object containing details about heterogeneous database preferences. +type Heterogeneous struct { + _ struct{} `type:"structure"` + + // The target database engine for heterogeneous database migration preference. + // + // TargetDatabaseEngine is a required field + TargetDatabaseEngine []*string `locationName:"targetDatabaseEngine" 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 Heterogeneous) 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 Heterogeneous) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Heterogeneous) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Heterogeneous"} + if s.TargetDatabaseEngine == nil { + invalidParams.Add(request.NewErrParamRequired("TargetDatabaseEngine")) + } + if s.TargetDatabaseEngine != nil && len(s.TargetDatabaseEngine) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TargetDatabaseEngine", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTargetDatabaseEngine sets the TargetDatabaseEngine field's value. +func (s *Heterogeneous) SetTargetDatabaseEngine(v []*string) *Heterogeneous { + s.TargetDatabaseEngine = v + return s +} + +// The object containing details about homogeneous database preferences. +type Homogeneous struct { + _ struct{} `type:"structure"` + + // The target database engine for homogeneous database migration preferences. + TargetDatabaseEngine []*string `locationName:"targetDatabaseEngine" 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 Homogeneous) 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 Homogeneous) GoString() string { + return s.String() +} + +// SetTargetDatabaseEngine sets the TargetDatabaseEngine field's value. +func (s *Homogeneous) SetTargetDatabaseEngine(v []*string) *Homogeneous { + s.TargetDatabaseEngine = v + return s +} + +// Information about the import file tasks you request. +type ImportFileTaskInformation struct { + _ struct{} `type:"structure"` + + // The time that the import task completes. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp"` + + // The ID of the import file task. + Id *string `locationName:"id" type:"string"` + + // The name of the import task given in StartImportFileTask. + ImportName *string `locationName:"importName" type:"string"` + + // The S3 bucket where the import file is located. + InputS3Bucket *string `locationName:"inputS3Bucket" type:"string"` + + // The Amazon S3 key name of the import file. + InputS3Key *string `locationName:"inputS3Key" type:"string"` + + // The number of records that failed to be imported. + NumberOfRecordsFailed *int64 `locationName:"numberOfRecordsFailed" type:"integer"` + + // The number of records successfully imported. + NumberOfRecordsSuccess *int64 `locationName:"numberOfRecordsSuccess" type:"integer"` + + // Start time of the import task. + StartTime *time.Time `locationName:"startTime" type:"timestamp"` + + // Status of import file task. + Status *string `locationName:"status" type:"string" enum:"ImportFileTaskStatus"` + + // The S3 bucket name for status report of import task. + StatusReportS3Bucket *string `locationName:"statusReportS3Bucket" type:"string"` + + // The Amazon S3 key name for status report of import task. The report contains + // details about whether each record imported successfully or why it did not. + StatusReportS3Key *string `locationName:"statusReportS3Key" 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 ImportFileTaskInformation) 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 ImportFileTaskInformation) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *ImportFileTaskInformation) SetCompletionTime(v time.Time) *ImportFileTaskInformation { + s.CompletionTime = &v + return s +} + +// SetId sets the Id field's value. +func (s *ImportFileTaskInformation) SetId(v string) *ImportFileTaskInformation { + s.Id = &v + return s +} + +// SetImportName sets the ImportName field's value. +func (s *ImportFileTaskInformation) SetImportName(v string) *ImportFileTaskInformation { + s.ImportName = &v + return s +} + +// SetInputS3Bucket sets the InputS3Bucket field's value. +func (s *ImportFileTaskInformation) SetInputS3Bucket(v string) *ImportFileTaskInformation { + s.InputS3Bucket = &v + return s +} + +// SetInputS3Key sets the InputS3Key field's value. +func (s *ImportFileTaskInformation) SetInputS3Key(v string) *ImportFileTaskInformation { + s.InputS3Key = &v + return s +} + +// SetNumberOfRecordsFailed sets the NumberOfRecordsFailed field's value. +func (s *ImportFileTaskInformation) SetNumberOfRecordsFailed(v int64) *ImportFileTaskInformation { + s.NumberOfRecordsFailed = &v + return s +} + +// SetNumberOfRecordsSuccess sets the NumberOfRecordsSuccess field's value. +func (s *ImportFileTaskInformation) SetNumberOfRecordsSuccess(v int64) *ImportFileTaskInformation { + s.NumberOfRecordsSuccess = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *ImportFileTaskInformation) SetStartTime(v time.Time) *ImportFileTaskInformation { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ImportFileTaskInformation) SetStatus(v string) *ImportFileTaskInformation { + s.Status = &v + return s +} + +// SetStatusReportS3Bucket sets the StatusReportS3Bucket field's value. +func (s *ImportFileTaskInformation) SetStatusReportS3Bucket(v string) *ImportFileTaskInformation { + s.StatusReportS3Bucket = &v + return s +} + +// SetStatusReportS3Key sets the StatusReportS3Key field's value. +func (s *ImportFileTaskInformation) SetStatusReportS3Key(v string) *ImportFileTaskInformation { + s.StatusReportS3Key = &v + return s +} + +// The server experienced an internal error. Try again. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + 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 InternalServerException) 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 InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +type ListApplicationComponentsInput struct { + _ struct{} `type:"structure"` + + // Criteria for filtering the list of application components. + ApplicationComponentCriteria *string `locationName:"applicationComponentCriteria" type:"string" enum:"ApplicationComponentCriteria"` + + // Specify the value based on the application component criteria type. For example, + // if applicationComponentCriteria is set to SERVER_ID and filterValue is set + // to server1, then ListApplicationComponents returns all the application components + // running on server1. + FilterValue *string `locationName:"filterValue" type:"string"` + + // The group ID specified in to filter on. + GroupIdFilter []*Group `locationName:"groupIdFilter" type:"list"` + + // The maximum number of items to include in the response. The maximum value + // is 100. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // The token from a previous call that you use to retrieve the next set of results. + // For example, if a previous call to this action returned 100 items, but you + // set maxResults to 10. You'll receive a set of 10 results along with a token. + // You then use the returned token to retrieve the next set of 10. + NextToken *string `locationName:"nextToken" type:"string"` + + // Specifies whether to sort by ascending (ASC) or descending (DESC) order. + Sort *string `locationName:"sort" type:"string" enum:"SortOrder"` +} + +// 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 ListApplicationComponentsInput) 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 ListApplicationComponentsInput) GoString() string { + return s.String() +} + +// SetApplicationComponentCriteria sets the ApplicationComponentCriteria field's value. +func (s *ListApplicationComponentsInput) SetApplicationComponentCriteria(v string) *ListApplicationComponentsInput { + s.ApplicationComponentCriteria = &v + return s +} + +// SetFilterValue sets the FilterValue field's value. +func (s *ListApplicationComponentsInput) SetFilterValue(v string) *ListApplicationComponentsInput { + s.FilterValue = &v + return s +} + +// SetGroupIdFilter sets the GroupIdFilter field's value. +func (s *ListApplicationComponentsInput) SetGroupIdFilter(v []*Group) *ListApplicationComponentsInput { + s.GroupIdFilter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListApplicationComponentsInput) SetMaxResults(v int64) *ListApplicationComponentsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListApplicationComponentsInput) SetNextToken(v string) *ListApplicationComponentsInput { + s.NextToken = &v + return s +} + +// SetSort sets the Sort field's value. +func (s *ListApplicationComponentsInput) SetSort(v string) *ListApplicationComponentsInput { + s.Sort = &v + return s +} + +type ListApplicationComponentsOutput struct { + _ struct{} `type:"structure"` + + // The list of application components with detailed information about each component. + ApplicationComponentInfos []*ApplicationComponentDetail `locationName:"applicationComponentInfos" type:"list"` + + // The token you use to retrieve the next set of results, or null if there are + // no more results. + NextToken *string `locationName:"nextToken" 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 ListApplicationComponentsOutput) 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 ListApplicationComponentsOutput) GoString() string { + return s.String() +} + +// SetApplicationComponentInfos sets the ApplicationComponentInfos field's value. +func (s *ListApplicationComponentsOutput) SetApplicationComponentInfos(v []*ApplicationComponentDetail) *ListApplicationComponentsOutput { + s.ApplicationComponentInfos = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListApplicationComponentsOutput) SetNextToken(v string) *ListApplicationComponentsOutput { + s.NextToken = &v + return s +} + +type ListCollectorsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The maximum number of items to include in the response. The maximum value + // is 100. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // The token from a previous call that you use to retrieve the next set of results. + // For example, if a previous call to this action returned 100 items, but you + // set maxResults to 10. You'll receive a set of 10 results along with a token. + // You then use the returned token to retrieve the next set of 10. + NextToken *string `location:"querystring" locationName:"nextToken" 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 ListCollectorsInput) 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 ListCollectorsInput) GoString() string { + return s.String() +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListCollectorsInput) SetMaxResults(v int64) *ListCollectorsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCollectorsInput) SetNextToken(v string) *ListCollectorsInput { + s.NextToken = &v + return s +} + +type ListCollectorsOutput struct { + _ struct{} `type:"structure"` + + // The list of all the installed collectors. + Collectors []*Collector `type:"list"` + + // The token you use to retrieve the next set of results, or null if there are + // no more results. + NextToken *string `locationName:"nextToken" 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 ListCollectorsOutput) 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 ListCollectorsOutput) GoString() string { + return s.String() +} + +// SetCollectors sets the Collectors field's value. +func (s *ListCollectorsOutput) SetCollectors(v []*Collector) *ListCollectorsOutput { + s.Collectors = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCollectorsOutput) SetNextToken(v string) *ListCollectorsOutput { + s.NextToken = &v + return s +} + +type ListImportFileTaskInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The total number of items to return. The maximum value is 100. + MaxResults *int64 `location:"querystring" locationName:"maxResults" type:"integer"` + + // The token from a previous call that you use to retrieve the next set of results. + // For example, if a previous call to this action returned 100 items, but you + // set maxResults to 10. You'll receive a set of 10 results along with a token. + // You then use the returned token to retrieve the next set of 10. + NextToken *string `location:"querystring" locationName:"nextToken" 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 ListImportFileTaskInput) 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 ListImportFileTaskInput) GoString() string { + return s.String() +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListImportFileTaskInput) SetMaxResults(v int64) *ListImportFileTaskInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListImportFileTaskInput) SetNextToken(v string) *ListImportFileTaskInput { + s.NextToken = &v + return s +} + +type ListImportFileTaskOutput struct { + _ struct{} `type:"structure"` + + // The token you use to retrieve the next set of results, or null if there are + // no more results. + NextToken *string `locationName:"nextToken" type:"string"` + + // Lists information about the files you import. + TaskInfos []*ImportFileTaskInformation `locationName:"taskInfos" 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 ListImportFileTaskOutput) 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 ListImportFileTaskOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListImportFileTaskOutput) SetNextToken(v string) *ListImportFileTaskOutput { + s.NextToken = &v + return s +} + +// SetTaskInfos sets the TaskInfos field's value. +func (s *ListImportFileTaskOutput) SetTaskInfos(v []*ImportFileTaskInformation) *ListImportFileTaskOutput { + s.TaskInfos = v + return s +} + +type ListServersInput struct { + _ struct{} `type:"structure"` + + // Specifies the filter value, which is based on the type of server criteria. + // For example, if serverCriteria is OS_NAME, and the filterValue is equal to + // WindowsServer, then ListServers returns all of the servers matching the OS + // name WindowsServer. + FilterValue *string `locationName:"filterValue" type:"string"` + + // Specifies the group ID to filter on. + GroupIdFilter []*Group `locationName:"groupIdFilter" type:"list"` + + // The maximum number of items to include in the response. The maximum value + // is 100. + MaxResults *int64 `locationName:"maxResults" type:"integer"` + + // The token from a previous call that you use to retrieve the next set of results. + // For example, if a previous call to this action returned 100 items, but you + // set maxResults to 10. You'll receive a set of 10 results along with a token. + // You then use the returned token to retrieve the next set of 10. + NextToken *string `locationName:"nextToken" type:"string"` + + // Criteria for filtering servers. + ServerCriteria *string `locationName:"serverCriteria" type:"string" enum:"ServerCriteria"` + + // Specifies whether to sort by ascending (ASC) or descending (DESC) order. + Sort *string `locationName:"sort" type:"string" enum:"SortOrder"` +} + +// 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 ListServersInput) 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 ListServersInput) GoString() string { + return s.String() +} + +// SetFilterValue sets the FilterValue field's value. +func (s *ListServersInput) SetFilterValue(v string) *ListServersInput { + s.FilterValue = &v + return s +} + +// SetGroupIdFilter sets the GroupIdFilter field's value. +func (s *ListServersInput) SetGroupIdFilter(v []*Group) *ListServersInput { + s.GroupIdFilter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListServersInput) SetMaxResults(v int64) *ListServersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListServersInput) SetNextToken(v string) *ListServersInput { + s.NextToken = &v + return s +} + +// SetServerCriteria sets the ServerCriteria field's value. +func (s *ListServersInput) SetServerCriteria(v string) *ListServersInput { + s.ServerCriteria = &v + return s +} + +// SetSort sets the Sort field's value. +func (s *ListServersInput) SetSort(v string) *ListServersInput { + s.Sort = &v + return s +} + +type ListServersOutput struct { + _ struct{} `type:"structure"` + + // The token you use to retrieve the next set of results, or null if there are + // no more results. + NextToken *string `locationName:"nextToken" type:"string"` + + // The list of servers with detailed information about each server. + ServerInfos []*ServerDetail `locationName:"serverInfos" 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 ListServersOutput) 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 ListServersOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListServersOutput) SetNextToken(v string) *ListServersOutput { + s.NextToken = &v + return s +} + +// SetServerInfos sets the ServerInfos field's value. +func (s *ListServersOutput) SetServerInfos(v []*ServerDetail) *ListServersOutput { + s.ServerInfos = v + return s +} + +// Preferences for migrating an application to AWS. +type ManagementPreference struct { + _ struct{} `type:"structure"` + + // Indicates interest in solutions that are managed by AWS. + AwsManagedResources *AwsManagedResources `locationName:"awsManagedResources" type:"structure"` + + // No specific preference. + NoPreference *NoManagementPreference `locationName:"noPreference" type:"structure"` + + // Indicates interest in managing your own resources on AWS. + SelfManageResources *SelfManageResources `locationName:"selfManageResources" 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 ManagementPreference) 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 ManagementPreference) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ManagementPreference) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ManagementPreference"} + if s.AwsManagedResources != nil { + if err := s.AwsManagedResources.Validate(); err != nil { + invalidParams.AddNested("AwsManagedResources", err.(request.ErrInvalidParams)) + } + } + if s.NoPreference != nil { + if err := s.NoPreference.Validate(); err != nil { + invalidParams.AddNested("NoPreference", err.(request.ErrInvalidParams)) + } + } + if s.SelfManageResources != nil { + if err := s.SelfManageResources.Validate(); err != nil { + invalidParams.AddNested("SelfManageResources", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAwsManagedResources sets the AwsManagedResources field's value. +func (s *ManagementPreference) SetAwsManagedResources(v *AwsManagedResources) *ManagementPreference { + s.AwsManagedResources = v + return s +} + +// SetNoPreference sets the NoPreference field's value. +func (s *ManagementPreference) SetNoPreference(v *NoManagementPreference) *ManagementPreference { + s.NoPreference = v + return s +} + +// SetSelfManageResources sets the SelfManageResources field's value. +func (s *ManagementPreference) SetSelfManageResources(v *SelfManageResources) *ManagementPreference { + s.SelfManageResources = v + return s +} + +// Information about the server's network for which the assessment was run. +type NetworkInfo struct { + _ struct{} `type:"structure"` + + // Information about the name of the interface of the server for which the assessment + // was run. + // + // InterfaceName is a required field + InterfaceName *string `locationName:"interfaceName" type:"string" required:"true"` + + // Information about the IP address of the server for which the assessment was + // run. + // + // IpAddress is a required field + IpAddress *string `locationName:"ipAddress" type:"string" required:"true"` + + // Information about the MAC address of the server for which the assessment + // was run. + // + // MacAddress is a required field + MacAddress *string `locationName:"macAddress" type:"string" required:"true"` + + // Information about the subnet mask of the server for which the assessment + // was run. + // + // NetMask is a required field + NetMask *string `locationName:"netMask" 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 NetworkInfo) 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 NetworkInfo) GoString() string { + return s.String() +} + +// SetInterfaceName sets the InterfaceName field's value. +func (s *NetworkInfo) SetInterfaceName(v string) *NetworkInfo { + s.InterfaceName = &v + return s +} + +// SetIpAddress sets the IpAddress field's value. +func (s *NetworkInfo) SetIpAddress(v string) *NetworkInfo { + s.IpAddress = &v + return s +} + +// SetMacAddress sets the MacAddress field's value. +func (s *NetworkInfo) SetMacAddress(v string) *NetworkInfo { + s.MacAddress = &v + return s +} + +// SetNetMask sets the NetMask field's value. +func (s *NetworkInfo) SetNetMask(v string) *NetworkInfo { + s.NetMask = &v + return s +} + +// The object containing details about database migration preferences, when +// you have no particular preference. +type NoDatabaseMigrationPreference struct { + _ struct{} `type:"structure"` + + // The target database engine for database migration preference that you specify. + // + // TargetDatabaseEngine is a required field + TargetDatabaseEngine []*string `locationName:"targetDatabaseEngine" 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 NoDatabaseMigrationPreference) 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 NoDatabaseMigrationPreference) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *NoDatabaseMigrationPreference) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NoDatabaseMigrationPreference"} + if s.TargetDatabaseEngine == nil { + invalidParams.Add(request.NewErrParamRequired("TargetDatabaseEngine")) + } + if s.TargetDatabaseEngine != nil && len(s.TargetDatabaseEngine) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TargetDatabaseEngine", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTargetDatabaseEngine sets the TargetDatabaseEngine field's value. +func (s *NoDatabaseMigrationPreference) SetTargetDatabaseEngine(v []*string) *NoDatabaseMigrationPreference { + s.TargetDatabaseEngine = v + return s +} + +// Object containing the choice of application destination that you specify. +type NoManagementPreference struct { + _ struct{} `type:"structure"` + + // The choice of application destination that you specify. + // + // TargetDestination is a required field + TargetDestination []*string `locationName:"targetDestination" 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 NoManagementPreference) 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 NoManagementPreference) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *NoManagementPreference) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NoManagementPreference"} + if s.TargetDestination == nil { + invalidParams.Add(request.NewErrParamRequired("TargetDestination")) + } + if s.TargetDestination != nil && len(s.TargetDestination) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TargetDestination", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTargetDestination sets the TargetDestination field's value. +func (s *NoManagementPreference) SetTargetDestination(v []*string) *NoManagementPreference { + s.TargetDestination = v + return s +} + +// Information about the operating system. +type OSInfo struct { + _ struct{} `type:"structure"` + + // Information about the type of operating system. + Type *string `locationName:"type" type:"string" enum:"OSType"` + + // Information about the version of operating system. + Version *string `locationName:"version" 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 OSInfo) 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 OSInfo) GoString() string { + return s.String() +} + +// SetType sets the Type field's value. +func (s *OSInfo) SetType(v string) *OSInfo { + s.Type = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *OSInfo) SetVersion(v string) *OSInfo { + s.Version = &v + return s +} + +// Rank of business goals based on priority. +type PrioritizeBusinessGoals struct { + _ struct{} `type:"structure"` + + // Rank of business goals based on priority. + BusinessGoals *BusinessGoals `locationName:"businessGoals" 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 PrioritizeBusinessGoals) 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 PrioritizeBusinessGoals) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PrioritizeBusinessGoals) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PrioritizeBusinessGoals"} + if s.BusinessGoals != nil { + if err := s.BusinessGoals.Validate(); err != nil { + invalidParams.AddNested("BusinessGoals", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBusinessGoals sets the BusinessGoals field's value. +func (s *PrioritizeBusinessGoals) SetBusinessGoals(v *BusinessGoals) *PrioritizeBusinessGoals { + s.BusinessGoals = v + return s +} + +type PutPortfolioPreferencesInput struct { + _ struct{} `type:"structure"` + + // The transformation preferences for non-database applications. + ApplicationPreferences *ApplicationPreferences `locationName:"applicationPreferences" type:"structure"` + + // The transformation preferences for database applications. + DatabasePreferences *DatabasePreferences `locationName:"databasePreferences" type:"structure"` + + // The rank of the business goals based on priority. + PrioritizeBusinessGoals *PrioritizeBusinessGoals `locationName:"prioritizeBusinessGoals" 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 PutPortfolioPreferencesInput) 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 PutPortfolioPreferencesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutPortfolioPreferencesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutPortfolioPreferencesInput"} + if s.ApplicationPreferences != nil { + if err := s.ApplicationPreferences.Validate(); err != nil { + invalidParams.AddNested("ApplicationPreferences", err.(request.ErrInvalidParams)) + } + } + if s.DatabasePreferences != nil { + if err := s.DatabasePreferences.Validate(); err != nil { + invalidParams.AddNested("DatabasePreferences", err.(request.ErrInvalidParams)) + } + } + if s.PrioritizeBusinessGoals != nil { + if err := s.PrioritizeBusinessGoals.Validate(); err != nil { + invalidParams.AddNested("PrioritizeBusinessGoals", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationPreferences sets the ApplicationPreferences field's value. +func (s *PutPortfolioPreferencesInput) SetApplicationPreferences(v *ApplicationPreferences) *PutPortfolioPreferencesInput { + s.ApplicationPreferences = v + return s +} + +// SetDatabasePreferences sets the DatabasePreferences field's value. +func (s *PutPortfolioPreferencesInput) SetDatabasePreferences(v *DatabasePreferences) *PutPortfolioPreferencesInput { + s.DatabasePreferences = v + return s +} + +// SetPrioritizeBusinessGoals sets the PrioritizeBusinessGoals field's value. +func (s *PutPortfolioPreferencesInput) SetPrioritizeBusinessGoals(v *PrioritizeBusinessGoals) *PutPortfolioPreferencesInput { + s.PrioritizeBusinessGoals = v + return s +} + +type PutPortfolioPreferencesOutput 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 PutPortfolioPreferencesOutput) 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 PutPortfolioPreferencesOutput) GoString() string { + return s.String() +} + +// Contains detailed information about a recommendation report. +type RecommendationReportDetails struct { + _ struct{} `type:"structure"` + + // The time that the recommendation report generation task completes. + CompletionTime *time.Time `locationName:"completionTime" type:"timestamp"` + + // The S3 bucket where the report file is located. + S3Bucket *string `locationName:"s3Bucket" type:"string"` + + // The Amazon S3 key name of the report file. + S3Keys []*string `locationName:"s3Keys" type:"list"` + + // The time that the recommendation report generation task starts. + StartTime *time.Time `locationName:"startTime" type:"timestamp"` + + // The status of the recommendation report generation task. + Status *string `locationName:"status" type:"string" enum:"RecommendationReportStatus"` + + // The status message for recommendation report generation. + StatusMessage *string `locationName:"statusMessage" 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 RecommendationReportDetails) 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 RecommendationReportDetails) GoString() string { + return s.String() +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *RecommendationReportDetails) SetCompletionTime(v time.Time) *RecommendationReportDetails { + s.CompletionTime = &v + return s +} + +// SetS3Bucket sets the S3Bucket field's value. +func (s *RecommendationReportDetails) SetS3Bucket(v string) *RecommendationReportDetails { + s.S3Bucket = &v + return s +} + +// SetS3Keys sets the S3Keys field's value. +func (s *RecommendationReportDetails) SetS3Keys(v []*string) *RecommendationReportDetails { + s.S3Keys = v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *RecommendationReportDetails) SetStartTime(v time.Time) *RecommendationReportDetails { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *RecommendationReportDetails) SetStatus(v string) *RecommendationReportDetails { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *RecommendationReportDetails) SetStatusMessage(v string) *RecommendationReportDetails { + s.StatusMessage = &v + return s +} + +// Contains a recommendation set. +type RecommendationSet struct { + _ struct{} `type:"structure"` + + // The recommended strategy. + Strategy *string `locationName:"strategy" type:"string" enum:"Strategy"` + + // The recommended target destination. + TargetDestination *string `locationName:"targetDestination" type:"string" enum:"TargetDestination"` + + // The target destination for the recommendation set. + TransformationTool *TransformationTool `locationName:"transformationTool" 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 RecommendationSet) 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 RecommendationSet) GoString() string { + return s.String() +} + +// SetStrategy sets the Strategy field's value. +func (s *RecommendationSet) SetStrategy(v string) *RecommendationSet { + s.Strategy = &v + return s +} + +// SetTargetDestination sets the TargetDestination field's value. +func (s *RecommendationSet) SetTargetDestination(v string) *RecommendationSet { + s.TargetDestination = &v + return s +} + +// SetTransformationTool sets the TransformationTool field's value. +func (s *RecommendationSet) SetTransformationTool(v *TransformationTool) *RecommendationSet { + s.TransformationTool = v + return s +} + +// The specified ID in the request is not found. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + 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 ResourceNotFoundException) 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 ResourceNotFoundException) GoString() string { + return s.String() +} + +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" +} + +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil +} + +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Contains the S3 bucket name and the Amazon S3 key name. +type S3Object struct { + _ struct{} `type:"structure"` + + // The S3 bucket name. + S3Bucket *string `locationName:"s3Bucket" type:"string"` + + // The Amazon S3 key name. + S3key *string `locationName:"s3key" 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 S3Object) 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 S3Object) GoString() string { + return s.String() +} + +// SetS3Bucket sets the S3Bucket field's value. +func (s *S3Object) SetS3Bucket(v string) *S3Object { + s.S3Bucket = &v + return s +} + +// SetS3key sets the S3key field's value. +func (s *S3Object) SetS3key(v string) *S3Object { + s.S3key = &v + return s +} + +// Self-managed resources. +type SelfManageResources struct { + _ struct{} `type:"structure"` + + // Self-managed resources target destination. + // + // TargetDestination is a required field + TargetDestination []*string `locationName:"targetDestination" 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 SelfManageResources) 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 SelfManageResources) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SelfManageResources) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SelfManageResources"} + if s.TargetDestination == nil { + invalidParams.Add(request.NewErrParamRequired("TargetDestination")) + } + if s.TargetDestination != nil && len(s.TargetDestination) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TargetDestination", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTargetDestination sets the TargetDestination field's value. +func (s *SelfManageResources) SetTargetDestination(v []*string) *SelfManageResources { + s.TargetDestination = v + return s +} + +// Detailed information about a server. +type ServerDetail struct { + _ struct{} `type:"structure"` + + // The S3 bucket name and Amazon S3 key name for anti-pattern report. + AntipatternReportS3Object *S3Object `locationName:"antipatternReportS3Object" type:"structure"` + + // The status of the anti-pattern report generation. + AntipatternReportStatus *string `locationName:"antipatternReportStatus" type:"string" enum:"AntipatternReportStatus"` + + // A message about the status of the anti-pattern report generation. + AntipatternReportStatusMessage *string `locationName:"antipatternReportStatusMessage" type:"string"` + + // A list of strategy summaries. + ApplicationComponentStrategySummary []*StrategySummary `locationName:"applicationComponentStrategySummary" type:"list"` + + // The status of assessment for the server. + DataCollectionStatus *string `locationName:"dataCollectionStatus" type:"string" enum:"RunTimeAssessmentStatus"` + + // The server ID. + Id *string `locationName:"id" type:"string"` + + // The timestamp of when the server was assessed. + LastAnalyzedTimestamp *time.Time `locationName:"lastAnalyzedTimestamp" type:"timestamp"` + + // A list of anti-pattern severity summaries. + ListAntipatternSeveritySummary []*AntipatternSeveritySummary `locationName:"listAntipatternSeveritySummary" type:"list"` + + // The name of the server. + Name *string `locationName:"name" type:"string"` + + // A set of recommendations. + RecommendationSet *RecommendationSet `locationName:"recommendationSet" type:"structure"` + + // The type of server. + ServerType *string `locationName:"serverType" type:"string"` + + // A message about the status of data collection, which contains detailed descriptions + // of any error messages. + StatusMessage *string `locationName:"statusMessage" type:"string"` + + // System information about the server. + SystemInfo *SystemInfo `locationName:"systemInfo" 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 ServerDetail) 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 ServerDetail) GoString() string { + return s.String() +} + +// SetAntipatternReportS3Object sets the AntipatternReportS3Object field's value. +func (s *ServerDetail) SetAntipatternReportS3Object(v *S3Object) *ServerDetail { + s.AntipatternReportS3Object = v + return s +} + +// SetAntipatternReportStatus sets the AntipatternReportStatus field's value. +func (s *ServerDetail) SetAntipatternReportStatus(v string) *ServerDetail { + s.AntipatternReportStatus = &v + return s +} + +// SetAntipatternReportStatusMessage sets the AntipatternReportStatusMessage field's value. +func (s *ServerDetail) SetAntipatternReportStatusMessage(v string) *ServerDetail { + s.AntipatternReportStatusMessage = &v + return s +} + +// SetApplicationComponentStrategySummary sets the ApplicationComponentStrategySummary field's value. +func (s *ServerDetail) SetApplicationComponentStrategySummary(v []*StrategySummary) *ServerDetail { + s.ApplicationComponentStrategySummary = v + return s +} + +// SetDataCollectionStatus sets the DataCollectionStatus field's value. +func (s *ServerDetail) SetDataCollectionStatus(v string) *ServerDetail { + s.DataCollectionStatus = &v + return s +} + +// SetId sets the Id field's value. +func (s *ServerDetail) SetId(v string) *ServerDetail { + s.Id = &v + return s +} + +// SetLastAnalyzedTimestamp sets the LastAnalyzedTimestamp field's value. +func (s *ServerDetail) SetLastAnalyzedTimestamp(v time.Time) *ServerDetail { + s.LastAnalyzedTimestamp = &v + return s +} + +// SetListAntipatternSeveritySummary sets the ListAntipatternSeveritySummary field's value. +func (s *ServerDetail) SetListAntipatternSeveritySummary(v []*AntipatternSeveritySummary) *ServerDetail { + s.ListAntipatternSeveritySummary = v + return s +} + +// SetName sets the Name field's value. +func (s *ServerDetail) SetName(v string) *ServerDetail { + s.Name = &v + return s +} + +// SetRecommendationSet sets the RecommendationSet field's value. +func (s *ServerDetail) SetRecommendationSet(v *RecommendationSet) *ServerDetail { + s.RecommendationSet = v + return s +} + +// SetServerType sets the ServerType field's value. +func (s *ServerDetail) SetServerType(v string) *ServerDetail { + s.ServerType = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *ServerDetail) SetStatusMessage(v string) *ServerDetail { + s.StatusMessage = &v + return s +} + +// SetSystemInfo sets the SystemInfo field's value. +func (s *ServerDetail) SetSystemInfo(v *SystemInfo) *ServerDetail { + s.SystemInfo = v + return s +} + +// Contains information about a strategy recommendation for a server. +type ServerStrategy struct { + _ struct{} `type:"structure"` + + // Set to true if the recommendation is set as preferred. + IsPreferred *bool `locationName:"isPreferred" type:"boolean"` + + // The number of application components with this strategy recommendation running + // on the server. + NumberOfApplicationComponents *int64 `locationName:"numberOfApplicationComponents" type:"integer"` + + // Strategy recommendation for the server. + Recommendation *RecommendationSet `locationName:"recommendation" type:"structure"` + + // The recommendation status of the strategy for the server. + Status *string `locationName:"status" type:"string" enum:"StrategyRecommendation"` +} + +// 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 ServerStrategy) 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 ServerStrategy) GoString() string { + return s.String() +} + +// SetIsPreferred sets the IsPreferred field's value. +func (s *ServerStrategy) SetIsPreferred(v bool) *ServerStrategy { + s.IsPreferred = &v + return s +} + +// SetNumberOfApplicationComponents sets the NumberOfApplicationComponents field's value. +func (s *ServerStrategy) SetNumberOfApplicationComponents(v int64) *ServerStrategy { + s.NumberOfApplicationComponents = &v + return s +} + +// SetRecommendation sets the Recommendation field's value. +func (s *ServerStrategy) SetRecommendation(v *RecommendationSet) *ServerStrategy { + s.Recommendation = v + return s +} + +// SetStatus sets the Status field's value. +func (s *ServerStrategy) SetStatus(v string) *ServerStrategy { + s.Status = &v + return s +} + +// Object containing details about the servers imported by Application Discovery +// Service +type ServerSummary struct { + _ struct{} `type:"structure"` + + // Number of servers. + Count *int64 `locationName:"count" type:"integer"` + + // Type of operating system for the servers. + ServerOsType *string `type:"string" enum:"ServerOsType"` +} + +// 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 ServerSummary) 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 ServerSummary) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *ServerSummary) SetCount(v int64) *ServerSummary { + s.Count = &v + return s +} + +// SetServerOsType sets the ServerOsType field's value. +func (s *ServerSummary) SetServerOsType(v string) *ServerSummary { + s.ServerOsType = &v + return s +} + +// Exception to indicate that the service-linked role (SLR) is locked. +type ServiceLinkedRoleLockClientException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + 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 ServiceLinkedRoleLockClientException) 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 ServiceLinkedRoleLockClientException) GoString() string { + return s.String() +} + +func newErrorServiceLinkedRoleLockClientException(v protocol.ResponseMetadata) error { + return &ServiceLinkedRoleLockClientException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ServiceLinkedRoleLockClientException) Code() string { + return "ServiceLinkedRoleLockClientException" +} + +// Message returns the exception's message. +func (s *ServiceLinkedRoleLockClientException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ServiceLinkedRoleLockClientException) OrigErr() error { + return nil +} + +func (s *ServiceLinkedRoleLockClientException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ServiceLinkedRoleLockClientException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ServiceLinkedRoleLockClientException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The AWS account has reached its quota of imports. Contact AWS Support to +// increase the quota for this account. +type ServiceQuotaExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + 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 ServiceQuotaExceededException) 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 ServiceQuotaExceededException) GoString() string { + return s.String() +} + +func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error { + return &ServiceQuotaExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ServiceQuotaExceededException) Code() string { + return "ServiceQuotaExceededException" +} + +// Message returns the exception's message. +func (s *ServiceQuotaExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ServiceQuotaExceededException) OrigErr() error { + return nil +} + +func (s *ServiceQuotaExceededException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ServiceQuotaExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ServiceQuotaExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Object containing source code information that is linked to an application +// component. +type SourceCode struct { + _ struct{} `type:"structure"` + + // The repository name for the source code. + Location *string `locationName:"location" min:"1" type:"string"` + + // The branch of the source code. + SourceVersion *string `locationName:"sourceVersion" min:"1" type:"string"` + + // The type of repository to use for the source code. + VersionControl *string `locationName:"versionControl" type:"string" enum:"VersionControl"` +} + +// 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 SourceCode) 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 SourceCode) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SourceCode) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SourceCode"} + if s.Location != nil && len(*s.Location) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Location", 1)) + } + if s.SourceVersion != nil && len(*s.SourceVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceVersion", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLocation sets the Location field's value. +func (s *SourceCode) SetLocation(v string) *SourceCode { + s.Location = &v + return s +} + +// SetSourceVersion sets the SourceVersion field's value. +func (s *SourceCode) SetSourceVersion(v string) *SourceCode { + s.SourceVersion = &v + return s +} + +// SetVersionControl sets the VersionControl field's value. +func (s *SourceCode) SetVersionControl(v string) *SourceCode { + s.VersionControl = &v + return s +} + +// Object containing source code information that is linked to an application +// component. +type SourceCodeRepository struct { + _ struct{} `type:"structure"` + + // The branch of the source code. + Branch *string `locationName:"branch" type:"string"` + + // The repository name for the source code. + Repository *string `locationName:"repository" type:"string"` + + // The type of repository to use for the source code. + VersionControlType *string `locationName:"versionControlType" 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 SourceCodeRepository) 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 SourceCodeRepository) GoString() string { + return s.String() +} + +// SetBranch sets the Branch field's value. +func (s *SourceCodeRepository) SetBranch(v string) *SourceCodeRepository { + s.Branch = &v + return s +} + +// SetRepository sets the Repository field's value. +func (s *SourceCodeRepository) SetRepository(v string) *SourceCodeRepository { + s.Repository = &v + return s +} + +// SetVersionControlType sets the VersionControlType field's value. +func (s *SourceCodeRepository) SetVersionControlType(v string) *SourceCodeRepository { + s.VersionControlType = &v + return s +} + +type StartAssessmentInput struct { + _ struct{} `type:"structure"` + + // The S3 bucket used by the collectors to send analysis data to the service. + // The bucket name must begin with migrationhub-strategy-. + S3bucketForAnalysisData *string `locationName:"s3bucketForAnalysisData" type:"string"` + + // The S3 bucket where all the reports generated by the service are stored. + // The bucket name must begin with migrationhub-strategy-. + S3bucketForReportData *string `locationName:"s3bucketForReportData" 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 StartAssessmentInput) 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 StartAssessmentInput) GoString() string { + return s.String() +} + +// SetS3bucketForAnalysisData sets the S3bucketForAnalysisData field's value. +func (s *StartAssessmentInput) SetS3bucketForAnalysisData(v string) *StartAssessmentInput { + s.S3bucketForAnalysisData = &v + return s +} + +// SetS3bucketForReportData sets the S3bucketForReportData field's value. +func (s *StartAssessmentInput) SetS3bucketForReportData(v string) *StartAssessmentInput { + s.S3bucketForReportData = &v + return s +} + +type StartAssessmentOutput struct { + _ struct{} `type:"structure"` + + // The ID of the assessment. + AssessmentId *string `locationName:"assessmentId" 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 StartAssessmentOutput) 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 StartAssessmentOutput) GoString() string { + return s.String() +} + +// SetAssessmentId sets the AssessmentId field's value. +func (s *StartAssessmentOutput) SetAssessmentId(v string) *StartAssessmentOutput { + s.AssessmentId = &v + return s +} + +type StartImportFileTaskInput struct { + _ struct{} `type:"structure"` + + // Specifies the source that the servers are coming from. By default, Strategy + // Recommendations assumes that the servers specified in the import file are + // available in AWS Application Discovery Service. + DataSourceType *string `locationName:"dataSourceType" type:"string" enum:"DataSourceType"` + + // Groups the resources in the import file together with a unique name. This + // ID can be as filter in ListApplicationComponents and ListServers. + GroupId []*Group `locationName:"groupId" type:"list"` + + // A descriptive name for the request. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The S3 bucket where the import file is located. The bucket name is required + // to begin with migrationhub-strategy-. + // + // S3Bucket is a required field + S3Bucket *string `type:"string" required:"true"` + + // The S3 bucket where Strategy Recommendations uploads import results. The + // bucket name is required to begin with migrationhub-strategy-. + S3bucketForReportData *string `locationName:"s3bucketForReportData" type:"string"` + + // The Amazon S3 key name of the import file. + // + // 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 StartImportFileTaskInput) 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 StartImportFileTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartImportFileTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartImportFileTaskInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.S3Bucket == nil { + invalidParams.Add(request.NewErrParamRequired("S3Bucket")) + } + if s.S3key == nil { + invalidParams.Add(request.NewErrParamRequired("S3key")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDataSourceType sets the DataSourceType field's value. +func (s *StartImportFileTaskInput) SetDataSourceType(v string) *StartImportFileTaskInput { + s.DataSourceType = &v + return s +} + +// SetGroupId sets the GroupId field's value. +func (s *StartImportFileTaskInput) SetGroupId(v []*Group) *StartImportFileTaskInput { + s.GroupId = v + return s +} + +// SetName sets the Name field's value. +func (s *StartImportFileTaskInput) SetName(v string) *StartImportFileTaskInput { + s.Name = &v + return s +} + +// SetS3Bucket sets the S3Bucket field's value. +func (s *StartImportFileTaskInput) SetS3Bucket(v string) *StartImportFileTaskInput { + s.S3Bucket = &v + return s +} + +// SetS3bucketForReportData sets the S3bucketForReportData field's value. +func (s *StartImportFileTaskInput) SetS3bucketForReportData(v string) *StartImportFileTaskInput { + s.S3bucketForReportData = &v + return s +} + +// SetS3key sets the S3key field's value. +func (s *StartImportFileTaskInput) SetS3key(v string) *StartImportFileTaskInput { + s.S3key = &v + return s +} + +type StartImportFileTaskOutput struct { + _ struct{} `type:"structure"` + + // The ID for a specific import task. The ID is unique within an AWS account. + Id *string `locationName:"id" 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 StartImportFileTaskOutput) 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 StartImportFileTaskOutput) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *StartImportFileTaskOutput) SetId(v string) *StartImportFileTaskOutput { + s.Id = &v + return s +} + +type StartRecommendationReportGenerationInput struct { + _ struct{} `type:"structure"` + + // Groups the resources in the recommendation report with a unique name. + GroupIdFilter []*Group `locationName:"groupIdFilter" type:"list"` + + // The output format for the recommendation report file. The default format + // is Microsoft Excel. + OutputFormat *string `locationName:"outputFormat" type:"string" enum:"OutputFormat"` +} + +// 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 StartRecommendationReportGenerationInput) 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 StartRecommendationReportGenerationInput) GoString() string { + return s.String() +} + +// SetGroupIdFilter sets the GroupIdFilter field's value. +func (s *StartRecommendationReportGenerationInput) SetGroupIdFilter(v []*Group) *StartRecommendationReportGenerationInput { + s.GroupIdFilter = v + return s +} + +// SetOutputFormat sets the OutputFormat field's value. +func (s *StartRecommendationReportGenerationInput) SetOutputFormat(v string) *StartRecommendationReportGenerationInput { + s.OutputFormat = &v + return s +} + +type StartRecommendationReportGenerationOutput struct { + _ struct{} `type:"structure"` + + // The ID of the recommendation report generation task. + Id *string `locationName:"id" 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 StartRecommendationReportGenerationOutput) 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 StartRecommendationReportGenerationOutput) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *StartRecommendationReportGenerationOutput) SetId(v string) *StartRecommendationReportGenerationOutput { + s.Id = &v + return s +} + +type StopAssessmentInput struct { + _ struct{} `type:"structure"` + + // The assessmentId returned by StartAssessment. + // + // AssessmentId is a required field + AssessmentId *string `locationName:"assessmentId" 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 StopAssessmentInput) 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 StopAssessmentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StopAssessmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopAssessmentInput"} + if s.AssessmentId == nil { + invalidParams.Add(request.NewErrParamRequired("AssessmentId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssessmentId sets the AssessmentId field's value. +func (s *StopAssessmentInput) SetAssessmentId(v string) *StopAssessmentInput { + s.AssessmentId = &v + return s +} + +type StopAssessmentOutput 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 StopAssessmentOutput) 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 StopAssessmentOutput) GoString() string { + return s.String() +} + +// Information about all the available strategy options for migrating and modernizing +// an application component. +type StrategyOption struct { + _ struct{} `type:"structure"` + + // Indicates if a specific strategy is preferred for the application component. + IsPreferred *bool `locationName:"isPreferred" type:"boolean"` + + // Type of transformation. For example, Rehost, Replatform, and so on. + Strategy *string `locationName:"strategy" type:"string" enum:"Strategy"` + + // Destination information about where the application component can migrate + // to. For example, EC2, ECS, and so on. + TargetDestination *string `locationName:"targetDestination" type:"string" enum:"TargetDestination"` + + // The name of the tool that can be used to transform an application component + // using this strategy. + ToolName *string `locationName:"toolName" type:"string" enum:"TransformationToolName"` +} + +// 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 StrategyOption) 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 StrategyOption) GoString() string { + return s.String() +} + +// SetIsPreferred sets the IsPreferred field's value. +func (s *StrategyOption) SetIsPreferred(v bool) *StrategyOption { + s.IsPreferred = &v + return s +} + +// SetStrategy sets the Strategy field's value. +func (s *StrategyOption) SetStrategy(v string) *StrategyOption { + s.Strategy = &v + return s +} + +// SetTargetDestination sets the TargetDestination field's value. +func (s *StrategyOption) SetTargetDestination(v string) *StrategyOption { + s.TargetDestination = &v + return s +} + +// SetToolName sets the ToolName field's value. +func (s *StrategyOption) SetToolName(v string) *StrategyOption { + s.ToolName = &v + return s +} + +// Object containing the summary of the strategy recommendations. +type StrategySummary struct { + _ struct{} `type:"structure"` + + // The count of recommendations per strategy. + Count *int64 `locationName:"count" type:"integer"` + + // The name of recommended strategy. + Strategy *string `locationName:"strategy" type:"string" enum:"Strategy"` +} + +// 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 StrategySummary) 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 StrategySummary) GoString() string { + return s.String() +} + +// SetCount sets the Count field's value. +func (s *StrategySummary) SetCount(v int64) *StrategySummary { + s.Count = &v + return s +} + +// SetStrategy sets the Strategy field's value. +func (s *StrategySummary) SetStrategy(v string) *StrategySummary { + s.Strategy = &v + return s +} + +// Information about the server that hosts application components. +type SystemInfo struct { + _ struct{} `type:"structure"` + + // CPU architecture type for the server. + CpuArchitecture *string `locationName:"cpuArchitecture" type:"string"` + + // File system type for the server. + FileSystemType *string `locationName:"fileSystemType" type:"string"` + + // Networking information related to a server. + NetworkInfoList []*NetworkInfo `locationName:"networkInfoList" type:"list"` + + // Operating system corresponding to a server. + OsInfo *OSInfo `locationName:"osInfo" 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 SystemInfo) 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 SystemInfo) GoString() string { + return s.String() +} + +// SetCpuArchitecture sets the CpuArchitecture field's value. +func (s *SystemInfo) SetCpuArchitecture(v string) *SystemInfo { + s.CpuArchitecture = &v + return s +} + +// SetFileSystemType sets the FileSystemType field's value. +func (s *SystemInfo) SetFileSystemType(v string) *SystemInfo { + s.FileSystemType = &v + return s +} + +// SetNetworkInfoList sets the NetworkInfoList field's value. +func (s *SystemInfo) SetNetworkInfoList(v []*NetworkInfo) *SystemInfo { + s.NetworkInfoList = v + return s +} + +// SetOsInfo sets the OsInfo field's value. +func (s *SystemInfo) SetOsInfo(v *OSInfo) *SystemInfo { + s.OsInfo = v + return s +} + +// The request was denied due to request throttling. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + 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 ThrottlingException) 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 ThrottlingException) GoString() string { + return s.String() +} + +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil +} + +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Information of the transformation tool that can be used to migrate and modernize +// the application. +type TransformationTool struct { + _ struct{} `type:"structure"` + + // Description of the tool. + Description *string `locationName:"description" min:"1" type:"string"` + + // Name of the tool. + Name *string `locationName:"name" type:"string" enum:"TransformationToolName"` + + // URL for installing the tool. + TranformationToolInstallationLink *string `locationName:"tranformationToolInstallationLink" 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 TransformationTool) 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 TransformationTool) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *TransformationTool) SetDescription(v string) *TransformationTool { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *TransformationTool) SetName(v string) *TransformationTool { + s.Name = &v + return s +} + +// SetTranformationToolInstallationLink sets the TranformationToolInstallationLink field's value. +func (s *TransformationTool) SetTranformationToolInstallationLink(v string) *TransformationTool { + s.TranformationToolInstallationLink = &v + return s +} + +type UpdateApplicationComponentConfigInput struct { + _ struct{} `type:"structure"` + + // The ID of the application component. The ID is unique within an AWS account. + // + // ApplicationComponentId is a required field + ApplicationComponentId *string `locationName:"applicationComponentId" type:"string" required:"true"` + + // Indicates whether the application component has been included for server + // recommendation or not. + InclusionStatus *string `locationName:"inclusionStatus" type:"string" enum:"InclusionStatus"` + + // Database credentials. + // + // SecretsManagerKey is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by UpdateApplicationComponentConfigInput's + // String and GoString methods. + SecretsManagerKey *string `locationName:"secretsManagerKey" min:"1" type:"string" sensitive:"true"` + + // The list of source code configurations to update for the application component. + SourceCodeList []*SourceCode `locationName:"sourceCodeList" type:"list"` + + // The preferred strategy options for the application component. Use values + // from the GetApplicationComponentStrategies response. + StrategyOption *StrategyOption `locationName:"strategyOption" 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 UpdateApplicationComponentConfigInput) 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 UpdateApplicationComponentConfigInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateApplicationComponentConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateApplicationComponentConfigInput"} + if s.ApplicationComponentId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationComponentId")) + } + if s.SecretsManagerKey != nil && len(*s.SecretsManagerKey) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretsManagerKey", 1)) + } + if s.SourceCodeList != nil { + for i, v := range s.SourceCodeList { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceCodeList", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationComponentId sets the ApplicationComponentId field's value. +func (s *UpdateApplicationComponentConfigInput) SetApplicationComponentId(v string) *UpdateApplicationComponentConfigInput { + s.ApplicationComponentId = &v + return s +} + +// SetInclusionStatus sets the InclusionStatus field's value. +func (s *UpdateApplicationComponentConfigInput) SetInclusionStatus(v string) *UpdateApplicationComponentConfigInput { + s.InclusionStatus = &v + return s +} + +// SetSecretsManagerKey sets the SecretsManagerKey field's value. +func (s *UpdateApplicationComponentConfigInput) SetSecretsManagerKey(v string) *UpdateApplicationComponentConfigInput { + s.SecretsManagerKey = &v + return s +} + +// SetSourceCodeList sets the SourceCodeList field's value. +func (s *UpdateApplicationComponentConfigInput) SetSourceCodeList(v []*SourceCode) *UpdateApplicationComponentConfigInput { + s.SourceCodeList = v + return s +} + +// SetStrategyOption sets the StrategyOption field's value. +func (s *UpdateApplicationComponentConfigInput) SetStrategyOption(v *StrategyOption) *UpdateApplicationComponentConfigInput { + s.StrategyOption = v + return s +} + +type UpdateApplicationComponentConfigOutput 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 UpdateApplicationComponentConfigOutput) 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 UpdateApplicationComponentConfigOutput) GoString() string { + return s.String() +} + +type UpdateServerConfigInput struct { + _ struct{} `type:"structure"` + + // The ID of the server. + // + // ServerId is a required field + ServerId *string `locationName:"serverId" min:"1" type:"string" required:"true"` + + // The preferred strategy options for the application component. See the response + // from GetServerStrategies. + StrategyOption *StrategyOption `locationName:"strategyOption" 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 UpdateServerConfigInput) 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 UpdateServerConfigInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateServerConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateServerConfigInput"} + if s.ServerId == nil { + invalidParams.Add(request.NewErrParamRequired("ServerId")) + } + if s.ServerId != nil && len(*s.ServerId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ServerId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetServerId sets the ServerId field's value. +func (s *UpdateServerConfigInput) SetServerId(v string) *UpdateServerConfigInput { + s.ServerId = &v + return s +} + +// SetStrategyOption sets the StrategyOption field's value. +func (s *UpdateServerConfigInput) SetStrategyOption(v *StrategyOption) *UpdateServerConfigInput { + s.StrategyOption = v + return s +} + +type UpdateServerConfigOutput 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 UpdateServerConfigOutput) 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 UpdateServerConfigOutput) GoString() string { + return s.String() +} + +// The request body isn't valid. +type ValidationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + 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 ValidationException) 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 ValidationException) GoString() string { + return s.String() +} + +func newErrorValidationException(v protocol.ResponseMetadata) error { + return &ValidationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ValidationException) Code() string { + return "ValidationException" +} + +// Message returns the exception's message. +func (s *ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ValidationException) OrigErr() error { + return nil +} + +func (s *ValidationException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ValidationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ValidationException) RequestID() string { + return s.RespMetadata.RequestID +} + +const ( + // AntipatternReportStatusFailed is a AntipatternReportStatus enum value + AntipatternReportStatusFailed = "FAILED" + + // AntipatternReportStatusInProgress is a AntipatternReportStatus enum value + AntipatternReportStatusInProgress = "IN_PROGRESS" + + // AntipatternReportStatusSuccess is a AntipatternReportStatus enum value + AntipatternReportStatusSuccess = "SUCCESS" +) + +// AntipatternReportStatus_Values returns all elements of the AntipatternReportStatus enum +func AntipatternReportStatus_Values() []string { + return []string{ + AntipatternReportStatusFailed, + AntipatternReportStatusInProgress, + AntipatternReportStatusSuccess, + } +} + +const ( + // AppTypeDotNetFramework is a AppType enum value + AppTypeDotNetFramework = "DotNetFramework" + + // AppTypeJava is a AppType enum value + AppTypeJava = "Java" + + // AppTypeSqlserver is a AppType enum value + AppTypeSqlserver = "SQLServer" + + // AppTypeIis is a AppType enum value + AppTypeIis = "IIS" + + // AppTypeOracle is a AppType enum value + AppTypeOracle = "Oracle" + + // AppTypeOther is a AppType enum value + AppTypeOther = "Other" +) + +// AppType_Values returns all elements of the AppType enum +func AppType_Values() []string { + return []string{ + AppTypeDotNetFramework, + AppTypeJava, + AppTypeSqlserver, + AppTypeIis, + AppTypeOracle, + AppTypeOther, + } +} + +const ( + // ApplicationComponentCriteriaNotDefined is a ApplicationComponentCriteria enum value + ApplicationComponentCriteriaNotDefined = "NOT_DEFINED" + + // ApplicationComponentCriteriaAppName is a ApplicationComponentCriteria enum value + ApplicationComponentCriteriaAppName = "APP_NAME" + + // ApplicationComponentCriteriaServerId is a ApplicationComponentCriteria enum value + ApplicationComponentCriteriaServerId = "SERVER_ID" + + // ApplicationComponentCriteriaAppType is a ApplicationComponentCriteria enum value + ApplicationComponentCriteriaAppType = "APP_TYPE" + + // ApplicationComponentCriteriaStrategy is a ApplicationComponentCriteria enum value + ApplicationComponentCriteriaStrategy = "STRATEGY" + + // ApplicationComponentCriteriaDestination is a ApplicationComponentCriteria enum value + ApplicationComponentCriteriaDestination = "DESTINATION" +) + +// ApplicationComponentCriteria_Values returns all elements of the ApplicationComponentCriteria enum +func ApplicationComponentCriteria_Values() []string { + return []string{ + ApplicationComponentCriteriaNotDefined, + ApplicationComponentCriteriaAppName, + ApplicationComponentCriteriaServerId, + ApplicationComponentCriteriaAppType, + ApplicationComponentCriteriaStrategy, + ApplicationComponentCriteriaDestination, + } +} + +const ( + // AssessmentStatusInProgress is a AssessmentStatus enum value + AssessmentStatusInProgress = "IN_PROGRESS" + + // AssessmentStatusComplete is a AssessmentStatus enum value + AssessmentStatusComplete = "COMPLETE" + + // AssessmentStatusFailed is a AssessmentStatus enum value + AssessmentStatusFailed = "FAILED" + + // AssessmentStatusStopped is a AssessmentStatus enum value + AssessmentStatusStopped = "STOPPED" +) + +// AssessmentStatus_Values returns all elements of the AssessmentStatus enum +func AssessmentStatus_Values() []string { + return []string{ + AssessmentStatusInProgress, + AssessmentStatusComplete, + AssessmentStatusFailed, + AssessmentStatusStopped, + } +} + +const ( + // AwsManagedTargetDestinationNonespecified is a AwsManagedTargetDestination enum value + AwsManagedTargetDestinationNonespecified = "None specified" + + // AwsManagedTargetDestinationAwselasticBeanStalk is a AwsManagedTargetDestination enum value + AwsManagedTargetDestinationAwselasticBeanStalk = "AWS Elastic BeanStalk" + + // AwsManagedTargetDestinationAwsfargate is a AwsManagedTargetDestination enum value + AwsManagedTargetDestinationAwsfargate = "AWS Fargate" +) + +// AwsManagedTargetDestination_Values returns all elements of the AwsManagedTargetDestination enum +func AwsManagedTargetDestination_Values() []string { + return []string{ + AwsManagedTargetDestinationNonespecified, + AwsManagedTargetDestinationAwselasticBeanStalk, + AwsManagedTargetDestinationAwsfargate, + } +} + +const ( + // CollectorHealthCollectorHealthy is a CollectorHealth enum value + CollectorHealthCollectorHealthy = "COLLECTOR_HEALTHY" + + // CollectorHealthCollectorUnhealthy is a CollectorHealth enum value + CollectorHealthCollectorUnhealthy = "COLLECTOR_UNHEALTHY" +) + +// CollectorHealth_Values returns all elements of the CollectorHealth enum +func CollectorHealth_Values() []string { + return []string{ + CollectorHealthCollectorHealthy, + CollectorHealthCollectorUnhealthy, + } +} + +const ( + // DataSourceTypeApplicationDiscoveryService is a DataSourceType enum value + DataSourceTypeApplicationDiscoveryService = "ApplicationDiscoveryService" + + // DataSourceTypeMpa is a DataSourceType enum value + DataSourceTypeMpa = "MPA" +) + +// DataSourceType_Values returns all elements of the DataSourceType enum +func DataSourceType_Values() []string { + return []string{ + DataSourceTypeApplicationDiscoveryService, + DataSourceTypeMpa, + } +} + +const ( + // DatabaseManagementPreferenceAwsManaged is a DatabaseManagementPreference enum value + DatabaseManagementPreferenceAwsManaged = "AWS-managed" + + // DatabaseManagementPreferenceSelfManage is a DatabaseManagementPreference enum value + DatabaseManagementPreferenceSelfManage = "Self-manage" + + // DatabaseManagementPreferenceNopreference is a DatabaseManagementPreference enum value + DatabaseManagementPreferenceNopreference = "No preference" +) + +// DatabaseManagementPreference_Values returns all elements of the DatabaseManagementPreference enum +func DatabaseManagementPreference_Values() []string { + return []string{ + DatabaseManagementPreferenceAwsManaged, + DatabaseManagementPreferenceSelfManage, + DatabaseManagementPreferenceNopreference, + } +} + +const ( + // GroupNameExternalId is a GroupName enum value + GroupNameExternalId = "ExternalId" +) + +// GroupName_Values returns all elements of the GroupName enum +func GroupName_Values() []string { + return []string{ + GroupNameExternalId, + } +} + +const ( + // HeterogeneousTargetDatabaseEngineNonespecified is a HeterogeneousTargetDatabaseEngine enum value + HeterogeneousTargetDatabaseEngineNonespecified = "None specified" + + // HeterogeneousTargetDatabaseEngineAmazonAurora is a HeterogeneousTargetDatabaseEngine enum value + HeterogeneousTargetDatabaseEngineAmazonAurora = "Amazon Aurora" + + // HeterogeneousTargetDatabaseEngineAwspostgreSql is a HeterogeneousTargetDatabaseEngine enum value + HeterogeneousTargetDatabaseEngineAwspostgreSql = "AWS PostgreSQL" + + // HeterogeneousTargetDatabaseEngineMySql is a HeterogeneousTargetDatabaseEngine enum value + HeterogeneousTargetDatabaseEngineMySql = "MySQL" + + // HeterogeneousTargetDatabaseEngineMicrosoftSqlserver is a HeterogeneousTargetDatabaseEngine enum value + HeterogeneousTargetDatabaseEngineMicrosoftSqlserver = "Microsoft SQL Server" + + // HeterogeneousTargetDatabaseEngineOracleDatabase is a HeterogeneousTargetDatabaseEngine enum value + HeterogeneousTargetDatabaseEngineOracleDatabase = "Oracle Database" + + // HeterogeneousTargetDatabaseEngineMariaDb is a HeterogeneousTargetDatabaseEngine enum value + HeterogeneousTargetDatabaseEngineMariaDb = "MariaDB" + + // HeterogeneousTargetDatabaseEngineSap is a HeterogeneousTargetDatabaseEngine enum value + HeterogeneousTargetDatabaseEngineSap = "SAP" + + // HeterogeneousTargetDatabaseEngineDb2luw is a HeterogeneousTargetDatabaseEngine enum value + HeterogeneousTargetDatabaseEngineDb2luw = "Db2 LUW" + + // HeterogeneousTargetDatabaseEngineMongoDb is a HeterogeneousTargetDatabaseEngine enum value + HeterogeneousTargetDatabaseEngineMongoDb = "MongoDB" +) + +// HeterogeneousTargetDatabaseEngine_Values returns all elements of the HeterogeneousTargetDatabaseEngine enum +func HeterogeneousTargetDatabaseEngine_Values() []string { + return []string{ + HeterogeneousTargetDatabaseEngineNonespecified, + HeterogeneousTargetDatabaseEngineAmazonAurora, + HeterogeneousTargetDatabaseEngineAwspostgreSql, + HeterogeneousTargetDatabaseEngineMySql, + HeterogeneousTargetDatabaseEngineMicrosoftSqlserver, + HeterogeneousTargetDatabaseEngineOracleDatabase, + HeterogeneousTargetDatabaseEngineMariaDb, + HeterogeneousTargetDatabaseEngineSap, + HeterogeneousTargetDatabaseEngineDb2luw, + HeterogeneousTargetDatabaseEngineMongoDb, + } +} + +const ( + // HomogeneousTargetDatabaseEngineNonespecified is a HomogeneousTargetDatabaseEngine enum value + HomogeneousTargetDatabaseEngineNonespecified = "None specified" +) + +// HomogeneousTargetDatabaseEngine_Values returns all elements of the HomogeneousTargetDatabaseEngine enum +func HomogeneousTargetDatabaseEngine_Values() []string { + return []string{ + HomogeneousTargetDatabaseEngineNonespecified, + } +} + +const ( + // ImportFileTaskStatusImportInProgress is a ImportFileTaskStatus enum value + ImportFileTaskStatusImportInProgress = "ImportInProgress" + + // ImportFileTaskStatusImportFailed is a ImportFileTaskStatus enum value + ImportFileTaskStatusImportFailed = "ImportFailed" + + // ImportFileTaskStatusImportPartialSuccess is a ImportFileTaskStatus enum value + ImportFileTaskStatusImportPartialSuccess = "ImportPartialSuccess" + + // ImportFileTaskStatusImportSuccess is a ImportFileTaskStatus enum value + ImportFileTaskStatusImportSuccess = "ImportSuccess" + + // ImportFileTaskStatusDeleteInProgress is a ImportFileTaskStatus enum value + ImportFileTaskStatusDeleteInProgress = "DeleteInProgress" + + // ImportFileTaskStatusDeleteFailed is a ImportFileTaskStatus enum value + ImportFileTaskStatusDeleteFailed = "DeleteFailed" + + // ImportFileTaskStatusDeletePartialSuccess is a ImportFileTaskStatus enum value + ImportFileTaskStatusDeletePartialSuccess = "DeletePartialSuccess" + + // ImportFileTaskStatusDeleteSuccess is a ImportFileTaskStatus enum value + ImportFileTaskStatusDeleteSuccess = "DeleteSuccess" +) + +// ImportFileTaskStatus_Values returns all elements of the ImportFileTaskStatus enum +func ImportFileTaskStatus_Values() []string { + return []string{ + ImportFileTaskStatusImportInProgress, + ImportFileTaskStatusImportFailed, + ImportFileTaskStatusImportPartialSuccess, + ImportFileTaskStatusImportSuccess, + ImportFileTaskStatusDeleteInProgress, + ImportFileTaskStatusDeleteFailed, + ImportFileTaskStatusDeletePartialSuccess, + ImportFileTaskStatusDeleteSuccess, + } +} + +const ( + // InclusionStatusExcludeFromAssessment is a InclusionStatus enum value + InclusionStatusExcludeFromAssessment = "excludeFromAssessment" + + // InclusionStatusIncludeInAssessment is a InclusionStatus enum value + InclusionStatusIncludeInAssessment = "includeInAssessment" +) + +// InclusionStatus_Values returns all elements of the InclusionStatus enum +func InclusionStatus_Values() []string { + return []string{ + InclusionStatusExcludeFromAssessment, + InclusionStatusIncludeInAssessment, + } +} + +const ( + // NoPreferenceTargetDestinationNonespecified is a NoPreferenceTargetDestination enum value + NoPreferenceTargetDestinationNonespecified = "None specified" + + // NoPreferenceTargetDestinationAwselasticBeanStalk is a NoPreferenceTargetDestination enum value + NoPreferenceTargetDestinationAwselasticBeanStalk = "AWS Elastic BeanStalk" + + // NoPreferenceTargetDestinationAwsfargate is a NoPreferenceTargetDestination enum value + NoPreferenceTargetDestinationAwsfargate = "AWS Fargate" + + // NoPreferenceTargetDestinationAmazonElasticCloudComputeEc2 is a NoPreferenceTargetDestination enum value + NoPreferenceTargetDestinationAmazonElasticCloudComputeEc2 = "Amazon Elastic Cloud Compute (EC2)" + + // NoPreferenceTargetDestinationAmazonElasticContainerServiceEcs is a NoPreferenceTargetDestination enum value + NoPreferenceTargetDestinationAmazonElasticContainerServiceEcs = "Amazon Elastic Container Service (ECS)" + + // NoPreferenceTargetDestinationAmazonElasticKubernetesServiceEks is a NoPreferenceTargetDestination enum value + NoPreferenceTargetDestinationAmazonElasticKubernetesServiceEks = "Amazon Elastic Kubernetes Service (EKS)" +) + +// NoPreferenceTargetDestination_Values returns all elements of the NoPreferenceTargetDestination enum +func NoPreferenceTargetDestination_Values() []string { + return []string{ + NoPreferenceTargetDestinationNonespecified, + NoPreferenceTargetDestinationAwselasticBeanStalk, + NoPreferenceTargetDestinationAwsfargate, + NoPreferenceTargetDestinationAmazonElasticCloudComputeEc2, + NoPreferenceTargetDestinationAmazonElasticContainerServiceEcs, + NoPreferenceTargetDestinationAmazonElasticKubernetesServiceEks, + } +} + +const ( + // OSTypeLinux is a OSType enum value + OSTypeLinux = "LINUX" + + // OSTypeWindows is a OSType enum value + OSTypeWindows = "WINDOWS" +) + +// OSType_Values returns all elements of the OSType enum +func OSType_Values() []string { + return []string{ + OSTypeLinux, + OSTypeWindows, + } +} + +const ( + // OutputFormatExcel is a OutputFormat enum value + OutputFormatExcel = "Excel" + + // OutputFormatJson is a OutputFormat enum value + OutputFormatJson = "Json" +) + +// OutputFormat_Values returns all elements of the OutputFormat enum +func OutputFormat_Values() []string { + return []string{ + OutputFormatExcel, + OutputFormatJson, + } +} + +const ( + // RecommendationReportStatusFailed is a RecommendationReportStatus enum value + RecommendationReportStatusFailed = "FAILED" + + // RecommendationReportStatusInProgress is a RecommendationReportStatus enum value + RecommendationReportStatusInProgress = "IN_PROGRESS" + + // RecommendationReportStatusSuccess is a RecommendationReportStatus enum value + RecommendationReportStatusSuccess = "SUCCESS" +) + +// RecommendationReportStatus_Values returns all elements of the RecommendationReportStatus enum +func RecommendationReportStatus_Values() []string { + return []string{ + RecommendationReportStatusFailed, + RecommendationReportStatusInProgress, + RecommendationReportStatusSuccess, + } +} + +const ( + // ResourceSubTypeDatabase is a ResourceSubType enum value + ResourceSubTypeDatabase = "Database" + + // ResourceSubTypeProcess is a ResourceSubType enum value + ResourceSubTypeProcess = "Process" + + // ResourceSubTypeDatabaseProcess is a ResourceSubType enum value + ResourceSubTypeDatabaseProcess = "DatabaseProcess" +) + +// ResourceSubType_Values returns all elements of the ResourceSubType enum +func ResourceSubType_Values() []string { + return []string{ + ResourceSubTypeDatabase, + ResourceSubTypeProcess, + ResourceSubTypeDatabaseProcess, + } +} + +const ( + // RunTimeAssessmentStatusDataCollectionTaskToBeScheduled is a RunTimeAssessmentStatus enum value + RunTimeAssessmentStatusDataCollectionTaskToBeScheduled = "dataCollectionTaskToBeScheduled" + + // RunTimeAssessmentStatusDataCollectionTaskScheduled is a RunTimeAssessmentStatus enum value + RunTimeAssessmentStatusDataCollectionTaskScheduled = "dataCollectionTaskScheduled" + + // RunTimeAssessmentStatusDataCollectionTaskStarted is a RunTimeAssessmentStatus enum value + RunTimeAssessmentStatusDataCollectionTaskStarted = "dataCollectionTaskStarted" + + // RunTimeAssessmentStatusDataCollectionTaskStopped is a RunTimeAssessmentStatus enum value + RunTimeAssessmentStatusDataCollectionTaskStopped = "dataCollectionTaskStopped" + + // RunTimeAssessmentStatusDataCollectionTaskSuccess is a RunTimeAssessmentStatus enum value + RunTimeAssessmentStatusDataCollectionTaskSuccess = "dataCollectionTaskSuccess" + + // RunTimeAssessmentStatusDataCollectionTaskFailed is a RunTimeAssessmentStatus enum value + RunTimeAssessmentStatusDataCollectionTaskFailed = "dataCollectionTaskFailed" + + // RunTimeAssessmentStatusDataCollectionTaskPartialSuccess is a RunTimeAssessmentStatus enum value + RunTimeAssessmentStatusDataCollectionTaskPartialSuccess = "dataCollectionTaskPartialSuccess" +) + +// RunTimeAssessmentStatus_Values returns all elements of the RunTimeAssessmentStatus enum +func RunTimeAssessmentStatus_Values() []string { + return []string{ + RunTimeAssessmentStatusDataCollectionTaskToBeScheduled, + RunTimeAssessmentStatusDataCollectionTaskScheduled, + RunTimeAssessmentStatusDataCollectionTaskStarted, + RunTimeAssessmentStatusDataCollectionTaskStopped, + RunTimeAssessmentStatusDataCollectionTaskSuccess, + RunTimeAssessmentStatusDataCollectionTaskFailed, + RunTimeAssessmentStatusDataCollectionTaskPartialSuccess, + } +} + +const ( + // SelfManageTargetDestinationNonespecified is a SelfManageTargetDestination enum value + SelfManageTargetDestinationNonespecified = "None specified" + + // SelfManageTargetDestinationAmazonElasticCloudComputeEc2 is a SelfManageTargetDestination enum value + SelfManageTargetDestinationAmazonElasticCloudComputeEc2 = "Amazon Elastic Cloud Compute (EC2)" + + // SelfManageTargetDestinationAmazonElasticContainerServiceEcs is a SelfManageTargetDestination enum value + SelfManageTargetDestinationAmazonElasticContainerServiceEcs = "Amazon Elastic Container Service (ECS)" + + // SelfManageTargetDestinationAmazonElasticKubernetesServiceEks is a SelfManageTargetDestination enum value + SelfManageTargetDestinationAmazonElasticKubernetesServiceEks = "Amazon Elastic Kubernetes Service (EKS)" +) + +// SelfManageTargetDestination_Values returns all elements of the SelfManageTargetDestination enum +func SelfManageTargetDestination_Values() []string { + return []string{ + SelfManageTargetDestinationNonespecified, + SelfManageTargetDestinationAmazonElasticCloudComputeEc2, + SelfManageTargetDestinationAmazonElasticContainerServiceEcs, + SelfManageTargetDestinationAmazonElasticKubernetesServiceEks, + } +} + +const ( + // ServerCriteriaNotDefined is a ServerCriteria enum value + ServerCriteriaNotDefined = "NOT_DEFINED" + + // ServerCriteriaOsName is a ServerCriteria enum value + ServerCriteriaOsName = "OS_NAME" + + // ServerCriteriaStrategy is a ServerCriteria enum value + ServerCriteriaStrategy = "STRATEGY" + + // ServerCriteriaDestination is a ServerCriteria enum value + ServerCriteriaDestination = "DESTINATION" + + // ServerCriteriaServerId is a ServerCriteria enum value + ServerCriteriaServerId = "SERVER_ID" +) + +// ServerCriteria_Values returns all elements of the ServerCriteria enum +func ServerCriteria_Values() []string { + return []string{ + ServerCriteriaNotDefined, + ServerCriteriaOsName, + ServerCriteriaStrategy, + ServerCriteriaDestination, + ServerCriteriaServerId, + } +} + +const ( + // ServerOsTypeWindowsServer is a ServerOsType enum value + ServerOsTypeWindowsServer = "WindowsServer" + + // ServerOsTypeAmazonLinux is a ServerOsType enum value + ServerOsTypeAmazonLinux = "AmazonLinux" + + // ServerOsTypeEndOfSupportWindowsServer is a ServerOsType enum value + ServerOsTypeEndOfSupportWindowsServer = "EndOfSupportWindowsServer" + + // ServerOsTypeRedhat is a ServerOsType enum value + ServerOsTypeRedhat = "Redhat" + + // ServerOsTypeOther is a ServerOsType enum value + ServerOsTypeOther = "Other" +) + +// ServerOsType_Values returns all elements of the ServerOsType enum +func ServerOsType_Values() []string { + return []string{ + ServerOsTypeWindowsServer, + ServerOsTypeAmazonLinux, + ServerOsTypeEndOfSupportWindowsServer, + ServerOsTypeRedhat, + ServerOsTypeOther, + } +} + +const ( + // SeverityHigh is a Severity enum value + SeverityHigh = "HIGH" + + // SeverityMedium is a Severity enum value + SeverityMedium = "MEDIUM" + + // SeverityLow is a Severity enum value + SeverityLow = "LOW" +) + +// Severity_Values returns all elements of the Severity enum +func Severity_Values() []string { + return []string{ + SeverityHigh, + SeverityMedium, + SeverityLow, + } +} + +const ( + // SortOrderAsc is a SortOrder enum value + SortOrderAsc = "ASC" + + // SortOrderDesc is a SortOrder enum value + SortOrderDesc = "DESC" +) + +// SortOrder_Values returns all elements of the SortOrder enum +func SortOrder_Values() []string { + return []string{ + SortOrderAsc, + SortOrderDesc, + } +} + +const ( + // SrcCodeOrDbAnalysisStatusAnalysisToBeScheduled is a SrcCodeOrDbAnalysisStatus enum value + SrcCodeOrDbAnalysisStatusAnalysisToBeScheduled = "ANALYSIS_TO_BE_SCHEDULED" + + // SrcCodeOrDbAnalysisStatusAnalysisStarted is a SrcCodeOrDbAnalysisStatus enum value + SrcCodeOrDbAnalysisStatusAnalysisStarted = "ANALYSIS_STARTED" + + // SrcCodeOrDbAnalysisStatusAnalysisSuccess is a SrcCodeOrDbAnalysisStatus enum value + SrcCodeOrDbAnalysisStatusAnalysisSuccess = "ANALYSIS_SUCCESS" + + // SrcCodeOrDbAnalysisStatusAnalysisFailed is a SrcCodeOrDbAnalysisStatus enum value + SrcCodeOrDbAnalysisStatusAnalysisFailed = "ANALYSIS_FAILED" +) + +// SrcCodeOrDbAnalysisStatus_Values returns all elements of the SrcCodeOrDbAnalysisStatus enum +func SrcCodeOrDbAnalysisStatus_Values() []string { + return []string{ + SrcCodeOrDbAnalysisStatusAnalysisToBeScheduled, + SrcCodeOrDbAnalysisStatusAnalysisStarted, + SrcCodeOrDbAnalysisStatusAnalysisSuccess, + SrcCodeOrDbAnalysisStatusAnalysisFailed, + } +} + +const ( + // StrategyRehost is a Strategy enum value + StrategyRehost = "Rehost" + + // StrategyRetirement is a Strategy enum value + StrategyRetirement = "Retirement" + + // StrategyRefactor is a Strategy enum value + StrategyRefactor = "Refactor" + + // StrategyReplatform is a Strategy enum value + StrategyReplatform = "Replatform" + + // StrategyRetain is a Strategy enum value + StrategyRetain = "Retain" + + // StrategyRelocate is a Strategy enum value + StrategyRelocate = "Relocate" + + // StrategyRepurchase is a Strategy enum value + StrategyRepurchase = "Repurchase" +) + +// Strategy_Values returns all elements of the Strategy enum +func Strategy_Values() []string { + return []string{ + StrategyRehost, + StrategyRetirement, + StrategyRefactor, + StrategyReplatform, + StrategyRetain, + StrategyRelocate, + StrategyRepurchase, + } +} + +const ( + // StrategyRecommendationRecommended is a StrategyRecommendation enum value + StrategyRecommendationRecommended = "recommended" + + // StrategyRecommendationViableOption is a StrategyRecommendation enum value + StrategyRecommendationViableOption = "viableOption" + + // StrategyRecommendationNotRecommended is a StrategyRecommendation enum value + StrategyRecommendationNotRecommended = "notRecommended" +) + +// StrategyRecommendation_Values returns all elements of the StrategyRecommendation enum +func StrategyRecommendation_Values() []string { + return []string{ + StrategyRecommendationRecommended, + StrategyRecommendationViableOption, + StrategyRecommendationNotRecommended, + } +} + +const ( + // TargetDatabaseEngineNonespecified is a TargetDatabaseEngine enum value + TargetDatabaseEngineNonespecified = "None specified" + + // TargetDatabaseEngineAmazonAurora is a TargetDatabaseEngine enum value + TargetDatabaseEngineAmazonAurora = "Amazon Aurora" + + // TargetDatabaseEngineAwspostgreSql is a TargetDatabaseEngine enum value + TargetDatabaseEngineAwspostgreSql = "AWS PostgreSQL" + + // TargetDatabaseEngineMySql is a TargetDatabaseEngine enum value + TargetDatabaseEngineMySql = "MySQL" + + // TargetDatabaseEngineMicrosoftSqlserver is a TargetDatabaseEngine enum value + TargetDatabaseEngineMicrosoftSqlserver = "Microsoft SQL Server" + + // TargetDatabaseEngineOracleDatabase is a TargetDatabaseEngine enum value + TargetDatabaseEngineOracleDatabase = "Oracle Database" + + // TargetDatabaseEngineMariaDb is a TargetDatabaseEngine enum value + TargetDatabaseEngineMariaDb = "MariaDB" + + // TargetDatabaseEngineSap is a TargetDatabaseEngine enum value + TargetDatabaseEngineSap = "SAP" + + // TargetDatabaseEngineDb2luw is a TargetDatabaseEngine enum value + TargetDatabaseEngineDb2luw = "Db2 LUW" + + // TargetDatabaseEngineMongoDb is a TargetDatabaseEngine enum value + TargetDatabaseEngineMongoDb = "MongoDB" +) + +// TargetDatabaseEngine_Values returns all elements of the TargetDatabaseEngine enum +func TargetDatabaseEngine_Values() []string { + return []string{ + TargetDatabaseEngineNonespecified, + TargetDatabaseEngineAmazonAurora, + TargetDatabaseEngineAwspostgreSql, + TargetDatabaseEngineMySql, + TargetDatabaseEngineMicrosoftSqlserver, + TargetDatabaseEngineOracleDatabase, + TargetDatabaseEngineMariaDb, + TargetDatabaseEngineSap, + TargetDatabaseEngineDb2luw, + TargetDatabaseEngineMongoDb, + } +} + +const ( + // TargetDestinationNonespecified is a TargetDestination enum value + TargetDestinationNonespecified = "None specified" + + // TargetDestinationAwselasticBeanStalk is a TargetDestination enum value + TargetDestinationAwselasticBeanStalk = "AWS Elastic BeanStalk" + + // TargetDestinationAwsfargate is a TargetDestination enum value + TargetDestinationAwsfargate = "AWS Fargate" + + // TargetDestinationAmazonElasticCloudComputeEc2 is a TargetDestination enum value + TargetDestinationAmazonElasticCloudComputeEc2 = "Amazon Elastic Cloud Compute (EC2)" + + // TargetDestinationAmazonElasticContainerServiceEcs is a TargetDestination enum value + TargetDestinationAmazonElasticContainerServiceEcs = "Amazon Elastic Container Service (ECS)" + + // TargetDestinationAmazonElasticKubernetesServiceEks is a TargetDestination enum value + TargetDestinationAmazonElasticKubernetesServiceEks = "Amazon Elastic Kubernetes Service (EKS)" + + // TargetDestinationAuroraMySql is a TargetDestination enum value + TargetDestinationAuroraMySql = "Aurora MySQL" + + // TargetDestinationAuroraPostgreSql is a TargetDestination enum value + TargetDestinationAuroraPostgreSql = "Aurora PostgreSQL" + + // TargetDestinationAmazonRelationalDatabaseServiceonMySql is a TargetDestination enum value + TargetDestinationAmazonRelationalDatabaseServiceonMySql = "Amazon Relational Database Service on MySQL" + + // TargetDestinationAmazonRelationalDatabaseServiceonPostgreSql is a TargetDestination enum value + TargetDestinationAmazonRelationalDatabaseServiceonPostgreSql = "Amazon Relational Database Service on PostgreSQL" + + // TargetDestinationAmazonDocumentDb is a TargetDestination enum value + TargetDestinationAmazonDocumentDb = "Amazon DocumentDB" + + // TargetDestinationAmazonDynamoDb is a TargetDestination enum value + TargetDestinationAmazonDynamoDb = "Amazon DynamoDB" + + // TargetDestinationAmazonRelationalDatabaseService is a TargetDestination enum value + TargetDestinationAmazonRelationalDatabaseService = "Amazon Relational Database Service" +) + +// TargetDestination_Values returns all elements of the TargetDestination enum +func TargetDestination_Values() []string { + return []string{ + TargetDestinationNonespecified, + TargetDestinationAwselasticBeanStalk, + TargetDestinationAwsfargate, + TargetDestinationAmazonElasticCloudComputeEc2, + TargetDestinationAmazonElasticContainerServiceEcs, + TargetDestinationAmazonElasticKubernetesServiceEks, + TargetDestinationAuroraMySql, + TargetDestinationAuroraPostgreSql, + TargetDestinationAmazonRelationalDatabaseServiceonMySql, + TargetDestinationAmazonRelationalDatabaseServiceonPostgreSql, + TargetDestinationAmazonDocumentDb, + TargetDestinationAmazonDynamoDb, + TargetDestinationAmazonRelationalDatabaseService, + } +} + +const ( + // TransformationToolNameApp2container is a TransformationToolName enum value + TransformationToolNameApp2container = "App2Container" + + // TransformationToolNamePortingAssistantForNet is a TransformationToolName enum value + TransformationToolNamePortingAssistantForNet = "Porting Assistant For .NET" + + // TransformationToolNameEndofSupportMigration is a TransformationToolName enum value + TransformationToolNameEndofSupportMigration = "End of Support Migration" + + // TransformationToolNameWindowsWebApplicationMigrationAssistant is a TransformationToolName enum value + TransformationToolNameWindowsWebApplicationMigrationAssistant = "Windows Web Application Migration Assistant" + + // TransformationToolNameApplicationMigrationService is a TransformationToolName enum value + TransformationToolNameApplicationMigrationService = "Application Migration Service" + + // TransformationToolNameStrategyRecommendationSupport is a TransformationToolName enum value + TransformationToolNameStrategyRecommendationSupport = "Strategy Recommendation Support" + + // TransformationToolNameInPlaceOperatingSystemUpgrade is a TransformationToolName enum value + TransformationToolNameInPlaceOperatingSystemUpgrade = "In Place Operating System Upgrade" + + // TransformationToolNameSchemaConversionTool is a TransformationToolName enum value + TransformationToolNameSchemaConversionTool = "Schema Conversion Tool" + + // TransformationToolNameDatabaseMigrationService is a TransformationToolName enum value + TransformationToolNameDatabaseMigrationService = "Database Migration Service" + + // TransformationToolNameNativeSqlserverBackupRestore is a TransformationToolName enum value + TransformationToolNameNativeSqlserverBackupRestore = "Native SQL Server Backup/Restore" +) + +// TransformationToolName_Values returns all elements of the TransformationToolName enum +func TransformationToolName_Values() []string { + return []string{ + TransformationToolNameApp2container, + TransformationToolNamePortingAssistantForNet, + TransformationToolNameEndofSupportMigration, + TransformationToolNameWindowsWebApplicationMigrationAssistant, + TransformationToolNameApplicationMigrationService, + TransformationToolNameStrategyRecommendationSupport, + TransformationToolNameInPlaceOperatingSystemUpgrade, + TransformationToolNameSchemaConversionTool, + TransformationToolNameDatabaseMigrationService, + TransformationToolNameNativeSqlserverBackupRestore, + } +} + +const ( + // VersionControlGithub is a VersionControl enum value + VersionControlGithub = "GITHUB" + + // VersionControlGithubEnterprise is a VersionControl enum value + VersionControlGithubEnterprise = "GITHUB_ENTERPRISE" +) + +// VersionControl_Values returns all elements of the VersionControl enum +func VersionControl_Values() []string { + return []string{ + VersionControlGithub, + VersionControlGithubEnterprise, + } +} diff --git a/service/migrationhubstrategyrecommendations/doc.go b/service/migrationhubstrategyrecommendations/doc.go new file mode 100644 index 00000000000..5ecafbae4ec --- /dev/null +++ b/service/migrationhubstrategyrecommendations/doc.go @@ -0,0 +1,35 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package migrationhubstrategyrecommendations provides the client and types for making API +// requests to Migration Hub Strategy Recommendations. +// +// +//

This API reference provides descriptions, syntax, and other details +// about each of the actions and data types for Migration Hub Strategy Recommendations +// (Strategy Recommendations). The topic for each action shows the API request +// parameters and the response. Alternatively, you can use one of the AWS +// SDKs to access an API that is tailored to the programming language or +// platform that you're using. For more information, see AWS +// SDKs.

+// +// See https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19 for more information on this service. +// +// See migrationhubstrategyrecommendations package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/migrationhubstrategyrecommendations/ +// +// Using the Client +// +// To contact Migration Hub Strategy Recommendations with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the Migration Hub Strategy Recommendations client MigrationHubStrategyRecommendations for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/migrationhubstrategyrecommendations/#New +package migrationhubstrategyrecommendations diff --git a/service/migrationhubstrategyrecommendations/errors.go b/service/migrationhubstrategyrecommendations/errors.go new file mode 100644 index 00000000000..4b090130a14 --- /dev/null +++ b/service/migrationhubstrategyrecommendations/errors.go @@ -0,0 +1,73 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package migrationhubstrategyrecommendations + +import ( + "github.com/aws/aws-sdk-go/private/protocol" +) + +const ( + + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // The AWS user account does not have permission to perform the action. Check + // the AWS Identity and Access Management (IAM) policy associated with this + // account. + ErrCodeAccessDeniedException = "AccessDeniedException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // Exception to indicate that there is an ongoing task when a new task is created. + // Return when once the existing tasks are complete. + ErrCodeConflictException = "ConflictException" + + // ErrCodeInternalServerException for service response error code + // "InternalServerException". + // + // The server experienced an internal error. Try again. + ErrCodeInternalServerException = "InternalServerException" + + // ErrCodeResourceNotFoundException for service response error code + // "ResourceNotFoundException". + // + // The specified ID in the request is not found. + ErrCodeResourceNotFoundException = "ResourceNotFoundException" + + // ErrCodeServiceLinkedRoleLockClientException for service response error code + // "ServiceLinkedRoleLockClientException". + // + // Exception to indicate that the service-linked role (SLR) is locked. + ErrCodeServiceLinkedRoleLockClientException = "ServiceLinkedRoleLockClientException" + + // ErrCodeServiceQuotaExceededException for service response error code + // "ServiceQuotaExceededException". + // + // The AWS account has reached its quota of imports. Contact AWS Support to + // increase the quota for this account. + ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" + + // ErrCodeThrottlingException for service response error code + // "ThrottlingException". + // + // The request was denied due to request throttling. + ErrCodeThrottlingException = "ThrottlingException" + + // ErrCodeValidationException for service response error code + // "ValidationException". + // + // The request body isn't valid. + ErrCodeValidationException = "ValidationException" +) + +var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "AccessDeniedException": newErrorAccessDeniedException, + "ConflictException": newErrorConflictException, + "InternalServerException": newErrorInternalServerException, + "ResourceNotFoundException": newErrorResourceNotFoundException, + "ServiceLinkedRoleLockClientException": newErrorServiceLinkedRoleLockClientException, + "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, + "ThrottlingException": newErrorThrottlingException, + "ValidationException": newErrorValidationException, +} diff --git a/service/migrationhubstrategyrecommendations/migrationhubstrategyrecommendationsiface/interface.go b/service/migrationhubstrategyrecommendations/migrationhubstrategyrecommendationsiface/interface.go new file mode 100644 index 00000000000..1a49da8fc01 --- /dev/null +++ b/service/migrationhubstrategyrecommendations/migrationhubstrategyrecommendationsiface/interface.go @@ -0,0 +1,159 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package migrationhubstrategyrecommendationsiface provides an interface to enable mocking the Migration Hub Strategy Recommendations service client +// for testing your code. +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. +package migrationhubstrategyrecommendationsiface + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/migrationhubstrategyrecommendations" +) + +// MigrationHubStrategyRecommendationsAPI provides an interface to enable mocking the +// migrationhubstrategyrecommendations.MigrationHubStrategyRecommendations service client's API operation, +// paginators, and waiters. This make unit testing your code that calls out +// to the SDK's service client's calls easier. +// +// The best way to use this interface is so the SDK's service client's calls +// can be stubbed out for unit testing your code with the SDK without needing +// to inject custom request handlers into the SDK's request pipeline. +// +// // myFunc uses an SDK service client to make a request to +// // Migration Hub Strategy Recommendations. +// func myFunc(svc migrationhubstrategyrecommendationsiface.MigrationHubStrategyRecommendationsAPI) bool { +// // Make svc.GetApplicationComponentDetails request +// } +// +// func main() { +// sess := session.New() +// svc := migrationhubstrategyrecommendations.New(sess) +// +// myFunc(svc) +// } +// +// In your _test.go file: +// +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMigrationHubStrategyRecommendationsClient struct { +// migrationhubstrategyrecommendationsiface.MigrationHubStrategyRecommendationsAPI +// } +// func (m *mockMigrationHubStrategyRecommendationsClient) GetApplicationComponentDetails(input *migrationhubstrategyrecommendations.GetApplicationComponentDetailsInput) (*migrationhubstrategyrecommendations.GetApplicationComponentDetailsOutput, error) { +// // mock response/functionality +// } +// +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMigrationHubStrategyRecommendationsClient{} +// +// myfunc(mockSvc) +// +// // Verify myFunc's functionality +// } +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. Its suggested to use the pattern above for testing, or using +// tooling to generate mocks to satisfy the interfaces. +type MigrationHubStrategyRecommendationsAPI interface { + GetApplicationComponentDetails(*migrationhubstrategyrecommendations.GetApplicationComponentDetailsInput) (*migrationhubstrategyrecommendations.GetApplicationComponentDetailsOutput, error) + GetApplicationComponentDetailsWithContext(aws.Context, *migrationhubstrategyrecommendations.GetApplicationComponentDetailsInput, ...request.Option) (*migrationhubstrategyrecommendations.GetApplicationComponentDetailsOutput, error) + GetApplicationComponentDetailsRequest(*migrationhubstrategyrecommendations.GetApplicationComponentDetailsInput) (*request.Request, *migrationhubstrategyrecommendations.GetApplicationComponentDetailsOutput) + + GetApplicationComponentStrategies(*migrationhubstrategyrecommendations.GetApplicationComponentStrategiesInput) (*migrationhubstrategyrecommendations.GetApplicationComponentStrategiesOutput, error) + GetApplicationComponentStrategiesWithContext(aws.Context, *migrationhubstrategyrecommendations.GetApplicationComponentStrategiesInput, ...request.Option) (*migrationhubstrategyrecommendations.GetApplicationComponentStrategiesOutput, error) + GetApplicationComponentStrategiesRequest(*migrationhubstrategyrecommendations.GetApplicationComponentStrategiesInput) (*request.Request, *migrationhubstrategyrecommendations.GetApplicationComponentStrategiesOutput) + + GetAssessment(*migrationhubstrategyrecommendations.GetAssessmentInput) (*migrationhubstrategyrecommendations.GetAssessmentOutput, error) + GetAssessmentWithContext(aws.Context, *migrationhubstrategyrecommendations.GetAssessmentInput, ...request.Option) (*migrationhubstrategyrecommendations.GetAssessmentOutput, error) + GetAssessmentRequest(*migrationhubstrategyrecommendations.GetAssessmentInput) (*request.Request, *migrationhubstrategyrecommendations.GetAssessmentOutput) + + GetImportFileTask(*migrationhubstrategyrecommendations.GetImportFileTaskInput) (*migrationhubstrategyrecommendations.GetImportFileTaskOutput, error) + GetImportFileTaskWithContext(aws.Context, *migrationhubstrategyrecommendations.GetImportFileTaskInput, ...request.Option) (*migrationhubstrategyrecommendations.GetImportFileTaskOutput, error) + GetImportFileTaskRequest(*migrationhubstrategyrecommendations.GetImportFileTaskInput) (*request.Request, *migrationhubstrategyrecommendations.GetImportFileTaskOutput) + + GetPortfolioPreferences(*migrationhubstrategyrecommendations.GetPortfolioPreferencesInput) (*migrationhubstrategyrecommendations.GetPortfolioPreferencesOutput, error) + GetPortfolioPreferencesWithContext(aws.Context, *migrationhubstrategyrecommendations.GetPortfolioPreferencesInput, ...request.Option) (*migrationhubstrategyrecommendations.GetPortfolioPreferencesOutput, error) + GetPortfolioPreferencesRequest(*migrationhubstrategyrecommendations.GetPortfolioPreferencesInput) (*request.Request, *migrationhubstrategyrecommendations.GetPortfolioPreferencesOutput) + + GetPortfolioSummary(*migrationhubstrategyrecommendations.GetPortfolioSummaryInput) (*migrationhubstrategyrecommendations.GetPortfolioSummaryOutput, error) + GetPortfolioSummaryWithContext(aws.Context, *migrationhubstrategyrecommendations.GetPortfolioSummaryInput, ...request.Option) (*migrationhubstrategyrecommendations.GetPortfolioSummaryOutput, error) + GetPortfolioSummaryRequest(*migrationhubstrategyrecommendations.GetPortfolioSummaryInput) (*request.Request, *migrationhubstrategyrecommendations.GetPortfolioSummaryOutput) + + GetRecommendationReportDetails(*migrationhubstrategyrecommendations.GetRecommendationReportDetailsInput) (*migrationhubstrategyrecommendations.GetRecommendationReportDetailsOutput, error) + GetRecommendationReportDetailsWithContext(aws.Context, *migrationhubstrategyrecommendations.GetRecommendationReportDetailsInput, ...request.Option) (*migrationhubstrategyrecommendations.GetRecommendationReportDetailsOutput, error) + GetRecommendationReportDetailsRequest(*migrationhubstrategyrecommendations.GetRecommendationReportDetailsInput) (*request.Request, *migrationhubstrategyrecommendations.GetRecommendationReportDetailsOutput) + + GetServerDetails(*migrationhubstrategyrecommendations.GetServerDetailsInput) (*migrationhubstrategyrecommendations.GetServerDetailsOutput, error) + GetServerDetailsWithContext(aws.Context, *migrationhubstrategyrecommendations.GetServerDetailsInput, ...request.Option) (*migrationhubstrategyrecommendations.GetServerDetailsOutput, error) + GetServerDetailsRequest(*migrationhubstrategyrecommendations.GetServerDetailsInput) (*request.Request, *migrationhubstrategyrecommendations.GetServerDetailsOutput) + + GetServerDetailsPages(*migrationhubstrategyrecommendations.GetServerDetailsInput, func(*migrationhubstrategyrecommendations.GetServerDetailsOutput, bool) bool) error + GetServerDetailsPagesWithContext(aws.Context, *migrationhubstrategyrecommendations.GetServerDetailsInput, func(*migrationhubstrategyrecommendations.GetServerDetailsOutput, bool) bool, ...request.Option) error + + GetServerStrategies(*migrationhubstrategyrecommendations.GetServerStrategiesInput) (*migrationhubstrategyrecommendations.GetServerStrategiesOutput, error) + GetServerStrategiesWithContext(aws.Context, *migrationhubstrategyrecommendations.GetServerStrategiesInput, ...request.Option) (*migrationhubstrategyrecommendations.GetServerStrategiesOutput, error) + GetServerStrategiesRequest(*migrationhubstrategyrecommendations.GetServerStrategiesInput) (*request.Request, *migrationhubstrategyrecommendations.GetServerStrategiesOutput) + + ListApplicationComponents(*migrationhubstrategyrecommendations.ListApplicationComponentsInput) (*migrationhubstrategyrecommendations.ListApplicationComponentsOutput, error) + ListApplicationComponentsWithContext(aws.Context, *migrationhubstrategyrecommendations.ListApplicationComponentsInput, ...request.Option) (*migrationhubstrategyrecommendations.ListApplicationComponentsOutput, error) + ListApplicationComponentsRequest(*migrationhubstrategyrecommendations.ListApplicationComponentsInput) (*request.Request, *migrationhubstrategyrecommendations.ListApplicationComponentsOutput) + + ListApplicationComponentsPages(*migrationhubstrategyrecommendations.ListApplicationComponentsInput, func(*migrationhubstrategyrecommendations.ListApplicationComponentsOutput, bool) bool) error + ListApplicationComponentsPagesWithContext(aws.Context, *migrationhubstrategyrecommendations.ListApplicationComponentsInput, func(*migrationhubstrategyrecommendations.ListApplicationComponentsOutput, bool) bool, ...request.Option) error + + ListCollectors(*migrationhubstrategyrecommendations.ListCollectorsInput) (*migrationhubstrategyrecommendations.ListCollectorsOutput, error) + ListCollectorsWithContext(aws.Context, *migrationhubstrategyrecommendations.ListCollectorsInput, ...request.Option) (*migrationhubstrategyrecommendations.ListCollectorsOutput, error) + ListCollectorsRequest(*migrationhubstrategyrecommendations.ListCollectorsInput) (*request.Request, *migrationhubstrategyrecommendations.ListCollectorsOutput) + + ListCollectorsPages(*migrationhubstrategyrecommendations.ListCollectorsInput, func(*migrationhubstrategyrecommendations.ListCollectorsOutput, bool) bool) error + ListCollectorsPagesWithContext(aws.Context, *migrationhubstrategyrecommendations.ListCollectorsInput, func(*migrationhubstrategyrecommendations.ListCollectorsOutput, bool) bool, ...request.Option) error + + ListImportFileTask(*migrationhubstrategyrecommendations.ListImportFileTaskInput) (*migrationhubstrategyrecommendations.ListImportFileTaskOutput, error) + ListImportFileTaskWithContext(aws.Context, *migrationhubstrategyrecommendations.ListImportFileTaskInput, ...request.Option) (*migrationhubstrategyrecommendations.ListImportFileTaskOutput, error) + ListImportFileTaskRequest(*migrationhubstrategyrecommendations.ListImportFileTaskInput) (*request.Request, *migrationhubstrategyrecommendations.ListImportFileTaskOutput) + + ListImportFileTaskPages(*migrationhubstrategyrecommendations.ListImportFileTaskInput, func(*migrationhubstrategyrecommendations.ListImportFileTaskOutput, bool) bool) error + ListImportFileTaskPagesWithContext(aws.Context, *migrationhubstrategyrecommendations.ListImportFileTaskInput, func(*migrationhubstrategyrecommendations.ListImportFileTaskOutput, bool) bool, ...request.Option) error + + ListServers(*migrationhubstrategyrecommendations.ListServersInput) (*migrationhubstrategyrecommendations.ListServersOutput, error) + ListServersWithContext(aws.Context, *migrationhubstrategyrecommendations.ListServersInput, ...request.Option) (*migrationhubstrategyrecommendations.ListServersOutput, error) + ListServersRequest(*migrationhubstrategyrecommendations.ListServersInput) (*request.Request, *migrationhubstrategyrecommendations.ListServersOutput) + + ListServersPages(*migrationhubstrategyrecommendations.ListServersInput, func(*migrationhubstrategyrecommendations.ListServersOutput, bool) bool) error + ListServersPagesWithContext(aws.Context, *migrationhubstrategyrecommendations.ListServersInput, func(*migrationhubstrategyrecommendations.ListServersOutput, bool) bool, ...request.Option) error + + PutPortfolioPreferences(*migrationhubstrategyrecommendations.PutPortfolioPreferencesInput) (*migrationhubstrategyrecommendations.PutPortfolioPreferencesOutput, error) + PutPortfolioPreferencesWithContext(aws.Context, *migrationhubstrategyrecommendations.PutPortfolioPreferencesInput, ...request.Option) (*migrationhubstrategyrecommendations.PutPortfolioPreferencesOutput, error) + PutPortfolioPreferencesRequest(*migrationhubstrategyrecommendations.PutPortfolioPreferencesInput) (*request.Request, *migrationhubstrategyrecommendations.PutPortfolioPreferencesOutput) + + StartAssessment(*migrationhubstrategyrecommendations.StartAssessmentInput) (*migrationhubstrategyrecommendations.StartAssessmentOutput, error) + StartAssessmentWithContext(aws.Context, *migrationhubstrategyrecommendations.StartAssessmentInput, ...request.Option) (*migrationhubstrategyrecommendations.StartAssessmentOutput, error) + StartAssessmentRequest(*migrationhubstrategyrecommendations.StartAssessmentInput) (*request.Request, *migrationhubstrategyrecommendations.StartAssessmentOutput) + + StartImportFileTask(*migrationhubstrategyrecommendations.StartImportFileTaskInput) (*migrationhubstrategyrecommendations.StartImportFileTaskOutput, error) + StartImportFileTaskWithContext(aws.Context, *migrationhubstrategyrecommendations.StartImportFileTaskInput, ...request.Option) (*migrationhubstrategyrecommendations.StartImportFileTaskOutput, error) + StartImportFileTaskRequest(*migrationhubstrategyrecommendations.StartImportFileTaskInput) (*request.Request, *migrationhubstrategyrecommendations.StartImportFileTaskOutput) + + StartRecommendationReportGeneration(*migrationhubstrategyrecommendations.StartRecommendationReportGenerationInput) (*migrationhubstrategyrecommendations.StartRecommendationReportGenerationOutput, error) + StartRecommendationReportGenerationWithContext(aws.Context, *migrationhubstrategyrecommendations.StartRecommendationReportGenerationInput, ...request.Option) (*migrationhubstrategyrecommendations.StartRecommendationReportGenerationOutput, error) + StartRecommendationReportGenerationRequest(*migrationhubstrategyrecommendations.StartRecommendationReportGenerationInput) (*request.Request, *migrationhubstrategyrecommendations.StartRecommendationReportGenerationOutput) + + StopAssessment(*migrationhubstrategyrecommendations.StopAssessmentInput) (*migrationhubstrategyrecommendations.StopAssessmentOutput, error) + StopAssessmentWithContext(aws.Context, *migrationhubstrategyrecommendations.StopAssessmentInput, ...request.Option) (*migrationhubstrategyrecommendations.StopAssessmentOutput, error) + StopAssessmentRequest(*migrationhubstrategyrecommendations.StopAssessmentInput) (*request.Request, *migrationhubstrategyrecommendations.StopAssessmentOutput) + + UpdateApplicationComponentConfig(*migrationhubstrategyrecommendations.UpdateApplicationComponentConfigInput) (*migrationhubstrategyrecommendations.UpdateApplicationComponentConfigOutput, error) + UpdateApplicationComponentConfigWithContext(aws.Context, *migrationhubstrategyrecommendations.UpdateApplicationComponentConfigInput, ...request.Option) (*migrationhubstrategyrecommendations.UpdateApplicationComponentConfigOutput, error) + UpdateApplicationComponentConfigRequest(*migrationhubstrategyrecommendations.UpdateApplicationComponentConfigInput) (*request.Request, *migrationhubstrategyrecommendations.UpdateApplicationComponentConfigOutput) + + UpdateServerConfig(*migrationhubstrategyrecommendations.UpdateServerConfigInput) (*migrationhubstrategyrecommendations.UpdateServerConfigOutput, error) + UpdateServerConfigWithContext(aws.Context, *migrationhubstrategyrecommendations.UpdateServerConfigInput, ...request.Option) (*migrationhubstrategyrecommendations.UpdateServerConfigOutput, error) + UpdateServerConfigRequest(*migrationhubstrategyrecommendations.UpdateServerConfigInput) (*request.Request, *migrationhubstrategyrecommendations.UpdateServerConfigOutput) +} + +var _ MigrationHubStrategyRecommendationsAPI = (*migrationhubstrategyrecommendations.MigrationHubStrategyRecommendations)(nil) diff --git a/service/migrationhubstrategyrecommendations/service.go b/service/migrationhubstrategyrecommendations/service.go new file mode 100644 index 00000000000..59a516e99d7 --- /dev/null +++ b/service/migrationhubstrategyrecommendations/service.go @@ -0,0 +1,105 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package migrationhubstrategyrecommendations + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// MigrationHubStrategyRecommendations provides the API operation methods for making requests to +// Migration Hub Strategy Recommendations. See this package's package overview docs +// for details on the service. +// +// MigrationHubStrategyRecommendations methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type MigrationHubStrategyRecommendations struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "MigrationHubStrategy" // Name of service. + EndpointsID = "migrationhub-strategy" // ID to lookup a service endpoint with. + ServiceID = "MigrationHubStrategy" // ServiceID is a unique identifier of a specific service. +) + +// New creates a new instance of the MigrationHubStrategyRecommendations client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// mySession := session.Must(session.NewSession()) +// +// // Create a MigrationHubStrategyRecommendations client from just a session. +// svc := migrationhubstrategyrecommendations.New(mySession) +// +// // Create a MigrationHubStrategyRecommendations client with additional configuration +// svc := migrationhubstrategyrecommendations.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *MigrationHubStrategyRecommendations { + c := p.ClientConfig(EndpointsID, cfgs...) + if c.SigningNameDerived || len(c.SigningName) == 0 { + c.SigningName = "migrationhub-strategy" + } + return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *MigrationHubStrategyRecommendations { + svc := &MigrationHubStrategyRecommendations{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + ServiceID: ServiceID, + SigningName: signingName, + SigningRegion: signingRegion, + PartitionID: partitionID, + Endpoint: endpoint, + APIVersion: "2020-02-19", + ResolvedRegion: resolvedRegion, + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed( + protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), + ) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a MigrationHubStrategyRecommendations operation and runs any +// custom request initialization. +func (c *MigrationHubStrategyRecommendations) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/service/ssm/api.go b/service/ssm/api.go index 53850c2c633..15c8fd7033c 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -46585,7 +46585,7 @@ type ParameterStringFilter struct { // API operations. However, not all of the pattern values listed for Key can // be used with both operations. // - // For DescribeActions, all of the listed patterns are valid except Label. + // For DescribeParameters, all of the listed patterns are valid except Label. // // For GetParametersByPath, the following patterns listed for Key aren't valid: // tag, DataType, Name, Path, and Tier. @@ -51992,12 +51992,18 @@ type Session struct { // The date and time, in ISO-8601 Extended format, when the session was terminated. EndDate *time.Time `type:"timestamp"` + // The maximum duration of a session before it terminates. + MaxSessionDuration *string `min:"1" type:"string"` + // Reserved for future use. OutputUrl *SessionManagerOutputUrl `type:"structure"` // The ID of the Amazon Web Services user account that started the session. Owner *string `min:"1" type:"string"` + // The reason for connecting to the instance. + Reason *string `min:"1" type:"string"` + // The ID of the session. SessionId *string `min:"1" type:"string"` @@ -52047,6 +52053,12 @@ func (s *Session) SetEndDate(v time.Time) *Session { return s } +// SetMaxSessionDuration sets the MaxSessionDuration field's value. +func (s *Session) SetMaxSessionDuration(v string) *Session { + s.MaxSessionDuration = &v + return s +} + // SetOutputUrl sets the OutputUrl field's value. func (s *Session) SetOutputUrl(v *SessionManagerOutputUrl) *Session { s.OutputUrl = v @@ -52059,6 +52071,12 @@ func (s *Session) SetOwner(v string) *Session { return s } +// SetReason sets the Reason field's value. +func (s *Session) SetReason(v string) *Session { + s.Reason = &v + return s +} + // SetSessionId sets the SessionId field's value. func (s *Session) SetSessionId(v string) *Session { s.SessionId = &v @@ -52886,6 +52904,11 @@ type StartSessionInput struct { // Reserved for future use. Parameters map[string][]*string `type:"map"` + // The reason for connecting to the instance. This value is included in the + // details for the Amazon CloudWatch Events event created when you start the + // session. + Reason *string `min:"1" type:"string"` + // The instance to connect to for the session. // // Target is a required field @@ -52913,6 +52936,9 @@ func (s StartSessionInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *StartSessionInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "StartSessionInput"} + if s.Reason != nil && len(*s.Reason) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Reason", 1)) + } if s.Target == nil { invalidParams.Add(request.NewErrParamRequired("Target")) } @@ -52938,6 +52964,12 @@ func (s *StartSessionInput) SetParameters(v map[string][]*string) *StartSessionI return s } +// SetReason sets the Reason field's value. +func (s *StartSessionInput) SetReason(v string) *StartSessionInput { + s.Reason = &v + return s +} + // SetTarget sets the Target field's value. func (s *StartSessionInput) SetTarget(v string) *StartSessionInput { s.Target = &v diff --git a/service/transfer/api.go b/service/transfer/api.go index 7b2bc741431..8f62dfd7728 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -4112,6 +4112,10 @@ type CreateServerInput struct { // choosing. The API_GATEWAY setting requires you to provide an API Gateway // endpoint URL to call for authentication using the IdentityProviderDetails // parameter. + // + // Use the LAMBDA value to directly use a Lambda function as your identity provider. + // If you choose this value, you must specify the ARN for the lambda function + // in the Function parameter for the IdentityProviderDetails data type. IdentityProviderType *string `type:"string" enum:"IdentityProviderType"` // Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity @@ -6268,6 +6272,10 @@ type DescribedServer struct { // choosing. The API_GATEWAY setting requires you to provide an API Gateway // endpoint URL to call for authentication using the IdentityProviderDetails // parameter. + // + // Use the LAMBDA value to directly use a Lambda function as your identity provider. + // If you choose this value, you must specify the ARN for the lambda function + // in the Function parameter for the IdentityProviderDetails data type. IdentityProviderType *string `type:"string" enum:"IdentityProviderType"` // Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity @@ -7123,6 +7131,9 @@ type IdentityProviderDetails struct { // you want to stop sharing. DirectoryId *string `min:"12" type:"string"` + // The ARN for a lambda function to use for the Identity provider. + Function *string `min:"1" type:"string"` + // Provides the type of InvocationRole used to authenticate the user account. InvocationRole *string `min:"20" type:"string"` @@ -7154,6 +7165,9 @@ func (s *IdentityProviderDetails) Validate() error { if s.DirectoryId != nil && len(*s.DirectoryId) < 12 { invalidParams.Add(request.NewErrParamMinLen("DirectoryId", 12)) } + if s.Function != nil && len(*s.Function) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Function", 1)) + } if s.InvocationRole != nil && len(*s.InvocationRole) < 20 { invalidParams.Add(request.NewErrParamMinLen("InvocationRole", 20)) } @@ -7170,6 +7184,12 @@ func (s *IdentityProviderDetails) SetDirectoryId(v string) *IdentityProviderDeta return s } +// SetFunction sets the Function field's value. +func (s *IdentityProviderDetails) SetFunction(v string) *IdentityProviderDetails { + s.Function = &v + return s +} + // SetInvocationRole sets the InvocationRole field's value. func (s *IdentityProviderDetails) SetInvocationRole(v string) *IdentityProviderDetails { s.InvocationRole = &v @@ -8616,6 +8636,10 @@ type ListedServer struct { // choosing. The API_GATEWAY setting requires you to provide an API Gateway // endpoint URL to call for authentication using the IdentityProviderDetails // parameter. + // + // Use the LAMBDA value to directly use a Lambda function as your identity provider. + // If you choose this value, you must specify the ARN for the lambda function + // in the Function parameter for the IdentityProviderDetails data type. IdentityProviderType *string `type:"string" enum:"IdentityProviderType"` // Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity @@ -11564,6 +11588,9 @@ const ( // IdentityProviderTypeAwsDirectoryService is a IdentityProviderType enum value IdentityProviderTypeAwsDirectoryService = "AWS_DIRECTORY_SERVICE" + + // IdentityProviderTypeAwsLambda is a IdentityProviderType enum value + IdentityProviderTypeAwsLambda = "AWS_LAMBDA" ) // IdentityProviderType_Values returns all elements of the IdentityProviderType enum @@ -11572,6 +11599,7 @@ func IdentityProviderType_Values() []string { IdentityProviderTypeServiceManaged, IdentityProviderTypeApiGateway, IdentityProviderTypeAwsDirectoryService, + IdentityProviderTypeAwsLambda, } } diff --git a/service/wafv2/api.go b/service/wafv2/api.go index 5f18ef6b5f3..af86685cd9c 100644 --- a/service/wafv2/api.go +++ b/service/wafv2/api.go @@ -3900,24 +3900,22 @@ func (c *WAFV2) PutLoggingConfigurationRequest(input *PutLoggingConfigurationInp // You can access information about all traffic that WAF inspects using the // following steps: // -// Create an Amazon Kinesis Data Firehose. -// -// Create the data firehose with a PUT source and in the Region that you are -// operating. If you are capturing logs for Amazon CloudFront, always create -// the firehose in US East (N. Virginia). -// -// Give the data firehose a name that starts with the prefix aws-waf-logs-. -// For example, aws-waf-logs-us-east-2-analytics. -// -// Do not create the data firehose using a Kinesis stream as your source. +// Create your logging destination. You can use an Amazon CloudWatch Logs log +// group, an Amazon Simple Storage Service (Amazon S3) bucket, or an Amazon +// Kinesis Data Firehose. For information about configuring logging destinations +// and the permissions that are required for each, see Logging web ACL traffic +// information (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) +// in the WAF Developer Guide. // -// Associate that firehose to your web ACL using a PutLoggingConfiguration request. +// Associate your logging destination to your web ACL using a PutLoggingConfiguration +// request. // // When you successfully enable logging using a PutLoggingConfiguration request, -// WAF will create a service linked role with the necessary permissions to write -// logs to the Amazon Kinesis Data Firehose. For more information, see Logging -// Web ACL Traffic Information (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) -// in the WAF Developer Guide. +// WAF creates an additional role or policy that is required to write logs to +// the logging destination. For an Amazon CloudWatch Logs log group, WAF creates +// a resource policy on the log group. For an Amazon S3 bucket, WAF creates +// a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked +// role. // // This operation completely replaces the mutable specifications that you already // have for the logging configuration with the ones that you provide to this @@ -3979,6 +3977,12 @@ func (c *WAFV2) PutLoggingConfigurationRequest(input *PutLoggingConfigurationInp // an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) // in the WAF Developer Guide. // +// * WAFLogDestinationPermissionIssueException +// The operation failed because you don't have the permissions that your logging +// configuration requires. For information, see Logging web ACL traffic information +// (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) in the +// WAF Developer Guide. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutLoggingConfiguration func (c *WAFV2) PutLoggingConfiguration(input *PutLoggingConfigurationInput) (*PutLoggingConfigurationOutput, error) { req, out := c.PutLoggingConfigurationRequest(input) @@ -6131,7 +6135,7 @@ type CreateIPSetInput struct { // Inter-Domain Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing). // // Addresses is a required field - Addresses []*string `min:"1" type:"list" required:"true"` + Addresses []*string `type:"list" required:"true"` // A description of the IP set that helps with identification. Description *string `min:"1" type:"string"` @@ -6190,9 +6194,6 @@ func (s *CreateIPSetInput) Validate() error { if s.Addresses == nil { invalidParams.Add(request.NewErrParamRequired("Addresses")) } - if s.Addresses != nil && len(s.Addresses) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Addresses", 1)) - } if s.Description != nil && len(*s.Description) < 1 { invalidParams.Add(request.NewErrParamMinLen("Description", 1)) } @@ -10541,7 +10542,7 @@ type IPSet struct { // Inter-Domain Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing). // // Addresses is a required field - Addresses []*string `min:"1" type:"list" required:"true"` + Addresses []*string `type:"list" required:"true"` // A description of the IP set that helps with identification. Description *string `min:"1" type:"string"` @@ -12624,15 +12625,18 @@ func (s *ListWebACLsOutput) SetWebACLs(v []*WebACLSummary) *ListWebACLsOutput { return s } -// Defines an association between Amazon Kinesis Data Firehose destinations -// and a web ACL resource, for logging from WAF. As part of the association, -// you can specify parts of the standard logging fields to keep out of the logs -// and you can specify filters so that you log only a subset of the logging -// records. +// Defines an association between logging destinations and a web ACL resource, +// for logging from WAF. As part of the association, you can specify parts of +// the standard logging fields to keep out of the logs and you can specify filters +// so that you log only a subset of the logging records. +// +// For information about configuring web ACL logging destinations, see Logging +// web ACL traffic information (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) +// in the WAF Developer Guide. type LoggingConfiguration struct { _ struct{} `type:"structure"` - // The Amazon Kinesis Data Firehose Amazon Resource Name (ARNs) that you want + // The Amazon Resource Names (ARNs) of the logging destinations that you want // to associate with the web ACL. // // LogDestinationConfigs is a required field @@ -12649,8 +12653,8 @@ type LoggingConfiguration struct { ManagedByFirewallManager *bool `type:"boolean"` // The parts of the request that you want to keep out of the logs. For example, - // if you redact the SingleHeader field, the HEADER field in the firehose will - // be xxx. + // if you redact the SingleHeader field, the HEADER field in the logs will be + // xxx. // // You can specify only the following fields for redaction: UriPath, QueryString, // SingleHeader, Method, and JsonBody. @@ -13632,11 +13636,14 @@ func (s *OverrideAction) SetNone(v *NoneAction) *OverrideAction { type PutLoggingConfigurationInput struct { _ struct{} `type:"structure"` - // Defines an association between Amazon Kinesis Data Firehose destinations - // and a web ACL resource, for logging from WAF. As part of the association, - // you can specify parts of the standard logging fields to keep out of the logs - // and you can specify filters so that you log only a subset of the logging - // records. + // Defines an association between logging destinations and a web ACL resource, + // for logging from WAF. As part of the association, you can specify parts of + // the standard logging fields to keep out of the logs and you can specify filters + // so that you log only a subset of the logging records. + // + // For information about configuring web ACL logging destinations, see Logging + // web ACL traffic information (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) + // in the WAF Developer Guide. // // LoggingConfiguration is a required field LoggingConfiguration *LoggingConfiguration `type:"structure" required:"true"` @@ -13687,11 +13694,14 @@ func (s *PutLoggingConfigurationInput) SetLoggingConfiguration(v *LoggingConfigu type PutLoggingConfigurationOutput struct { _ struct{} `type:"structure"` - // Defines an association between Amazon Kinesis Data Firehose destinations - // and a web ACL resource, for logging from WAF. As part of the association, - // you can specify parts of the standard logging fields to keep out of the logs - // and you can specify filters so that you log only a subset of the logging - // records. + // Defines an association between logging destinations and a web ACL resource, + // for logging from WAF. As part of the association, you can specify parts of + // the standard logging fields to keep out of the logs and you can specify filters + // so that you log only a subset of the logging records. + // + // For information about configuring web ACL logging destinations, see Logging + // web ACL traffic information (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) + // in the WAF Developer Guide. LoggingConfiguration *LoggingConfiguration `type:"structure"` } @@ -14198,7 +14208,7 @@ type RateBasedStatementManagedKeysIPSet struct { _ struct{} `type:"structure"` // The IP addresses that are currently blocked. - Addresses []*string `min:"1" type:"list"` + Addresses []*string `type:"list"` // The version of the IP addresses, either IPV4 or IPV6. IPAddressVersion *string `type:"string" enum:"IPAddressVersion"` @@ -16733,7 +16743,7 @@ type UpdateIPSetInput struct { // Inter-Domain Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing). // // Addresses is a required field - Addresses []*string `min:"1" type:"list" required:"true"` + Addresses []*string `type:"list" required:"true"` // A description of the IP set that helps with identification. Description *string `min:"1" type:"string"` @@ -16802,9 +16812,6 @@ func (s *UpdateIPSetInput) Validate() error { if s.Addresses == nil { invalidParams.Add(request.NewErrParamRequired("Addresses")) } - if s.Addresses != nil && len(s.Addresses) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Addresses", 1)) - } if s.Description != nil && len(*s.Description) < 1 { invalidParams.Add(request.NewErrParamMinLen("Description", 1)) } @@ -18605,6 +18612,73 @@ func (s *WAFLimitsExceededException) RequestID() string { return s.RespMetadata.RequestID } +// The operation failed because you don't have the permissions that your logging +// configuration requires. For information, see Logging web ACL traffic information +// (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) in the +// WAF Developer Guide. +type WAFLogDestinationPermissionIssueException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + 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 WAFLogDestinationPermissionIssueException) 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 WAFLogDestinationPermissionIssueException) GoString() string { + return s.String() +} + +func newErrorWAFLogDestinationPermissionIssueException(v protocol.ResponseMetadata) error { + return &WAFLogDestinationPermissionIssueException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *WAFLogDestinationPermissionIssueException) Code() string { + return "WAFLogDestinationPermissionIssueException" +} + +// Message returns the exception's message. +func (s *WAFLogDestinationPermissionIssueException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *WAFLogDestinationPermissionIssueException) OrigErr() error { + return nil +} + +func (s *WAFLogDestinationPermissionIssueException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *WAFLogDestinationPermissionIssueException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *WAFLogDestinationPermissionIssueException) RequestID() string { + return s.RespMetadata.RequestID +} + // WAF couldn’t perform the operation because your resource doesn’t exist. type WAFNonexistentItemException struct { _ struct{} `type:"structure"` @@ -20845,6 +20919,9 @@ const ( // ParameterExceptionFieldAssociableResource is a ParameterExceptionField enum value ParameterExceptionFieldAssociableResource = "ASSOCIABLE_RESOURCE" + + // ParameterExceptionFieldLogDestination is a ParameterExceptionField enum value + ParameterExceptionFieldLogDestination = "LOG_DESTINATION" ) // ParameterExceptionField_Values returns all elements of the ParameterExceptionField enum @@ -20906,6 +20983,7 @@ func ParameterExceptionField_Values() []string { ParameterExceptionFieldExpireTimestamp, ParameterExceptionFieldChangePropagationStatus, ParameterExceptionFieldAssociableResource, + ParameterExceptionFieldLogDestination, } } diff --git a/service/wafv2/errors.go b/service/wafv2/errors.go index 0cbaf4e6d30..3ae1f8f4891 100644 --- a/service/wafv2/errors.go +++ b/service/wafv2/errors.go @@ -99,6 +99,15 @@ const ( // in the WAF Developer Guide. ErrCodeWAFLimitsExceededException = "WAFLimitsExceededException" + // ErrCodeWAFLogDestinationPermissionIssueException for service response error code + // "WAFLogDestinationPermissionIssueException". + // + // The operation failed because you don't have the permissions that your logging + // configuration requires. For information, see Logging web ACL traffic information + // (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) in the + // WAF Developer Guide. + ErrCodeWAFLogDestinationPermissionIssueException = "WAFLogDestinationPermissionIssueException" + // ErrCodeWAFNonexistentItemException for service response error code // "WAFNonexistentItemException". // @@ -163,6 +172,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "WAFInvalidPermissionPolicyException": newErrorWAFInvalidPermissionPolicyException, "WAFInvalidResourceException": newErrorWAFInvalidResourceException, "WAFLimitsExceededException": newErrorWAFLimitsExceededException, + "WAFLogDestinationPermissionIssueException": newErrorWAFLogDestinationPermissionIssueException, "WAFNonexistentItemException": newErrorWAFNonexistentItemException, "WAFOptimisticLockException": newErrorWAFOptimisticLockException, "WAFServiceLinkedRoleErrorException": newErrorWAFServiceLinkedRoleErrorException,