From 99af3b9607da8d963012e9fc0aeb3861466b6397 Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Mon, 16 Nov 2020 19:07:30 +0000 Subject: [PATCH] Release v1.35.29 (2020-11-16) === ### Service Client Updates * `service/codepipeline`: Updates service API and documentation * We show details about inbound executions and id of action executions in GetPipelineState API. We also add ConflictException to StartPipelineExecution, RetryStageExecution, StopPipelineExecution APIs. * `service/dms`: Updates service API and documentation * Adding MoveReplicationTask feature to move replication tasks between instances * `service/iotsecuretunneling`: Updates service API and documentation * `service/iotsitewise`: Updates service API and documentation * `service/quicksight`: Updates service API and documentation * Adding new parameters for dashboard persistence * `service/sagemaker`: Updates service API and documentation * This feature enables customers to encrypt their Amazon SageMaker Studio storage volumes with customer master keys (CMKs) managed by them in AWS Key Management Service (KMS). * `service/servicecatalog`: Updates service API and documentation * Support import of CloudFormation stacks into Service Catalog provisioned products. * `service/sns`: Updates service documentation * Documentation updates for Amazon SNS. * `service/synthetics`: Updates service API and documentation --- CHANGELOG.md | 20 ++ aws/version.go | 2 +- .../apis/codepipeline/2015-07-09/api-2.json | 14 +- .../apis/codepipeline/2015-07-09/docs-2.json | 16 +- models/apis/dms/2016-01-01/api-2.json | 37 ++- models/apis/dms/2016-01-01/docs-2.json | 25 +- .../iotsecuretunneling/2018-10-05/api-2.json | 8 +- .../iotsecuretunneling/2018-10-05/docs-2.json | 6 +- models/apis/iotsitewise/2019-12-02/api-2.json | 47 ++- .../apis/iotsitewise/2019-12-02/docs-2.json | 19 ++ models/apis/quicksight/2018-04-01/api-2.json | 9 +- models/apis/quicksight/2018-04-01/docs-2.json | 7 +- models/apis/sagemaker/2017-07-24/api-2.json | 16 +- models/apis/sagemaker/2017-07-24/docs-2.json | 50 ++-- .../apis/servicecatalog/2015-12-10/api-2.json | 46 ++- .../servicecatalog/2015-12-10/docs-2.json | 34 ++- models/apis/sns/2010-03-31/docs-2.json | 6 +- models/apis/synthetics/2017-10-11/api-2.json | 13 +- models/apis/synthetics/2017-10-11/docs-2.json | 26 +- service/codepipeline/api.go | 113 +++++++- service/codepipeline/errors.go | 8 + service/databasemigrationservice/api.go | 250 +++++++++++++++- .../interface.go | 4 + .../databasemigrationservice/examples_test.go | 2 + service/iotsecuretunneling/api.go | 19 +- service/iotsecuretunneling/doc.go | 4 +- service/iotsitewise/api.go | 180 ++++++++++++ .../iotsitewise/iotsitewiseiface/interface.go | 4 + service/quicksight/api.go | 16 ++ service/sagemaker/api.go | 116 +++++--- service/servicecatalog/api.go | 269 +++++++++++++++++- service/servicecatalog/doc.go | 6 +- .../servicecatalogiface/interface.go | 4 + service/sns/api.go | 5 +- service/sns/doc.go | 4 + service/synthetics/api.go | 39 ++- 36 files changed, 1291 insertions(+), 153 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42d9fc1c316..47c2a83ca44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +Release v1.35.29 (2020-11-16) +=== + +### Service Client Updates +* `service/codepipeline`: Updates service API and documentation + * We show details about inbound executions and id of action executions in GetPipelineState API. We also add ConflictException to StartPipelineExecution, RetryStageExecution, StopPipelineExecution APIs. +* `service/dms`: Updates service API and documentation + * Adding MoveReplicationTask feature to move replication tasks between instances +* `service/iotsecuretunneling`: Updates service API and documentation +* `service/iotsitewise`: Updates service API and documentation +* `service/quicksight`: Updates service API and documentation + * Adding new parameters for dashboard persistence +* `service/sagemaker`: Updates service API and documentation + * This feature enables customers to encrypt their Amazon SageMaker Studio storage volumes with customer master keys (CMKs) managed by them in AWS Key Management Service (KMS). +* `service/servicecatalog`: Updates service API and documentation + * Support import of CloudFormation stacks into Service Catalog provisioned products. +* `service/sns`: Updates service documentation + * Documentation updates for Amazon SNS. +* `service/synthetics`: Updates service API and documentation + Release v1.35.28 (2020-11-13) === diff --git a/aws/version.go b/aws/version.go index 1c4ff26bdd5..ce0e50428fd 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.35.28" +const SDKVersion = "1.35.29" diff --git a/models/apis/codepipeline/2015-07-09/api-2.json b/models/apis/codepipeline/2015-07-09/api-2.json index 301a02c1c63..935f759bb3c 100644 --- a/models/apis/codepipeline/2015-07-09/api-2.json +++ b/models/apis/codepipeline/2015-07-09/api-2.json @@ -462,6 +462,7 @@ "output":{"shape":"RetryStageExecutionOutput"}, "errors":[ {"shape":"ValidationException"}, + {"shape":"ConflictException"}, {"shape":"PipelineNotFoundException"}, {"shape":"StageNotFoundException"}, {"shape":"StageNotRetryableException"}, @@ -478,6 +479,7 @@ "output":{"shape":"StartPipelineExecutionOutput"}, "errors":[ {"shape":"ValidationException"}, + {"shape":"ConflictException"}, {"shape":"PipelineNotFoundException"} ] }, @@ -491,6 +493,7 @@ "output":{"shape":"StopPipelineExecutionOutput"}, "errors":[ {"shape":"ValidationException"}, + {"shape":"ConflictException"}, {"shape":"PipelineNotFoundException"}, {"shape":"PipelineExecutionNotStoppableException"}, {"shape":"DuplicatedStopRequestException"} @@ -705,6 +708,7 @@ "ActionExecution":{ "type":"structure", "members":{ + "actionExecutionId":{"shape":"ActionExecutionId"}, "status":{"shape":"ActionExecutionStatus"}, "summary":{"shape":"ExecutionSummary"}, "lastStatusChange":{"shape":"Timestamp"}, @@ -1063,6 +1067,13 @@ }, "exception":true }, + "ConflictException":{ + "type":"structure", + "members":{ + "message":{"shape":"Message"} + }, + "exception":true + }, "ContinuationToken":{ "type":"string", "max":2048, @@ -1227,7 +1238,7 @@ }, "EncryptionKeyId":{ "type":"string", - "max":100, + "max":400, "min":1 }, "EncryptionKeyType":{ @@ -2189,6 +2200,7 @@ "type":"structure", "members":{ "stageName":{"shape":"StageName"}, + "inboundExecution":{"shape":"StageExecution"}, "inboundTransitionState":{"shape":"TransitionState"}, "actionStates":{"shape":"ActionStateList"}, "latestExecution":{"shape":"StageExecution"} diff --git a/models/apis/codepipeline/2015-07-09/docs-2.json b/models/apis/codepipeline/2015-07-09/docs-2.json index 7c8a8d260a8..b03b5c56138 100644 --- a/models/apis/codepipeline/2015-07-09/docs-2.json +++ b/models/apis/codepipeline/2015-07-09/docs-2.json @@ -92,8 +92,8 @@ "ActionCategory": { "base": null, "refs": { - "ActionTypeId$category": "

A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values.

", - "CreateCustomActionTypeInput$category": "

The category of the custom action, such as a build action or a test action.

Although Source and Approval are listed as valid values, they are not currently functional. These values are reserved for future use.

", + "ActionTypeId$category": "

A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values.

", + "CreateCustomActionTypeInput$category": "

The category of the custom action, such as a build action or a test action.

", "DeleteCustomActionTypeInput$category": "

The category of the custom action that you want to delete, such as source or deploy.

" } }, @@ -191,6 +191,7 @@ "base": null, "refs": { "ActionContext$actionExecutionId": "

The system-generated unique ID that corresponds to an action's execution.

", + "ActionExecution$actionExecutionId": "

ID of the workflow action execution in the current stage. Use the GetPipelineState action to retrieve the current action execution details of the current stage.

For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.

", "ActionExecutionDetail$actionExecutionId": "

The action execution ID.

" } }, @@ -253,7 +254,7 @@ "ActionOwner": { "base": null, "refs": { - "ActionTypeId$owner": "

The creator of the action being called.

", + "ActionTypeId$owner": "

The creator of the action being called. There are three valid values for the Owner field in the action category section within your pipeline structure: AWS, ThirdParty, and Custom. For more information, see Valid Action Types and Providers in CodePipeline.

", "ListActionTypesInput$actionOwnerFilter": "

Filters the list of action types to those created by a specified entity.

" } }, @@ -513,6 +514,11 @@ "refs": { } }, + "ConflictException": { + "base": "

Your request cannot be handled because the pipeline is busy handling ongoing activities. Try again later.

", + "refs": { + } + }, "ContinuationToken": { "base": null, "refs": { @@ -1001,6 +1007,7 @@ "base": null, "refs": { "ConcurrentModificationException$message": null, + "ConflictException$message": null, "DuplicatedStopRequestException$message": null, "ErrorDetails$message": "

The text of the error message.

", "FailureDetails$message": "

The message about the failure.

", @@ -1193,7 +1200,7 @@ "ListActionExecutionsInput$pipelineName": "

The name of the pipeline for which you want to list action execution history.

", "ListPipelineExecutionsInput$pipelineName": "

The name of the pipeline for which you want to get execution summary information.

", "PipelineContext$pipelineName": "

The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.

", - "PipelineDeclaration$name": "

The name of the action to be performed.

", + "PipelineDeclaration$name": "

The name of the pipeline.

", "PipelineExecution$pipelineName": "

The name of the pipeline with the specified pipeline execution.

", "PipelineSummary$name": "

The name of the pipeline.

", "PutActionRevisionInput$pipelineName": "

The name of the pipeline that starts processing the revision to the source.

", @@ -1478,6 +1485,7 @@ "StageExecution": { "base": "

Represents information about the run of a stage.

", "refs": { + "StageState$inboundExecution": null, "StageState$latestExecution": "

Information about the latest execution in the stage, including its ID and status.

" } }, diff --git a/models/apis/dms/2016-01-01/api-2.json b/models/apis/dms/2016-01-01/api-2.json index 50b9382231d..ba11dbf6d4e 100644 --- a/models/apis/dms/2016-01-01/api-2.json +++ b/models/apis/dms/2016-01-01/api-2.json @@ -64,7 +64,8 @@ {"shape":"ResourceQuotaExceededFault"}, {"shape":"InvalidResourceStateFault"}, {"shape":"ResourceNotFoundFault"}, - {"shape":"AccessDeniedFault"} + {"shape":"AccessDeniedFault"}, + {"shape":"S3AccessDeniedFault"} ] }, "CreateEventSubscription":{ @@ -604,6 +605,20 @@ {"shape":"KMSKeyNotAccessibleFault"} ] }, + "MoveReplicationTask":{ + "name":"MoveReplicationTask", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"MoveReplicationTaskMessage"}, + "output":{"shape":"MoveReplicationTaskResponse"}, + "errors":[ + {"shape":"AccessDeniedFault"}, + {"shape":"InvalidResourceStateFault"}, + {"shape":"ResourceNotFoundFault"} + ] + }, "RebootReplicationInstance":{ "name":"RebootReplicationInstance", "http":{ @@ -2002,6 +2017,23 @@ "KmsKeyId":{"shape":"String"} } }, + "MoveReplicationTaskMessage":{ + "type":"structure", + "required":[ + "ReplicationTaskArn", + "TargetReplicationInstanceArn" + ], + "members":{ + "ReplicationTaskArn":{"shape":"String"}, + "TargetReplicationInstanceArn":{"shape":"String"} + } + }, + "MoveReplicationTaskResponse":{ + "type":"structure", + "members":{ + "ReplicationTask":{"shape":"ReplicationTask"} + } + }, "MySQLSettings":{ "type":"structure", "members":{ @@ -2379,7 +2411,8 @@ "RecoveryCheckpoint":{"shape":"String"}, "ReplicationTaskArn":{"shape":"String"}, "ReplicationTaskStats":{"shape":"ReplicationTaskStats"}, - "TaskData":{"shape":"String"} + "TaskData":{"shape":"String"}, + "TargetReplicationInstanceArn":{"shape":"String"} } }, "ReplicationTaskAssessmentResult":{ diff --git a/models/apis/dms/2016-01-01/docs-2.json b/models/apis/dms/2016-01-01/docs-2.json index bfc8133cfb4..1222a2891bc 100644 --- a/models/apis/dms/2016-01-01/docs-2.json +++ b/models/apis/dms/2016-01-01/docs-2.json @@ -46,6 +46,7 @@ "ModifyReplicationInstance": "

Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.

Some settings are applied during the maintenance window.

", "ModifyReplicationSubnetGroup": "

Modifies the settings for the specified replication subnet group.

", "ModifyReplicationTask": "

Modifies the specified replication task.

You can't modify the task endpoints. The task must be stopped before you can modify it.

For more information about AWS DMS tasks, see Working with Migration Tasks in the AWS Database Migration Service User Guide.

", + "MoveReplicationTask": "

Moves a replication task from its current replication instance to a different target replication instance using the specified parameters. The target replication instance must be created with the same or later AWS DMS version as the current replication instance.

", "RebootReplicationInstance": "

Reboots a replication instance. Rebooting results in a momentary outage, until the replication instance becomes available again.

", "RefreshSchemas": "

Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.

", "ReloadTables": "

Reloads the target database table with the source data.

", @@ -1091,6 +1092,16 @@ "ModifyEndpointMessage$MongoDbSettings": "

Settings in JSON format for the source MongoDB endpoint. For more information about the available settings, see the configuration properties section in Using MongoDB as a Target for AWS Database Migration Service in the AWS Database Migration Service User Guide.

" } }, + "MoveReplicationTaskMessage": { + "base": "

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

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

Provides information that defines a MySQL endpoint.

", "refs": { @@ -1320,6 +1331,7 @@ "CreateReplicationTaskResponse$ReplicationTask": "

The replication task that was created.

", "DeleteReplicationTaskResponse$ReplicationTask": "

The deleted replication task.

", "ModifyReplicationTaskResponse$ReplicationTask": "

The replication task that was modified.

", + "MoveReplicationTaskResponse$ReplicationTask": "

The replication task that was moved.

", "ReplicationTaskList$member": null, "StartReplicationTaskAssessmentResponse$ReplicationTask": "

The assessed replication task.

", "StartReplicationTaskResponse$ReplicationTask": "

The replication task started.

", @@ -1741,6 +1753,8 @@ "MongoDbSettings$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.

", "MongoDbSettings$AuthSource": "

The MongoDB database name. This setting isn't used when AuthType is set to \"no\".

The default is \"admin\".

", "MongoDbSettings$KmsKeyId": "

The AWS KMS key identifier that is used to encrypt the content on the replication instance. If you don't specify a value for the KmsKeyId parameter, then AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region.

", + "MoveReplicationTaskMessage$ReplicationTaskArn": "

The Amazon Resource Name (ARN) of the task that you want to move.

", + "MoveReplicationTaskMessage$TargetReplicationInstanceArn": "

The ARN of the replication instance where you want to move the task to.

", "MySQLSettings$AfterConnectScript": "

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

", "MySQLSettings$DatabaseName": "

Database name for the endpoint.

", "MySQLSettings$ServerName": "

Fully qualified domain name of the endpoint.

", @@ -1813,19 +1827,20 @@ "ReplicationSubnetGroup$VpcId": "

The ID of the VPC.

", "ReplicationSubnetGroup$SubnetGroupStatus": "

The status of the subnet group.

", "ReplicationTask$ReplicationTaskIdentifier": "

The user-assigned replication task identifier or name.

Constraints:

", - "ReplicationTask$SourceEndpointArn": "

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

", - "ReplicationTask$TargetEndpointArn": "

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

", - "ReplicationTask$ReplicationInstanceArn": "

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

", + "ReplicationTask$SourceEndpointArn": "

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

", + "ReplicationTask$TargetEndpointArn": "

The ARN that uniquely identifies the endpoint.

", + "ReplicationTask$ReplicationInstanceArn": "

The ARN of the replication instance.

", "ReplicationTask$TableMappings": "

Table mappings specified in the task.

", "ReplicationTask$ReplicationTaskSettings": "

The settings for the replication task.

", - "ReplicationTask$Status": "

The status of the replication task.

", + "ReplicationTask$Status": "

The status of the replication task. This response parameter can return one of the following values:

", "ReplicationTask$LastFailureMessage": "

The last error (failure) message generated for the replication task.

", - "ReplicationTask$StopReason": "

The reason the replication task was stopped. This response parameter can return one of the following values:

", + "ReplicationTask$StopReason": "

The reason the replication task was stopped. This response parameter can return one of the following values:

", "ReplicationTask$CdcStartPosition": "

Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want the CDC operation to start. Specifying both values results in an error.

The value can be in date, checkpoint, or LSN/SCN format.

Date Example: --cdc-start-position “2018-03-08T12:12:12”

Checkpoint Example: --cdc-start-position \"checkpoint:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93\"

LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

", "ReplicationTask$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 “

", "ReplicationTask$RecoveryCheckpoint": "

Indicates the last checkpoint that occurred during a change data capture (CDC) operation. You can provide this value to the CdcStartPosition parameter to start a CDC operation that begins at that checkpoint.

", "ReplicationTask$ReplicationTaskArn": "

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

", "ReplicationTask$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 AWS Database Migration Service User Guide.

", + "ReplicationTask$TargetReplicationInstanceArn": "

The ARN of the replication instance to which this task is moved in response to running the MoveReplicationTask operation. Otherwise, this response parameter isn't a member of the ReplicationTask object.

", "ReplicationTaskAssessmentResult$ReplicationTaskIdentifier": "

The replication task identifier of the task on which the task assessment was run.

", "ReplicationTaskAssessmentResult$ReplicationTaskArn": "

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

", "ReplicationTaskAssessmentResult$AssessmentStatus": "

The status of the task assessment.

", diff --git a/models/apis/iotsecuretunneling/2018-10-05/api-2.json b/models/apis/iotsecuretunneling/2018-10-05/api-2.json index c627acd4111..a385ff1c0ce 100644 --- a/models/apis/iotsecuretunneling/2018-10-05/api-2.json +++ b/models/apis/iotsecuretunneling/2018-10-05/api-2.json @@ -156,10 +156,7 @@ }, "DestinationConfig":{ "type":"structure", - "required":[ - "thingName", - "services" - ], + "required":["services"], "members":{ "thingName":{"shape":"ThingName"}, "services":{"shape":"ServiceList"} @@ -240,14 +237,13 @@ }, "Service":{ "type":"string", - "max":8, + "max":128, "min":1, "pattern":"[a-zA-Z0-9:_-]+" }, "ServiceList":{ "type":"list", "member":{"shape":"Service"}, - "max":1, "min":1 }, "Tag":{ diff --git a/models/apis/iotsecuretunneling/2018-10-05/docs-2.json b/models/apis/iotsecuretunneling/2018-10-05/docs-2.json index 64a2f282ff2..f89905bf778 100644 --- a/models/apis/iotsecuretunneling/2018-10-05/docs-2.json +++ b/models/apis/iotsecuretunneling/2018-10-05/docs-2.json @@ -1,12 +1,12 @@ { "version": "2.0", - "service": "AWS IoT Secure Tunneling

AWS IoT Secure Tunnling enables you to create remote connections to devices deployed in the field.

For more information about how AWS IoT Secure Tunneling works, see the User Guide.

", + "service": "AWS IoT Secure Tunneling

AWS IoT Secure Tunnling enables you to create remote connections to devices deployed in the field.

For more information about how AWS IoT Secure Tunneling works, see AWS IoT Secure Tunneling.

", "operations": { "CloseTunnel": "

Closes a tunnel identified by the unique tunnel id. When a CloseTunnel request is received, we close the WebSocket connections between the client and proxy server so no data can be transmitted.

", "DescribeTunnel": "

Gets information about a tunnel identified by the unique tunnel id.

", "ListTagsForResource": "

Lists the tags for the specified resource.

", "ListTunnels": "

List all tunnels for an AWS account. Tunnels are listed by creation time in descending order, newer tunnels will be listed before older tunnels.

", - "OpenTunnel": "

Creates a new tunnel, and returns two client access tokens for clients to use to connect to the AWS IoT Secure Tunneling proxy server. .

", + "OpenTunnel": "

Creates a new tunnel, and returns two client access tokens for clients to use to connect to the AWS IoT Secure Tunneling proxy server.

", "TagResource": "

A resource tag.

", "UntagResource": "

Removes a tag from a resource.

" }, @@ -159,7 +159,7 @@ "ServiceList": { "base": null, "refs": { - "DestinationConfig$services": "

A list of service names that identity the target application. Currently, you can only specify a single name. The AWS IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The AWS IoT client instantiates the local proxy which uses this information to connect to the destination application.

" + "DestinationConfig$services": "

A list of service names that identity the target application. The AWS IoT client running on the destination device reads this value and uses it to look up a port or an IP address and a port. The AWS IoT client instantiates the local proxy which uses this information to connect to the destination application.

" } }, "Tag": { diff --git a/models/apis/iotsitewise/2019-12-02/api-2.json b/models/apis/iotsitewise/2019-12-02/api-2.json index 36f1b99b3e7..a5abf8eb8ee 100644 --- a/models/apis/iotsitewise/2019-12-02/api-2.json +++ b/models/apis/iotsitewise/2019-12-02/api-2.json @@ -195,6 +195,22 @@ ], "endpoint":{"hostPrefix":"monitor."} }, + "CreatePresignedPortalUrl":{ + "name":"CreatePresignedPortalUrl", + "http":{ + "method":"GET", + "requestUri":"/portals/{portalId}/presigned-url", + "responseCode":200 + }, + "input":{"shape":"CreatePresignedPortalUrlRequest"}, + "output":{"shape":"CreatePresignedPortalUrlResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InternalFailureException"}, + {"shape":"ThrottlingException"} + ], + "endpoint":{"hostPrefix":"monitor."} + }, "CreateProject":{ "name":"CreateProject", "http":{ @@ -1639,6 +1655,29 @@ "ssoApplicationId":{"shape":"SSOApplicationId"} } }, + "CreatePresignedPortalUrlRequest":{ + "type":"structure", + "required":["portalId"], + "members":{ + "portalId":{ + "shape":"ID", + "location":"uri", + "locationName":"portalId" + }, + "sessionDurationSeconds":{ + "shape":"SessionDurationSeconds", + "location":"querystring", + "locationName":"sessionDurationSeconds" + } + } + }, + "CreatePresignedPortalUrlResponse":{ + "type":"structure", + "required":["presignedPortalUrl"], + "members":{ + "presignedPortalUrl":{"shape":"Url"} + } + }, "CreateProjectRequest":{ "type":"structure", "required":[ @@ -2227,8 +2266,7 @@ "Expression":{ "type":"string", "max":1024, - "min":1, - "pattern":"^[a-z0-9._+\\-*%/^, ()]+$" + "min":1 }, "ExpressionVariable":{ "type":"structure", @@ -3220,6 +3258,11 @@ "exception":true, "fault":true }, + "SessionDurationSeconds":{ + "type":"integer", + "max":43200, + "min":900 + }, "TagKey":{ "type":"string", "max":128, diff --git a/models/apis/iotsitewise/2019-12-02/docs-2.json b/models/apis/iotsitewise/2019-12-02/docs-2.json index 79b7386f7af..49f03a1ccc0 100644 --- a/models/apis/iotsitewise/2019-12-02/docs-2.json +++ b/models/apis/iotsitewise/2019-12-02/docs-2.json @@ -12,6 +12,7 @@ "CreateDashboard": "

Creates a dashboard in an AWS IoT SiteWise Monitor project.

", "CreateGateway": "

Creates a gateway, which is a virtual or edge device that delivers industrial data streams from local servers to AWS IoT SiteWise. For more information, see Ingesting data using a gateway in the AWS IoT SiteWise User Guide.

", "CreatePortal": "

Creates a portal, which can contain projects and dashboards. AWS IoT SiteWise Monitor uses AWS SSO or IAM to authenticate portal users and manage user permissions.

Before you can sign in to a new portal, you must add at least one identity to that portal. For more information, see Adding or removing portal administrators in the AWS IoT SiteWise User Guide.

", + "CreatePresignedPortalUrl": "

Creates a pre-signed URL to a portal. Use this operation to create URLs to portals that use AWS Identity and Access Management (IAM) to authenticate users. An IAM user with access to a portal can call this API to get a URL to that portal. The URL contains a session token that lets the IAM user access the portal.

", "CreateProject": "

Creates a project in the specified portal.

", "DeleteAccessPolicy": "

Deletes an access policy that grants the specified identity access to the specified AWS IoT SiteWise Monitor resource. You can use this operation to revoke access to an AWS IoT SiteWise Monitor resource.

", "DeleteAsset": "

Deletes an asset. This action can't be undone. For more information, see Deleting assets and models in the AWS IoT SiteWise User Guide.

You can't delete an asset that's associated to another asset. For more information, see DisassociateAssets.

", @@ -556,6 +557,16 @@ "refs": { } }, + "CreatePresignedPortalUrlRequest": { + "base": null, + "refs": { + } + }, + "CreatePresignedPortalUrlResponse": { + "base": null, + "refs": { + } + }, "CreateProjectRequest": { "base": null, "refs": { @@ -962,6 +973,7 @@ "CreateDashboardResponse$dashboardId": "

The ID of the dashboard.

", "CreateGatewayResponse$gatewayId": "

The ID of the gateway device. You can use this ID when you call other AWS IoT SiteWise APIs.

", "CreatePortalResponse$portalId": "

The ID of the created portal.

", + "CreatePresignedPortalUrlRequest$portalId": "

The ID of the portal to access.

", "CreateProjectRequest$portalId": "

The ID of the portal in which to create the project.

", "CreateProjectResponse$projectId": "

The ID of the project.

", "DashboardSummary$id": "

The ID of the dashboard.

", @@ -1609,6 +1621,12 @@ "refs": { } }, + "SessionDurationSeconds": { + "base": null, + "refs": { + "CreatePresignedPortalUrlRequest$sessionDurationSeconds": "

The duration (in seconds) for which the session at the URL is valid.

Default: 900 seconds (15 minutes)

" + } + }, "TagKey": { "base": null, "refs": { @@ -1840,6 +1858,7 @@ "base": null, "refs": { "CreatePortalResponse$portalStartUrl": "

The URL for the AWS IoT SiteWise Monitor portal. You can use this URL to access portals that use AWS SSO for authentication. For portals that use IAM for authentication, you must use the CreatePresignedPortalUrl operation to create a URL that you can use to access the portal.

", + "CreatePresignedPortalUrlResponse$presignedPortalUrl": "

The pre-signed URL to the portal. The URL contains the portal ID and a session token that lets you access the portal. The URL has the following format.

https://<portal-id>.app.iotsitewise.aws/auth?token=<encrypted-token>

", "DescribePortalResponse$portalStartUrl": "

The URL for the AWS IoT SiteWise Monitor portal. You can use this URL to access portals that use AWS SSO for authentication. For portals that use IAM for authentication, you must use the CreatePresignedPortalUrl operation to create a URL that you can use to access the portal.

", "ImageLocation$url": "

The URL where the image is available. The URL is valid for 15 minutes so that you can view and download the image

", "PortalSummary$startUrl": "

The URL for the AWS IoT SiteWise Monitor portal. You can use this URL to access portals that use AWS SSO for authentication. For portals that use IAM for authentication, you must use the CreatePresignedPortalUrl operation to create a URL that you can use to access the portal.

" diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json index 3d94faeba9d..da087382ae0 100644 --- a/models/apis/quicksight/2018-04-01/api-2.json +++ b/models/apis/quicksight/2018-04-01/api-2.json @@ -4552,15 +4552,20 @@ "locationName":"session-lifetime" }, "UndoRedoDisabled":{ - "shape":"boolean", + "shape":"Boolean", "location":"querystring", "locationName":"undo-redo-disabled" }, "ResetDisabled":{ - "shape":"boolean", + "shape":"Boolean", "location":"querystring", "locationName":"reset-disabled" }, + "StatePersistenceEnabled":{ + "shape":"Boolean", + "location":"querystring", + "locationName":"state-persistence-enabled" + }, "UserArn":{ "shape":"Arn", "location":"querystring", diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json index 610b2949bba..7435add014b 100644 --- a/models/apis/quicksight/2018-04-01/docs-2.json +++ b/models/apis/quicksight/2018-04-01/docs-2.json @@ -510,6 +510,9 @@ "base": null, "refs": { "DataSetSummary$ColumnLevelPermissionRulesApplied": "

Indicates if the dataset has column level permission configured.

", + "GetDashboardEmbedUrlRequest$UndoRedoDisabled": "

Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button.

", + "GetDashboardEmbedUrlRequest$ResetDisabled": "

Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button.

", + "GetDashboardEmbedUrlRequest$StatePersistenceEnabled": "

Adds persistence of state for the user session in an embedded dashboard. Persistence applies to the sheet and the parameter settings. These are control settings that the dashboard subscriber (QuickSight reader) chooses while viewing the dashboard. If this is set to TRUE, the settings are the same when the the subscriber reopens the same dashboard URL. The state is stored in QuickSight, not in a browser cookie. If this is set to FALSE, the state of the user session is not persisted. The default is FALSE.

", "SslProperties$DisableSsl": "

A Boolean option to control whether SSL should be disabled.

", "UpdateUserRequest$UnapplyCustomPermissions": "

A flag that you use to indicate that you want to remove all custom permissions from this user. Using this parameter resets the user to the state it was in before a custom permissions profile was applied. This parameter defaults to NULL and it doesn't accept any other value.

", "UploadSettings$ContainsHeader": "

Whether the file has a header row, or the files each have a header row.

", @@ -2371,7 +2374,7 @@ } }, "OracleParameters": { - "base": null, + "base": "

Oracle parameters.

", "refs": { "DataSourceParameters$OracleParameters": "

Oracle parameters.

" } @@ -3945,8 +3948,6 @@ "BorderStyle$Show": "

The option to enable display of borders for visuals.

", "DeleteAnalysisRequest$ForceDeleteWithoutRecovery": "

This option defaults to the value NoForceDeleteWithoutRecovery. To immediately delete the analysis, add the ForceDeleteWithoutRecovery option. You can't restore an analysis after it's deleted.

", "DescribeAccountCustomizationRequest$Resolved": "

The Resolved flag works with the other parameters to determine which view of QuickSight customizations is returned. You can add this flag to your command to use the same view that QuickSight uses to identify which customizations to apply to the console. Omit this flag, or set it to no-resolved, to reveal customizations that are configured at different levels.

", - "GetDashboardEmbedUrlRequest$UndoRedoDisabled": "

Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button.

", - "GetDashboardEmbedUrlRequest$ResetDisabled": "

Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button.

", "GutterStyle$Show": "

This Boolean value controls whether to display a gutter space between sheet tiles.

", "MarginStyle$Show": "

This Boolean value controls whether to display sheet margins.

" } diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index 7f6ac0d1b07..a94a4f7ec94 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -2926,7 +2926,12 @@ "VpcId":{"shape":"VpcId"}, "Tags":{"shape":"TagList"}, "AppNetworkAccessType":{"shape":"AppNetworkAccessType"}, - "HomeEfsFileSystemKmsKeyId":{"shape":"KmsKeyId"} + "HomeEfsFileSystemKmsKeyId":{ + "shape":"KmsKeyId", + "deprecated":true, + "deprecatedMessage":"This property is deprecated, use KmsKeyId instead." + }, + "KmsKeyId":{"shape":"KmsKeyId"} } }, "CreateDomainResponse":{ @@ -4068,10 +4073,15 @@ "AuthMode":{"shape":"AuthMode"}, "DefaultUserSettings":{"shape":"UserSettings"}, "AppNetworkAccessType":{"shape":"AppNetworkAccessType"}, - "HomeEfsFileSystemKmsKeyId":{"shape":"KmsKeyId"}, + "HomeEfsFileSystemKmsKeyId":{ + "shape":"KmsKeyId", + "deprecated":true, + "deprecatedMessage":"This property is deprecated, use KmsKeyId instead." + }, "SubnetIds":{"shape":"Subnets"}, "Url":{"shape":"String1024"}, - "VpcId":{"shape":"VpcId"} + "VpcId":{"shape":"VpcId"}, + "KmsKeyId":{"shape":"KmsKeyId"} } }, "DescribeEndpointConfigInput":{ diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index 14790aadab6..5861a80fd4c 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -6,18 +6,18 @@ "AssociateTrialComponent": "

Associates a trial component with a trial. A trial component can be associated with multiple trials. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.

", "CreateAlgorithm": "

Create a machine learning algorithm that you can use in Amazon SageMaker and list in the AWS Marketplace.

", "CreateApp": "

Creates a running App for the specified UserProfile. Supported Apps are JupyterServer and KernelGateway. This operation is automatically invoked by Amazon SageMaker Studio upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.

", - "CreateAppImageConfig": "

Creates a configuration for running an Amazon SageMaker image as a KernelGateway app.

", + "CreateAppImageConfig": "

Creates a configuration for running a SageMaker image as a KernelGateway app. The configuration specifies the Amazon Elastic File System (EFS) storage volume on the image, and a list of the kernels in the image.

", "CreateAutoMLJob": "

Creates an Autopilot job.

Find the best performing model after you run an Autopilot job by calling . Deploy that model by following the steps described in Step 6.1: Deploy the Model to Amazon SageMaker Hosting Services.

For information about how to use Autopilot, see Automate Model Development with Amazon SageMaker Autopilot.

", "CreateCodeRepository": "

Creates a Git repository as a resource in your Amazon SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your Amazon SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.

The repository can be hosted either in AWS CodeCommit or in any other Git repository.

", "CreateCompilationJob": "

Starts a model compilation job. After the model has been compiled, Amazon SageMaker saves the resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify.

If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts with AWS IoT Greengrass. In that case, deploy them as an ML resource.

In the request body, you provide the following:

You can also provide a Tag to track the model compilation job's resource use and costs. The response body contains the CompilationJobArn for the compiled job.

To stop a model compilation job, use StopCompilationJob. To get information about a particular model compilation job, use DescribeCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.

", "CreateDomain": "

Creates a Domain used by Amazon SageMaker Studio. A domain consists of an associated Amazon Elastic File System (EFS) volume, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. An AWS account is limited to one domain per region. Users within a domain can share notebook files and other artifacts with each other.

When a domain is created, an EFS volume is created for use by all of the users within the domain. Each user receives a private home directory within the EFS volume for notebooks, Git repositories, and data files.

VPC configuration

All SageMaker Studio traffic between the domain and the EFS volume is through the specified VPC and subnets. For other Studio traffic, you can specify the AppNetworkAccessType parameter. AppNetworkAccessType corresponds to the network access type that you choose when you onboard to Studio. The following options are available:

For more information, see Connect SageMaker Studio Notebooks to Resources in a VPC.

", - "CreateEndpoint": "

Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API.

Use this API to deploy models using Amazon SageMaker hosting services.

For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).

You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.

The endpoint name must be unique within an AWS Region in your AWS account.

When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.

When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

When Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API.

If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses AWS Security Token Service to download model artifacts from the S3 path you provided. AWS STS is activated in your IAM user account by default. If you previously deactivated AWS STS for a region, you need to reactivate AWS STS for that region. For more information, see Activating and Deactivating AWS STS in an AWS Region in the AWS Identity and Access Management User Guide.

", + "CreateEndpoint": "

Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API.

Use this API to deploy models using Amazon SageMaker hosting services.

For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).

You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.

The endpoint name must be unique within an AWS Region in your AWS account.

When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.

When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

When Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API.

If any of the models hosted at this endpoint get model data from an Amazon S3 location, Amazon SageMaker uses AWS Security Token Service to download model artifacts from the S3 path you provided. AWS STS is activated in your IAM user account by default. If you previously deactivated AWS STS for a region, you need to reactivate AWS STS for that region. For more information, see Activating and Deactivating AWS STS in an AWS Region in the AWS Identity and Access Management User Guide.

To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role.

", "CreateEndpointConfig": "

Creates an endpoint configuration that Amazon SageMaker hosting services uses to deploy models. In the configuration, you identify one or more models, created using the CreateModel API, to deploy and the resources that you want Amazon SageMaker to provision. Then you call the CreateEndpoint API.

Use this API if you want to use Amazon SageMaker hosting services to deploy models into production.

In the request, you define a ProductionVariant, for each model that you want to deploy. Each ProductionVariant parameter also describes the resources that you want Amazon SageMaker to provision. This includes the number and type of ML compute instances to deploy.

If you are hosting multiple models, you also assign a VariantWeight to specify how much traffic you want to allocate to each model. For example, suppose that you want to host two models, A and B, and you assign traffic weight 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds of the traffic to Model A, and one-third to model B.

For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).

When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

", "CreateExperiment": "

Creates an SageMaker experiment. An experiment is a collection of trials that are observed, compared and evaluated as a group. A trial is a set of steps, called trial components, that produce a machine learning model.

The goal of an experiment is to determine the components that produce the best model. Multiple trials are performed, each one isolating and measuring the impact of a change to one or more inputs, while keeping the remaining inputs constant.

When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS SDK for Python (Boto), you must use the logging APIs provided by the SDK.

You can add tags to experiments, trials, trial components and then use the Search API to search for the tags.

To add a description to an experiment, specify the optional Description parameter. To add a description later, or to change the description, call the UpdateExperiment API.

To get a list of all your experiments, call the ListExperiments API. To view an experiment's properties, call the DescribeExperiment API. To get a list of all the trials associated with an experiment, call the ListTrials API. To create a trial call the CreateTrial API.

", "CreateFlowDefinition": "

Creates a flow definition.

", "CreateHumanTaskUi": "

Defines the settings you will use for the human review workflow user interface. Reviewers will see a three-panel interface with an instruction area, the item to review, and an input area.

", "CreateHyperParameterTuningJob": "

Starts a hyperparameter tuning job. A hyperparameter tuning job finds the best version of a model by running many training jobs on your dataset using the algorithm you choose and values for hyperparameters within ranges that you specify. It then chooses the hyperparameter values that result in a model that performs the best, as measured by an objective metric that you choose.

", - "CreateImage": "

Creates a SageMaker Image. A SageMaker image represents a set of container images. Each of these container images is represented by a SageMaker ImageVersion.

", + "CreateImage": "

Creates a custom SageMaker image. A SageMaker image is a set of image versions. Each image version represents a container image stored in Amazon Container Registry (ECR). For more information, see Bring your own SageMaker image.

", "CreateImageVersion": "

Creates a version of the SageMaker image specified by ImageName. The version represents the Amazon Container Registry (ECR) container image specified by BaseImage.

", "CreateLabelingJob": "

Creates a job that uses workers to label the data objects in your input dataset. You can use the labeled data to train machine learning models.

You can select your workforce from one of three providers:

You can also use automated data labeling to reduce the number of data objects that need to be labeled by a human. Automated data labeling uses active learning to determine if a data object can be labeled by machine or if it needs to be sent to a human worker. For more information, see Using Automated Data Labeling.

The data objects to be labeled are contained in an Amazon S3 bucket. You create a manifest file that describes the location of each object. For more information, see Using Input and Output Data.

The output can be used as the manifest file for another labeling job or as training data for your machine learning models.

", "CreateModel": "

Creates a model in Amazon SageMaker. In the request, you name the model and describe a primary container. For the primary container, you specify the Docker image that contains inference code, artifacts (from prior training), and a custom environment map that the inference code uses when you deploy the model for predictions.

Use this API to create a model if you want to use Amazon SageMaker hosting services or run a batch transform job.

To host your model, you create an endpoint configuration with the CreateEndpointConfig API, and then create an endpoint with the CreateEndpoint API. Amazon SageMaker then deploys all of the containers that you defined for the model in the hosting environment.

For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)).

To run a batch transform using your model, you start a job with the CreateTransformJob API. Amazon SageMaker uses your model and your dataset to get inferences which are then saved to a specified S3 location.

In the CreateModel request, you must define a container with the PrimaryContainer parameter.

In the request, you also provide an IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute hosting instances or for batch transform jobs. In addition, you also use the IAM role to manage permissions the inference code needs. For example, if the inference code access any other AWS resources, you grant necessary permissions via this role.

", @@ -302,7 +302,7 @@ } }, "AppImageConfigDetails": { - "base": "

The configuration for running an Amazon SageMaker image as a KernelGateway app.

", + "base": "

The configuration for running a SageMaker image as a KernelGateway app.

", "refs": { "AppImageConfigList$member": null } @@ -316,7 +316,7 @@ "AppImageConfigName": { "base": null, "refs": { - "AppImageConfigDetails$AppImageConfigName": "

The name of the AppImageConfig.

", + "AppImageConfigDetails$AppImageConfigName": "

The name of the AppImageConfig. Must be unique to your account.

", "CreateAppImageConfigRequest$AppImageConfigName": "

The name of the AppImageConfig. Must be unique to your account.

", "CustomImage$AppImageConfigName": "

The name of the AppImageConfig.

", "DeleteAppImageConfigRequest$AppImageConfigName": "

The name of the AppImageConfig to delete.

", @@ -1524,7 +1524,7 @@ } }, "CustomImage": { - "base": "

A custom image.

", + "base": "

A custom SageMaker image. For more information, see Bring your own SageMaker image.

", "refs": { "CustomImages$member": null } @@ -1532,7 +1532,7 @@ "CustomImages": { "base": null, "refs": { - "KernelGatewayAppSettings$CustomImages": "

A list of custom images that are configured to run as a KernelGateway app.

" + "KernelGatewayAppSettings$CustomImages": "

A list of custom SageMaker images that are configured to run as a KernelGateway app.

" } }, "DataCaptureConfig": { @@ -1557,7 +1557,7 @@ "DataInputConfig": { "base": null, "refs": { - "InputConfig$DataInputConfig": "

Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. The data inputs are InputConfig$Framework specific.

DataInputConfig supports the following parameters for CoreML OutputConfig$TargetDevice (ML Model format):

CoreML ClassifierConfig parameters can be specified using OutputConfig$CompilerOptions. CoreML converter supports Tensorflow and PyTorch models. CoreML conversion examples:

" + "InputConfig$DataInputConfig": "

Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. The data inputs are InputConfig$Framework specific.

DataInputConfig supports the following parameters for CoreML OutputConfig$TargetDevice (ML Model format):

CoreML ClassifierConfig parameters can be specified using OutputConfig$CompilerOptions. CoreML converter supports Tensorflow and PyTorch models. CoreML conversion examples:

" } }, "DataProcessing": { @@ -1612,13 +1612,13 @@ "DefaultGid": { "base": null, "refs": { - "FileSystemConfig$DefaultGid": "

The default POSIX group ID. If not specified, defaults to 100.

" + "FileSystemConfig$DefaultGid": "

The default POSIX group ID (GID). If not specified, defaults to 100.

" } }, "DefaultUid": { "base": null, "refs": { - "FileSystemConfig$DefaultUid": "

The default POSIX user ID. If not specified, defaults to 1000.

" + "FileSystemConfig$DefaultUid": "

The default POSIX user ID (UID). If not specified, defaults to 1000.

" } }, "DeleteAlgorithmInput": { @@ -2616,9 +2616,9 @@ } }, "FileSystemConfig": { - "base": "

The Amazon Elastic File System (EFS) storage configuration for an image.

", + "base": "

The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.

", "refs": { - "KernelGatewayImageConfig$FileSystemConfig": "

The file system configuration.

" + "KernelGatewayImageConfig$FileSystemConfig": "

The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.

" } }, "FileSystemDataSource": { @@ -3159,7 +3159,7 @@ "ImageDisplayName": { "base": null, "refs": { - "CreateImageRequest$DisplayName": "

The display name of the image. When the image is added to a domain, DisplayName must be unique to the domain.

", + "CreateImageRequest$DisplayName": "

The display name of the image. If not provided, ImageName is displayed.

", "DescribeImageResponse$DisplayName": "

The name of the image as displayed.

", "Image$DisplayName": "

The name of the image as displayed.

", "UpdateImageRequest$DisplayName": "

The new display name for the image.

" @@ -3379,7 +3379,7 @@ } }, "JupyterServerAppSettings": { - "base": "

Jupyter server's app settings.

", + "base": "

The JupyterServer app settings.

", "refs": { "UserSettings$JupyterServerAppSettings": "

The Jupyter server's app settings.

" } @@ -3397,22 +3397,22 @@ } }, "KernelGatewayImageConfig": { - "base": "

The configuration for an Amazon SageMaker KernelGateway app.

", + "base": "

The configuration for the file system and kernels in a SageMaker image running as a KernelGateway app.

", "refs": { - "AppImageConfigDetails$KernelGatewayImageConfig": "

The KernelGateway app.

", + "AppImageConfigDetails$KernelGatewayImageConfig": "

The configuration for the file system and kernels in the SageMaker image.

", "CreateAppImageConfigRequest$KernelGatewayImageConfig": "

The KernelGatewayImageConfig.

", - "DescribeAppImageConfigResponse$KernelGatewayImageConfig": "

The KernelGateway app.

", + "DescribeAppImageConfigResponse$KernelGatewayImageConfig": "

The configuration of a KernelGateway app.

", "UpdateAppImageConfigRequest$KernelGatewayImageConfig": "

The new KernelGateway app to run on the image.

" } }, "KernelName": { "base": null, "refs": { - "KernelSpec$Name": "

The name of the kernel. Must be unique to your account.

" + "KernelSpec$Name": "

The name of the kernel.

" } }, "KernelSpec": { - "base": "

Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the kernel.

", + "base": "

The specification of a Jupyter kernel.

", "refs": { "KernelSpecs$member": null } @@ -3420,7 +3420,7 @@ "KernelSpecs": { "base": null, "refs": { - "KernelGatewayImageConfig$KernelSpecs": "

Defines how a kernel is started and the arguments, environment variables, and metadata that are available to the kernel.

" + "KernelGatewayImageConfig$KernelSpecs": "

The specification of the Jupyter kernels in the image.

" } }, "KmsKeyId": { @@ -3428,12 +3428,14 @@ "refs": { "AutoMLOutputDataConfig$KmsKeyId": "

The AWS KMS encryption key ID.

", "AutoMLSecurityConfig$VolumeKmsKeyId": "

The key used to encrypt stored data.

", - "CreateDomainRequest$HomeEfsFileSystemKmsKeyId": "

The AWS Key Management Service (KMS) encryption key ID. Encryption with a customer master key (CMK) is not supported.

", + "CreateDomainRequest$HomeEfsFileSystemKmsKeyId": "

This member is deprecated and replaced with KmsKeyId.

", + "CreateDomainRequest$KmsKeyId": "

SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with an AWS managed customer master key (CMK) by default. For more control, specify a customer managed CMK.

", "CreateEndpointConfigInput$KmsKeyId": "

The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.

The KmsKeyId can be any of the following formats:

The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint, UpdateEndpoint requests. For more information, refer to the AWS Key Management Service section Using Key Policies in AWS KMS

Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a KmsKeyId when using an instance type with local storage. If any of the models that you specify in the ProductionVariants parameter use nitro-based instances with local storage, do not specify a value for the KmsKeyId parameter. If you specify a value for KmsKeyId when using any nitro-based instances with local storage, the call to CreateEndpointConfig fails.

For a list of instance types that support local instance storage, see Instance Store Volumes.

For more information about local instance storage encryption, see SSD Instance Store Volumes.

", "CreateNotebookInstanceInput$KmsKeyId": "

The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see Enabling and Disabling Keys in the AWS Key Management Service Developer Guide.

", "DataCaptureConfig$KmsKeyId": "

", "DataCaptureConfigSummary$KmsKeyId": "

", - "DescribeDomainResponse$HomeEfsFileSystemKmsKeyId": "

The AWS Key Management Service encryption key ID.

", + "DescribeDomainResponse$HomeEfsFileSystemKmsKeyId": "

This member is deprecated and replaced with KmsKeyId.

", + "DescribeDomainResponse$KmsKeyId": "

The AWS KMS customer managed CMK used to encrypt the EFS volume attached to the domain.

", "DescribeEndpointConfigOutput$KmsKeyId": "

AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance.

", "DescribeNotebookInstanceOutput$KmsKeyId": "

The AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance.

", "FlowDefinitionOutputConfig$KmsKeyId": "

The Amazon Key Management Service (KMS) key ID for server-side encryption.

", @@ -5463,7 +5465,7 @@ "refs": { "CreateAppRequest$ResourceSpec": "

The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

", "DescribeAppResponse$ResourceSpec": "

The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

", - "JupyterServerAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

", + "JupyterServerAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.

", "KernelGatewayAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.

", "TensorBoardAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

" } @@ -7163,7 +7165,7 @@ "refs": { "CreateDomainRequest$DefaultUserSettings": "

The default user settings.

", "CreateUserProfileRequest$UserSettings": "

A collection of settings.

", - "DescribeDomainResponse$DefaultUserSettings": "

Settings which are applied to all UserProfile in this domain, if settings are not explicitly specified in a given UserProfile.

", + "DescribeDomainResponse$DefaultUserSettings": "

Settings which are applied to all UserProfiles in this domain, if settings are not explicitly specified in a given UserProfile.

", "DescribeUserProfileResponse$UserSettings": "

A collection of settings.

", "UpdateDomainRequest$DefaultUserSettings": "

A collection of settings.

", "UpdateUserProfileRequest$UserSettings": "

A collection of settings.

" diff --git a/models/apis/servicecatalog/2015-12-10/api-2.json b/models/apis/servicecatalog/2015-12-10/api-2.json index 842406c4a73..9ea094adfd2 100644 --- a/models/apis/servicecatalog/2015-12-10/api-2.json +++ b/models/apis/servicecatalog/2015-12-10/api-2.json @@ -700,6 +700,21 @@ {"shape":"ResourceNotFoundException"} ] }, + "ImportAsProvisionedProduct":{ + "name":"ImportAsProvisionedProduct", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ImportAsProvisionedProductInput"}, + "output":{"shape":"ImportAsProvisionedProductOutput"}, + "errors":[ + {"shape":"DuplicateResourceException"}, + {"shape":"InvalidStateException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidParametersException"} + ] + }, "ListAcceptedPortfolioShares":{ "name":"ListAcceptedPortfolioShares", "http":{ @@ -2268,6 +2283,33 @@ "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*" }, "IgnoreErrors":{"type":"boolean"}, + "ImportAsProvisionedProductInput":{ + "type":"structure", + "required":[ + "ProductId", + "ProvisioningArtifactId", + "ProvisionedProductName", + "PhysicalId", + "IdempotencyToken" + ], + "members":{ + "AcceptLanguage":{"shape":"AcceptLanguage"}, + "ProductId":{"shape":"Id"}, + "ProvisioningArtifactId":{"shape":"Id"}, + "ProvisionedProductName":{"shape":"ProvisionedProductName"}, + "PhysicalId":{"shape":"PhysicalId"}, + "IdempotencyToken":{ + "shape":"IdempotencyToken", + "idempotencyToken":true + } + } + }, + "ImportAsProvisionedProductOutput":{ + "type":"structure", + "members":{ + "RecordDetail":{"shape":"RecordDetail"} + } + }, "InstructionType":{"type":"string"}, "InstructionValue":{"type":"string"}, "InvalidParametersException":{ @@ -3455,6 +3497,7 @@ } }, "ResourceType":{"type":"string"}, + "RetainPhysicalResources":{"type":"boolean"}, "RoleArn":{ "type":"string", "max":1224, @@ -3860,7 +3903,8 @@ "idempotencyToken":true }, "IgnoreErrors":{"shape":"IgnoreErrors"}, - "AcceptLanguage":{"shape":"AcceptLanguage"} + "AcceptLanguage":{"shape":"AcceptLanguage"}, + "RetainPhysicalResources":{"shape":"RetainPhysicalResources"} } }, "TerminateProvisionedProductOutput":{ diff --git a/models/apis/servicecatalog/2015-12-10/docs-2.json b/models/apis/servicecatalog/2015-12-10/docs-2.json index 3698999465a..2268b3d78e2 100644 --- a/models/apis/servicecatalog/2015-12-10/docs-2.json +++ b/models/apis/servicecatalog/2015-12-10/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "AWS Service Catalog

AWS Service Catalog enables organizations to create and manage catalogs of IT services that are approved for use on AWS. To get the most out of this documentation, you should be familiar with the terminology discussed in AWS Service Catalog Concepts.

", + "service": "AWS Service Catalog

AWS Service Catalog enables organizations to create and manage catalogs of IT services that are approved for AWS. To get the most out of this documentation, you should be familiar with the terminology discussed in AWS Service Catalog Concepts.

", "operations": { "AcceptPortfolioShare": "

Accepts an offer to share the specified portfolio.

", "AssociateBudgetWithResource": "

Associates the specified budget with the specified resource.

", @@ -53,6 +53,7 @@ "ExecuteProvisionedProductServiceAction": "

Executes a self-service action against a provisioned product.

", "GetAWSOrganizationsAccessStatus": "

Get the Access Status for AWS Organization portfolio share feature. This API can only be called by the management account in the organization or by a delegated admin.

", "GetProvisionedProductOutputs": "

This API takes either a ProvisonedProductId or a ProvisionedProductName, along with a list of one or more output keys, and responds with the key/value pairs of those outputs.

", + "ImportAsProvisionedProduct": "

Requests the import of a resource as a Service Catalog provisioned product that is associated to a Service Catalog product and provisioning artifact. Once imported all supported Service Catalog governance actions are supported on the provisioned product.

Resource import only supports CloudFormation stack ARNs. CloudFormation StackSets and non-root nested stacks are not supported.

The CloudFormation stack must have one of the following statuses to be imported: CREATE_COMPLETE, UPDATE_COMPLETE, UPDATE_ROLLBACK_COMPLETE, IMPORT_COMPLETE, IMPORT_ROLLBACK_COMPLETE.

Import of the resource requires that the CloudFormation stack template matches the associated Service Catalog product provisioning artifact.

", "ListAcceptedPortfolioShares": "

Lists all portfolios for which sharing was accepted by this account.

", "ListBudgetsForResource": "

Lists all the budgets associated to the specified resource.

", "ListConstraintsForPortfolio": "

Lists the constraints for the specified portfolio and product.

", @@ -131,6 +132,7 @@ "ExecuteProvisionedProductPlanInput$AcceptLanguage": "

The language code.

", "ExecuteProvisionedProductServiceActionInput$AcceptLanguage": "

The language code.

", "GetProvisionedProductOutputsInput$AcceptLanguage": "

The language code.

", + "ImportAsProvisionedProductInput$AcceptLanguage": "

The language code.

", "ListAcceptedPortfolioSharesInput$AcceptLanguage": "

The language code.

", "ListBudgetsForResourceInput$AcceptLanguage": "

The language code.

", "ListConstraintsForPortfolioInput$AcceptLanguage": "

The language code.

", @@ -1078,6 +1080,8 @@ "FailedServiceActionAssociation$ProductId": "

The product identifier. For example, prod-abcdzk7xy33qa.

", "FailedServiceActionAssociation$ProvisioningArtifactId": "

The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne.

", "GetProvisionedProductOutputsInput$ProvisionedProductId": "

The identifier of the provisioned product that you want the outputs from.

", + "ImportAsProvisionedProductInput$ProductId": "

The product identifier.

", + "ImportAsProvisionedProductInput$ProvisioningArtifactId": "

The identifier of the provisioning artifact.

", "LaunchPath$Id": "

The identifier of the launch path.

", "LaunchPathSummary$Id": "

The identifier of the product path.

", "ListBudgetsForResourceInput$ResourceId": "

The resource identifier.

", @@ -1161,6 +1165,7 @@ "CreateServiceActionInput$IdempotencyToken": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

", "ExecuteProvisionedProductPlanInput$IdempotencyToken": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

", "ExecuteProvisionedProductServiceActionInput$ExecuteToken": "

An idempotency token that uniquely identifies the execute request.

", + "ImportAsProvisionedProductInput$IdempotencyToken": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

", "ProvisionProductInput$ProvisionToken": "

An idempotency token that uniquely identifies the provisioning request.

", "ProvisionedProductAttribute$IdempotencyToken": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

", "ProvisionedProductDetail$IdempotencyToken": "

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

", @@ -1176,6 +1181,16 @@ "TerminateProvisionedProductInput$IgnoreErrors": "

If set to true, AWS Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources.

" } }, + "ImportAsProvisionedProductInput": { + "base": null, + "refs": { + } + }, + "ImportAsProvisionedProductOutput": { + "base": null, + "refs": { + } + }, "InstructionType": { "base": null, "refs": { @@ -1638,6 +1653,7 @@ "PhysicalId": { "base": null, "refs": { + "ImportAsProvisionedProductInput$PhysicalId": "

The unique identifier of the resource to be imported. It only currently supports CloudFormation stack IDs.

", "ProvisionedProductAttribute$PhysicalId": "

The assigned identifier for the resource, such as an EC2 instance ID or an S3 bucket name.

" } }, @@ -1957,6 +1973,7 @@ "CreateProvisionedProductPlanOutput$ProvisionedProductName": "

The user-friendly name of the provisioned product.

", "DescribeProvisionedProductInput$Name": "

The name of the provisioned product. You must provide the name or ID, but not both.

If you do not provide a name or ID, or you provide both name and ID, an InvalidParametersException will occur.

", "GetProvisionedProductOutputsInput$ProvisionedProductName": "

The name of the provisioned product that you want the outputs from.

", + "ImportAsProvisionedProductInput$ProvisionedProductName": "

The user-friendly name of the provisioned product. The value must be unique for the AWS account. The name cannot be updated after the product is provisioned.

", "ProvisionProductInput$ProvisionedProductName": "

A user-friendly name for the provisioned product. This value must be unique for the AWS account and cannot be updated after the product is provisioned.

", "ProvisionedProductPlanDetails$ProvisionProductName": "

The user-friendly name of the provisioned product.

", "ProvisionedProductPlanSummary$ProvisionProductName": "

The user-friendly name of the provisioned product.

", @@ -2018,7 +2035,7 @@ "ProvisionedProductProperties": { "base": null, "refs": { - "UpdateProvisionedProductPropertiesInput$ProvisionedProductProperties": "

A map that contains the provisioned product properties to be updated.

The LAUNCH_ROLE key accepts role ARNs. This key allows an administrator to call UpdateProvisionedProductProperties to update the launch role that is associated with a provisioned product. This role is used when an end user calls a provisioning operation such as UpdateProvisionedProduct, TerminateProvisionedProduct, or ExecuteProvisionedProductServiceAction. Only a role ARN or an empty string \"\" is valid. A user ARN is invalid. if an admin user passes an empty string \"\" as the value for the key LAUNCH_ROLE, the admin removes the launch role that is associated with the provisioned product. As a result, the end user operations use the credentials of the end user.

The OWNER key accepts user ARNs and role ARNs. The owner is the user that has permission to see, update, terminate, and execute service actions in the provisioned product.

The administrator can change the owner of a provisioned product to another IAM user within the same account. Both end user owners and administrators can see ownership history of the provisioned product using the ListRecordHistory API. The new owner can describe all past records for the provisioned product using the DescribeRecord API. The previous owner can no longer use DescribeRecord, but can still see the product's history from when he was an owner using ListRecordHistory.

If a provisioned product ownership is assigned to an end user, they can see and perform any action through the API or Service Catalog console such as update, terminate, and execute service actions. If an end user provisions a product and the owner is updated to someone else, they will no longer be able to see or perform any actions through API or the Service Catalog console on that provisioned product.

", + "UpdateProvisionedProductPropertiesInput$ProvisionedProductProperties": "

A map that contains the provisioned product properties to be updated.

The LAUNCH_ROLE key accepts role ARNs. This key allows an administrator to call UpdateProvisionedProductProperties to update the launch role that is associated with a provisioned product. This role is used when an end user calls a provisioning operation such as UpdateProvisionedProduct, TerminateProvisionedProduct, or ExecuteProvisionedProductServiceAction. Only a role ARN is valid. A user ARN is invalid.

The OWNER key accepts user ARNs and role ARNs. The owner is the user that has permission to see, update, terminate, and execute service actions in the provisioned product.

The administrator can change the owner of a provisioned product to another IAM user within the same account. Both end user owners and administrators can see ownership history of the provisioned product using the ListRecordHistory API. The new owner can describe all past records for the provisioned product using the DescribeRecord API. The previous owner can no longer use DescribeRecord, but can still see the product's history from when he was an owner using ListRecordHistory.

If a provisioned product ownership is assigned to an end user, they can see and perform any action through the API or Service Catalog console such as update, terminate, and execute service actions. If an end user provisions a product and the owner is updated to someone else, they will no longer be able to see or perform any actions through API or the Service Catalog console on that provisioned product.

", "UpdateProvisionedProductPropertiesOutput$ProvisionedProductProperties": "

A map that contains the properties updated.

" } }, @@ -2095,7 +2112,7 @@ "ProvisioningArtifactDetail": { "base": "

Information about a provisioning artifact (also known as a version) for a product.

", "refs": { - "CreateProductOutput$ProvisioningArtifactDetail": "

Information about the provisioning artifact.

", + "CreateProductOutput$ProvisioningArtifactDetail": "

Information about the provisioning artifact.

", "CreateProvisioningArtifactOutput$ProvisioningArtifactDetail": "

Information about the provisioning artifact.

", "DescribeProvisioningArtifactOutput$ProvisioningArtifactDetail": "

Information about the provisioning artifact.

", "ProvisioningArtifactDetails$member": null, @@ -2193,8 +2210,8 @@ "ProvisioningArtifactProperties": { "base": "

Information about a provisioning artifact (also known as a version) for a product.

", "refs": { - "CreateProductInput$ProvisioningArtifactParameters": "

The configuration of the provisioning artifact.

", - "CreateProvisioningArtifactInput$Parameters": "

The configuration for the provisioning artifact.

" + "CreateProductInput$ProvisioningArtifactParameters": "

The configuration of the provisioning artifact. The info field accepts ImportFromPhysicalID.

", + "CreateProvisioningArtifactInput$Parameters": "

The configuration for the provisioning artifact. The info field accepts ImportFromPhysicalID.

" } }, "ProvisioningArtifactPropertyName": { @@ -2271,6 +2288,7 @@ "DescribeRecordOutput$RecordDetail": "

Information about the product.

", "ExecuteProvisionedProductPlanOutput$RecordDetail": "

Information about the result of provisioning the product.

", "ExecuteProvisionedProductServiceActionOutput$RecordDetail": "

An object containing detailed information about the result of provisioning the product.

", + "ImportAsProvisionedProductOutput$RecordDetail": null, "ProvisionProductOutput$RecordDetail": "

Information about the result of provisioning the product.

", "RecordDetails$member": null, "TerminateProvisionedProductOutput$RecordDetail": "

Information about the result of this request.

", @@ -2483,6 +2501,12 @@ "ListResourcesForTagOptionInput$ResourceType": "

The resource type.

" } }, + "RetainPhysicalResources": { + "base": null, + "refs": { + "TerminateProvisionedProductInput$RetainPhysicalResources": "

When this boolean parameter is set to true, the TerminateProvisionedProduct API deletes the Service Catalog provisioned product. However, it does not remove the CloudFormation stack, stack set, or the underlying resources of the deleted provisioned product. The default value is false.

" + } + }, "RoleArn": { "base": null, "refs": { diff --git a/models/apis/sns/2010-03-31/docs-2.json b/models/apis/sns/2010-03-31/docs-2.json index 40a14bbb52e..879a6d70e3f 100644 --- a/models/apis/sns/2010-03-31/docs-2.json +++ b/models/apis/sns/2010-03-31/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "Amazon Simple Notification Service

Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery protocols. For more information about this product see https://aws.amazon.com/sns. For detailed information about Amazon SNS features and their associated API calls, see the Amazon SNS Developer Guide.

We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to Tools for Amazon Web Services.

", + "service": "Amazon Simple Notification Service

Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery protocols. For more information about this product see https://aws.amazon.com/sns. For detailed information about Amazon SNS features and their associated API calls, see the Amazon SNS Developer Guide.

For information on the permissions you need to use this API, see Identity and access management in Amazon SNS in the Amazon SNS Developer Guide.

We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to Tools for Amazon Web Services.

", "operations": { "AddPermission": "

Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.

", "CheckIfPhoneNumberIsOptedOut": "

Accepts a phone number and indicates whether the phone holder has opted out of receiving SMS messages from your account. You cannot send SMS messages to a number that is opted out.

To resume sending messages, you can opt in the number by using the OptInPhoneNumber action.

", @@ -31,7 +31,7 @@ "SetSMSAttributes": "

Use this request to set the default settings for sending SMS messages and receiving daily SMS usage reports.

You can override some of these settings for a single message when you use the Publish action with the MessageAttributes.entry.N parameter. For more information, see Publishing to a mobile phone in the Amazon SNS Developer Guide.

", "SetSubscriptionAttributes": "

Allows a subscription owner to set an attribute of the subscription to a new value.

", "SetTopicAttributes": "

Allows a topic owner to set an attribute of the topic to a new value.

", - "Subscribe": "

Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same AWS account, the endpoint owner must the ConfirmSubscription action to confirm the subscription.

You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for three days.

This action is throttled at 100 transactions per second (TPS).

", + "Subscribe": "

Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S or email, or if the endpoint and the topic are not in the same AWS account, the endpoint owner must run the ConfirmSubscription action to confirm the subscription.

You call the ConfirmSubscription action with the token from the subscription response. Confirmation tokens are valid for three days.

This action is throttled at 100 transactions per second (TPS).

", "TagResource": "

Add tags to the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide.

When you use topic tags, keep the following guidelines in mind:

", "Unsubscribe": "

Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an AWS signature is required. If the Unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the Unsubscribe request was unintended.

This action is throttled at 100 transactions per second (TPS).

", "UntagResource": "

Remove tags from the specified Amazon SNS topic. For an overview, see Amazon SNS Tags in the Amazon SNS Developer Guide.

" @@ -652,7 +652,7 @@ "attributeName": { "base": null, "refs": { - "SetSubscriptionAttributesInput$AttributeName": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

", + "SetSubscriptionAttributesInput$AttributeName": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that this action uses:

", "SetTopicAttributesInput$AttributeName": "

A map of attributes with their corresponding values.

The following lists the names, descriptions, and values of the special request parameters that the SetTopicAttributes action uses:

The following attribute applies only to server-side-encryption:

The following attribute applies only to FIFO topics:

", "SubscriptionAttributesMap$key": null, "TopicAttributesMap$key": null diff --git a/models/apis/synthetics/2017-10-11/api-2.json b/models/apis/synthetics/2017-10-11/api-2.json index d285fc3d533..66d16d3089b 100644 --- a/models/apis/synthetics/2017-10-11/api-2.json +++ b/models/apis/synthetics/2017-10-11/api-2.json @@ -281,7 +281,8 @@ "members":{ "TimeoutInSeconds":{"shape":"MaxFifteenMinutesInSeconds"}, "MemoryInMB":{"shape":"MaxSize3008"}, - "ActiveTracing":{"shape":"NullableBoolean"} + "ActiveTracing":{"shape":"NullableBoolean"}, + "EnvironmentVariables":{"shape":"EnvironmentVariablesMap"} } }, "CanaryRunConfigOutput":{ @@ -472,6 +473,16 @@ "NextToken":{"shape":"Token"} } }, + "EnvironmentVariableName":{ + "type":"string", + "pattern":"[a-zA-Z]([a-zA-Z0-9_])+" + }, + "EnvironmentVariableValue":{"type":"string"}, + "EnvironmentVariablesMap":{ + "type":"map", + "key":{"shape":"EnvironmentVariableName"}, + "value":{"shape":"EnvironmentVariableValue"} + }, "ErrorMessage":{"type":"string"}, "FunctionArn":{ "type":"string", diff --git a/models/apis/synthetics/2017-10-11/docs-2.json b/models/apis/synthetics/2017-10-11/docs-2.json index 601617d6c86..62de3d992c4 100644 --- a/models/apis/synthetics/2017-10-11/docs-2.json +++ b/models/apis/synthetics/2017-10-11/docs-2.json @@ -227,6 +227,24 @@ "refs": { } }, + "EnvironmentVariableName": { + "base": null, + "refs": { + "EnvironmentVariablesMap$key": null + } + }, + "EnvironmentVariableValue": { + "base": null, + "refs": { + "EnvironmentVariablesMap$value": null + } + }, + "EnvironmentVariablesMap": { + "base": null, + "refs": { + "CanaryRunConfigInput$EnvironmentVariables": "

Specifies the keys and values to use for any environment variables used in the canary script. Use the following format:

{ \"key1\" : \"value1\", \"key2\" : \"value2\", ...}

Keys must start with a letter and be at least two characters. The total size of your environment variables cannot exceed 4 KB. You can't specify any Lambda reserved environment variables as the keys for your environment variables. For more information about reserved keys, see Runtime environment variables.

" + } + }, "ErrorMessage": { "base": null, "refs": { @@ -392,7 +410,7 @@ "base": null, "refs": { "Canary$ArtifactS3Location": "

The location in Amazon S3 where Synthetics stores artifacts from the runs of this canary. Artifacts include the log file, screenshots, and HAR files.

", - "Canary$RuntimeVersion": "

Specifies the runtime version to use for the canary. Currently, the only valid values are syn-nodejs-2.0, syn-nodejs-2.0-beta, and syn-1.0. For more information about runtime versions, see Canary Runtime Versions.

", + "Canary$RuntimeVersion": "

Specifies the runtime version to use for the canary. For more information about runtime versions, see Canary Runtime Versions.

", "CanaryCodeInput$S3Bucket": "

If your canary script is located in S3, specify the full bucket name here. The bucket must already exist. Specify the full bucket name, including s3:// as the start of the bucket name.

", "CanaryCodeInput$S3Key": "

The S3 key of your script. For more information, see Working with Amazon S3 Objects.

", "CanaryCodeInput$S3Version": "

The S3 version ID of your script.

", @@ -405,10 +423,10 @@ "CanaryScheduleOutput$Expression": "

A rate expression that defines how often the canary is to run. The syntax is rate(number unit). unit can be minute, minutes, or hour.

For example, rate(1 minute) runs the canary once a minute, rate(10 minutes) runs it once every 10 minutes, and rate(1 hour) runs it once every hour.

Specifying rate(0 minute) or rate(0 hour) is a special value that causes the canary to run only once when it is started.

", "CanaryStatus$StateReason": "

If the canary has insufficient permissions to run, this field provides more details.

", "CreateCanaryRequest$ArtifactS3Location": "

The location in Amazon S3 where Synthetics stores artifacts from the test runs of this canary. Artifacts include the log file, screenshots, and HAR files.

", - "CreateCanaryRequest$RuntimeVersion": "

Specifies the runtime version to use for the canary. Currently, the only valid values are syn-nodejs-2.0, syn-nodejs-2.0-beta, and syn-1.0. For more information about runtime versions, see Canary Runtime Versions.

", - "RuntimeVersion$VersionName": "

The name of the runtime version. Currently, the only valid values are syn-nodejs-2.0, syn-nodejs-2.0-beta, and syn-1.0.

", + "CreateCanaryRequest$RuntimeVersion": "

Specifies the runtime version to use for the canary. For a list of valid runtime versions and more information about runtime versions, see Canary Runtime Versions.

", + "RuntimeVersion$VersionName": "

The name of the runtime version. For a list of valid runtime versions, see Canary Runtime Versions.

", "RuntimeVersion$Description": "

A description of the runtime version, created by Amazon.

", - "UpdateCanaryRequest$RuntimeVersion": "

Specifies the runtime version to use for the canary. Currently, the only valid values are syn-nodejs-2.0, syn-nodejs-2.0-beta, and syn-1.0. For more information about runtime versions, see Canary Runtime Versions.

" + "UpdateCanaryRequest$RuntimeVersion": "

Specifies the runtime version to use for the canary. For a list of valid runtime versions and for more information about runtime versions, see Canary Runtime Versions.

" } }, "SubnetId": { diff --git a/service/codepipeline/api.go b/service/codepipeline/api.go index 9d13004e466..2abbf7265c4 100644 --- a/service/codepipeline/api.go +++ b/service/codepipeline/api.go @@ -3186,6 +3186,10 @@ func (c *CodePipeline) RetryStageExecutionRequest(input *RetryStageExecutionInpu // * ValidationException // The validation was specified in an invalid format. // +// * ConflictException +// Your request cannot be handled because the pipeline is busy handling ongoing +// activities. Try again later. +// // * PipelineNotFoundException // The pipeline was specified in an invalid format or cannot be found. // @@ -3280,6 +3284,10 @@ func (c *CodePipeline) StartPipelineExecutionRequest(input *StartPipelineExecuti // * ValidationException // The validation was specified in an invalid format. // +// * ConflictException +// Your request cannot be handled because the pipeline is busy handling ongoing +// activities. Try again later. +// // * PipelineNotFoundException // The pipeline was specified in an invalid format or cannot be found. // @@ -3367,6 +3375,10 @@ func (c *CodePipeline) StopPipelineExecutionRequest(input *StopPipelineExecution // * ValidationException // The validation was specified in an invalid format. // +// * ConflictException +// Your request cannot be handled because the pipeline is busy handling ongoing +// activities. Try again later. +// // * PipelineNotFoundException // The pipeline was specified in an invalid format or cannot be found. // @@ -4285,6 +4297,13 @@ func (s *ActionDeclaration) SetRunOrder(v int64) *ActionDeclaration { type ActionExecution struct { _ struct{} `type:"structure"` + // ID of the workflow action execution in the current stage. Use the GetPipelineState + // action to retrieve the current action execution details of the current stage. + // + // For older executions, this field might be empty. The action execution ID + // is available for executions run on or after March 2020. + ActionExecutionId *string `locationName:"actionExecutionId" type:"string"` + // The details of an error returned by a URL external to AWS. ErrorDetails *ErrorDetails `locationName:"errorDetails" type:"structure"` @@ -4328,6 +4347,12 @@ func (s ActionExecution) GoString() string { return s.String() } +// SetActionExecutionId sets the ActionExecutionId field's value. +func (s *ActionExecution) SetActionExecutionId(v string) *ActionExecution { + s.ActionExecutionId = &v + return s +} + // SetErrorDetails sets the ErrorDetails field's value. func (s *ActionExecution) SetErrorDetails(v *ErrorDetails) *ActionExecution { s.ErrorDetails = v @@ -4950,10 +4975,25 @@ type ActionTypeId struct { // the provider type for the action. Valid categories are limited to one of // the following values. // + // * Source + // + // * Build + // + // * Test + // + // * Deploy + // + // * Invoke + // + // * Approval + // // Category is a required field Category *string `locationName:"category" type:"string" required:"true" enum:"ActionCategory"` - // The creator of the action being called. + // The creator of the action being called. There are three valid values for + // the Owner field in the action category section within your pipeline structure: + // AWS, ThirdParty, and Custom. For more information, see Valid Action Types + // and Providers in CodePipeline (https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#actions-valid-providers). // // Owner is a required field Owner *string `locationName:"owner" type:"string" required:"true" enum:"ActionOwner"` @@ -5715,15 +5755,69 @@ func (s *ConcurrentModificationException) RequestID() string { return s.RespMetadata.RequestID } +// Your request cannot be handled because the pipeline is busy handling ongoing +// activities. Try again later. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" min:"1" type:"string"` +} + +// String returns the string representation +func (s ConflictException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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 +} + // Represents the input of a CreateCustomActionType operation. type CreateCustomActionTypeInput struct { _ struct{} `type:"structure"` // The category of the custom action, such as a build action or a test action. // - // Although Source and Approval are listed as valid values, they are not currently - // functional. These values are reserved for future use. - // // Category is a required field Category *string `locationName:"category" type:"string" required:"true" enum:"ActionCategory"` @@ -9332,7 +9426,7 @@ type PipelineDeclaration struct { // you must use artifactStores. ArtifactStores map[string]*ArtifactStore `locationName:"artifactStores" type:"map"` - // The name of the action to be performed. + // The name of the pipeline. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` @@ -11545,6 +11639,9 @@ type StageState struct { // The state of the stage. ActionStates []*ActionState `locationName:"actionStates" type:"list"` + // Represents information about the run of a stage. + InboundExecution *StageExecution `locationName:"inboundExecution" type:"structure"` + // The state of the inbound transition, which is either enabled or disabled. InboundTransitionState *TransitionState `locationName:"inboundTransitionState" type:"structure"` @@ -11572,6 +11669,12 @@ func (s *StageState) SetActionStates(v []*ActionState) *StageState { return s } +// SetInboundExecution sets the InboundExecution field's value. +func (s *StageState) SetInboundExecution(v *StageExecution) *StageState { + s.InboundExecution = v + return s +} + // SetInboundTransitionState sets the InboundTransitionState field's value. func (s *StageState) SetInboundTransitionState(v *TransitionState) *StageState { s.InboundTransitionState = v diff --git a/service/codepipeline/errors.go b/service/codepipeline/errors.go index bae10b65317..89f833e90c0 100644 --- a/service/codepipeline/errors.go +++ b/service/codepipeline/errors.go @@ -32,6 +32,13 @@ const ( // Unable to modify the tag due to a simultaneous update request. ErrCodeConcurrentModificationException = "ConcurrentModificationException" + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // Your request cannot be handled because the pipeline is busy handling ongoing + // activities. Try again later. + ErrCodeConflictException = "ConflictException" + // ErrCodeDuplicatedStopRequestException for service response error code // "DuplicatedStopRequestException". // @@ -228,6 +235,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ActionTypeNotFoundException": newErrorActionTypeNotFoundException, "ApprovalAlreadyCompletedException": newErrorApprovalAlreadyCompletedException, "ConcurrentModificationException": newErrorConcurrentModificationException, + "ConflictException": newErrorConflictException, "DuplicatedStopRequestException": newErrorDuplicatedStopRequestException, "InvalidActionDeclarationException": newErrorInvalidActionDeclarationException, "InvalidApprovalTokenException": newErrorInvalidApprovalTokenException, diff --git a/service/databasemigrationservice/api.go b/service/databasemigrationservice/api.go index 0ee07cc7784..fb25afbba0f 100644 --- a/service/databasemigrationservice/api.go +++ b/service/databasemigrationservice/api.go @@ -343,6 +343,9 @@ func (c *DatabaseMigrationService) CreateEndpointRequest(input *CreateEndpointIn // AWS DMS was denied access to the endpoint. Check that the role is correctly // configured. // +// * S3AccessDeniedFault +// Insufficient privileges are preventing access to an Amazon S3 object. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint func (c *DatabaseMigrationService) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) { req, out := c.CreateEndpointRequest(input) @@ -4899,6 +4902,96 @@ func (c *DatabaseMigrationService) ModifyReplicationTaskWithContext(ctx aws.Cont return out, req.Send() } +const opMoveReplicationTask = "MoveReplicationTask" + +// MoveReplicationTaskRequest generates a "aws/request.Request" representing the +// client's request for the MoveReplicationTask 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 MoveReplicationTask for more information on using the MoveReplicationTask +// 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 MoveReplicationTaskRequest method. +// req, resp := client.MoveReplicationTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MoveReplicationTask +func (c *DatabaseMigrationService) MoveReplicationTaskRequest(input *MoveReplicationTaskInput) (req *request.Request, output *MoveReplicationTaskOutput) { + op := &request.Operation{ + Name: opMoveReplicationTask, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &MoveReplicationTaskInput{} + } + + output = &MoveReplicationTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// MoveReplicationTask API operation for AWS Database Migration Service. +// +// Moves a replication task from its current replication instance to a different +// target replication instance using the specified parameters. The target replication +// instance must be created with the same or later AWS DMS version as the current +// replication instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Database Migration Service's +// API operation MoveReplicationTask for usage and error information. +// +// Returned Error Types: +// * AccessDeniedFault +// AWS DMS was denied access to the endpoint. Check that the role is correctly +// configured. +// +// * InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. +// +// * ResourceNotFoundFault +// The resource could not be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MoveReplicationTask +func (c *DatabaseMigrationService) MoveReplicationTask(input *MoveReplicationTaskInput) (*MoveReplicationTaskOutput, error) { + req, out := c.MoveReplicationTaskRequest(input) + return out, req.Send() +} + +// MoveReplicationTaskWithContext is the same as MoveReplicationTask with the addition of +// the ability to pass a context and additional request options. +// +// See MoveReplicationTask 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 *DatabaseMigrationService) MoveReplicationTaskWithContext(ctx aws.Context, input *MoveReplicationTaskInput, opts ...request.Option) (*MoveReplicationTaskOutput, error) { + req, out := c.MoveReplicationTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRebootReplicationInstance = "RebootReplicationInstance" // RebootReplicationInstanceRequest generates a "aws/request.Request" representing the @@ -13344,6 +13437,81 @@ func (s *MongoDbSettings) SetUsername(v string) *MongoDbSettings { return s } +type MoveReplicationTaskInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the task that you want to move. + // + // ReplicationTaskArn is a required field + ReplicationTaskArn *string `type:"string" required:"true"` + + // The ARN of the replication instance where you want to move the task to. + // + // TargetReplicationInstanceArn is a required field + TargetReplicationInstanceArn *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s MoveReplicationTaskInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MoveReplicationTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MoveReplicationTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MoveReplicationTaskInput"} + if s.ReplicationTaskArn == nil { + invalidParams.Add(request.NewErrParamRequired("ReplicationTaskArn")) + } + if s.TargetReplicationInstanceArn == nil { + invalidParams.Add(request.NewErrParamRequired("TargetReplicationInstanceArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetReplicationTaskArn sets the ReplicationTaskArn field's value. +func (s *MoveReplicationTaskInput) SetReplicationTaskArn(v string) *MoveReplicationTaskInput { + s.ReplicationTaskArn = &v + return s +} + +// SetTargetReplicationInstanceArn sets the TargetReplicationInstanceArn field's value. +func (s *MoveReplicationTaskInput) SetTargetReplicationInstanceArn(v string) *MoveReplicationTaskInput { + s.TargetReplicationInstanceArn = &v + return s +} + +type MoveReplicationTaskOutput struct { + _ struct{} `type:"structure"` + + // The replication task that was moved. + ReplicationTask *ReplicationTask `type:"structure"` +} + +// String returns the string representation +func (s MoveReplicationTaskOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MoveReplicationTaskOutput) GoString() string { + return s.String() +} + +// SetReplicationTask sets the ReplicationTask field's value. +func (s *MoveReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *MoveReplicationTaskOutput { + s.ReplicationTask = v + return s +} + // Provides information that defines a MySQL endpoint. type MySQLSettings struct { _ struct{} `type:"structure"` @@ -15573,7 +15741,7 @@ type ReplicationTask struct { // to start a CDC operation that begins at that checkpoint. RecoveryCheckpoint *string `type:"string"` - // The Amazon Resource Name (ARN) of the replication instance. + // The ARN of the replication instance. ReplicationInstanceArn *string `type:"string"` // The Amazon Resource Name (ARN) of the replication task. @@ -15603,10 +15771,70 @@ type ReplicationTask struct { // errors. ReplicationTaskStats *ReplicationTaskStats `type:"structure"` - // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. + // The Amazon Resource Name (ARN) that uniquely identifies the endpoint. SourceEndpointArn *string `type:"string"` - // The status of the replication task. + // The status of the replication task. This response parameter can return one + // of the following values: + // + // * "moving" – The task is being moved in response to running the MoveReplicationTask + // (https://docs.aws.amazon.com/dms/latest/APIReference/API_MoveReplicationTask.html) + // operation. + // + // * "creating" – The task is being created in response to running the + // CreateReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateReplicationTask.html) + // operation. + // + // * "deleting" – The task is being deleted in response to running the + // DeleteReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_DeleteReplicationTask.html) + // operation. + // + // * "failed" – The task failed to successfully complete the database migration + // in response to running the StartReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTask.html) + // operation. + // + // * "failed-move" – The task failed to move in response to running the + // MoveReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_MoveReplicationTask.html) + // operation. + // + // * "modifying" – The task definition is being modified in response to + // running the ModifyReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_ModifyReplicationTask.html) + // operation. + // + // * "ready" – The task is in a ready state where it can respond to other + // task operations, such as StartReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTask.html) + // or DeleteReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_DeleteReplicationTask.html). + // + // * "running" – The task is performing a database migration in response + // to running the StartReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTask.html) + // operation. + // + // * "starting" – The task is preparing to perform a database migration + // in response to running the StartReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTask.html) + // operation. + // + // * "stopped" – The task has stopped in response to running the StopReplicationTask + // (https://docs.aws.amazon.com/dms/latest/APIReference/API_StopReplicationTask.html) + // operation. + // + // * "stopping" – The task is preparing to stop in response to running + // the StopReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_StopReplicationTask.html) + // operation. + // + // * "testing" – The database migration specified for this task is being + // tested in response to running either the StartReplicationTaskAssessmentRun + // (https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTaskAssessmentRun.html) + // or the StartReplicationTaskAssessment (https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTaskAssessment.html) + // operation. StartReplicationTaskAssessmentRun (https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTaskAssessmentRun.html) + // is an improved premigration task assessment operation. The StartReplicationTaskAssessment + // (https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTaskAssessment.html) + // operation assesses data type compatibility only between the source and + // target database of a given migration task. In contrast, StartReplicationTaskAssessmentRun + // (https://docs.aws.amazon.com/dms/latest/APIReference/API_StartReplicationTaskAssessmentRun.html) + // enables you to specify a variety of premigration task assessments in addition + // to data type compatibility. These assessments include ones for the validity + // of primary key definitions and likely issues with database migration performance, + // among others. Status *string `type:"string"` // The reason the replication task was stopped. This response parameter can @@ -15618,7 +15846,7 @@ type ReplicationTask struct { // completed. // // * "STOP_REASON_CACHED_CHANGES_NOT_APPLIED" – In a full-load and CDC - // migration, the full-load stopped as specified before starting the CDC + // migration, the full load stopped as specified before starting the CDC // migration. // // * "STOP_REASON_SERVER_TIME" – The migration stopped at the specified @@ -15628,9 +15856,15 @@ type ReplicationTask struct { // Table mappings specified in the task. TableMappings *string `type:"string"` - // The Amazon Resource Name (ARN) string that uniquely identifies the endpoint. + // The ARN that uniquely identifies the endpoint. TargetEndpointArn *string `type:"string"` + // The ARN of the replication instance to which this task is moved in response + // to running the MoveReplicationTask (https://docs.aws.amazon.com/dms/latest/APIReference/API_MoveReplicationTask.html) + // operation. Otherwise, this response parameter isn't a member of the ReplicationTask + // object. + TargetReplicationInstanceArn *string `type:"string"` + // 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 (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html) @@ -15750,6 +15984,12 @@ func (s *ReplicationTask) SetTargetEndpointArn(v string) *ReplicationTask { return s } +// SetTargetReplicationInstanceArn sets the TargetReplicationInstanceArn field's value. +func (s *ReplicationTask) SetTargetReplicationInstanceArn(v string) *ReplicationTask { + s.TargetReplicationInstanceArn = &v + return s +} + // SetTaskData sets the TaskData field's value. func (s *ReplicationTask) SetTaskData(v string) *ReplicationTask { s.TaskData = &v diff --git a/service/databasemigrationservice/databasemigrationserviceiface/interface.go b/service/databasemigrationservice/databasemigrationserviceiface/interface.go index 0fbe21351d7..27103cb6b2f 100644 --- a/service/databasemigrationservice/databasemigrationserviceiface/interface.go +++ b/service/databasemigrationservice/databasemigrationserviceiface/interface.go @@ -290,6 +290,10 @@ type DatabaseMigrationServiceAPI interface { ModifyReplicationTaskWithContext(aws.Context, *databasemigrationservice.ModifyReplicationTaskInput, ...request.Option) (*databasemigrationservice.ModifyReplicationTaskOutput, error) ModifyReplicationTaskRequest(*databasemigrationservice.ModifyReplicationTaskInput) (*request.Request, *databasemigrationservice.ModifyReplicationTaskOutput) + MoveReplicationTask(*databasemigrationservice.MoveReplicationTaskInput) (*databasemigrationservice.MoveReplicationTaskOutput, error) + MoveReplicationTaskWithContext(aws.Context, *databasemigrationservice.MoveReplicationTaskInput, ...request.Option) (*databasemigrationservice.MoveReplicationTaskOutput, error) + MoveReplicationTaskRequest(*databasemigrationservice.MoveReplicationTaskInput) (*request.Request, *databasemigrationservice.MoveReplicationTaskOutput) + RebootReplicationInstance(*databasemigrationservice.RebootReplicationInstanceInput) (*databasemigrationservice.RebootReplicationInstanceOutput, error) RebootReplicationInstanceWithContext(aws.Context, *databasemigrationservice.RebootReplicationInstanceInput, ...request.Option) (*databasemigrationservice.RebootReplicationInstanceOutput, error) RebootReplicationInstanceRequest(*databasemigrationservice.RebootReplicationInstanceInput) (*request.Request, *databasemigrationservice.RebootReplicationInstanceOutput) diff --git a/service/databasemigrationservice/examples_test.go b/service/databasemigrationservice/examples_test.go index fc81ee00d49..6202e9a45f3 100644 --- a/service/databasemigrationservice/examples_test.go +++ b/service/databasemigrationservice/examples_test.go @@ -105,6 +105,8 @@ func ExampleDatabaseMigrationService_CreateEndpoint_shared00() { fmt.Println(databasemigrationservice.ErrCodeResourceNotFoundFault, aerr.Error()) case databasemigrationservice.ErrCodeAccessDeniedFault: fmt.Println(databasemigrationservice.ErrCodeAccessDeniedFault, aerr.Error()) + case databasemigrationservice.ErrCodeS3AccessDeniedFault: + fmt.Println(databasemigrationservice.ErrCodeS3AccessDeniedFault, aerr.Error()) default: fmt.Println(aerr.Error()) } diff --git a/service/iotsecuretunneling/api.go b/service/iotsecuretunneling/api.go index c36d96c6007..847bd0dffc2 100644 --- a/service/iotsecuretunneling/api.go +++ b/service/iotsecuretunneling/api.go @@ -431,7 +431,7 @@ func (c *IoTSecureTunneling) OpenTunnelRequest(input *OpenTunnelInput) (req *req // OpenTunnel API operation for AWS IoT Secure Tunneling. // // Creates a new tunnel, and returns two client access tokens for clients to -// use to connect to the AWS IoT Secure Tunneling proxy server. . +// use to connect to the AWS IoT Secure Tunneling proxy 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 @@ -785,19 +785,17 @@ func (s *DescribeTunnelOutput) SetTunnel(v *Tunnel) *DescribeTunnelOutput { type DestinationConfig struct { _ struct{} `type:"structure"` - // A list of service names that identity the target application. Currently, - // you can only specify a single name. The AWS IoT client running on the destination - // device reads this value and uses it to look up a port or an IP address and - // a port. The AWS IoT client instantiates the local proxy which uses this information - // to connect to the destination application. + // A list of service names that identity the target application. The AWS IoT + // client running on the destination device reads this value and uses it to + // look up a port or an IP address and a port. The AWS IoT client instantiates + // the local proxy which uses this information to connect to the destination + // application. // // Services is a required field Services []*string `locationName:"services" min:"1" type:"list" required:"true"` // The name of the IoT thing to which you want to connect. - // - // ThingName is a required field - ThingName *string `locationName:"thingName" min:"1" type:"string" required:"true"` + ThingName *string `locationName:"thingName" min:"1" type:"string"` } // String returns the string representation @@ -819,9 +817,6 @@ func (s *DestinationConfig) Validate() error { if s.Services != nil && len(s.Services) < 1 { invalidParams.Add(request.NewErrParamMinLen("Services", 1)) } - if s.ThingName == nil { - invalidParams.Add(request.NewErrParamRequired("ThingName")) - } if s.ThingName != nil && len(*s.ThingName) < 1 { invalidParams.Add(request.NewErrParamMinLen("ThingName", 1)) } diff --git a/service/iotsecuretunneling/doc.go b/service/iotsecuretunneling/doc.go index 88a2028506f..2cbef8440fd 100644 --- a/service/iotsecuretunneling/doc.go +++ b/service/iotsecuretunneling/doc.go @@ -6,8 +6,8 @@ // AWS IoT Secure Tunnling enables you to create remote connections to devices // deployed in the field. // -// For more information about how AWS IoT Secure Tunneling works, see the User -// Guide (https://docs.aws.amazon.com/secure-tunneling/latest/ug/what-is-secure-tunneling.html). +// For more information about how AWS IoT Secure Tunneling works, see AWS IoT +// Secure Tunneling (https://docs.aws.amazon.com/iot/latest/developerguide/secure-tunneling.html). // // See https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05 for more information on this service. // diff --git a/service/iotsitewise/api.go b/service/iotsitewise/api.go index 7d6dc7c6f53..a6500d4c8cb 100644 --- a/service/iotsitewise/api.go +++ b/service/iotsitewise/api.go @@ -1120,6 +1120,103 @@ func (c *IoTSiteWise) CreatePortalWithContext(ctx aws.Context, input *CreatePort return out, req.Send() } +const opCreatePresignedPortalUrl = "CreatePresignedPortalUrl" + +// CreatePresignedPortalUrlRequest generates a "aws/request.Request" representing the +// client's request for the CreatePresignedPortalUrl 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 CreatePresignedPortalUrl for more information on using the CreatePresignedPortalUrl +// 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 CreatePresignedPortalUrlRequest method. +// req, resp := client.CreatePresignedPortalUrlRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreatePresignedPortalUrl +func (c *IoTSiteWise) CreatePresignedPortalUrlRequest(input *CreatePresignedPortalUrlInput) (req *request.Request, output *CreatePresignedPortalUrlOutput) { + op := &request.Operation{ + Name: opCreatePresignedPortalUrl, + HTTPMethod: "GET", + HTTPPath: "/portals/{portalId}/presigned-url", + } + + if input == nil { + input = &CreatePresignedPortalUrlInput{} + } + + output = &CreatePresignedPortalUrlOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Build.PushBackNamed(protocol.NewHostPrefixHandler("monitor.", nil)) + req.Handlers.Build.PushBackNamed(protocol.ValidateEndpointHostHandler) + return +} + +// CreatePresignedPortalUrl API operation for AWS IoT SiteWise. +// +// Creates a pre-signed URL to a portal. Use this operation to create URLs to +// portals that use AWS Identity and Access Management (IAM) to authenticate +// users. An IAM user with access to a portal can call this API to get a URL +// to that portal. The URL contains a session token that lets the IAM user access +// the portal. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS IoT SiteWise's +// API operation CreatePresignedPortalUrl for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// * InternalFailureException +// AWS IoT SiteWise can't process your request right now. Try again later. +// +// * ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of AWS IoT SiteWise assets that can be created per second, the +// allowed number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the AWS IoT SiteWise User Guide. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreatePresignedPortalUrl +func (c *IoTSiteWise) CreatePresignedPortalUrl(input *CreatePresignedPortalUrlInput) (*CreatePresignedPortalUrlOutput, error) { + req, out := c.CreatePresignedPortalUrlRequest(input) + return out, req.Send() +} + +// CreatePresignedPortalUrlWithContext is the same as CreatePresignedPortalUrl with the addition of +// the ability to pass a context and additional request options. +// +// See CreatePresignedPortalUrl 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 *IoTSiteWise) CreatePresignedPortalUrlWithContext(ctx aws.Context, input *CreatePresignedPortalUrlInput, opts ...request.Option) (*CreatePresignedPortalUrlOutput, error) { + req, out := c.CreatePresignedPortalUrlRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateProject = "CreateProject" // CreateProjectRequest generates a "aws/request.Request" representing the @@ -8844,6 +8941,89 @@ func (s *CreatePortalOutput) SetSsoApplicationId(v string) *CreatePortalOutput { return s } +type CreatePresignedPortalUrlInput struct { + _ struct{} `type:"structure"` + + // The ID of the portal to access. + // + // PortalId is a required field + PortalId *string `location:"uri" locationName:"portalId" min:"36" type:"string" required:"true"` + + // The duration (in seconds) for which the session at the URL is valid. + // + // Default: 900 seconds (15 minutes) + SessionDurationSeconds *int64 `location:"querystring" locationName:"sessionDurationSeconds" min:"900" type:"integer"` +} + +// String returns the string representation +func (s CreatePresignedPortalUrlInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePresignedPortalUrlInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreatePresignedPortalUrlInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreatePresignedPortalUrlInput"} + if s.PortalId == nil { + invalidParams.Add(request.NewErrParamRequired("PortalId")) + } + if s.PortalId != nil && len(*s.PortalId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("PortalId", 36)) + } + if s.SessionDurationSeconds != nil && *s.SessionDurationSeconds < 900 { + invalidParams.Add(request.NewErrParamMinValue("SessionDurationSeconds", 900)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPortalId sets the PortalId field's value. +func (s *CreatePresignedPortalUrlInput) SetPortalId(v string) *CreatePresignedPortalUrlInput { + s.PortalId = &v + return s +} + +// SetSessionDurationSeconds sets the SessionDurationSeconds field's value. +func (s *CreatePresignedPortalUrlInput) SetSessionDurationSeconds(v int64) *CreatePresignedPortalUrlInput { + s.SessionDurationSeconds = &v + return s +} + +type CreatePresignedPortalUrlOutput struct { + _ struct{} `type:"structure"` + + // The pre-signed URL to the portal. The URL contains the portal ID and a session + // token that lets you access the portal. The URL has the following format. + // + // https://.app.iotsitewise.aws/auth?token= + // + // PresignedPortalUrl is a required field + PresignedPortalUrl *string `locationName:"presignedPortalUrl" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreatePresignedPortalUrlOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreatePresignedPortalUrlOutput) GoString() string { + return s.String() +} + +// SetPresignedPortalUrl sets the PresignedPortalUrl field's value. +func (s *CreatePresignedPortalUrlOutput) SetPresignedPortalUrl(v string) *CreatePresignedPortalUrlOutput { + s.PresignedPortalUrl = &v + return s +} + type CreateProjectInput struct { _ struct{} `type:"structure"` diff --git a/service/iotsitewise/iotsitewiseiface/interface.go b/service/iotsitewise/iotsitewiseiface/interface.go index c655bf4ba04..7266887c92c 100644 --- a/service/iotsitewise/iotsitewiseiface/interface.go +++ b/service/iotsitewise/iotsitewiseiface/interface.go @@ -100,6 +100,10 @@ type IoTSiteWiseAPI interface { CreatePortalWithContext(aws.Context, *iotsitewise.CreatePortalInput, ...request.Option) (*iotsitewise.CreatePortalOutput, error) CreatePortalRequest(*iotsitewise.CreatePortalInput) (*request.Request, *iotsitewise.CreatePortalOutput) + CreatePresignedPortalUrl(*iotsitewise.CreatePresignedPortalUrlInput) (*iotsitewise.CreatePresignedPortalUrlOutput, error) + CreatePresignedPortalUrlWithContext(aws.Context, *iotsitewise.CreatePresignedPortalUrlInput, ...request.Option) (*iotsitewise.CreatePresignedPortalUrlOutput, error) + CreatePresignedPortalUrlRequest(*iotsitewise.CreatePresignedPortalUrlInput) (*request.Request, *iotsitewise.CreatePresignedPortalUrlOutput) + CreateProject(*iotsitewise.CreateProjectInput) (*iotsitewise.CreateProjectOutput, error) CreateProjectWithContext(aws.Context, *iotsitewise.CreateProjectInput, ...request.Option) (*iotsitewise.CreateProjectOutput, error) CreateProjectRequest(*iotsitewise.CreateProjectInput) (*request.Request, *iotsitewise.CreateProjectOutput) diff --git a/service/quicksight/api.go b/service/quicksight/api.go index 286bf8d4b00..6daa1b83120 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -21321,6 +21321,15 @@ type GetDashboardEmbedUrlInput struct { // minutes. SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"` + // Adds persistence of state for the user session in an embedded dashboard. + // Persistence applies to the sheet and the parameter settings. These are control + // settings that the dashboard subscriber (QuickSight reader) chooses while + // viewing the dashboard. If this is set to TRUE, the settings are the same + // when the the subscriber reopens the same dashboard URL. The state is stored + // in QuickSight, not in a browser cookie. If this is set to FALSE, the state + // of the user session is not persisted. The default is FALSE. + StatePersistenceEnabled *bool `location:"querystring" locationName:"state-persistence-enabled" type:"boolean"` + // Remove the undo/redo button on the embedded dashboard. The default is FALSE, // which enables the undo/redo button. UndoRedoDisabled *bool `location:"querystring" locationName:"undo-redo-disabled" type:"boolean"` @@ -21409,6 +21418,12 @@ func (s *GetDashboardEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetDas return s } +// SetStatePersistenceEnabled sets the StatePersistenceEnabled field's value. +func (s *GetDashboardEmbedUrlInput) SetStatePersistenceEnabled(v bool) *GetDashboardEmbedUrlInput { + s.StatePersistenceEnabled = &v + return s +} + // SetUndoRedoDisabled sets the UndoRedoDisabled field's value. func (s *GetDashboardEmbedUrlInput) SetUndoRedoDisabled(v bool) *GetDashboardEmbedUrlInput { s.UndoRedoDisabled = &v @@ -25461,6 +25476,7 @@ func (s *NamespaceInfoV2) SetNamespaceError(v *NamespaceError) *NamespaceInfoV2 return s } +// Oracle parameters. type OracleParameters struct { _ struct{} `type:"structure"` diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 4254c93c049..9016cfba86b 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -392,8 +392,9 @@ func (c *SageMaker) CreateAppImageConfigRequest(input *CreateAppImageConfigInput // CreateAppImageConfig API operation for Amazon SageMaker Service. // -// Creates a configuration for running an Amazon SageMaker image as a KernelGateway -// app. +// Creates a configuration for running a SageMaker image as a KernelGateway +// app. The configuration specifies the Amazon Elastic File System (EFS) storage +// volume on the image, and a list of the kernels in the image. // // 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 @@ -910,6 +911,22 @@ func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *requ // see Activating and Deactivating AWS STS in an AWS Region (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) // in the AWS Identity and Access Management User Guide. // +// To add the IAM role policies for using this API operation, go to the IAM +// console (https://console.aws.amazon.com/iam/), and choose Roles in the left +// navigation pane. Search the IAM role that you want to grant access to use +// the CreateEndpoint and CreateEndpointConfig API operations, add the following +// policies to the role. +// +// * Option 1: For a full Amazon SageMaker access, search and attach the +// AmazonSageMakerFullAccess policy. +// +// * Option 2: For granting a limited access to an IAM role, paste the following +// Action elements manually into the JSON file of the IAM role: "Action": +// ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": +// [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" +// ] For more information, see Amazon SageMaker API Permissions: Actions, +// Permissions, and Resources Reference (https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html). +// // 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. @@ -1459,8 +1476,10 @@ func (c *SageMaker) CreateImageRequest(input *CreateImageInput) (req *request.Re // CreateImage API operation for Amazon SageMaker Service. // -// Creates a SageMaker Image. A SageMaker image represents a set of container -// images. Each of these container images is represented by a SageMaker ImageVersion. +// Creates a custom SageMaker image. A SageMaker image is a set of image versions. +// Each image version represents a container image stored in Amazon Container +// Registry (ECR). For more information, see Bring your own SageMaker image +// (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html). // // 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 @@ -15567,21 +15586,20 @@ func (s *AppDetails) SetUserProfileName(v string) *AppDetails { return s } -// The configuration for running an Amazon SageMaker image as a KernelGateway -// app. +// The configuration for running a SageMaker image as a KernelGateway app. type AppImageConfigDetails struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the AppImageConfig. AppImageConfigArn *string `type:"string"` - // The name of the AppImageConfig. + // The name of the AppImageConfig. Must be unique to your account. AppImageConfigName *string `type:"string"` // When the AppImageConfig was created. CreationTime *time.Time `type:"timestamp"` - // The KernelGateway app. + // The configuration for the file system and kernels in the SageMaker image. KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"` // When the AppImageConfig was last modified. @@ -18734,9 +18752,15 @@ type CreateDomainInput struct { // DomainName is a required field DomainName *string `type:"string" required:"true"` - // The AWS Key Management Service (KMS) encryption key ID. Encryption with a - // customer master key (CMK) is not supported. - HomeEfsFileSystemKmsKeyId *string `type:"string"` + // This member is deprecated and replaced with KmsKeyId. + // + // Deprecated: This property is deprecated, use KmsKeyId instead. + HomeEfsFileSystemKmsKeyId *string `deprecated:"true" type:"string"` + + // SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with + // an AWS managed customer master key (CMK) by default. For more control, specify + // a customer managed CMK. + KmsKeyId *string `type:"string"` // The VPC subnets that Studio uses for communication. // @@ -18837,6 +18861,12 @@ func (s *CreateDomainInput) SetHomeEfsFileSystemKmsKeyId(v string) *CreateDomain return s } +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *CreateDomainInput) SetKmsKeyId(v string) *CreateDomainInput { + s.KmsKeyId = &v + return s +} + // SetSubnetIds sets the SubnetIds field's value. func (s *CreateDomainInput) SetSubnetIds(v []*string) *CreateDomainInput { s.SubnetIds = v @@ -19733,8 +19763,7 @@ type CreateImageInput struct { // The description of the image. Description *string `min:"1" type:"string"` - // The display name of the image. When the image is added to a domain, DisplayName - // must be unique to the domain. + // The display name of the image. If not provided, ImageName is displayed. DisplayName *string `min:"1" type:"string"` // The name of the image. Must be unique to your account. @@ -22811,7 +22840,8 @@ func (s *CreateWorkteamOutput) SetWorkteamArn(v string) *CreateWorkteamOutput { return s } -// A custom image. +// A custom SageMaker image. For more information, see Bring your own SageMaker +// image (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html). type CustomImage struct { _ struct{} `type:"structure"` @@ -25047,7 +25077,7 @@ type DescribeAppImageConfigOutput struct { // When the AppImageConfig was created. CreationTime *time.Time `type:"timestamp"` - // The KernelGateway app. + // The configuration of a KernelGateway app. KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"` // When the AppImageConfig was last modified. @@ -25903,7 +25933,7 @@ type DescribeDomainOutput struct { // The creation time. CreationTime *time.Time `type:"timestamp"` - // Settings which are applied to all UserProfile in this domain, if settings + // Settings which are applied to all UserProfiles in this domain, if settings // are not explicitly specified in a given UserProfile. DefaultUserSettings *UserSettings `type:"structure"` @@ -25922,8 +25952,14 @@ type DescribeDomainOutput struct { // The ID of the Amazon Elastic File System (EFS) managed by this Domain. HomeEfsFileSystemId *string `type:"string"` - // The AWS Key Management Service encryption key ID. - HomeEfsFileSystemKmsKeyId *string `type:"string"` + // This member is deprecated and replaced with KmsKeyId. + // + // Deprecated: This property is deprecated, use KmsKeyId instead. + HomeEfsFileSystemKmsKeyId *string `deprecated:"true" type:"string"` + + // The AWS KMS customer managed CMK used to encrypt the EFS volume attached + // to the domain. + KmsKeyId *string `type:"string"` // The last modified time. LastModifiedTime *time.Time `type:"timestamp"` @@ -26014,6 +26050,12 @@ func (s *DescribeDomainOutput) SetHomeEfsFileSystemKmsKeyId(v string) *DescribeD return s } +// SetKmsKeyId sets the KmsKeyId field's value. +func (s *DescribeDomainOutput) SetKmsKeyId(v string) *DescribeDomainOutput { + s.KmsKeyId = &v + return s +} + // SetLastModifiedTime sets the LastModifiedTime field's value. func (s *DescribeDomainOutput) SetLastModifiedTime(v time.Time) *DescribeDomainOutput { s.LastModifiedTime = &v @@ -30826,14 +30868,15 @@ func (s *ExperimentSummary) SetLastModifiedTime(v time.Time) *ExperimentSummary return s } -// The Amazon Elastic File System (EFS) storage configuration for an image. +// The Amazon Elastic File System (EFS) storage configuration for a SageMaker +// image. type FileSystemConfig struct { _ struct{} `type:"structure"` - // The default POSIX group ID. If not specified, defaults to 100. + // The default POSIX group ID (GID). If not specified, defaults to 100. DefaultGid *int64 `type:"integer"` - // The default POSIX user ID. If not specified, defaults to 1000. + // The default POSIX user ID (UID). If not specified, defaults to 1000. DefaultUid *int64 `type:"integer"` // The path within the image to mount the user's EFS home directory. The directory @@ -34354,10 +34397,10 @@ type InputConfig struct { // If using the console, {"input_1": [1,3,224,224], "input_2":[1,3,224,224]} // If using the CLI, {\"input_1\": [1,3,224,224], \"input_2\":[1,3,224,224]} // - // * MXNET/ONNX: You must specify the name and shape (NCHW format) of the - // expected data inputs in order using a dictionary format for your trained - // model. The dictionary formats required for the console and CLI are different. - // Examples for one input: If using the console, {"data":[1,3,1024,1024]} + // * MXNET/ONNX/DARKNET: You must specify the name and shape (NCHW format) + // of the expected data inputs in order using a dictionary format for your + // trained model. The dictionary formats required for the console and CLI + // are different. Examples for one input: If using the console, {"data":[1,3,1024,1024]} // If using the CLI, {\"data\":[1,3,1024,1024]} Examples for two inputs: // If using the console, {"var1": [1,1,28,28], "var2":[1,1,28,28]} If using // the CLI, {\"var1\": [1,1,28,28], \"var2\":[1,1,28,28]} @@ -34637,12 +34680,12 @@ func (s *IntegerParameterRangeSpecification) SetMinValue(v string) *IntegerParam return s } -// Jupyter server's app settings. +// The JupyterServer app settings. type JupyterServerAppSettings struct { _ struct{} `type:"structure"` - // The default instance type and the Amazon Resource Name (ARN) of the SageMaker - // image created on the instance. + // The default instance type and the Amazon Resource Name (ARN) of the default + // SageMaker image used by the JupyterServer app. DefaultResourceSpec *ResourceSpec `type:"structure"` } @@ -34666,7 +34709,8 @@ func (s *JupyterServerAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *Jupy type KernelGatewayAppSettings struct { _ struct{} `type:"structure"` - // A list of custom images that are configured to run as a KernelGateway app. + // A list of custom SageMaker images that are configured to run as a KernelGateway + // app. CustomImages []*CustomImage `type:"list"` // The default instance type and the Amazon Resource Name (ARN) of the default @@ -34716,15 +34760,16 @@ func (s *KernelGatewayAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *Kern return s } -// The configuration for an Amazon SageMaker KernelGateway app. +// The configuration for the file system and kernels in a SageMaker image running +// as a KernelGateway app. type KernelGatewayImageConfig struct { _ struct{} `type:"structure"` - // The file system configuration. + // The Amazon Elastic File System (EFS) storage configuration for a SageMaker + // image. FileSystemConfig *FileSystemConfig `type:"structure"` - // Defines how a kernel is started and the arguments, environment variables, - // and metadata that are available to the kernel. + // The specification of the Jupyter kernels in the image. // // KernelSpecs is a required field KernelSpecs []*KernelSpec `min:"1" type:"list" required:"true"` @@ -34778,15 +34823,14 @@ func (s *KernelGatewayImageConfig) SetKernelSpecs(v []*KernelSpec) *KernelGatewa return s } -// Defines how a kernel is started and the arguments, environment variables, -// and metadata that are available to the kernel. +// The specification of a Jupyter kernel. type KernelSpec struct { _ struct{} `type:"structure"` // The display name of the kernel. DisplayName *string `type:"string"` - // The name of the kernel. Must be unique to your account. + // The name of the kernel. // // Name is a required field Name *string `type:"string" required:"true"` diff --git a/service/servicecatalog/api.go b/service/servicecatalog/api.go index 3a2ef87f536..66e7cd362ab 100644 --- a/service/servicecatalog/api.go +++ b/service/servicecatalog/api.go @@ -4528,6 +4528,109 @@ func (c *ServiceCatalog) GetProvisionedProductOutputsPagesWithContext(ctx aws.Co return p.Err() } +const opImportAsProvisionedProduct = "ImportAsProvisionedProduct" + +// ImportAsProvisionedProductRequest generates a "aws/request.Request" representing the +// client's request for the ImportAsProvisionedProduct 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 ImportAsProvisionedProduct for more information on using the ImportAsProvisionedProduct +// 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 ImportAsProvisionedProductRequest method. +// req, resp := client.ImportAsProvisionedProductRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProduct +func (c *ServiceCatalog) ImportAsProvisionedProductRequest(input *ImportAsProvisionedProductInput) (req *request.Request, output *ImportAsProvisionedProductOutput) { + op := &request.Operation{ + Name: opImportAsProvisionedProduct, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ImportAsProvisionedProductInput{} + } + + output = &ImportAsProvisionedProductOutput{} + req = c.newRequest(op, input, output) + return +} + +// ImportAsProvisionedProduct API operation for AWS Service Catalog. +// +// Requests the import of a resource as a Service Catalog provisioned product +// that is associated to a Service Catalog product and provisioning artifact. +// Once imported all supported Service Catalog governance actions are supported +// on the provisioned product. +// +// Resource import only supports CloudFormation stack ARNs. CloudFormation StackSets +// and non-root nested stacks are not supported. +// +// The CloudFormation stack must have one of the following statuses to be imported: +// CREATE_COMPLETE, UPDATE_COMPLETE, UPDATE_ROLLBACK_COMPLETE, IMPORT_COMPLETE, +// IMPORT_ROLLBACK_COMPLETE. +// +// Import of the resource requires that the CloudFormation stack template matches +// the associated Service Catalog product provisioning artifact. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Service Catalog's +// API operation ImportAsProvisionedProduct for usage and error information. +// +// Returned Error Types: +// * DuplicateResourceException +// The specified resource is a duplicate. +// +// * InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProduct +func (c *ServiceCatalog) ImportAsProvisionedProduct(input *ImportAsProvisionedProductInput) (*ImportAsProvisionedProductOutput, error) { + req, out := c.ImportAsProvisionedProductRequest(input) + return out, req.Send() +} + +// ImportAsProvisionedProductWithContext is the same as ImportAsProvisionedProduct with the addition of +// the ability to pass a context and additional request options. +// +// See ImportAsProvisionedProduct 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 *ServiceCatalog) ImportAsProvisionedProductWithContext(ctx aws.Context, input *ImportAsProvisionedProductInput, opts ...request.Option) (*ImportAsProvisionedProductOutput, error) { + req, out := c.ImportAsProvisionedProductRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListAcceptedPortfolioShares = "ListAcceptedPortfolioShares" // ListAcceptedPortfolioSharesRequest generates a "aws/request.Request" representing the @@ -9867,7 +9970,7 @@ type CreateProductInput struct { // ProductType is a required field ProductType *string `type:"string" required:"true" enum:"ProductType"` - // The configuration of the provisioning artifact. + // The configuration of the provisioning artifact. The info field accepts ImportFromPhysicalID. // // ProvisioningArtifactParameters is a required field ProvisioningArtifactParameters *ProvisioningArtifactProperties `type:"structure" required:"true"` @@ -10324,7 +10427,7 @@ type CreateProvisioningArtifactInput struct { // repeated request. IdempotencyToken *string `min:"1" type:"string" idempotencyToken:"true"` - // The configuration for the provisioning artifact. + // The configuration for the provisioning artifact. The info field accepts ImportFromPhysicalID. // // Parameters is a required field Parameters *ProvisioningArtifactProperties `type:"structure" required:"true"` @@ -13910,6 +14013,149 @@ func (s *GetProvisionedProductOutputsOutput) SetOutputs(v []*RecordOutput) *GetP return s } +type ImportAsProvisionedProductInput struct { + _ struct{} `type:"structure"` + + // The language code. + // + // * en - English (default) + // + // * jp - Japanese + // + // * zh - Chinese + AcceptLanguage *string `type:"string"` + + // A unique identifier that you provide to ensure idempotency. If multiple requests + // differ only by the idempotency token, the same response is returned for each + // repeated request. + IdempotencyToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // The unique identifier of the resource to be imported. It only currently supports + // CloudFormation stack IDs. + // + // PhysicalId is a required field + PhysicalId *string `type:"string" required:"true"` + + // The product identifier. + // + // ProductId is a required field + ProductId *string `min:"1" type:"string" required:"true"` + + // The user-friendly name of the provisioned product. The value must be unique + // for the AWS account. The name cannot be updated after the product is provisioned. + // + // ProvisionedProductName is a required field + ProvisionedProductName *string `min:"1" type:"string" required:"true"` + + // The identifier of the provisioning artifact. + // + // ProvisioningArtifactId is a required field + ProvisioningArtifactId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s ImportAsProvisionedProductInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ImportAsProvisionedProductInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ImportAsProvisionedProductInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ImportAsProvisionedProductInput"} + if s.IdempotencyToken != nil && len(*s.IdempotencyToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IdempotencyToken", 1)) + } + if s.PhysicalId == nil { + invalidParams.Add(request.NewErrParamRequired("PhysicalId")) + } + if s.ProductId == nil { + invalidParams.Add(request.NewErrParamRequired("ProductId")) + } + if s.ProductId != nil && len(*s.ProductId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProductId", 1)) + } + if s.ProvisionedProductName == nil { + invalidParams.Add(request.NewErrParamRequired("ProvisionedProductName")) + } + if s.ProvisionedProductName != nil && len(*s.ProvisionedProductName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProvisionedProductName", 1)) + } + if s.ProvisioningArtifactId == nil { + invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId")) + } + if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAcceptLanguage sets the AcceptLanguage field's value. +func (s *ImportAsProvisionedProductInput) SetAcceptLanguage(v string) *ImportAsProvisionedProductInput { + s.AcceptLanguage = &v + return s +} + +// SetIdempotencyToken sets the IdempotencyToken field's value. +func (s *ImportAsProvisionedProductInput) SetIdempotencyToken(v string) *ImportAsProvisionedProductInput { + s.IdempotencyToken = &v + return s +} + +// SetPhysicalId sets the PhysicalId field's value. +func (s *ImportAsProvisionedProductInput) SetPhysicalId(v string) *ImportAsProvisionedProductInput { + s.PhysicalId = &v + return s +} + +// SetProductId sets the ProductId field's value. +func (s *ImportAsProvisionedProductInput) SetProductId(v string) *ImportAsProvisionedProductInput { + s.ProductId = &v + return s +} + +// SetProvisionedProductName sets the ProvisionedProductName field's value. +func (s *ImportAsProvisionedProductInput) SetProvisionedProductName(v string) *ImportAsProvisionedProductInput { + s.ProvisionedProductName = &v + return s +} + +// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value. +func (s *ImportAsProvisionedProductInput) SetProvisioningArtifactId(v string) *ImportAsProvisionedProductInput { + s.ProvisioningArtifactId = &v + return s +} + +type ImportAsProvisionedProductOutput struct { + _ struct{} `type:"structure"` + + // Information about a request operation. + RecordDetail *RecordDetail `type:"structure"` +} + +// String returns the string representation +func (s ImportAsProvisionedProductOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ImportAsProvisionedProductOutput) GoString() string { + return s.String() +} + +// SetRecordDetail sets the RecordDetail field's value. +func (s *ImportAsProvisionedProductOutput) SetRecordDetail(v *RecordDetail) *ImportAsProvisionedProductOutput { + s.RecordDetail = v + return s +} + // One or more parameters provided to the operation are not valid. type InvalidParametersException struct { _ struct{} `type:"structure"` @@ -19840,6 +20086,12 @@ type TerminateProvisionedProductInput struct { // and ProvisionedProductId. ProvisionedProductName *string `min:"1" type:"string"` + // When this boolean parameter is set to true, the TerminateProvisionedProduct + // API deletes the Service Catalog provisioned product. However, it does not + // remove the CloudFormation stack, stack set, or the underlying resources of + // the deleted provisioned product. The default value is false. + RetainPhysicalResources *bool `type:"boolean"` + // An idempotency token that uniquely identifies the termination request. This // token is only valid during the termination process. After the provisioned // product is terminated, subsequent requests to terminate the same provisioned @@ -19900,6 +20152,12 @@ func (s *TerminateProvisionedProductInput) SetProvisionedProductName(v string) * return s } +// SetRetainPhysicalResources sets the RetainPhysicalResources field's value. +func (s *TerminateProvisionedProductInput) SetRetainPhysicalResources(v bool) *TerminateProvisionedProductInput { + s.RetainPhysicalResources = &v + return s +} + // SetTerminateToken sets the TerminateToken field's value. func (s *TerminateProvisionedProductInput) SetTerminateToken(v string) *TerminateProvisionedProductInput { s.TerminateToken = &v @@ -20682,11 +20940,8 @@ type UpdateProvisionedProductPropertiesInput struct { // call UpdateProvisionedProductProperties to update the launch role that is // associated with a provisioned product. This role is used when an end user // calls a provisioning operation such as UpdateProvisionedProduct, TerminateProvisionedProduct, - // or ExecuteProvisionedProductServiceAction. Only a role ARN or an empty string - // "" is valid. A user ARN is invalid. if an admin user passes an empty string - // "" as the value for the key LAUNCH_ROLE, the admin removes the launch role - // that is associated with the provisioned product. As a result, the end user - // operations use the credentials of the end user. + // or ExecuteProvisionedProductServiceAction. Only a role ARN is valid. A user + // ARN is invalid. // // The OWNER key accepts user ARNs and role ARNs. The owner is the user that // has permission to see, update, terminate, and execute service actions in diff --git a/service/servicecatalog/doc.go b/service/servicecatalog/doc.go index 9617d193580..70698c91db2 100644 --- a/service/servicecatalog/doc.go +++ b/service/servicecatalog/doc.go @@ -4,9 +4,9 @@ // requests to AWS Service Catalog. // // AWS Service Catalog (https://aws.amazon.com/servicecatalog/) enables organizations -// to create and manage catalogs of IT services that are approved for use on -// AWS. To get the most out of this documentation, you should be familiar with -// the terminology discussed in AWS Service Catalog Concepts (http://docs.aws.amazon.com/servicecatalog/latest/adminguide/what-is_concepts.html). +// to create and manage catalogs of IT services that are approved for AWS. To +// get the most out of this documentation, you should be familiar with the terminology +// discussed in AWS Service Catalog Concepts (http://docs.aws.amazon.com/servicecatalog/latest/adminguide/what-is_concepts.html). // // See https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10 for more information on this service. // diff --git a/service/servicecatalog/servicecatalogiface/interface.go b/service/servicecatalog/servicecatalogiface/interface.go index e23588b48fb..c96a87f7e79 100644 --- a/service/servicecatalog/servicecatalogiface/interface.go +++ b/service/servicecatalog/servicecatalogiface/interface.go @@ -267,6 +267,10 @@ type ServiceCatalogAPI interface { GetProvisionedProductOutputsPages(*servicecatalog.GetProvisionedProductOutputsInput, func(*servicecatalog.GetProvisionedProductOutputsOutput, bool) bool) error GetProvisionedProductOutputsPagesWithContext(aws.Context, *servicecatalog.GetProvisionedProductOutputsInput, func(*servicecatalog.GetProvisionedProductOutputsOutput, bool) bool, ...request.Option) error + ImportAsProvisionedProduct(*servicecatalog.ImportAsProvisionedProductInput) (*servicecatalog.ImportAsProvisionedProductOutput, error) + ImportAsProvisionedProductWithContext(aws.Context, *servicecatalog.ImportAsProvisionedProductInput, ...request.Option) (*servicecatalog.ImportAsProvisionedProductOutput, error) + ImportAsProvisionedProductRequest(*servicecatalog.ImportAsProvisionedProductInput) (*request.Request, *servicecatalog.ImportAsProvisionedProductOutput) + ListAcceptedPortfolioShares(*servicecatalog.ListAcceptedPortfolioSharesInput) (*servicecatalog.ListAcceptedPortfolioSharesOutput, error) ListAcceptedPortfolioSharesWithContext(aws.Context, *servicecatalog.ListAcceptedPortfolioSharesInput, ...request.Option) (*servicecatalog.ListAcceptedPortfolioSharesOutput, error) ListAcceptedPortfolioSharesRequest(*servicecatalog.ListAcceptedPortfolioSharesInput) (*request.Request, *servicecatalog.ListAcceptedPortfolioSharesOutput) diff --git a/service/sns/api.go b/service/sns/api.go index 4fc7edc98b8..b916003cbc7 100644 --- a/service/sns/api.go +++ b/service/sns/api.go @@ -3142,7 +3142,8 @@ func (c *SNS) SubscribeRequest(input *SubscribeInput) (req *request.Request, out // // Subscribes an endpoint to an Amazon SNS topic. If the endpoint type is HTTP/S // or email, or if the endpoint and the topic are not in the same AWS account, -// the endpoint owner must the ConfirmSubscription action to confirm the subscription. +// the endpoint owner must run the ConfirmSubscription action to confirm the +// subscription. // // You call the ConfirmSubscription action with the token from the subscription // response. Confirmation tokens are valid for three days. @@ -5969,7 +5970,7 @@ type SetSubscriptionAttributesInput struct { // A map of attributes with their corresponding values. // // The following lists the names, descriptions, and values of the special request - // parameters that the SetTopicAttributes action uses: + // parameters that this action uses: // // * DeliveryPolicy – The policy that defines how Amazon SNS retries failed // deliveries to HTTP/S endpoints. diff --git a/service/sns/doc.go b/service/sns/doc.go index bcbb819a62a..45588677de2 100644 --- a/service/sns/doc.go +++ b/service/sns/doc.go @@ -11,6 +11,10 @@ // information about Amazon SNS features and their associated API calls, see // the Amazon SNS Developer Guide (https://docs.aws.amazon.com/sns/latest/dg/). // +// For information on the permissions you need to use this API, see Identity +// and access management in Amazon SNS (https://docs.aws.amazon.com/sns/latest/dg/sns-authentication-and-access-control.html) +// in the Amazon SNS Developer Guide. +// // We also provide SDKs that enable you to access Amazon SNS from your preferred // programming language. The SDKs contain functionality that automatically takes // care of tasks such as: cryptographically signing your service requests, retrying diff --git a/service/synthetics/api.go b/service/synthetics/api.go index afdf37f59db..0772c07b7f3 100644 --- a/service/synthetics/api.go +++ b/service/synthetics/api.go @@ -1462,9 +1462,8 @@ type Canary struct { // A structure that contains information about a canary run. RunConfig *CanaryRunConfigOutput `type:"structure"` - // Specifies the runtime version to use for the canary. Currently, the only - // valid values are syn-nodejs-2.0, syn-nodejs-2.0-beta, and syn-1.0. For more - // information about runtime versions, see Canary Runtime Versions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html). + // Specifies the runtime version to use for the canary. For more information + // about runtime versions, see Canary Runtime Versions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html). RuntimeVersion *string `min:"1" type:"string"` // A structure that contains information about how often the canary is to run, @@ -1835,6 +1834,18 @@ type CanaryRunConfigInput struct { // or later for their canary runtime. ActiveTracing *bool `type:"boolean"` + // Specifies the keys and values to use for any environment variables used in + // the canary script. Use the following format: + // + // { "key1" : "value1", "key2" : "value2", ...} + // + // Keys must start with a letter and be at least two characters. The total size + // of your environment variables cannot exceed 4 KB. You can't specify any Lambda + // reserved environment variables as the keys for your environment variables. + // For more information about reserved keys, see Runtime environment variables + // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime). + EnvironmentVariables map[string]*string `type:"map"` + // The maximum amount of memory available to the canary while it is running, // in MB. This value must be a multiple of 64. MemoryInMB *int64 `min:"960" type:"integer"` @@ -1879,6 +1890,12 @@ func (s *CanaryRunConfigInput) SetActiveTracing(v bool) *CanaryRunConfigInput { return s } +// SetEnvironmentVariables sets the EnvironmentVariables field's value. +func (s *CanaryRunConfigInput) SetEnvironmentVariables(v map[string]*string) *CanaryRunConfigInput { + s.EnvironmentVariables = v + return s +} + // SetMemoryInMB sets the MemoryInMB field's value. func (s *CanaryRunConfigInput) SetMemoryInMB(v int64) *CanaryRunConfigInput { s.MemoryInMB = &v @@ -2325,9 +2342,9 @@ type CreateCanaryInput struct { // as timeout value. RunConfig *CanaryRunConfigInput `type:"structure"` - // Specifies the runtime version to use for the canary. Currently, the only - // valid values are syn-nodejs-2.0, syn-nodejs-2.0-beta, and syn-1.0. For more - // information about runtime versions, see Canary Runtime Versions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html). + // Specifies the runtime version to use for the canary. For a list of valid + // runtime versions and more information about runtime versions, see Canary + // Runtime Versions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html). // // RuntimeVersion is a required field RuntimeVersion *string `min:"1" type:"string" required:"true"` @@ -3195,8 +3212,8 @@ type RuntimeVersion struct { // The date that the runtime version was released. ReleaseDate *time.Time `type:"timestamp"` - // The name of the runtime version. Currently, the only valid values are syn-nodejs-2.0, - // syn-nodejs-2.0-beta, and syn-1.0. + // The name of the runtime version. For a list of valid runtime versions, see + // Canary Runtime Versions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html). VersionName *string `min:"1" type:"string"` } @@ -3536,9 +3553,9 @@ type UpdateCanaryInput struct { // run of the canary. RunConfig *CanaryRunConfigInput `type:"structure"` - // Specifies the runtime version to use for the canary. Currently, the only - // valid values are syn-nodejs-2.0, syn-nodejs-2.0-beta, and syn-1.0. For more - // information about runtime versions, see Canary Runtime Versions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html). + // Specifies the runtime version to use for the canary. For a list of valid + // runtime versions and for more information about runtime versions, see Canary + // Runtime Versions (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html). RuntimeVersion *string `min:"1" type:"string"` // A structure that contains information about how often the canary is to run,