From 2948a9b947de919a06a574cd561c086343efa593 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Thu, 13 Jan 2022 11:21:43 -0800 Subject: [PATCH] Release v1.42.34 (2022-01-13) (#4240) Release v1.42.34 (2022-01-13) === ### Service Client Updates * `service/elasticache`: Updates service API and documentation * AWS ElastiCache for Redis has added a new Engine Log LogType in LogDelivery feature. You can now publish the Engine Log from your Amazon ElastiCache for Redis clusters to Amazon CloudWatch Logs and Amazon Kinesis Data Firehose. * `service/glue`: Updates service API and documentation * This SDK release adds support to pass run properties when starting a workflow run * `service/nimble`: Updates service API and documentation * `service/pinpoint`: Updates service API * Adds JourneyChannelSettings to WriteJourneyRequest * `service/runtime.lex.v2`: Updates service API and documentation * `service/ssm`: Updates service API and documentation * AWS Systems Manager adds category support for DescribeDocument API --- CHANGELOG.md | 15 + aws/endpoints/defaults.go | 21 ++ aws/version.go | 2 +- models/apis/elasticache/2015-02-02/api-2.json | 5 +- .../apis/elasticache/2015-02-02/docs-2.json | 6 +- models/apis/glue/2017-03-31/api-2.json | 3 +- models/apis/glue/2017-03-31/docs-2.json | 1 + models/apis/nimble/2020-08-01/api-2.json | 77 ++++- models/apis/nimble/2020-08-01/docs-2.json | 80 ++++- models/apis/pinpoint/2016-12-01/api-2.json | 84 ++--- .../apis/runtime.lex.v2/2020-08-07/api-2.json | 50 ++- .../runtime.lex.v2/2020-08-07/docs-2.json | 51 ++- models/apis/ssm/2014-11-06/api-2.json | 20 +- models/apis/ssm/2014-11-06/docs-2.json | 43 ++- models/endpoints/endpoints.json | 14 + service/elasticache/api.go | 10 +- service/glue/api.go | 9 + service/lexruntimev2/api.go | 130 ++++++++ service/lexruntimev2/eventstream_test.go | 254 +++++++++++++++ service/nimblestudio/api.go | 196 ++++++++++- service/pinpoint/api.go | 303 ++++++++++++++++++ service/pinpoint/pinpointiface/interface.go | 4 + service/ssm/api.go | 73 ++++- service/ssm/doc.go | 2 +- 24 files changed, 1347 insertions(+), 106 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 005c7ef9780..0fb37c19747 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +Release v1.42.34 (2022-01-13) +=== + +### Service Client Updates +* `service/elasticache`: Updates service API and documentation + * AWS ElastiCache for Redis has added a new Engine Log LogType in LogDelivery feature. You can now publish the Engine Log from your Amazon ElastiCache for Redis clusters to Amazon CloudWatch Logs and Amazon Kinesis Data Firehose. +* `service/glue`: Updates service API and documentation + * This SDK release adds support to pass run properties when starting a workflow run +* `service/nimble`: Updates service API and documentation +* `service/pinpoint`: Updates service API + * Adds JourneyChannelSettings to WriteJourneyRequest +* `service/runtime.lex.v2`: Updates service API and documentation +* `service/ssm`: Updates service API and documentation + * AWS Systems Manager adds category support for DescribeDocument API + Release v1.42.33 (2022-01-12) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index bdc1a51f488..c63e8b4ec5c 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -2562,6 +2562,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -28021,6 +28024,24 @@ var awsisoPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "us-iso-west-1", + }: endpoint{}, + endpointKey{ + Region: "us-iso-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "dms.us-iso-west-1.c2s.ic.gov", + }, + endpointKey{ + Region: "us-iso-west-1-fips", + }: endpoint{ + Hostname: "dms.us-iso-west-1.c2s.ic.gov", + CredentialScope: credentialScope{ + Region: "us-iso-west-1", + }, + Deprecated: boxedTrue, + }, }, }, "ds": service{ diff --git a/aws/version.go b/aws/version.go index 5d0766e1688..81897e27c95 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.42.33" +const SDKVersion = "1.42.34" diff --git a/models/apis/elasticache/2015-02-02/api-2.json b/models/apis/elasticache/2015-02-02/api-2.json index f4f90d98562..92c5db20658 100644 --- a/models/apis/elasticache/2015-02-02/api-2.json +++ b/models/apis/elasticache/2015-02-02/api-2.json @@ -3053,7 +3053,10 @@ }, "LogType":{ "type":"string", - "enum":["slow-log"] + "enum":[ + "slow-log", + "engine-log" + ] }, "ModifyCacheClusterMessage":{ "type":"structure", diff --git a/models/apis/elasticache/2015-02-02/docs-2.json b/models/apis/elasticache/2015-02-02/docs-2.json index 27ee921bfe4..734ac4e9ff0 100644 --- a/models/apis/elasticache/2015-02-02/docs-2.json +++ b/models/apis/elasticache/2015-02-02/docs-2.json @@ -1303,9 +1303,9 @@ "LogType": { "base": null, "refs": { - "LogDeliveryConfiguration$LogType": "

Refers to slow-log.

", - "LogDeliveryConfigurationRequest$LogType": "

Refers to slow-log.

", - "PendingLogDeliveryConfiguration$LogType": "

Refers to slow-log.

" + "LogDeliveryConfiguration$LogType": "

Refers to slow-log or engine-log.

", + "LogDeliveryConfigurationRequest$LogType": "

Refers to slow-log or engine-log..

", + "PendingLogDeliveryConfiguration$LogType": "

Refers to slow-log or engine-log..

" } }, "ModifyCacheClusterMessage": { diff --git a/models/apis/glue/2017-03-31/api-2.json b/models/apis/glue/2017-03-31/api-2.json index 47f732890bc..a747984fa66 100644 --- a/models/apis/glue/2017-03-31/api-2.json +++ b/models/apis/glue/2017-03-31/api-2.json @@ -7890,7 +7890,8 @@ "type":"structure", "required":["Name"], "members":{ - "Name":{"shape":"NameString"} + "Name":{"shape":"NameString"}, + "RunProperties":{"shape":"WorkflowRunProperties"} } }, "StartWorkflowRunResponse":{ diff --git a/models/apis/glue/2017-03-31/docs-2.json b/models/apis/glue/2017-03-31/docs-2.json index c55ae05b5ab..4b2e7947ee7 100644 --- a/models/apis/glue/2017-03-31/docs-2.json +++ b/models/apis/glue/2017-03-31/docs-2.json @@ -6054,6 +6054,7 @@ "CreateWorkflowRequest$DefaultRunProperties": "

A collection of properties to be used as part of each execution of the workflow.

", "GetWorkflowRunPropertiesResponse$RunProperties": "

The workflow run properties which were set during the specified run.

", "PutWorkflowRunPropertiesRequest$RunProperties": "

The properties to put for the specified run.

", + "StartWorkflowRunRequest$RunProperties": "

The workflow run properties for the new workflow run.

", "UpdateWorkflowRequest$DefaultRunProperties": "

A collection of properties to be used as part of each execution of the workflow.

", "Workflow$DefaultRunProperties": "

A collection of properties to be used as part of each execution of the workflow. The run properties are made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.

", "WorkflowRun$WorkflowRunProperties": "

The workflow run properties which were set during the run.

" diff --git a/models/apis/nimble/2020-08-01/api-2.json b/models/apis/nimble/2020-08-01/api-2.json index b8d94ff6c2b..012333718d7 100644 --- a/models/apis/nimble/2020-08-01/api-2.json +++ b/models/apis/nimble/2020-08-01/api-2.json @@ -1820,7 +1820,8 @@ "studioComponentIds":{"shape":"LaunchProfileStudioComponentIdList"}, "tags":{"shape":"Tags"}, "updatedAt":{"shape":"Timestamp"}, - "updatedBy":{"shape":"String"} + "updatedBy":{"shape":"String"}, + "validationResults":{"shape":"ValidationResults"} } }, "LaunchProfileDescription":{ @@ -1937,6 +1938,10 @@ "UPDATE_FAILED" ] }, + "LaunchProfileStateList":{ + "type":"list", + "member":{"shape":"LaunchProfileState"} + }, "LaunchProfileStatusCode":{ "type":"string", "enum":[ @@ -1961,6 +1966,40 @@ "max":100, "min":1 }, + "LaunchProfileValidationState":{ + "type":"string", + "enum":[ + "VALIDATION_NOT_STARTED", + "VALIDATION_IN_PROGRESS", + "VALIDATION_SUCCESS", + "VALIDATION_FAILED", + "VALIDATION_FAILED_INTERNAL_SERVER_ERROR" + ] + }, + "LaunchProfileValidationStatusCode":{ + "type":"string", + "enum":[ + "VALIDATION_NOT_STARTED", + "VALIDATION_IN_PROGRESS", + "VALIDATION_SUCCESS", + "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION", + "VALIDATION_FAILED_SUBNET_NOT_FOUND", + "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION", + "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY", + "VALIDATION_FAILED_UNAUTHORIZED", + "VALIDATION_FAILED_INTERNAL_SERVER_ERROR" + ] + }, + "LaunchProfileValidationStatusMessage":{"type":"string"}, + "LaunchProfileValidationType":{ + "type":"string", + "enum":[ + "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT", + "VALIDATE_SUBNET_ASSOCIATION", + "VALIDATE_NETWORK_ACL_ASSOCIATION", + "VALIDATE_SECURITY_GROUP_ASSOCIATION" + ] + }, "LaunchPurpose":{ "type":"string", "max":64, @@ -2086,7 +2125,7 @@ "locationName":"principalId" }, "states":{ - "shape":"StringList", + "shape":"LaunchProfileStateList", "location":"querystring", "locationName":"states" }, @@ -2185,7 +2224,7 @@ "locationName":"nextToken" }, "states":{ - "shape":"StringList", + "shape":"StudioComponentStateList", "location":"querystring", "locationName":"states" }, @@ -2195,7 +2234,7 @@ "locationName":"studioId" }, "types":{ - "shape":"StringList", + "shape":"StudioComponentTypeList", "location":"querystring", "locationName":"types" } @@ -2737,7 +2776,8 @@ "STREAMING_SESSION_STOPPED", "STREAMING_SESSION_STARTED", "STREAMING_SESSION_STOP_IN_PROGRESS", - "STREAMING_SESSION_START_IN_PROGRESS" + "STREAMING_SESSION_START_IN_PROGRESS", + "AMI_VALIDATION_ERROR" ] }, "StreamingSessionStorageMode":{ @@ -2945,6 +2985,10 @@ "UPDATE_FAILED" ] }, + "StudioComponentStateList":{ + "type":"list", + "member":{"shape":"StudioComponentState"} + }, "StudioComponentStatusCode":{ "type":"string", "enum":[ @@ -2997,6 +3041,10 @@ "CUSTOM" ] }, + "StudioComponentTypeList":{ + "type":"list", + "member":{"shape":"StudioComponentType"} + }, "StudioEncryptionConfiguration":{ "type":"structure", "required":["keyType"], @@ -3403,6 +3451,25 @@ }, "exception":true }, + "ValidationResult":{ + "type":"structure", + "required":[ + "state", + "statusCode", + "statusMessage", + "type" + ], + "members":{ + "state":{"shape":"LaunchProfileValidationState"}, + "statusCode":{"shape":"LaunchProfileValidationStatusCode"}, + "statusMessage":{"shape":"LaunchProfileValidationStatusMessage"}, + "type":{"shape":"LaunchProfileValidationType"} + } + }, + "ValidationResults":{ + "type":"list", + "member":{"shape":"ValidationResult"} + }, "WindowsMountDrive":{ "type":"string", "pattern":"^[A-Z]$" diff --git a/models/apis/nimble/2020-08-01/docs-2.json b/models/apis/nimble/2020-08-01/docs-2.json index 799d267e407..cda382686a5 100644 --- a/models/apis/nimble/2020-08-01/docs-2.json +++ b/models/apis/nimble/2020-08-01/docs-2.json @@ -22,7 +22,7 @@ "GetLaunchProfileInitialization": "

Get a launch profile initialization.

", "GetLaunchProfileMember": "

Get a user persona in launch profile membership.

", "GetStreamingImage": "

Get streaming image.

", - "GetStreamingSession": "

Gets StreamingSession resource.

anvoke this operation to poll for a streaming session state while creating or deleting a session.

", + "GetStreamingSession": "

Gets StreamingSession resource.

Invoke this operation to poll for a streaming session state while creating or deleting a session.

", "GetStreamingSessionStream": "

Gets a StreamingSessionStream for a streaming session.

Invoke this operation to poll the resource after invoking CreateStreamingSessionStream.

After the StreamingSessionStream changes to the state READY, the url property will contain a stream to be used with the DCV streaming client.

", "GetStudio": "

Get a Studio resource.

", "GetStudioComponent": "

Gets a studio component resource.

", @@ -612,7 +612,14 @@ "LaunchProfileState": { "base": null, "refs": { - "LaunchProfile$state": "

The current state.

" + "LaunchProfile$state": "

The current state.

", + "LaunchProfileStateList$member": null + } + }, + "LaunchProfileStateList": { + "base": null, + "refs": { + "ListLaunchProfilesRequest$states": "

Filter this request to launch profiles in any of the given states.

" } }, "LaunchProfileStatusCode": { @@ -629,6 +636,30 @@ "UpdateLaunchProfileRequest$studioComponentIds": "

Unique identifiers for a collection of studio components that can be used with this launch profile.

" } }, + "LaunchProfileValidationState": { + "base": null, + "refs": { + "ValidationResult$state": "

The current state.

" + } + }, + "LaunchProfileValidationStatusCode": { + "base": null, + "refs": { + "ValidationResult$statusCode": "

The status code. This will contain the failure reason if the state is VALIDATION_FAILED.

" + } + }, + "LaunchProfileValidationStatusMessage": { + "base": null, + "refs": { + "ValidationResult$statusMessage": "

The status message for the validation result.

" + } + }, + "LaunchProfileValidationType": { + "base": null, + "refs": { + "ValidationResult$type": "

The type of the validation result.

" + } + }, "LaunchPurpose": { "base": "

The launch purpose.

", "refs": { @@ -900,8 +931,8 @@ "StreamConfigurationMaxStoppedSessionLengthInMinutes": { "base": null, "refs": { - "StreamConfiguration$maxStoppedSessionLengthInMinutes": "

Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession, the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

", - "StreamConfigurationCreate$maxStoppedSessionLengthInMinutes": "

Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession, the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

" + "StreamConfiguration$maxStoppedSessionLengthInMinutes": "

Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession, the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

", + "StreamConfigurationCreate$maxStoppedSessionLengthInMinutes": "

Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

If the value is missing or set to 0, your sessions can’t be stopped. If you then call StopStreamingSession, the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated by AWS (instead of stopped).

If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped by AWS (instead of terminated).

" } }, "StreamConfigurationSessionStorage": { @@ -1063,13 +1094,13 @@ "StreamingSessionStorageRootPathLinux": { "base": null, "refs": { - "StreamingSessionStorageRoot$linux": "

The folder path in Linux workstations where files are uploaded. The default path is $HOME/Downloads.

" + "StreamingSessionStorageRoot$linux": "

The folder path in Linux workstations where files are uploaded.

" } }, "StreamingSessionStorageRootPathWindows": { "base": null, "refs": { - "StreamingSessionStorageRoot$windows": "

The folder path in Windows workstations where files are uploaded. The default path is %HOMEPATH%\\Downloads.

" + "StreamingSessionStorageRoot$windows": "

The folder path in Windows workstations where files are uploaded.

" } }, "StreamingSessionStream": { @@ -1109,7 +1140,7 @@ "CreateLaunchProfileRequest$studioId": "

The studio ID.

", "CreateStreamingImageRequest$studioId": "

The studio ID.

", "CreateStreamingSessionRequest$launchProfileId": "

The launch profile ID.

", - "CreateStreamingSessionRequest$ownedBy": "

The user ID of the user that owns the streaming session.

", + "CreateStreamingSessionRequest$ownedBy": "

The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

", "CreateStreamingSessionRequest$studioId": "

The studio ID.

", "CreateStreamingSessionStreamRequest$sessionId": "

The streaming session ID.

", "CreateStreamingSessionStreamRequest$studioId": "

The studio ID.

", @@ -1226,13 +1257,13 @@ "StreamingSession$createdBy": "

The user ID of the user that created the streaming session.

", "StreamingSession$ec2InstanceType": "

The EC2 Instance type used for the streaming session.

", "StreamingSession$launchProfileId": "

The ID of the launch profile used to control access from the streaming session.

", - "StreamingSession$ownedBy": "

The user ID of the user that owns the streaming session.

", + "StreamingSession$ownedBy": "

The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

", "StreamingSession$startedBy": "

The user ID of the user that started the streaming session.

", "StreamingSession$statusMessage": "

The status message for the streaming session.

", "StreamingSession$stoppedBy": "

The user ID of the user that stopped the streaming session.

", "StreamingSession$updatedBy": "

The user ID of the user that most recently updated the resource.

", "StreamingSessionStream$createdBy": "

The user ID of the user that created the streaming session stream.

", - "StreamingSessionStream$ownedBy": "

The user ID of the user that owns the streaming session.

", + "StreamingSessionStream$ownedBy": "

The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.

", "StreamingSessionStream$streamId": "

The stream ID.

", "StringList$member": null, "Studio$adminRoleArn": "

The IAM role that studio admins assume when logging in to the Nimble Studio portal.

", @@ -1279,9 +1310,6 @@ "GetLaunchProfileInitializationRequest$launchProfileProtocolVersions": "

The launch profile protocol versions supported by the client.

", "ListEulaAcceptancesRequest$eulaIds": "

The list of EULA IDs that have been previously accepted.

", "ListEulasRequest$eulaIds": "

The list of EULA IDs that should be returned

", - "ListLaunchProfilesRequest$states": "

Filter this request to launch profiles in any of the given states.

", - "ListStudioComponentsRequest$states": "

Filters the request to studio components that are in one of the given states.

", - "ListStudioComponentsRequest$types": "

Filters the request to studio components that are of one of the given types.

", "UntagResourceRequest$tagKeys": "

One or more tag keys. Specify only the tag keys, not the tag values.

" } }, @@ -1395,7 +1423,14 @@ "StudioComponentState": { "base": "

The current state of the studio component resource.

While a studio component is being created, modified, or deleted, its state will equal \"CREATE_IN_PROGRESS\", \"UPDATE_IN_PROGRESS\", or \"DELETE_IN_PROGRESS\"

These are called 'transition states'.

No modifications may be made to the studio component while it is in a transition state.

If creation of the resource fails, the state will change to `CREATE_FAILED`. The resource StatusCode and StatusMessage will provide more information of why creation failed. The resource in this state will automatically be deleted from your account after a period of time.

If updating the resource fails, the state will change to `UPDATE_FAILED`. The resource StatusCode and StatusMessage will provide more information of why the update failed. The resource will be returned to the state it was in when the update request was invoked.

If deleting the resource fails, the state will change to `DELETE_FAILED`. The resource StatusCode and StatusMessage will provide more information of why the update failed. The resource will be returned to the state it was in when the update request was invoked. After the resource is deleted successfully, it will change to the \"DELETED\" state. The resource will no longer count against service quotas and cannot be used or acted upon any futher. It will be removed from your account after a period of time.

", "refs": { - "StudioComponent$state": "

The current state.

" + "StudioComponent$state": "

The current state.

", + "StudioComponentStateList$member": null + } + }, + "StudioComponentStateList": { + "base": null, + "refs": { + "ListStudioComponentsRequest$states": "

Filters the request to studio components that are in one of the given states.

" } }, "StudioComponentStatusCode": { @@ -1431,9 +1466,16 @@ "CreateStudioComponentRequest$type": "

The type of the studio component.

", "StudioComponent$type": "

The type of the studio component.

", "StudioComponentSummary$type": "

The type of the studio component.

", + "StudioComponentTypeList$member": null, "UpdateStudioComponentRequest$type": "

The type of the studio component.

" } }, + "StudioComponentTypeList": { + "base": null, + "refs": { + "ListStudioComponentsRequest$types": "

Filters the request to studio components that are of one of the given types.

" + } + }, "StudioEncryptionConfiguration": { "base": "

Configuration of the encryption method that is used for the studio.

", "refs": { @@ -1698,6 +1740,18 @@ "refs": { } }, + "ValidationResult": { + "base": "

The launch profile validation result.

", + "refs": { + "ValidationResults$member": null + } + }, + "ValidationResults": { + "base": null, + "refs": { + "LaunchProfile$validationResults": "

The list of the latest validation results.

" + } + }, "WindowsMountDrive": { "base": null, "refs": { diff --git a/models/apis/pinpoint/2016-12-01/api-2.json b/models/apis/pinpoint/2016-12-01/api-2.json index c68a592790d..d75ed8fdc22 100644 --- a/models/apis/pinpoint/2016-12-01/api-2.json +++ b/models/apis/pinpoint/2016-12-01/api-2.json @@ -4271,44 +4271,44 @@ "shape": "TooManyRequestsException" } ] - } - }, - "VerifyOTPMessage": { - "name": "VerifyOTPMessage", - "http": { - "method": "POST", - "requestUri": "/v1/apps/{application-id}/verify-otp", - "responseCode": 200 - }, - "input": { - "shape": "VerifyOTPMessageRequest" - }, - "output": { - "shape": "VerifyOTPMessageResponse" }, - "errors": [ - { - "shape": "BadRequestException" - }, - { - "shape": "InternalServerErrorException" - }, - { - "shape": "PayloadTooLargeException" - }, - { - "shape": "ForbiddenException" + "VerifyOTPMessage": { + "name": "VerifyOTPMessage", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/verify-otp", + "responseCode": 200 }, - { - "shape": "NotFoundException" + "input": { + "shape": "VerifyOTPMessageRequest" }, - { - "shape": "MethodNotAllowedException" + "output": { + "shape": "VerifyOTPMessageResponse" }, - { - "shape": "TooManyRequestsException" - } - ] + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "PayloadTooLargeException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] + } }, "shapes": { "ADMChannelRequest": { @@ -12699,14 +12699,14 @@ "type": "structure", "members": { "DestinationIdentity": { - "shape": "__string" - }, - "Otp": { - "shape": "__string" - }, - "ReferenceId": { - "shape": "__string" - } + "shape": "__string" + }, + "Otp": { + "shape": "__string" + }, + "ReferenceId": { + "shape": "__string" + } }, "required": [ "ReferenceId", diff --git a/models/apis/runtime.lex.v2/2020-08-07/api-2.json b/models/apis/runtime.lex.v2/2020-08-07/api-2.json index 53c082e0e0e..3af9dd76226 100644 --- a/models/apis/runtime.lex.v2/2020-08-07/api-2.json +++ b/models/apis/runtime.lex.v2/2020-08-07/api-2.json @@ -557,6 +557,12 @@ "member":{"shape":"Message"}, "max":10 }, + "Name":{ + "type":"string", + "max":100, + "min":1, + "pattern":"^([0-9a-zA-Z][_-]?)+$" + }, "NonEmptyString":{ "type":"string", "min":1 @@ -818,6 +824,37 @@ "error":{"httpStatusCode":404}, "exception":true }, + "RuntimeHintDetails":{ + "type":"structure", + "required":["runtimeHintValues"], + "members":{ + "runtimeHintValues":{"shape":"RuntimeHintValuesList"} + } + }, + "RuntimeHintPhrase":{ + "type":"string", + "max":140, + "min":1 + }, + "RuntimeHintValue":{ + "type":"structure", + "required":["phrase"], + "members":{ + "phrase":{"shape":"RuntimeHintPhrase"} + } + }, + "RuntimeHintValuesList":{ + "type":"list", + "member":{"shape":"RuntimeHintValue"}, + "max":100, + "min":1 + }, + "RuntimeHints":{ + "type":"structure", + "members":{ + "slotHints":{"shape":"SlotHintsIntentMap"} + } + }, "SensitiveNonEmptyString":{ "type":"string", "sensitive":true @@ -860,7 +897,8 @@ "intent":{"shape":"Intent"}, "activeContexts":{"shape":"ActiveContextsList"}, "sessionAttributes":{"shape":"StringMap"}, - "originatingRequestId":{"shape":"NonEmptyString"} + "originatingRequestId":{"shape":"NonEmptyString"}, + "runtimeHints":{"shape":"RuntimeHints"} } }, "Shape":{ @@ -878,6 +916,16 @@ "values":{"shape":"Values"} } }, + "SlotHintsIntentMap":{ + "type":"map", + "key":{"shape":"Name"}, + "value":{"shape":"SlotHintsSlotMap"} + }, + "SlotHintsSlotMap":{ + "type":"map", + "key":{"shape":"Name"}, + "value":{"shape":"RuntimeHintDetails"} + }, "Slots":{ "type":"map", "key":{"shape":"NonEmptyString"}, diff --git a/models/apis/runtime.lex.v2/2020-08-07/docs-2.json b/models/apis/runtime.lex.v2/2020-08-07/docs-2.json index ee9164a9753..e4e503b6816 100644 --- a/models/apis/runtime.lex.v2/2020-08-07/docs-2.json +++ b/models/apis/runtime.lex.v2/2020-08-07/docs-2.json @@ -374,6 +374,13 @@ "TextResponseEvent$messages": "

A list of messages to send to the user. Messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.

" } }, + "Name": { + "base": null, + "refs": { + "SlotHintsIntentMap$key": null, + "SlotHintsSlotMap$key": null + } + }, "NonEmptyString": { "base": null, "refs": { @@ -397,7 +404,7 @@ "RecognizeUtteranceResponse$sessionState": "

Represents the current state of the dialog between the user and the bot.

Use this to determine the progress of the conversation and what the next action might be.

The sessionState field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.

", "RecognizeUtteranceResponse$requestAttributes": "

The attributes sent in the request.

The requestAttributes field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents.

", "RecognizeUtteranceResponse$inputTranscript": "

The text used to process the request.

If the input was an audio stream, the inputTranscript field contains the text extracted from the audio stream. This is the text that is actually processed to recognize intents and slot values. You can use this information to determine if Amazon Lex V2 is correctly processing the audio that you send.

The inputTranscript field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.

", - "SessionState$originatingRequestId": "

", + "SessionState$originatingRequestId": "

A unique identifier for a specific request.

", "Slots$key": null, "StringList$member": null, "StringMap$key": null, @@ -465,6 +472,36 @@ "StartConversationResponseEventStream$ResourceNotFoundException": "

Exception thrown if one of the input parameters points to a resource that does not exist. For example, if the bot ID specified does not exist.

" } }, + "RuntimeHintDetails": { + "base": "

Provides an array of phrases that should be given preference when resolving values for a slot.

", + "refs": { + "SlotHintsSlotMap$value": null + } + }, + "RuntimeHintPhrase": { + "base": null, + "refs": { + "RuntimeHintValue$phrase": "

The phrase that Amazon Lex V2 should look for in the user's input to the bot.

" + } + }, + "RuntimeHintValue": { + "base": "

Provides the phrase that Amazon Lex V2 should look for in the user's input to the bot.

", + "refs": { + "RuntimeHintValuesList$member": null + } + }, + "RuntimeHintValuesList": { + "base": null, + "refs": { + "RuntimeHintDetails$runtimeHintValues": "

One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.

" + } + }, + "RuntimeHints": { + "base": "

You can provide Amazon Lex V2 with hints to the phrases that a customer is likely to use for a slot. When a slot with hints is resolved, the phrases in the runtime hints are preferred in the resolution. You can provide hints for a maximum of 100 intents. You can provide a maximum of 100 slots.

Before you can use runtime hints with an existing bot, you must first rebuild the bot.

For more information, see Using hints to improve accuracy.

", + "refs": { + "SessionState$runtimeHints": "

Hints for phrases that a customer is likely to use for a slot. Amazon Lex V2 uses the hints to help determine the correct value of a slot.

" + } + }, "SensitiveNonEmptyString": { "base": null, "refs": { @@ -530,6 +567,18 @@ "Values$member": null } }, + "SlotHintsIntentMap": { + "base": null, + "refs": { + "RuntimeHints$slotHints": "

A list of the slots in the intent that should have runtime hints added, and the phrases that should be added for each slot.

The first level of the slotHints map is the name of the intent. The second level is the name of the slot within the intent. For more information, see Using hints to improve accuracy.

The intent name and slot name must exist.

" + } + }, + "SlotHintsSlotMap": { + "base": null, + "refs": { + "SlotHintsIntentMap$value": null + } + }, "Slots": { "base": null, "refs": { diff --git a/models/apis/ssm/2014-11-06/api-2.json b/models/apis/ssm/2014-11-06/api-2.json index c66f08e072b..c0fd3430427 100644 --- a/models/apis/ssm/2014-11-06/api-2.json +++ b/models/apis/ssm/2014-11-06/api-2.json @@ -2845,6 +2845,22 @@ "WindowExecutionId":{"shape":"MaintenanceWindowExecutionId"} } }, + "Category":{ + "type":"string", + "max":128 + }, + "CategoryEnumList":{ + "type":"list", + "member":{"shape":"Category"}, + "max":3, + "min":0 + }, + "CategoryList":{ + "type":"list", + "member":{"shape":"Category"}, + "max":3, + "min":0 + }, "ChangeDetailsValue":{ "type":"string", "max":32768, @@ -4448,7 +4464,9 @@ "ReviewInformation":{"shape":"ReviewInformationList"}, "ApprovedVersion":{"shape":"DocumentVersion"}, "PendingReviewVersion":{"shape":"DocumentVersion"}, - "ReviewStatus":{"shape":"ReviewStatus"} + "ReviewStatus":{"shape":"ReviewStatus"}, + "Category":{"shape":"CategoryList"}, + "CategoryEnum":{"shape":"CategoryEnumList"} } }, "DocumentDisplayName":{ diff --git a/models/apis/ssm/2014-11-06/docs-2.json b/models/apis/ssm/2014-11-06/docs-2.json index 5a025b86cea..a448b9e2314 100644 --- a/models/apis/ssm/2014-11-06/docs-2.json +++ b/models/apis/ssm/2014-11-06/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Amazon Web Services Systems Manager is a collection of capabilities that helps you automate management tasks such as collecting system inventory, applying operating system (OS) patches, automating the creation of Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale. Systems Manager lets you remotely and securely manage the configuration of your managed nodes. A managed node is any Amazon Elastic Compute Cloud (Amazon EC2) instance, edge device, or on-premises server or virtual machine (VM) that has been configured for Systems Manager.

With support for IoT Greengrass Version 2 devices, the phrase managed instance has been changed to managed node in most of the Systems Manager documentation. The Systems Manager console, API calls, error messages, and SSM documents still use the term instance.

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide.

To get started, verify prerequisites and configure managed nodes. For more information, see Setting up Amazon Web Services Systems Manager in the Amazon Web Services Systems Manager User Guide.

Related resources

", + "service": "

Amazon Web Services Systems Manager is a collection of capabilities that helps you automate management tasks such as collecting system inventory, applying operating system (OS) patches, automating the creation of Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale. Systems Manager lets you remotely and securely manage the configuration of your managed nodes. A managed node is any Amazon Elastic Compute Cloud (Amazon EC2) instance, edge device, or on-premises server or virtual machine (VM) that has been configured for Systems Manager.

With support for IoT Greengrass core devices, the phrase managed instance has been changed to managed node in most of the Systems Manager documentation. The Systems Manager console, API calls, error messages, and SSM documents still use the term instance.

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide.

To get started, verify prerequisites and configure managed nodes. For more information, see Setting up Amazon Web Services Systems Manager in the Amazon Web Services Systems Manager User Guide.

Related resources

", "operations": { "AddTagsToResource": "

Adds or overwrites one or more tags for the specified resource. Tags are metadata that you can assign to your documents, managed nodes, maintenance windows, Parameter Store parameters, and patch baselines. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. For example, you could define a set of tags for your account's managed nodes that helps you track each node's owner and stack level. For example:

Each resource can have a maximum of 50 tags.

We recommend that you devise a set of tag keys that meets your needs for each resource type. Using a consistent set of tag keys makes it easier for you to manage your resources. You can search and filter the resources based on the tags you add. Tags don't have any semantic meaning to and are interpreted strictly as a string of characters.

For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see Tagging your Amazon EC2 resources in the Amazon EC2 User Guide.

", "AssociateOpsItemRelatedItem": "

Associates a related item to a Systems Manager OpsCenter OpsItem. For example, you can associate an Incident Manager incident or analysis with an OpsItem. Incident Manager and OpsCenter are capabilities of Amazon Web Services Systems Manager.

", @@ -123,7 +123,7 @@ "StopAutomationExecution": "

Stop an Automation that is currently running.

", "TerminateSession": "

Permanently ends a session and closes the data connection between the Session Manager client and SSM Agent on the managed node. A terminated session isn't be resumed.

", "UnlabelParameterVersion": "

Remove a label or labels from a parameter.

", - "UpdateAssociation": "

Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output.

In order to call this API operation, your Identity and Access Management (IAM) user account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn>

When you update an association, the association immediately runs against the specified targets.

", + "UpdateAssociation": "

Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you call UpdateAssociation, the system drops all optional parameters from the request and overwrites the association with null values for those parameters. This is by design. You must specify all optional parameters in the call, even if you are not changing the parameters. This includes the Name parameter. Before calling this API action, we recommend that you call the DescribeAssociation API operation and make a note of all optional parameters required for your UpdateAssociation call.

In order to call this API operation, your Identity and Access Management (IAM) user account, group, or role must be configured with permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn>

When you update an association, the association immediately runs against the specified targets. You can add the ApplyOnlyAtCronInterval parameter to run the association during the next schedule run.

", "UpdateAssociationStatus": "

Updates the status of the Amazon Web Services Systems Manager document (SSM document) associated with the specified managed node.

UpdateAssociationStatus is primarily used by the Amazon Web Services Systems Manager Agent (SSM Agent) to report status updates about your associations and is only used for associations created with the InstanceId legacy parameter.

", "UpdateDocument": "

Updates one or more values for an SSM document.

", "UpdateDocumentDefaultVersion": "

Set the default version of a document.

", @@ -966,6 +966,25 @@ "refs": { } }, + "Category": { + "base": null, + "refs": { + "CategoryEnumList$member": null, + "CategoryList$member": null + } + }, + "CategoryEnumList": { + "base": null, + "refs": { + "DocumentDescription$CategoryEnum": "

The value that identifies a document's category.

" + } + }, + "CategoryList": { + "base": null, + "refs": { + "DocumentDescription$Category": "

The classification of a document to help you identify and categorize its use.

" + } + }, "ChangeDetailsValue": { "base": null, "refs": { @@ -1138,7 +1157,7 @@ "CompletedCount": { "base": null, "refs": { - "Command$CompletedCount": "

The number of targets for which the command invocation reached a terminal state. Terminal states include the following: Success, Failed, Execution Timed Out, Delivery Timed Out, Canceled, Terminated, or Undeliverable.

" + "Command$CompletedCount": "

The number of targets for which the command invocation reached a terminal state. Terminal states include the following: Success, Failed, Execution Timed Out, Delivery Timed Out, Cancelled, Terminated, or Undeliverable.

" } }, "ComplianceExecutionId": { @@ -2147,7 +2166,7 @@ } }, "DocumentDescription": { - "base": "

Describes a Amazon Web Services Systems Manager document (SSM document).

", + "base": "

Describes an Amazon Web Services Systems Manager document (SSM document).

", "refs": { "CreateDocumentResult$DocumentDescription": "

Information about the SSM document.

", "DescribeDocumentResult$Document": "

Information about the SSM document.

", @@ -2464,7 +2483,7 @@ "DocumentVersion": { "base": null, "refs": { - "Association$DocumentVersion": "

The version of the document used in the association.

", + "Association$DocumentVersion": "

The version of the document used in the association.

State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the default version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to default.

", "AssociationDescription$DocumentVersion": "

The document version.

", "AssociationVersionInfo$DocumentVersion": "

The version of an Amazon Web Services Systems Manager document (SSM document) used when the association version was created.

", "AutomationExecution$DocumentVersion": "

The version of the document to use during execution.

", @@ -2472,7 +2491,7 @@ "Command$DocumentVersion": "

The Systems Manager document (SSM document) version.

", "CommandInvocation$DocumentVersion": "

The Systems Manager document (SSM document) version.

", "CreateAssociationBatchRequestEntry$DocumentVersion": "

The document version.

", - "CreateAssociationRequest$DocumentVersion": "

The document version you want to associate with the target(s). Can be a specific version or the default version.

", + "CreateAssociationRequest$DocumentVersion": "

The document version you want to associate with the target(s). Can be a specific version or the default version.

State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the default version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to default.

", "DeleteDocumentRequest$DocumentVersion": "

The version of the document that you want to delete. If not provided, all versions of the document are deleted.

", "DescribeDocumentRequest$DocumentVersion": "

The document version for which you want information. Can be a specific version or the default version.

", "DocumentDefaultVersionDescription$DefaultVersion": "

The default version of the document.

", @@ -2496,7 +2515,7 @@ "SendCommandRequest$DocumentVersion": "

The SSM document version to use in the request. You can specify $DEFAULT, $LATEST, or a specific version number. If you run commands by using the Command Line Interface (Amazon Web Services CLI), then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:

--document-version \"\\$DEFAULT\"

--document-version \"\\$LATEST\"

--document-version \"3\"

", "StartAutomationExecutionRequest$DocumentVersion": "

The version of the Automation runbook to use for this execution.

", "StartChangeRequestExecutionRequest$DocumentVersion": "

The version of the change template document to run during the runbook workflow.

", - "UpdateAssociationRequest$DocumentVersion": "

The document version you want update for the association.

", + "UpdateAssociationRequest$DocumentVersion": "

The document version you want update for the association.

State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the default version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to default.

", "UpdateDocumentMetadataRequest$DocumentVersion": "

The version of a change template in which to update approval metadata.

", "UpdateDocumentRequest$DocumentVersion": "

The version of the document that you want to update. Currently, Systems Manager supports updating only the latest version of the document. You can specify the version number of the latest version or use the $LATEST variable.

" } @@ -6374,7 +6393,7 @@ "PlatformTypeList": { "base": null, "refs": { - "DocumentDescription$PlatformTypes": "

The list of OS platforms compatible with this SSM document.

", + "DocumentDescription$PlatformTypes": "

The list of operating system (OS) platforms compatible with this SSM document.

", "DocumentIdentifier$PlatformTypes": "

The operating system platform.

" } }, @@ -7280,10 +7299,10 @@ "StatusDetails": { "base": null, "refs": { - "Command$StatusDetails": "

A detailed status of the command execution. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values:

", - "CommandInvocation$StatusDetails": "

A detailed status of the command execution for each invocation (each managed node targeted by the command). StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values:

", - "CommandPlugin$StatusDetails": "

A detailed status of the plugin execution. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values:

", - "GetCommandInvocationResult$StatusDetails": "

A detailed status of the command execution for an invocation. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values:

" + "Command$StatusDetails": "

A detailed status of the command execution. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values:

", + "CommandInvocation$StatusDetails": "

A detailed status of the command execution for each invocation (each managed node targeted by the command). StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values:

", + "CommandPlugin$StatusDetails": "

A detailed status of the plugin execution. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values:

", + "GetCommandInvocationResult$StatusDetails": "

A detailed status of the command execution for an invocation. StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding command statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the following values:

" } }, "StatusMessage": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 990f3ae1089..5d41d51888c 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1368,6 +1368,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, @@ -17226,6 +17227,19 @@ }, "deprecated" : true, "hostname" : "dms.us-iso-east-1.c2s.ic.gov" + }, + "us-iso-west-1" : { + "variants" : [ { + "hostname" : "dms.us-iso-west-1.c2s.ic.gov", + "tags" : [ "fips" ] + } ] + }, + "us-iso-west-1-fips" : { + "credentialScope" : { + "region" : "us-iso-west-1" + }, + "deprecated" : true, + "hostname" : "dms.us-iso-west-1.c2s.ic.gov" } } }, diff --git a/service/elasticache/api.go b/service/elasticache/api.go index 23454f25e12..334a2c8e35a 100644 --- a/service/elasticache/api.go +++ b/service/elasticache/api.go @@ -16396,7 +16396,7 @@ type LogDeliveryConfiguration struct { // Returns the log format, either JSON or TEXT. LogFormat *string `type:"string" enum:"LogFormat"` - // Refers to slow-log (https://redis.io/commands/slowlog). + // Refers to slow-log (https://redis.io/commands/slowlog) or engine-log. LogType *string `type:"string" enum:"LogType"` // Returns an error message for the log delivery configuration. @@ -16478,7 +16478,7 @@ type LogDeliveryConfigurationRequest struct { // Specifies either JSON or TEXT LogFormat *string `type:"string" enum:"LogFormat"` - // Refers to slow-log (https://redis.io/commands/slowlog). + // Refers to slow-log (https://redis.io/commands/slowlog) or engine-log.. LogType *string `type:"string" enum:"LogType"` } @@ -18901,7 +18901,7 @@ type PendingLogDeliveryConfiguration struct { // Returns the log format, either JSON or TEXT LogFormat *string `type:"string" enum:"LogFormat"` - // Refers to slow-log (https://redis.io/commands/slowlog). + // Refers to slow-log (https://redis.io/commands/slowlog) or engine-log.. LogType *string `type:"string" enum:"LogType"` } @@ -22278,12 +22278,16 @@ func LogFormat_Values() []string { const ( // LogTypeSlowLog is a LogType enum value LogTypeSlowLog = "slow-log" + + // LogTypeEngineLog is a LogType enum value + LogTypeEngineLog = "engine-log" ) // LogType_Values returns all elements of the LogType enum func LogType_Values() []string { return []string{ LogTypeSlowLog, + LogTypeEngineLog, } } diff --git a/service/glue/api.go b/service/glue/api.go index f62c85c1c86..b03b7a6f584 100644 --- a/service/glue/api.go +++ b/service/glue/api.go @@ -46293,6 +46293,9 @@ type StartWorkflowRunInput struct { // // Name is a required field Name *string `min:"1" type:"string" required:"true"` + + // The workflow run properties for the new workflow run. + RunProperties map[string]*string `type:"map"` } // String returns the string representation. @@ -46335,6 +46338,12 @@ func (s *StartWorkflowRunInput) SetName(v string) *StartWorkflowRunInput { return s } +// SetRunProperties sets the RunProperties field's value. +func (s *StartWorkflowRunInput) SetRunProperties(v map[string]*string) *StartWorkflowRunInput { + s.RunProperties = v + return s +} + type StartWorkflowRunOutput struct { _ struct{} `type:"structure"` diff --git a/service/lexruntimev2/api.go b/service/lexruntimev2/api.go index 6d69ae74192..c941674592b 100644 --- a/service/lexruntimev2/api.go +++ b/service/lexruntimev2/api.go @@ -4216,6 +4216,125 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } +// Provides an array of phrases that should be given preference when resolving +// values for a slot. +type RuntimeHintDetails struct { + _ struct{} `type:"structure"` + + // One or more strings that Amazon Lex V2 should look for in the input to the + // bot. Each phrase is given preference when deciding on slot values. + // + // RuntimeHintValues is a required field + RuntimeHintValues []*RuntimeHintValue `locationName:"runtimeHintValues" min:"1" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuntimeHintDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuntimeHintDetails) GoString() string { + return s.String() +} + +// SetRuntimeHintValues sets the RuntimeHintValues field's value. +func (s *RuntimeHintDetails) SetRuntimeHintValues(v []*RuntimeHintValue) *RuntimeHintDetails { + s.RuntimeHintValues = v + return s +} + +// Provides the phrase that Amazon Lex V2 should look for in the user's input +// to the bot. +type RuntimeHintValue struct { + _ struct{} `type:"structure"` + + // The phrase that Amazon Lex V2 should look for in the user's input to the + // bot. + // + // Phrase is a required field + Phrase *string `locationName:"phrase" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuntimeHintValue) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuntimeHintValue) GoString() string { + return s.String() +} + +// SetPhrase sets the Phrase field's value. +func (s *RuntimeHintValue) SetPhrase(v string) *RuntimeHintValue { + s.Phrase = &v + return s +} + +// You can provide Amazon Lex V2 with hints to the phrases that a customer is +// likely to use for a slot. When a slot with hints is resolved, the phrases +// in the runtime hints are preferred in the resolution. You can provide hints +// for a maximum of 100 intents. You can provide a maximum of 100 slots. +// +// Before you can use runtime hints with an existing bot, you must first rebuild +// the bot. +// +// For more information, see Using hints to improve accuracy (https://docs.aws.amazon.com/lexv2/latest/dg/using-hints.xml). +type RuntimeHints struct { + _ struct{} `type:"structure"` + + // A list of the slots in the intent that should have runtime hints added, and + // the phrases that should be added for each slot. + // + // The first level of the slotHints map is the name of the intent. The second + // level is the name of the slot within the intent. For more information, see + // Using hints to improve accuracy (https://docs.aws.amazon.com/lexv2/latest/dg/using-hints.xml). + // + // The intent name and slot name must exist. + SlotHints map[string]map[string]*RuntimeHintDetails `locationName:"slotHints" type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuntimeHints) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuntimeHints) GoString() string { + return s.String() +} + +// SetSlotHints sets the SlotHints field's value. +func (s *RuntimeHints) SetSlotHints(v map[string]map[string]*RuntimeHintDetails) *RuntimeHints { + s.SlotHints = v + return s +} + // Provides information about the sentiment expressed in a user's response in // a conversation. Sentiments are determined using Amazon Comprehend. Sentiments // are only returned if they are enabled for the bot. @@ -4341,8 +4460,13 @@ type SessionState struct { // The active intent that Amazon Lex V2 is processing. Intent *Intent `locationName:"intent" type:"structure"` + // A unique identifier for a specific request. OriginatingRequestId *string `locationName:"originatingRequestId" min:"1" type:"string"` + // Hints for phrases that a customer is likely to use for a slot. Amazon Lex + // V2 uses the hints to help determine the correct value of a slot. + RuntimeHints *RuntimeHints `locationName:"runtimeHints" type:"structure"` + // Map of key/value pairs representing session-specific context information. // It contains application information passed between Amazon Lex V2 and a client // application. @@ -4424,6 +4548,12 @@ func (s *SessionState) SetOriginatingRequestId(v string) *SessionState { return s } +// SetRuntimeHints sets the RuntimeHints field's value. +func (s *SessionState) SetRuntimeHints(v *RuntimeHints) *SessionState { + s.RuntimeHints = v + return s +} + // SetSessionAttributes sets the SessionAttributes field's value. func (s *SessionState) SetSessionAttributes(v map[string]*string) *SessionState { s.SessionAttributes = v diff --git a/service/lexruntimev2/eventstream_test.go b/service/lexruntimev2/eventstream_test.go index b6be780e9d7..69eae1bd66c 100644 --- a/service/lexruntimev2/eventstream_test.go +++ b/service/lexruntimev2/eventstream_test.go @@ -513,6 +513,133 @@ func mockStartConversationReadEvents() ( State: aws.String("string value goes here"), }, OriginatingRequestId: aws.String("string value goes here"), + RuntimeHints: &RuntimeHints{ + SlotHints: map[string]map[string]*RuntimeHintDetails{ + "a": { + "a": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "b": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "c": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + }, + "b": { + "a": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "b": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "c": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + }, + "c": { + "a": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "b": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "c": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + }, + }, + }, SessionAttributes: map[string]*string{ "a": aws.String("string value goes here"), "b": aws.String("string value goes here"), @@ -1040,6 +1167,133 @@ func mockStartConversationWriteEvents() ( State: aws.String("string value goes here"), }, OriginatingRequestId: aws.String("string value goes here"), + RuntimeHints: &RuntimeHints{ + SlotHints: map[string]map[string]*RuntimeHintDetails{ + "a": { + "a": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "b": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "c": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + }, + "b": { + "a": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "b": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "c": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + }, + "c": { + "a": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "b": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + "c": { + RuntimeHintValues: []*RuntimeHintValue{ + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + { + Phrase: aws.String("string value goes here"), + }, + }, + }, + }, + }, + }, SessionAttributes: map[string]*string{ "a": aws.String("string value goes here"), "b": aws.String("string value goes here"), diff --git a/service/nimblestudio/api.go b/service/nimblestudio/api.go index 2159fce8e71..d83cb648527 100644 --- a/service/nimblestudio/api.go +++ b/service/nimblestudio/api.go @@ -2124,7 +2124,7 @@ func (c *NimbleStudio) GetStreamingSessionRequest(input *GetStreamingSessionInpu // // Gets StreamingSession resource. // -// anvoke this operation to poll for a streaming session state while creating +// Invoke this operation to poll for a streaming session state while creating // or deleting a session. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -6163,7 +6163,9 @@ type CreateStreamingSessionInput struct { // The launch profile ID. LaunchProfileId *string `locationName:"launchProfileId" type:"string"` - // The user ID of the user that owns the streaming session. + // The user ID of the user that owns the streaming session. The user that owns + // the session will be logging into the session and interacting with the virtual + // workstation. OwnedBy *string `locationName:"ownedBy" type:"string"` // The ID of the streaming image. @@ -8969,6 +8971,9 @@ type LaunchProfile struct { // The user ID of the user that most recently updated the resource. UpdatedBy *string `locationName:"updatedBy" type:"string"` + + // The list of the latest validation results. + ValidationResults []*ValidationResult `locationName:"validationResults" type:"list"` } // String returns the string representation. @@ -9085,6 +9090,12 @@ func (s *LaunchProfile) SetUpdatedBy(v string) *LaunchProfile { return s } +// SetValidationResults sets the ValidationResults field's value. +func (s *LaunchProfile) SetValidationResults(v []*ValidationResult) *LaunchProfile { + s.ValidationResults = v + return s +} + // A Launch Profile Initialization contains information required for a workstation // or server to connect to a launch profile. // @@ -12055,7 +12066,9 @@ type StreamingSession struct { // The ID of the launch profile used to control access from the streaming session. LaunchProfileId *string `locationName:"launchProfileId" type:"string"` - // The user ID of the user that owns the streaming session. + // The user ID of the user that owns the streaming session. The user that owns + // the session will be logging into the session and interacting with the virtual + // workstation. OwnedBy *string `locationName:"ownedBy" type:"string"` // The session ID. @@ -12247,16 +12260,14 @@ func (s *StreamingSession) SetUpdatedBy(v string) *StreamingSession { type StreamingSessionStorageRoot struct { _ struct{} `type:"structure"` - // The folder path in Linux workstations where files are uploaded. The default - // path is $HOME/Downloads. + // The folder path in Linux workstations where files are uploaded. // // Linux is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by StreamingSessionStorageRoot's // String and GoString methods. Linux *string `locationName:"linux" min:"1" type:"string" sensitive:"true"` - // The folder path in Windows workstations where files are uploaded. The default - // path is %HOMEPATH%\Downloads. + // The folder path in Windows workstations where files are uploaded. // // Windows is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by StreamingSessionStorageRoot's @@ -12326,7 +12337,9 @@ type StreamingSessionStream struct { // The Unix epoch timestamp in seconds for when the resource expires. ExpiresAt *time.Time `locationName:"expiresAt" type:"timestamp" timestampFormat:"iso8601"` - // The user ID of the user that owns the streaming session. + // The user ID of the user that owns the streaming session. The user that owns + // the session will be logging into the session and interacting with the virtual + // workstation. OwnedBy *string `locationName:"ownedBy" type:"string"` // The current state. @@ -14336,6 +14349,73 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } +// The launch profile validation result. +type ValidationResult struct { + _ struct{} `type:"structure"` + + // The current state. + // + // State is a required field + State *string `locationName:"state" type:"string" required:"true" enum:"LaunchProfileValidationState"` + + // The status code. This will contain the failure reason if the state is VALIDATION_FAILED. + // + // StatusCode is a required field + StatusCode *string `locationName:"statusCode" type:"string" required:"true" enum:"LaunchProfileValidationStatusCode"` + + // The status message for the validation result. + // + // StatusMessage is a required field + StatusMessage *string `locationName:"statusMessage" type:"string" required:"true"` + + // The type of the validation result. + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"LaunchProfileValidationType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationResult) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationResult) GoString() string { + return s.String() +} + +// SetState sets the State field's value. +func (s *ValidationResult) SetState(v string) *ValidationResult { + s.State = &v + return s +} + +// SetStatusCode sets the StatusCode field's value. +func (s *ValidationResult) SetStatusCode(v string) *ValidationResult { + s.StatusCode = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *ValidationResult) SetStatusMessage(v string) *ValidationResult { + s.StatusMessage = &v + return s +} + +// SetType sets the Type field's value. +func (s *ValidationResult) SetType(v string) *ValidationResult { + s.Type = &v + return s +} + const ( // LaunchProfilePersonaUser is a LaunchProfilePersona enum value LaunchProfilePersonaUser = "USER" @@ -14464,6 +14544,102 @@ func LaunchProfileStatusCode_Values() []string { } } +const ( + // LaunchProfileValidationStateValidationNotStarted is a LaunchProfileValidationState enum value + LaunchProfileValidationStateValidationNotStarted = "VALIDATION_NOT_STARTED" + + // LaunchProfileValidationStateValidationInProgress is a LaunchProfileValidationState enum value + LaunchProfileValidationStateValidationInProgress = "VALIDATION_IN_PROGRESS" + + // LaunchProfileValidationStateValidationSuccess is a LaunchProfileValidationState enum value + LaunchProfileValidationStateValidationSuccess = "VALIDATION_SUCCESS" + + // LaunchProfileValidationStateValidationFailed is a LaunchProfileValidationState enum value + LaunchProfileValidationStateValidationFailed = "VALIDATION_FAILED" + + // LaunchProfileValidationStateValidationFailedInternalServerError is a LaunchProfileValidationState enum value + LaunchProfileValidationStateValidationFailedInternalServerError = "VALIDATION_FAILED_INTERNAL_SERVER_ERROR" +) + +// LaunchProfileValidationState_Values returns all elements of the LaunchProfileValidationState enum +func LaunchProfileValidationState_Values() []string { + return []string{ + LaunchProfileValidationStateValidationNotStarted, + LaunchProfileValidationStateValidationInProgress, + LaunchProfileValidationStateValidationSuccess, + LaunchProfileValidationStateValidationFailed, + LaunchProfileValidationStateValidationFailedInternalServerError, + } +} + +const ( + // LaunchProfileValidationStatusCodeValidationNotStarted is a LaunchProfileValidationStatusCode enum value + LaunchProfileValidationStatusCodeValidationNotStarted = "VALIDATION_NOT_STARTED" + + // LaunchProfileValidationStatusCodeValidationInProgress is a LaunchProfileValidationStatusCode enum value + LaunchProfileValidationStatusCodeValidationInProgress = "VALIDATION_IN_PROGRESS" + + // LaunchProfileValidationStatusCodeValidationSuccess is a LaunchProfileValidationStatusCode enum value + LaunchProfileValidationStatusCodeValidationSuccess = "VALIDATION_SUCCESS" + + // LaunchProfileValidationStatusCodeValidationFailedInvalidSubnetRouteTableAssociation is a LaunchProfileValidationStatusCode enum value + LaunchProfileValidationStatusCodeValidationFailedInvalidSubnetRouteTableAssociation = "VALIDATION_FAILED_INVALID_SUBNET_ROUTE_TABLE_ASSOCIATION" + + // LaunchProfileValidationStatusCodeValidationFailedSubnetNotFound is a LaunchProfileValidationStatusCode enum value + LaunchProfileValidationStatusCodeValidationFailedSubnetNotFound = "VALIDATION_FAILED_SUBNET_NOT_FOUND" + + // LaunchProfileValidationStatusCodeValidationFailedInvalidSecurityGroupAssociation is a LaunchProfileValidationStatusCode enum value + LaunchProfileValidationStatusCodeValidationFailedInvalidSecurityGroupAssociation = "VALIDATION_FAILED_INVALID_SECURITY_GROUP_ASSOCIATION" + + // LaunchProfileValidationStatusCodeValidationFailedInvalidActiveDirectory is a LaunchProfileValidationStatusCode enum value + LaunchProfileValidationStatusCodeValidationFailedInvalidActiveDirectory = "VALIDATION_FAILED_INVALID_ACTIVE_DIRECTORY" + + // LaunchProfileValidationStatusCodeValidationFailedUnauthorized is a LaunchProfileValidationStatusCode enum value + LaunchProfileValidationStatusCodeValidationFailedUnauthorized = "VALIDATION_FAILED_UNAUTHORIZED" + + // LaunchProfileValidationStatusCodeValidationFailedInternalServerError is a LaunchProfileValidationStatusCode enum value + LaunchProfileValidationStatusCodeValidationFailedInternalServerError = "VALIDATION_FAILED_INTERNAL_SERVER_ERROR" +) + +// LaunchProfileValidationStatusCode_Values returns all elements of the LaunchProfileValidationStatusCode enum +func LaunchProfileValidationStatusCode_Values() []string { + return []string{ + LaunchProfileValidationStatusCodeValidationNotStarted, + LaunchProfileValidationStatusCodeValidationInProgress, + LaunchProfileValidationStatusCodeValidationSuccess, + LaunchProfileValidationStatusCodeValidationFailedInvalidSubnetRouteTableAssociation, + LaunchProfileValidationStatusCodeValidationFailedSubnetNotFound, + LaunchProfileValidationStatusCodeValidationFailedInvalidSecurityGroupAssociation, + LaunchProfileValidationStatusCodeValidationFailedInvalidActiveDirectory, + LaunchProfileValidationStatusCodeValidationFailedUnauthorized, + LaunchProfileValidationStatusCodeValidationFailedInternalServerError, + } +} + +const ( + // LaunchProfileValidationTypeValidateActiveDirectoryStudioComponent is a LaunchProfileValidationType enum value + LaunchProfileValidationTypeValidateActiveDirectoryStudioComponent = "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" + + // LaunchProfileValidationTypeValidateSubnetAssociation is a LaunchProfileValidationType enum value + LaunchProfileValidationTypeValidateSubnetAssociation = "VALIDATE_SUBNET_ASSOCIATION" + + // LaunchProfileValidationTypeValidateNetworkAclAssociation is a LaunchProfileValidationType enum value + LaunchProfileValidationTypeValidateNetworkAclAssociation = "VALIDATE_NETWORK_ACL_ASSOCIATION" + + // LaunchProfileValidationTypeValidateSecurityGroupAssociation is a LaunchProfileValidationType enum value + LaunchProfileValidationTypeValidateSecurityGroupAssociation = "VALIDATE_SECURITY_GROUP_ASSOCIATION" +) + +// LaunchProfileValidationType_Values returns all elements of the LaunchProfileValidationType enum +func LaunchProfileValidationType_Values() []string { + return []string{ + LaunchProfileValidationTypeValidateActiveDirectoryStudioComponent, + LaunchProfileValidationTypeValidateSubnetAssociation, + LaunchProfileValidationTypeValidateNetworkAclAssociation, + LaunchProfileValidationTypeValidateSecurityGroupAssociation, + } +} + const ( // StreamingClipboardModeEnabled is a StreamingClipboardMode enum value StreamingClipboardModeEnabled = "ENABLED" @@ -14699,6 +14875,9 @@ const ( // StreamingSessionStatusCodeStreamingSessionStartInProgress is a StreamingSessionStatusCode enum value StreamingSessionStatusCodeStreamingSessionStartInProgress = "STREAMING_SESSION_START_IN_PROGRESS" + + // StreamingSessionStatusCodeAmiValidationError is a StreamingSessionStatusCode enum value + StreamingSessionStatusCodeAmiValidationError = "AMI_VALIDATION_ERROR" ) // StreamingSessionStatusCode_Values returns all elements of the StreamingSessionStatusCode enum @@ -14719,6 +14898,7 @@ func StreamingSessionStatusCode_Values() []string { StreamingSessionStatusCodeStreamingSessionStarted, StreamingSessionStatusCodeStreamingSessionStopInProgress, StreamingSessionStatusCodeStreamingSessionStartInProgress, + StreamingSessionStatusCodeAmiValidationError, } } diff --git a/service/pinpoint/api.go b/service/pinpoint/api.go index 158e6647c10..9af25dbf985 100644 --- a/service/pinpoint/api.go +++ b/service/pinpoint/api.go @@ -11448,6 +11448,103 @@ func (c *Pinpoint) UpdateVoiceTemplateWithContext(ctx aws.Context, input *Update return out, req.Send() } +const opVerifyOTPMessage = "VerifyOTPMessage" + +// VerifyOTPMessageRequest generates a "aws/request.Request" representing the +// client's request for the VerifyOTPMessage 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 VerifyOTPMessage for more information on using the VerifyOTPMessage +// 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 VerifyOTPMessageRequest method. +// req, resp := client.VerifyOTPMessageRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VerifyOTPMessage +func (c *Pinpoint) VerifyOTPMessageRequest(input *VerifyOTPMessageInput) (req *request.Request, output *VerifyOTPMessageOutput) { + op := &request.Operation{ + Name: opVerifyOTPMessage, + HTTPMethod: "POST", + HTTPPath: "/v1/apps/{application-id}/verify-otp", + } + + if input == nil { + input = &VerifyOTPMessageInput{} + } + + output = &VerifyOTPMessageOutput{} + req = c.newRequest(op, input, output) + return +} + +// VerifyOTPMessage API operation for Amazon Pinpoint. +// +// Verify an OTP +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Pinpoint's +// API operation VerifyOTPMessage for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// Provides information about an API request or response. +// +// * InternalServerErrorException +// Provides information about an API request or response. +// +// * PayloadTooLargeException +// Provides information about an API request or response. +// +// * ForbiddenException +// Provides information about an API request or response. +// +// * NotFoundException +// Provides information about an API request or response. +// +// * MethodNotAllowedException +// Provides information about an API request or response. +// +// * TooManyRequestsException +// Provides information about an API request or response. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VerifyOTPMessage +func (c *Pinpoint) VerifyOTPMessage(input *VerifyOTPMessageInput) (*VerifyOTPMessageOutput, error) { + req, out := c.VerifyOTPMessageRequest(input) + return out, req.Send() +} + +// VerifyOTPMessageWithContext is the same as VerifyOTPMessage with the addition of +// the ability to pass a context and additional request options. +// +// See VerifyOTPMessage 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 *Pinpoint) VerifyOTPMessageWithContext(ctx aws.Context, input *VerifyOTPMessageInput, opts ...request.Option) (*VerifyOTPMessageOutput, error) { + req, out := c.VerifyOTPMessageRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + // Specifies the status and settings of the ADM (Amazon Device Messaging) channel // for an application. type ADMChannelRequest struct { @@ -39749,6 +39846,212 @@ func (s *UpdateVoiceTemplateOutput) SetMessageBody(v *MessageBody) *UpdateVoiceT return s } +// Verify OTP Message Response. +type VerificationResponse struct { + _ struct{} `type:"structure"` + + // Specifies whether the OTP is valid or not. + Valid *bool `type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerificationResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerificationResponse) GoString() string { + return s.String() +} + +// SetValid sets the Valid field's value. +func (s *VerificationResponse) SetValid(v bool) *VerificationResponse { + s.Valid = &v + return s +} + +type VerifyOTPMessageInput struct { + _ struct{} `type:"structure" payload:"VerifyOTPMessageRequestParameters"` + + // ApplicationId is a required field + ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` + + // Verify OTP message request. + // + // VerifyOTPMessageRequestParameters is a required field + VerifyOTPMessageRequestParameters *VerifyOTPMessageRequestParameters `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifyOTPMessageInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifyOTPMessageInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VerifyOTPMessageInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VerifyOTPMessageInput"} + if s.ApplicationId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationId")) + } + if s.ApplicationId != nil && len(*s.ApplicationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationId", 1)) + } + if s.VerifyOTPMessageRequestParameters == nil { + invalidParams.Add(request.NewErrParamRequired("VerifyOTPMessageRequestParameters")) + } + if s.VerifyOTPMessageRequestParameters != nil { + if err := s.VerifyOTPMessageRequestParameters.Validate(); err != nil { + invalidParams.AddNested("VerifyOTPMessageRequestParameters", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *VerifyOTPMessageInput) SetApplicationId(v string) *VerifyOTPMessageInput { + s.ApplicationId = &v + return s +} + +// SetVerifyOTPMessageRequestParameters sets the VerifyOTPMessageRequestParameters field's value. +func (s *VerifyOTPMessageInput) SetVerifyOTPMessageRequestParameters(v *VerifyOTPMessageRequestParameters) *VerifyOTPMessageInput { + s.VerifyOTPMessageRequestParameters = v + return s +} + +type VerifyOTPMessageOutput struct { + _ struct{} `type:"structure" payload:"VerificationResponse"` + + // Verify OTP Message Response. + // + // VerificationResponse is a required field + VerificationResponse *VerificationResponse `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifyOTPMessageOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifyOTPMessageOutput) GoString() string { + return s.String() +} + +// SetVerificationResponse sets the VerificationResponse field's value. +func (s *VerifyOTPMessageOutput) SetVerificationResponse(v *VerificationResponse) *VerifyOTPMessageOutput { + s.VerificationResponse = v + return s +} + +// Verify OTP message request. +type VerifyOTPMessageRequestParameters struct { + _ struct{} `type:"structure"` + + // The destination identity to send OTP to. + // + // DestinationIdentity is a required field + DestinationIdentity *string `type:"string" required:"true"` + + // The OTP the end user provided for verification. + // + // Otp is a required field + Otp *string `type:"string" required:"true"` + + // The reference identifier provided when the OTP was previously sent. + // + // ReferenceId is a required field + ReferenceId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifyOTPMessageRequestParameters) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s VerifyOTPMessageRequestParameters) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VerifyOTPMessageRequestParameters) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VerifyOTPMessageRequestParameters"} + if s.DestinationIdentity == nil { + invalidParams.Add(request.NewErrParamRequired("DestinationIdentity")) + } + if s.Otp == nil { + invalidParams.Add(request.NewErrParamRequired("Otp")) + } + if s.ReferenceId == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDestinationIdentity sets the DestinationIdentity field's value. +func (s *VerifyOTPMessageRequestParameters) SetDestinationIdentity(v string) *VerifyOTPMessageRequestParameters { + s.DestinationIdentity = &v + return s +} + +// SetOtp sets the Otp field's value. +func (s *VerifyOTPMessageRequestParameters) SetOtp(v string) *VerifyOTPMessageRequestParameters { + s.Otp = &v + return s +} + +// SetReferenceId sets the ReferenceId field's value. +func (s *VerifyOTPMessageRequestParameters) SetReferenceId(v string) *VerifyOTPMessageRequestParameters { + s.ReferenceId = &v + return s +} + // Specifies the status and settings of the voice channel for an application. type VoiceChannelRequest struct { _ struct{} `type:"structure"` diff --git a/service/pinpoint/pinpointiface/interface.go b/service/pinpoint/pinpointiface/interface.go index 8fd5380b76a..f21be30475b 100644 --- a/service/pinpoint/pinpointiface/interface.go +++ b/service/pinpoint/pinpointiface/interface.go @@ -531,6 +531,10 @@ type PinpointAPI interface { UpdateVoiceTemplate(*pinpoint.UpdateVoiceTemplateInput) (*pinpoint.UpdateVoiceTemplateOutput, error) UpdateVoiceTemplateWithContext(aws.Context, *pinpoint.UpdateVoiceTemplateInput, ...request.Option) (*pinpoint.UpdateVoiceTemplateOutput, error) UpdateVoiceTemplateRequest(*pinpoint.UpdateVoiceTemplateInput) (*request.Request, *pinpoint.UpdateVoiceTemplateOutput) + + VerifyOTPMessage(*pinpoint.VerifyOTPMessageInput) (*pinpoint.VerifyOTPMessageOutput, error) + VerifyOTPMessageWithContext(aws.Context, *pinpoint.VerifyOTPMessageInput, ...request.Option) (*pinpoint.VerifyOTPMessageOutput, error) + VerifyOTPMessageRequest(*pinpoint.VerifyOTPMessageInput) (*request.Request, *pinpoint.VerifyOTPMessageOutput) } var _ PinpointAPI = (*pinpoint.Pinpoint)(nil) diff --git a/service/ssm/api.go b/service/ssm/api.go index 76188f951ab..36d3c903d7f 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -14206,7 +14206,13 @@ func (c *SSM) UpdateAssociationRequest(input *UpdateAssociationInput) (req *requ // // Updates an association. You can update the association name and version, // the document version, schedule, parameters, and Amazon Simple Storage Service -// (Amazon S3) output. +// (Amazon S3) output. When you call UpdateAssociation, the system drops all +// optional parameters from the request and overwrites the association with +// null values for those parameters. This is by design. You must specify all +// optional parameters in the call, even if you are not changing the parameters. +// This includes the Name parameter. Before calling this API action, we recommend +// that you call the DescribeAssociation API operation and make a note of all +// optional parameters required for your UpdateAssociation call. // // In order to call this API operation, your Identity and Access Management // (IAM) user account, group, or role must be configured with permission to @@ -14217,7 +14223,8 @@ func (c *SSM) UpdateAssociationRequest(input *UpdateAssociationInput) (req *requ // resource: // // When you update an association, the association immediately runs against -// the specified targets. +// the specified targets. You can add the ApplyOnlyAtCronInterval parameter +// to run the association during the next schedule run. // // 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 @@ -16161,6 +16168,13 @@ type Association struct { AssociationVersion *string `type:"string"` // The version of the document used in the association. + // + // State Manager doesn't support running associations that use a new version + // of a document if that document is shared from another account. State Manager + // always runs the default version of a document if shared from another account, + // even though the Systems Manager console shows that a new version was processed. + // If you want to run an association using a new version of a document shared + // form another account, you must set the document version to default. DocumentVersion *string `type:"string"` // The managed node ID. @@ -19268,7 +19282,7 @@ type Command struct { // The number of targets for which the command invocation reached a terminal // state. Terminal states include the following: Success, Failed, Execution - // Timed Out, Delivery Timed Out, Canceled, Terminated, or Undeliverable. + // Timed Out, Delivery Timed Out, Cancelled, Terminated, or Undeliverable. CompletedCount *int64 `type:"integer"` // The number of targets for which the status is Delivery Timed Out. @@ -19370,8 +19384,8 @@ type Command struct { // more invocations doesn't have a value of Success but not enough invocations // failed for the status to be Failed. This is a terminal state. // - // * Canceled: The command was terminated before it was completed. This is - // a terminal state. + // * Cancelled: The command was terminated before it was completed. This + // is a terminal state. // // * Rate Exceeded: The number of managed nodes targeted by the command exceeded // the account limit for pending invocations. The system has canceled the @@ -19748,8 +19762,8 @@ type CommandInvocation struct { // Invocation failures count against the MaxErrors limit of the parent command. // This is a terminal state. // - // * Canceled: The command was terminated before it was completed. This is - // a terminal state. + // * Cancelled: The command was terminated before it was completed. This + // is a terminal state. // // * Undeliverable: The command can't be delivered to the managed node. The // managed node might not exist or might not be responding. Undeliverable @@ -19980,8 +19994,8 @@ type CommandPlugin struct { // Invocation failures count against the MaxErrors limit of the parent command. // This is a terminal state. // - // * Canceled: The command was terminated before it was completed. This is - // a terminal state. + // * Cancelled: The command was terminated before it was completed. This + // is a terminal state. // // * Undeliverable: The command can't be delivered to the managed node. The // managed node might not exist, or it might not be responding. Undeliverable @@ -21207,6 +21221,13 @@ type CreateAssociationInput struct { // The document version you want to associate with the target(s). Can be a specific // version or the default version. + // + // State Manager doesn't support running associations that use a new version + // of a document if that document is shared from another account. State Manager + // always runs the default version of a document if shared from another account, + // even though the Systems Manager console shows that a new version was processed. + // If you want to run an association using a new version of a document shared + // form another account, you must set the document version to default. DocumentVersion *string `type:"string"` // The managed node ID. @@ -28646,7 +28667,7 @@ func (s *DocumentDefaultVersionDescription) SetName(v string) *DocumentDefaultVe return s } -// Describes a Amazon Web Services Systems Manager document (SSM document). +// Describes an Amazon Web Services Systems Manager document (SSM document). type DocumentDescription struct { _ struct{} `type:"structure"` @@ -28660,6 +28681,13 @@ type DocumentDescription struct { // The user in your organization who created the document. Author *string `type:"string"` + // The classification of a document to help you identify and categorize its + // use. + Category []*string `type:"list"` + + // The value that identifies a document's category. + CategoryEnum []*string `type:"list"` + // The date when the document was created. CreatedDate *time.Time `type:"timestamp"` @@ -28707,7 +28735,7 @@ type DocumentDescription struct { // The version of the document that is currently under review. PendingReviewVersion *string `type:"string"` - // The list of OS platforms compatible with this SSM document. + // The list of operating system (OS) platforms compatible with this SSM document. PlatformTypes []*string `type:"list"` // A list of SSM documents required by a document. For example, an ApplicationConfiguration @@ -28784,6 +28812,18 @@ func (s *DocumentDescription) SetAuthor(v string) *DocumentDescription { return s } +// SetCategory sets the Category field's value. +func (s *DocumentDescription) SetCategory(v []*string) *DocumentDescription { + s.Category = v + return s +} + +// SetCategoryEnum sets the CategoryEnum field's value. +func (s *DocumentDescription) SetCategoryEnum(v []*string) *DocumentDescription { + s.CategoryEnum = v + return s +} + // SetCreatedDate sets the CreatedDate field's value. func (s *DocumentDescription) SetCreatedDate(v time.Time) *DocumentDescription { s.CreatedDate = &v @@ -30833,8 +30873,8 @@ type GetCommandInvocationOutput struct { // wasn't zero. Invocation failures count against the MaxErrors limit of // the parent command. This is a terminal state. // - // * Canceled: The command was terminated before it was completed. This is - // a terminal state. + // * Cancelled: The command was terminated before it was completed. This + // is a terminal state. // // * Undeliverable: The command can't be delivered to the managed node. The // node might not exist or might not be responding. Undeliverable invocations @@ -55014,6 +55054,13 @@ type UpdateAssociationInput struct { ComplianceSeverity *string `type:"string" enum:"AssociationComplianceSeverity"` // The document version you want update for the association. + // + // State Manager doesn't support running associations that use a new version + // of a document if that document is shared from another account. State Manager + // always runs the default version of a document if shared from another account, + // even though the Systems Manager console shows that a new version was processed. + // If you want to run an association using a new version of a document shared + // form another account, you must set the document version to default. DocumentVersion *string `type:"string"` // The maximum number of targets allowed to run the association at the same diff --git a/service/ssm/doc.go b/service/ssm/doc.go index 44a94a75925..77fff888b6a 100644 --- a/service/ssm/doc.go +++ b/service/ssm/doc.go @@ -12,7 +12,7 @@ // (Amazon EC2) instance, edge device, or on-premises server or virtual machine // (VM) that has been configured for Systems Manager. // -// With support for IoT Greengrass Version 2 devices, the phrase managed instance +// With support for IoT Greengrass core devices, the phrase managed instance // has been changed to managed node in most of the Systems Manager documentation. // The Systems Manager console, API calls, error messages, and SSM documents // still use the term instance.