From 55c18d738054295048598a281206b404e6bfc18c Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 2 Sep 2022 11:26:00 -0700 Subject: [PATCH] Release v1.44.91 (2022-09-02) (#4546) Release v1.44.91 (2022-09-02) === ### Service Client Updates * `service/cognito-idp`: Updates service API and documentation * `service/connect`: Updates service API, documentation, and paginators * `service/mediapackage`: Updates service API and documentation * Added support for AES_CTR encryption to CMAF origin endpoints * `service/sagemaker`: Updates service API and documentation * This release enables administrators to attribute user activity and API calls from Studio notebooks, Data Wrangler and Canvas to specific users even when users share the same execution IAM role. ExecutionRoleIdentityConfig at Sagemaker domain level enables this feature. --- CHANGELOG.md | 11 + aws/endpoints/defaults.go | 83 ++ aws/version.go | 2 +- models/apis/cognito-idp/2016-04-18/api-2.json | 14 +- .../apis/cognito-idp/2016-04-18/docs-2.json | 32 +- models/apis/connect/2017-08-08/api-2.json | 130 ++- models/apis/connect/2017-08-08/docs-2.json | 123 ++- .../apis/connect/2017-08-08/paginators-1.json | 18 + .../apis/mediapackage/2017-10-12/api-2.json | 11 + .../apis/mediapackage/2017-10-12/docs-2.json | 8 +- models/apis/sagemaker/2017-07-24/api-2.json | 13 +- models/apis/sagemaker/2017-07-24/docs-2.json | 7 + models/endpoints/endpoints.json | 75 +- service/cognitoidentityprovider/api.go | 108 ++- service/connect/api.go | 831 +++++++++++++++++- service/connect/connectiface/interface.go | 14 + service/mediapackage/api.go | 26 + service/sagemaker/api.go | 38 + 18 files changed, 1475 insertions(+), 69 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93bfaf21b62..2aa228c3ec7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.44.91 (2022-09-02) +=== + +### Service Client Updates +* `service/cognito-idp`: Updates service API and documentation +* `service/connect`: Updates service API, documentation, and paginators +* `service/mediapackage`: Updates service API and documentation + * Added support for AES_CTR encryption to CMAF origin endpoints +* `service/sagemaker`: Updates service API and documentation + * This release enables administrators to attribute user activity and API calls from Studio notebooks, Data Wrangler and Canvas to specific users even when users share the same execution IAM role. ExecutionRoleIdentityConfig at Sagemaker domain level enables this feature. + Release v1.44.90 (2022-09-01) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 668f1c97ff4..0d2ea815156 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -6323,21 +6323,81 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "fips-us-east-1", + }: endpoint{ + Hostname: "databrew-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-east-2", + }: endpoint{ + Hostname: "databrew-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-1", + }: endpoint{ + Hostname: "databrew-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-2", + }: endpoint{ + Hostname: "databrew-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "sa-east-1", }: endpoint{}, endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "databrew-fips.us-east-1.amazonaws.com", + }, endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "databrew-fips.us-east-2.amazonaws.com", + }, endpointKey{ Region: "us-west-1", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "databrew-fips.us-west-1.amazonaws.com", + }, endpointKey{ Region: "us-west-2", }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "databrew-fips.us-west-2.amazonaws.com", + }, }, }, "dataexchange": service{ @@ -7269,6 +7329,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -23787,12 +23850,32 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-2", }: endpoint{}, + endpointKey{ + Region: "fips-us-east-1", + }: endpoint{ + + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-2", + }: endpoint{ + + Deprecated: boxedTrue, + }, endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: fipsVariant, + }: endpoint{}, endpointKey{ Region: "us-west-2", }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: fipsVariant, + }: endpoint{}, }, }, "waf": service{ diff --git a/aws/version.go b/aws/version.go index d4c130f68d5..f09b245b04e 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.90" +const SDKVersion = "1.44.91" diff --git a/models/apis/cognito-idp/2016-04-18/api-2.json b/models/apis/cognito-idp/2016-04-18/api-2.json index 10564c8998a..4ec8134f381 100644 --- a/models/apis/cognito-idp/2016-04-18/api-2.json +++ b/models/apis/cognito-idp/2016-04-18/api-2.json @@ -2638,6 +2638,11 @@ "value":{"shape":"StringType"}, "sensitive":true }, + "AuthSessionValidityType":{ + "type":"integer", + "max":15, + "min":3 + }, "AuthenticationResultType":{ "type":"structure", "members":{ @@ -3025,7 +3030,8 @@ "AnalyticsConfiguration":{"shape":"AnalyticsConfigurationType"}, "PreventUserExistenceErrors":{"shape":"PreventUserExistenceErrorTypes"}, "EnableTokenRevocation":{"shape":"WrappedBooleanType"}, - "EnablePropagateAdditionalUserContextData":{"shape":"WrappedBooleanType"} + "EnablePropagateAdditionalUserContextData":{"shape":"WrappedBooleanType"}, + "AuthSessionValidity":{"shape":"AuthSessionValidityType"} } }, "CreateUserPoolClientResponse":{ @@ -5195,7 +5201,8 @@ "AnalyticsConfiguration":{"shape":"AnalyticsConfigurationType"}, "PreventUserExistenceErrors":{"shape":"PreventUserExistenceErrorTypes"}, "EnableTokenRevocation":{"shape":"WrappedBooleanType"}, - "EnablePropagateAdditionalUserContextData":{"shape":"WrappedBooleanType"} + "EnablePropagateAdditionalUserContextData":{"shape":"WrappedBooleanType"}, + "AuthSessionValidity":{"shape":"AuthSessionValidityType"} } }, "UpdateUserPoolClientResponse":{ @@ -5405,7 +5412,8 @@ "AnalyticsConfiguration":{"shape":"AnalyticsConfigurationType"}, "PreventUserExistenceErrors":{"shape":"PreventUserExistenceErrorTypes"}, "EnableTokenRevocation":{"shape":"WrappedBooleanType"}, - "EnablePropagateAdditionalUserContextData":{"shape":"WrappedBooleanType"} + "EnablePropagateAdditionalUserContextData":{"shape":"WrappedBooleanType"}, + "AuthSessionValidity":{"shape":"AuthSessionValidityType"} } }, "UserPoolDescriptionType":{ diff --git a/models/apis/cognito-idp/2016-04-18/docs-2.json b/models/apis/cognito-idp/2016-04-18/docs-2.json index c71079e46b5..eb7cd11fc09 100644 --- a/models/apis/cognito-idp/2016-04-18/docs-2.json +++ b/models/apis/cognito-idp/2016-04-18/docs-2.json @@ -611,6 +611,14 @@ "InitiateAuthRequest$AuthParameters": "

The authentication parameters. These are inputs corresponding to the AuthFlow that you're invoking. The required values depend on the value of AuthFlow:

" } }, + "AuthSessionValidityType": { + "base": null, + "refs": { + "CreateUserPoolClientRequest$AuthSessionValidity": "

Amazon Cognito creates a session token for each API request in an authentication flow. AuthSessionValidity is the duration, in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.

", + "UpdateUserPoolClientRequest$AuthSessionValidity": "

Amazon Cognito creates a session token for each API request in an authentication flow. AuthSessionValidity is the duration, in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.

", + "UserPoolClientType$AuthSessionValidity": "

Amazon Cognito creates a session token for each API request in an authentication flow. AuthSessionValidity is the duration, in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.

" + } + }, "AuthenticationResultType": { "base": "

The authentication result.

", "refs": { @@ -635,8 +643,8 @@ "AnalyticsConfigurationType$UserDataShared": "

If UserDataShared is true, Amazon Cognito includes user data in the events that it publishes to Amazon Pinpoint analytics.

", "ConfirmDeviceResponse$UserConfirmationNecessary": "

Indicates whether the user confirmation must confirm the device response.

", "CreateUserPoolClientRequest$AllowedOAuthFlowsUserPoolClient": "

Set to true if the client is allowed to follow the OAuth protocol when interacting with Amazon Cognito user pools.

", - "DeviceConfigurationType$ChallengeRequiredOnNewDevice": "

When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).

Regardless of the value of this field, users that sign in with new devices that have not been confirmed or remembered must provide a second factor if your user pool requires MFA.

", - "DeviceConfigurationType$DeviceOnlyRememberedOnUserPrompt": "

When true, Amazon Cognito doesn't remember newly-confirmed devices. Users who want to authenticate with their device can instead opt in to remembering their device. To collect a choice from your user, create an input prompt in your app and return the value that the user chooses in an UpdateDeviceStatus API request.

", + "DeviceConfigurationType$ChallengeRequiredOnNewDevice": "

When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).

Whether or not ChallengeRequiredOnNewDevice is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.

", + "DeviceConfigurationType$DeviceOnlyRememberedOnUserPrompt": "

When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a ConfirmDevice API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an UpdateDeviceStatus API request.

When DeviceOnlyRememberedOnUserPrompt is false, Amazon Cognito immediately remembers devices that you register in a ConfirmDevice API request.

", "PasswordPolicyType$RequireUppercase": "

In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.

", "PasswordPolicyType$RequireLowercase": "

In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.

", "PasswordPolicyType$RequireNumbers": "

In the password policy that you have set, refers to whether you have required users to use at least one number in their password.

", @@ -1212,7 +1220,7 @@ } }, "DeviceConfigurationType": { - "base": "

The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.

When you provide a value for any DeviceConfiguration field, you activate the Amazon Cognito device-remembering feature.

", + "base": "

The device-remembering configuration for a user pool. A DescribeUserPool request returns a null value for this object when the user pool isn't configured to remember devices. When device remembering is active, you can remember a user's device with a ConfirmDevice API request. Additionally. when the property DeviceOnlyRememberedOnUserPrompt is true, you must follow ConfirmDevice with an UpdateDeviceStatus API request that sets the user's device to remembered or not_remembered.

To sign in with a remembered device, include DEVICE_KEY in the authentication parameters in your user's InitiateAuth request. If your app doesn't include a DEVICE_KEY parameter, the response from Amazon Cognito includes newly-generated DEVICE_KEY and DEVICE_GROUP_KEY values under NewDeviceMetadata. Store these values to use in future device-authentication requests.

When you provide a value for any property of DeviceConfiguration, you activate the device remembering for the user pool.

", "refs": { "CreateUserPoolRequest$DeviceConfiguration": "

The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.

When you provide a value for any DeviceConfiguration field, you activate the Amazon Cognito device-remembering feature.

", "UpdateUserPoolRequest$DeviceConfiguration": "

The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.

When you provide a value for any DeviceConfiguration field, you activate the Amazon Cognito device-remembering feature.

", @@ -1346,10 +1354,10 @@ "EmailVerificationMessageType": { "base": null, "refs": { - "CreateUserPoolRequest$EmailVerificationMessage": "

A string representing the email verification message. EmailVerificationMessage is allowed only if EmailSendingAccount is DEVELOPER.

", + "CreateUserPoolRequest$EmailVerificationMessage": "

This parameter is no longer used. See VerificationMessageTemplateType.

", "MessageTemplateType$EmailMessage": "

The message template for email messages. EmailMessage is allowed only if EmailSendingAccount is DEVELOPER.

", - "UpdateUserPoolRequest$EmailVerificationMessage": "

The contents of the email verification message.

", - "UserPoolType$EmailVerificationMessage": "

The contents of the email verification message.

", + "UpdateUserPoolRequest$EmailVerificationMessage": "

This parameter is no longer used. See VerificationMessageTemplateType.

", + "UserPoolType$EmailVerificationMessage": "

This parameter is no longer used. See VerificationMessageTemplateType.

", "VerificationMessageTemplateType$EmailMessage": "

The template for email messages that Amazon Cognito sends to your users. You can set an EmailMessage template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.

" } }, @@ -1362,10 +1370,10 @@ "EmailVerificationSubjectType": { "base": null, "refs": { - "CreateUserPoolRequest$EmailVerificationSubject": "

A string representing the email verification subject. EmailVerificationSubject is allowed only if EmailSendingAccount is DEVELOPER.

", + "CreateUserPoolRequest$EmailVerificationSubject": "

This parameter is no longer used. See VerificationMessageTemplateType.

", "MessageTemplateType$EmailSubject": "

The subject line for email messages. EmailSubject is allowed only if EmailSendingAccount is DEVELOPER.

", - "UpdateUserPoolRequest$EmailVerificationSubject": "

The subject of the email verification message.

", - "UserPoolType$EmailVerificationSubject": "

The subject of the email verification message.

", + "UpdateUserPoolRequest$EmailVerificationSubject": "

This parameter is no longer used. See VerificationMessageTemplateType.

", + "UserPoolType$EmailVerificationSubject": "

This parameter is no longer used. See VerificationMessageTemplateType.

", "VerificationMessageTemplateType$EmailSubject": "

The subject line for the email message template. You can set an EmailSubject template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.

" } }, @@ -2529,13 +2537,13 @@ "SmsVerificationMessageType": { "base": null, "refs": { - "CreateUserPoolRequest$SmsVerificationMessage": "

A string representing the SMS verification message.

", + "CreateUserPoolRequest$SmsVerificationMessage": "

This parameter is no longer used. See VerificationMessageTemplateType.

", "CreateUserPoolRequest$SmsAuthenticationMessage": "

A string representing the SMS authentication message.

", "MessageTemplateType$SMSMessage": "

The message template for SMS messages.

", "SmsMfaConfigType$SmsAuthenticationMessage": "

The SMS authentication message that will be sent to users with the code they must sign in. The message must contain the ‘{####}’ placeholder, which is replaced with the code. If the message isn't included, and default message will be used.

", - "UpdateUserPoolRequest$SmsVerificationMessage": "

A container with information about the SMS verification message.

", + "UpdateUserPoolRequest$SmsVerificationMessage": "

This parameter is no longer used. See VerificationMessageTemplateType.

", "UpdateUserPoolRequest$SmsAuthenticationMessage": "

The contents of the SMS authentication message.

", - "UserPoolType$SmsVerificationMessage": "

The contents of the SMS verification message.

", + "UserPoolType$SmsVerificationMessage": "

This parameter is no longer used. See VerificationMessageTemplateType.

", "UserPoolType$SmsAuthenticationMessage": "

The contents of the SMS authentication message.

", "VerificationMessageTemplateType$SmsMessage": "

The template for SMS messages that Amazon Cognito sends to your users.

" } diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 6a7635729a7..8b1646a80ef 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -1685,6 +1685,38 @@ {"shape":"AccessDeniedException"} ] }, + "SearchQueues":{ + "name":"SearchQueues", + "http":{ + "method":"POST", + "requestUri":"/search-queues" + }, + "input":{"shape":"SearchQueuesRequest"}, + "output":{"shape":"SearchQueuesResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, + "SearchRoutingProfiles":{ + "name":"SearchRoutingProfiles", + "http":{ + "method":"POST", + "requestUri":"/search-routing-profiles" + }, + "input":{"shape":"SearchRoutingProfilesRequest"}, + "output":{"shape":"SearchRoutingProfilesResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "SearchSecurityProfiles":{ "name":"SearchSecurityProfiles", "http":{ @@ -6312,6 +6344,7 @@ "NextToken":{"shape":"NextToken"} } }, + "Long":{"type":"long"}, "MaxResult10":{ "type":"integer", "max":10, @@ -6935,6 +6968,29 @@ "Arn":{"shape":"ARN"} } }, + "QueueSearchConditionList":{ + "type":"list", + "member":{"shape":"QueueSearchCriteria"} + }, + "QueueSearchCriteria":{ + "type":"structure", + "members":{ + "OrConditions":{"shape":"QueueSearchConditionList"}, + "AndConditions":{"shape":"QueueSearchConditionList"}, + "StringCondition":{"shape":"StringCondition"}, + "QueueTypeCondition":{"shape":"SearchableQueueType"} + } + }, + "QueueSearchFilter":{ + "type":"structure", + "members":{ + "TagFilter":{"shape":"ControlPlaneTagFilter"} + } + }, + "QueueSearchSummaryList":{ + "type":"list", + "member":{"shape":"Queue"} + }, "QueueStatus":{ "type":"string", "enum":[ @@ -7200,7 +7256,9 @@ "Description":{"shape":"RoutingProfileDescription"}, "MediaConcurrencies":{"shape":"MediaConcurrencies"}, "DefaultOutboundQueueId":{"shape":"QueueId"}, - "Tags":{"shape":"TagMap"} + "Tags":{"shape":"TagMap"}, + "NumberOfAssociatedQueues":{"shape":"Long"}, + "NumberOfAssociatedUsers":{"shape":"Long"} } }, "RoutingProfileDescription":{ @@ -7209,6 +7267,10 @@ "min":1 }, "RoutingProfileId":{"type":"string"}, + "RoutingProfileList":{ + "type":"list", + "member":{"shape":"RoutingProfile"} + }, "RoutingProfileName":{ "type":"string", "max":127, @@ -7284,6 +7346,24 @@ "Arn":{"shape":"ARN"} } }, + "RoutingProfileSearchConditionList":{ + "type":"list", + "member":{"shape":"RoutingProfileSearchCriteria"} + }, + "RoutingProfileSearchCriteria":{ + "type":"structure", + "members":{ + "OrConditions":{"shape":"RoutingProfileSearchConditionList"}, + "AndConditions":{"shape":"RoutingProfileSearchConditionList"}, + "StringCondition":{"shape":"StringCondition"} + } + }, + "RoutingProfileSearchFilter":{ + "type":"structure", + "members":{ + "TagFilter":{"shape":"ControlPlaneTagFilter"} + } + }, "RoutingProfileSummary":{ "type":"structure", "members":{ @@ -7334,6 +7414,50 @@ "AvailableNumbersList":{"shape":"AvailableNumbersList"} } }, + "SearchQueuesRequest":{ + "type":"structure", + "required":["InstanceId"], + "members":{ + "InstanceId":{"shape":"InstanceId"}, + "NextToken":{"shape":"NextToken2500"}, + "MaxResults":{ + "shape":"MaxResult100", + "box":true + }, + "SearchFilter":{"shape":"QueueSearchFilter"}, + "SearchCriteria":{"shape":"QueueSearchCriteria"} + } + }, + "SearchQueuesResponse":{ + "type":"structure", + "members":{ + "Queues":{"shape":"QueueSearchSummaryList"}, + "NextToken":{"shape":"NextToken2500"}, + "ApproximateTotalCount":{"shape":"ApproximateTotalCount"} + } + }, + "SearchRoutingProfilesRequest":{ + "type":"structure", + "required":["InstanceId"], + "members":{ + "InstanceId":{"shape":"InstanceId"}, + "NextToken":{"shape":"NextToken2500"}, + "MaxResults":{ + "shape":"MaxResult100", + "box":true + }, + "SearchFilter":{"shape":"RoutingProfileSearchFilter"}, + "SearchCriteria":{"shape":"RoutingProfileSearchCriteria"} + } + }, + "SearchRoutingProfilesResponse":{ + "type":"structure", + "members":{ + "RoutingProfiles":{"shape":"RoutingProfileList"}, + "NextToken":{"shape":"NextToken2500"}, + "ApproximateTotalCount":{"shape":"ApproximateTotalCount"} + } + }, "SearchSecurityProfilesRequest":{ "type":"structure", "required":["InstanceId"], @@ -7400,6 +7524,10 @@ "NextToken":{"shape":"VocabularyNextToken"} } }, + "SearchableQueueType":{ + "type":"string", + "enum":["STANDARD"] + }, "SecurityKey":{ "type":"structure", "members":{ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index c88ba728a35..c18e36e668d 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -41,7 +41,7 @@ "DeleteUserHierarchyGroup": "

Deletes an existing user hierarchy group. It must not be associated with any agents or have any active child groups.

", "DeleteVocabulary": "

Deletes the vocabulary that has the given identifier.

", "DescribeAgentStatus": "

This API is in preview release for Amazon Connect and is subject to change.

Describes an agent status.

", - "DescribeContact": "

This API is in preview release for Amazon Connect and is subject to change.

Describes the specified contact.

Contact information remains available in Amazon Connect for 24 months, and then it is deleted.

", + "DescribeContact": "

This API is in preview release for Amazon Connect and is subject to change.

Describes the specified contact.

Contact information remains available in Amazon Connect for 24 months, and then it is deleted.

Only data from November 12, 2021, and later is returned by this API.

", "DescribeContactFlow": "

Describes the specified flow.

You can also create and update flows using the Amazon Connect Flow language.

", "DescribeContactFlowModule": "

Describes the specified flow module.

", "DescribeHoursOfOperation": "

This API is in preview release for Amazon Connect and is subject to change.

Describes the hours of operation.

", @@ -74,7 +74,7 @@ "GetTaskTemplate": "

Gets details about a specific task template in the specified Amazon Connect instance.

", "ListAgentStatuses": "

This API is in preview release for Amazon Connect and is subject to change.

Lists agent statuses.

", "ListApprovedOrigins": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all approved origins associated with the instance.

", - "ListBots": "

This API is in preview release for Amazon Connect and is subject to change.

For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance.

", + "ListBots": "

This API is in preview release for Amazon Connect and is subject to change.

For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance. Use this API to returns both Amazon Lex V1 and V2 bots.

", "ListContactFlowModules": "

Provides information about the flow modules for the specified Amazon Connect instance.

", "ListContactFlows": "

Provides information about the flows for the specified Amazon Connect instance.

You can also create and update flows using the Amazon Connect Flow language.

For more information about flows, see Flows in the Amazon Connect Administrator Guide.

", "ListContactReferences": "

This API is in preview release for Amazon Connect and is subject to change.

For the specified referenceTypes, returns a list of references associated with the contact.

", @@ -85,7 +85,7 @@ "ListInstances": "

This API is in preview release for Amazon Connect and is subject to change.

Return a list of instances which are in active state, creation-in-progress state, and failed state. Instances that aren't successfully created (they are in a failed state) are returned only for 24 hours after the CreateInstance API was invoked.

", "ListIntegrationAssociations": "

Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance.

", "ListLambdaFunctions": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all Lambda functions that display in the dropdown options in the relevant flow blocks.

", - "ListLexBots": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all the Amazon Lex bots currently associated with the instance.

", + "ListLexBots": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all the Amazon Lex V1 bots currently associated with the instance. To return both Amazon Lex V1 and V2 bots, use the ListBots API.

", "ListPhoneNumbers": "

Provides information about the phone numbers for the specified Amazon Connect instance.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

", "ListPhoneNumbersV2": "

Lists phone numbers claimed to your Amazon Connect instance.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

", "ListPrompts": "

Provides information about the prompts for the specified Amazon Connect instance.

", @@ -106,6 +106,8 @@ "ReleasePhoneNumber": "

Releases a phone number previously claimed to an Amazon Connect instance.

", "ResumeContactRecording": "

When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call.

Only voice recordings are supported at this time.

", "SearchAvailablePhoneNumbers": "

Searches for available phone numbers that you can claim to your Amazon Connect instance.

", + "SearchQueues": "

This API is in preview release for Amazon Connect and is subject to change.

Searches queues in an Amazon Connect instance, with optional filtering.

", + "SearchRoutingProfiles": "

This API is in preview release for Amazon Connect and is subject to change.

Searches routing profiles in an Amazon Connect instance, with optional filtering.

", "SearchSecurityProfiles": "

This API is in preview release for Amazon Connect and is subject to change.

Searches security profiles in an Amazon Connect instance, with optional filtering.

", "SearchUsers": "

Searches users in an Amazon Connect instance, with optional filtering.

", "SearchVocabularies": "

Searches for vocabularies within a specific Amazon Connect instance using State, NameStartsWith, and LanguageCode.

", @@ -390,6 +392,8 @@ "ApproximateTotalCount": { "base": null, "refs": { + "SearchQueuesResponse$ApproximateTotalCount": "

The total number of queues which matched your search query.

", + "SearchRoutingProfilesResponse$ApproximateTotalCount": "

The total number of routing profiles which matched your search query.

", "SearchSecurityProfilesResponse$ApproximateTotalCount": "

The total number of security profiles which matched your search query.

", "SearchUsersResponse$ApproximateTotalCount": "

The total number of users who matched your search query.

" } @@ -813,7 +817,7 @@ "ContactFlow$Name": "

The name of the flow.

", "ContactFlowSummary$Name": "

The name of the flow.

", "CreateContactFlowRequest$Name": "

The name of the flow.

", - "UpdateContactFlowMetadataRequest$Name": "

TThe name of the flow.

", + "UpdateContactFlowMetadataRequest$Name": "

The name of the flow.

", "UpdateContactFlowNameRequest$Name": "

The name of the flow.

" } }, @@ -924,6 +928,8 @@ "ControlPlaneTagFilter": { "base": "

An object that can be used to specify Tag conditions inside the SearchFilter. This accepts an OR of AND (List of List) input where:

", "refs": { + "QueueSearchFilter$TagFilter": null, + "RoutingProfileSearchFilter$TagFilter": null, "SecurityProfilesSearchFilter$TagFilter": null, "UserSearchFilter$TagFilter": null } @@ -2018,6 +2024,8 @@ "PutUserStatusRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", "ResumeContactRecordingRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", "RoutingProfile$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", + "SearchQueuesRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", + "SearchRoutingProfilesRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", "SearchSecurityProfilesRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", "SearchUsersRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", "SearchVocabulariesRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", @@ -2591,6 +2599,13 @@ "refs": { } }, + "Long": { + "base": null, + "refs": { + "RoutingProfile$NumberOfAssociatedQueues": "

The number of associated queues in routing profile.

", + "RoutingProfile$NumberOfAssociatedUsers": "

The number of associated users in routing profile.

" + } + }, "MaxResult10": { "base": null, "refs": { @@ -2611,6 +2626,8 @@ "ListRoutingProfileQueuesRequest$MaxResults": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "ListTaskTemplatesRequest$MaxResults": "

The maximum number of results to return per page.

It is not expected that you set this.

", "ListUseCasesRequest$MaxResults": "

The maximum number of results to return per page.

", + "SearchQueuesRequest$MaxResults": "

The maximum number of results to return per page.

", + "SearchRoutingProfilesRequest$MaxResults": "

The maximum number of results to return per page.

", "SearchSecurityProfilesRequest$MaxResults": "

The maximum number of results to return per page.

", "SearchUsersRequest$MaxResults": "

The maximum number of results to return per page.

", "SearchVocabulariesRequest$MaxResults": "

The maximum number of results to return per page.

" @@ -2776,6 +2793,10 @@ "NextToken2500": { "base": null, "refs": { + "SearchQueuesRequest$NextToken": "

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", + "SearchQueuesResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", + "SearchRoutingProfilesRequest$NextToken": "

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", + "SearchRoutingProfilesResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", "SearchSecurityProfilesRequest$NextToken": "

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", "SearchSecurityProfilesResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", "SearchUsersRequest$NextToken": "

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

", @@ -2863,9 +2884,9 @@ "PermissionsList": { "base": null, "refs": { - "CreateSecurityProfileRequest$Permissions": "

Permissions assigned to the security profile.

", - "ListSecurityProfilePermissionsResponse$Permissions": "

The permissions granted to the security profile.

", - "UpdateSecurityProfileRequest$Permissions": "

The permissions granted to a security profile.

" + "CreateSecurityProfileRequest$Permissions": "

Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.

", + "ListSecurityProfilePermissionsResponse$Permissions": "

The permissions granted to the security profile. For a complete list of valid permissions, see List of security profile permissions.

", + "UpdateSecurityProfileRequest$Permissions": "

The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.

" } }, "PhoneNumber": { @@ -3083,7 +3104,8 @@ "Queue": { "base": "

Contains information about a queue.

", "refs": { - "DescribeQueueResponse$Queue": "

The name of the queue.

" + "DescribeQueueResponse$Queue": "

The name of the queue.

", + "QueueSearchSummaryList$member": null } }, "QueueDescription": { @@ -3156,6 +3178,32 @@ "Dimensions$Queue": "

Information about the queue for which metrics are returned.

" } }, + "QueueSearchConditionList": { + "base": null, + "refs": { + "QueueSearchCriteria$OrConditions": "

A list of conditions which would be applied together with an OR condition.

", + "QueueSearchCriteria$AndConditions": "

A list of conditions which would be applied together with an AND condition.

" + } + }, + "QueueSearchCriteria": { + "base": "

The search criteria to be used to return queues.

", + "refs": { + "QueueSearchConditionList$member": null, + "SearchQueuesRequest$SearchCriteria": "

The search criteria to be used to return queues.

" + } + }, + "QueueSearchFilter": { + "base": "

Filters to be applied to search results.

", + "refs": { + "SearchQueuesRequest$SearchFilter": "

Filters to be applied to search results.

" + } + }, + "QueueSearchSummaryList": { + "base": null, + "refs": { + "SearchQueuesResponse$Queues": "

Information about the queues.

" + } + }, "QueueStatus": { "base": null, "refs": { @@ -3398,7 +3446,8 @@ "RoutingProfile": { "base": "

Contains information about a routing profile.

", "refs": { - "DescribeRoutingProfileResponse$RoutingProfile": "

The routing profile.

" + "DescribeRoutingProfileResponse$RoutingProfile": "

The routing profile.

", + "RoutingProfileList$member": null } }, "RoutingProfileDescription": { @@ -3430,6 +3479,12 @@ "UserSearchSummary$RoutingProfileId": "

The identifier of the user's routing profile.

" } }, + "RoutingProfileList": { + "base": null, + "refs": { + "SearchRoutingProfilesResponse$RoutingProfiles": "

Information about the routing profiles.

" + } + }, "RoutingProfileName": { "base": null, "refs": { @@ -3484,6 +3539,26 @@ "UserData$RoutingProfile": "

Information about the routing profile that is assigned to the user.

" } }, + "RoutingProfileSearchConditionList": { + "base": null, + "refs": { + "RoutingProfileSearchCriteria$OrConditions": "

A list of conditions which would be applied together with an OR condition.

", + "RoutingProfileSearchCriteria$AndConditions": "

A list of conditions which would be applied together with an AND condition.

" + } + }, + "RoutingProfileSearchCriteria": { + "base": "

The search criteria to be used to return routing profiles.

", + "refs": { + "RoutingProfileSearchConditionList$member": null, + "SearchRoutingProfilesRequest$SearchCriteria": "

The search criteria to be used to return routing profiles.

" + } + }, + "RoutingProfileSearchFilter": { + "base": "

Filters to be applied to search results.

", + "refs": { + "SearchRoutingProfilesRequest$SearchFilter": "

Filters to be applied to search results.

" + } + }, "RoutingProfileSummary": { "base": "

Contains summary information about a routing profile.

", "refs": { @@ -3512,6 +3587,26 @@ "refs": { } }, + "SearchQueuesRequest": { + "base": null, + "refs": { + } + }, + "SearchQueuesResponse": { + "base": null, + "refs": { + } + }, + "SearchRoutingProfilesRequest": { + "base": null, + "refs": { + } + }, + "SearchRoutingProfilesResponse": { + "base": null, + "refs": { + } + }, "SearchSecurityProfilesRequest": { "base": null, "refs": { @@ -3542,6 +3637,12 @@ "refs": { } }, + "SearchableQueueType": { + "base": null, + "refs": { + "QueueSearchCriteria$QueueTypeCondition": "

The type of queue.

" + } + }, "SecurityKey": { "base": "

Configuration information of the security key.

", "refs": { @@ -3809,6 +3910,8 @@ "StringCondition": { "base": "

A leaf node condition which can be used to specify a string condition, for example, username = 'abc'.

", "refs": { + "QueueSearchCriteria$StringCondition": null, + "RoutingProfileSearchCriteria$StringCondition": null, "SecurityProfileSearchCriteria$StringCondition": null, "UserSearchCriteria$StringCondition": "

A leaf node condition which can be used to specify a string condition.

" } @@ -4486,7 +4589,7 @@ } }, "UserSearchCriteria": { - "base": "

The search criteria to be used to return users.

", + "base": "

The search criteria to be used to return users.

The Username, Firstname, and Lastname fields support \"contains\" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range result in empty results.

", "refs": { "SearchUsersRequest$SearchCriteria": null, "UserSearchConditionList$member": null diff --git a/models/apis/connect/2017-08-08/paginators-1.json b/models/apis/connect/2017-08-08/paginators-1.json index fd8db0abd28..fbe0f4a87da 100644 --- a/models/apis/connect/2017-08-08/paginators-1.json +++ b/models/apis/connect/2017-08-08/paginators-1.json @@ -194,6 +194,24 @@ "output_token": "NextToken", "result_key": "AvailableNumbersList" }, + "SearchQueues": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "non_aggregate_keys": [ + "ApproximateTotalCount" + ], + "output_token": "NextToken", + "result_key": "Queues" + }, + "SearchRoutingProfiles": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "non_aggregate_keys": [ + "ApproximateTotalCount" + ], + "output_token": "NextToken", + "result_key": "RoutingProfiles" + }, "SearchSecurityProfiles": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/mediapackage/2017-10-12/api-2.json b/models/apis/mediapackage/2017-10-12/api-2.json index 83c128dac15..21250d0addd 100644 --- a/models/apis/mediapackage/2017-10-12/api-2.json +++ b/models/apis/mediapackage/2017-10-12/api-2.json @@ -721,6 +721,10 @@ "locationName": "constantInitializationVector", "shape": "__string" }, + "EncryptionMethod": { + "locationName": "encryptionMethod", + "shape": "CmafEncryptionMethod" + }, "KeyRotationIntervalSeconds": { "locationName": "keyRotationIntervalSeconds", "shape": "__integer" @@ -735,6 +739,13 @@ ], "type": "structure" }, + "CmafEncryptionMethod": { + "enum": [ + "SAMPLE_AES", + "AES_CTR" + ], + "type": "string" + }, "CmafPackage": { "members": { "Encryption": { diff --git a/models/apis/mediapackage/2017-10-12/docs-2.json b/models/apis/mediapackage/2017-10-12/docs-2.json index 039fe7b6f01..03d2b7946d4 100644 --- a/models/apis/mediapackage/2017-10-12/docs-2.json +++ b/models/apis/mediapackage/2017-10-12/docs-2.json @@ -80,6 +80,12 @@ "CmafPackageCreateOrUpdateParameters$Encryption" : null } }, + "CmafEncryptionMethod" : { + "base" : "The encryption method to use.", + "refs" : { + "CmafEncryption$EncryptionMethod" : null + } + }, "CmafPackage" : { "base" : "A Common Media Application Format (CMAF) packaging configuration.", "refs" : { @@ -503,4 +509,4 @@ } } } -} \ No newline at end of file +} diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index 4983320ec82..f577aaa7613 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -8257,13 +8257,15 @@ "type":"structure", "members":{ "SecurityGroupIds":{"shape":"DomainSecurityGroupIds"}, - "RStudioServerProDomainSettings":{"shape":"RStudioServerProDomainSettings"} + "RStudioServerProDomainSettings":{"shape":"RStudioServerProDomainSettings"}, + "ExecutionRoleIdentityConfig":{"shape":"ExecutionRoleIdentityConfig"} } }, "DomainSettingsForUpdate":{ "type":"structure", "members":{ - "RStudioServerProDomainSettingsForUpdate":{"shape":"RStudioServerProDomainSettingsForUpdate"} + "RStudioServerProDomainSettingsForUpdate":{"shape":"RStudioServerProDomainSettingsForUpdate"}, + "ExecutionRoleIdentityConfig":{"shape":"ExecutionRoleIdentityConfig"} } }, "DomainStatus":{ @@ -8784,6 +8786,13 @@ "max":1024, "pattern":"[\\S\\s]*" }, + "ExecutionRoleIdentityConfig":{ + "type":"string", + "enum":[ + "USER_PROFILE_NAME", + "DISABLED" + ] + }, "ExecutionStatus":{ "type":"string", "enum":[ diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index eca75164a6c..fe93228bb8e 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -4249,6 +4249,13 @@ "EnvironmentMap$value": null } }, + "ExecutionRoleIdentityConfig": { + "base": null, + "refs": { + "DomainSettings$ExecutionRoleIdentityConfig": "

The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key.

", + "DomainSettingsForUpdate$ExecutionRoleIdentityConfig": "

The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key. This configuration can only be modified if there are no apps in the InService or Pending state.

" + } + }, "ExecutionStatus": { "base": null, "refs": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 89063fd6ca8..713df5ec74f 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -3603,11 +3603,59 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "databrew-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "databrew-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "databrew-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "databrew-fips.us-west-2.amazonaws.com" + }, "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } + "us-east-1" : { + "variants" : [ { + "hostname" : "databrew-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-2" : { + "variants" : [ { + "hostname" : "databrew-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "hostname" : "databrew-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "databrew-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "dataexchange" : { @@ -4121,6 +4169,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "ds-fips.ca-central-1.amazonaws.com", @@ -13830,8 +13879,22 @@ "ap-southeast-2" : { }, "eu-central-1" : { }, "eu-west-2" : { }, - "us-east-1" : { }, - "us-west-2" : { } + "fips-us-east-1" : { + "deprecated" : true + }, + "fips-us-west-2" : { + "deprecated" : true + }, + "us-east-1" : { + "variants" : [ { + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "tags" : [ "fips" ] + } ] + } } }, "waf" : { diff --git a/service/cognitoidentityprovider/api.go b/service/cognitoidentityprovider/api.go index 642b2aa9b0c..8627fe649a1 100644 --- a/service/cognitoidentityprovider/api.go +++ b/service/cognitoidentityprovider/api.go @@ -18232,6 +18232,12 @@ type CreateUserPoolClientInput struct { // same Region. AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` + // Amazon Cognito creates a session token for each API request in an authentication + // flow. AuthSessionValidity is the duration, in minutes, of that session token. + // Your user pool native user must respond to each authentication challenge + // before the session expires. + AuthSessionValidity *int64 `min:"3" type:"integer"` + // A list of allowed redirect (callback) URLs for the IdPs. // // A redirect URI must: @@ -18430,6 +18436,9 @@ func (s *CreateUserPoolClientInput) Validate() error { if s.AccessTokenValidity != nil && *s.AccessTokenValidity < 1 { invalidParams.Add(request.NewErrParamMinValue("AccessTokenValidity", 1)) } + if s.AuthSessionValidity != nil && *s.AuthSessionValidity < 3 { + invalidParams.Add(request.NewErrParamMinValue("AuthSessionValidity", 3)) + } if s.ClientName == nil { invalidParams.Add(request.NewErrParamRequired("ClientName")) } @@ -18490,6 +18499,12 @@ func (s *CreateUserPoolClientInput) SetAnalyticsConfiguration(v *AnalyticsConfig return s } +// SetAuthSessionValidity sets the AuthSessionValidity field's value. +func (s *CreateUserPoolClientInput) SetAuthSessionValidity(v int64) *CreateUserPoolClientInput { + s.AuthSessionValidity = &v + return s +} + // SetCallbackURLs sets the CallbackURLs field's value. func (s *CreateUserPoolClientInput) SetCallbackURLs(v []*string) *CreateUserPoolClientInput { s.CallbackURLs = v @@ -18775,14 +18790,10 @@ type CreateUserPoolInput struct { // messages from your user pool. EmailConfiguration *EmailConfigurationType `type:"structure"` - // A string representing the email verification message. EmailVerificationMessage - // is allowed only if EmailSendingAccount (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) - // is DEVELOPER. + // This parameter is no longer used. See VerificationMessageTemplateType (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html). EmailVerificationMessage *string `min:"6" type:"string"` - // A string representing the email verification subject. EmailVerificationSubject - // is allowed only if EmailSendingAccount (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount) - // is DEVELOPER. + // This parameter is no longer used. See VerificationMessageTemplateType (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html). EmailVerificationSubject *string `min:"1" type:"string"` // The Lambda trigger configuration information for the new user pool. @@ -18823,7 +18834,7 @@ type CreateUserPoolInput struct { // Services account. SmsConfiguration *SmsConfigurationType `type:"structure"` - // A string representing the SMS verification message. + // This parameter is no longer used. See VerificationMessageTemplateType (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html). SmsVerificationMessage *string `min:"6" type:"string"` // The settings for updates to user attributes. These settings include the property @@ -20661,28 +20672,46 @@ func (s *DescribeUserPoolOutput) SetUserPool(v *UserPoolType) *DescribeUserPoolO return s } -// The device-remembering configuration for a user pool. A null value indicates -// that you have deactivated device remembering in your user pool. +// The device-remembering configuration for a user pool. A DescribeUserPool +// (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html) +// request returns a null value for this object when the user pool isn't configured +// to remember devices. When device remembering is active, you can remember +// a user's device with a ConfirmDevice (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmDevice.html) +// API request. Additionally. when the property DeviceOnlyRememberedOnUserPrompt +// is true, you must follow ConfirmDevice with an UpdateDeviceStatus (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html) +// API request that sets the user's device to remembered or not_remembered. // -// When you provide a value for any DeviceConfiguration field, you activate -// the Amazon Cognito device-remembering feature. +// To sign in with a remembered device, include DEVICE_KEY in the authentication +// parameters in your user's InitiateAuth (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html) +// request. If your app doesn't include a DEVICE_KEY parameter, the response +// (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html#API_InitiateAuth_ResponseSyntax) +// from Amazon Cognito includes newly-generated DEVICE_KEY and DEVICE_GROUP_KEY +// values under NewDeviceMetadata. Store these values to use in future device-authentication +// requests. +// +// When you provide a value for any property of DeviceConfiguration, you activate +// the device remembering for the user pool. type DeviceConfigurationType struct { _ struct{} `type:"structure"` - // When true, device authentication can replace SMS and time-based one-time - // password (TOTP) factors for multi-factor authentication (MFA). + // When true, a remembered device can sign in with device authentication instead + // of SMS and time-based one-time password (TOTP) factors for multi-factor authentication + // (MFA). // - // Regardless of the value of this field, users that sign in with new devices - // that have not been confirmed or remembered must provide a second factor if - // your user pool requires MFA. + // Whether or not ChallengeRequiredOnNewDevice is true, users who sign in with + // devices that have not been confirmed or remembered must still provide a second + // factor in a user pool that requires MFA. ChallengeRequiredOnNewDevice *bool `type:"boolean"` - // When true, Amazon Cognito doesn't remember newly-confirmed devices. Users - // who want to authenticate with their device can instead opt in to remembering - // their device. To collect a choice from your user, create an input prompt - // in your app and return the value that the user chooses in an UpdateDeviceStatus + // When true, Amazon Cognito doesn't automatically remember a user's device + // when your app sends a ConfirmDevice (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmDevice.html) + // API request. In your app, create a prompt for your user to choose whether + // they want to remember their device. Return the user's choice in an UpdateDeviceStatus // (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html) // API request. + // + // When DeviceOnlyRememberedOnUserPrompt is false, Amazon Cognito immediately + // remembers devices that you register in a ConfirmDevice API request. DeviceOnlyRememberedOnUserPrompt *bool `type:"boolean"` } @@ -30644,6 +30673,12 @@ type UpdateUserPoolClientInput struct { // events to Amazon Pinpoint projects within that same Region. AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` + // Amazon Cognito creates a session token for each API request in an authentication + // flow. AuthSessionValidity is the duration, in minutes, of that session token. + // Your user pool native user must respond to each authentication challenge + // before the session expires. + AuthSessionValidity *int64 `min:"3" type:"integer"` + // A list of allowed redirect (callback) URLs for the IdPs. // // A redirect URI must: @@ -30822,6 +30857,9 @@ func (s *UpdateUserPoolClientInput) Validate() error { if s.AccessTokenValidity != nil && *s.AccessTokenValidity < 1 { invalidParams.Add(request.NewErrParamMinValue("AccessTokenValidity", 1)) } + if s.AuthSessionValidity != nil && *s.AuthSessionValidity < 3 { + invalidParams.Add(request.NewErrParamMinValue("AuthSessionValidity", 3)) + } if s.ClientId == nil { invalidParams.Add(request.NewErrParamRequired("ClientId")) } @@ -30885,6 +30923,12 @@ func (s *UpdateUserPoolClientInput) SetAnalyticsConfiguration(v *AnalyticsConfig return s } +// SetAuthSessionValidity sets the AuthSessionValidity field's value. +func (s *UpdateUserPoolClientInput) SetAuthSessionValidity(v int64) *UpdateUserPoolClientInput { + s.AuthSessionValidity = &v + return s +} + // SetCallbackURLs sets the CallbackURLs field's value. func (s *UpdateUserPoolClientInput) SetCallbackURLs(v []*string) *UpdateUserPoolClientInput { s.CallbackURLs = v @@ -31174,10 +31218,10 @@ type UpdateUserPoolInput struct { // email invitation and verification messages from your user pool. EmailConfiguration *EmailConfigurationType `type:"structure"` - // The contents of the email verification message. + // This parameter is no longer used. See VerificationMessageTemplateType (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html). EmailVerificationMessage *string `min:"6" type:"string"` - // The subject of the email verification message. + // This parameter is no longer used. See VerificationMessageTemplateType (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html). EmailVerificationSubject *string `min:"1" type:"string"` // The Lambda configuration information from the request to update the user @@ -31211,7 +31255,7 @@ type UpdateUserPoolInput struct { // Services account. SmsConfiguration *SmsConfigurationType `type:"structure"` - // A container with information about the SMS verification message. + // This parameter is no longer used. See VerificationMessageTemplateType (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html). SmsVerificationMessage *string `min:"6" type:"string"` // The settings for updates to user attributes. These settings include the property @@ -32197,6 +32241,12 @@ type UserPoolClientType struct { // Region where the user pool resides. AnalyticsConfiguration *AnalyticsConfigurationType `type:"structure"` + // Amazon Cognito creates a session token for each API request in an authentication + // flow. AuthSessionValidity is the duration, in minutes, of that session token. + // Your user pool native user must respond to each authentication challenge + // before the session expires. + AuthSessionValidity *int64 `min:"3" type:"integer"` + // A list of allowed redirect (callback) URLs for the IdPs. // // A redirect URI must: @@ -32417,6 +32467,12 @@ func (s *UserPoolClientType) SetAnalyticsConfiguration(v *AnalyticsConfiguration return s } +// SetAuthSessionValidity sets the AuthSessionValidity field's value. +func (s *UserPoolClientType) SetAuthSessionValidity(v int64) *UserPoolClientType { + s.AuthSessionValidity = &v + return s +} + // SetCallbackURLs sets the CallbackURLs field's value. func (s *UserPoolClientType) SetCallbackURLs(v []*string) *UserPoolClientType { s.CallbackURLs = v @@ -32774,10 +32830,10 @@ type UserPoolType struct { // in CloudTrail for information about problems with user pool email configuration. EmailConfigurationFailure *string `type:"string"` - // The contents of the email verification message. + // This parameter is no longer used. See VerificationMessageTemplateType (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html). EmailVerificationMessage *string `min:"6" type:"string"` - // The subject of the email verification message. + // This parameter is no longer used. See VerificationMessageTemplateType (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html). EmailVerificationSubject *string `min:"1" type:"string"` // A number estimating the size of the user pool. @@ -32843,7 +32899,7 @@ type UserPoolType struct { // see Moving out of the SMS sandbox (https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox-moving-to-production.html). SmsConfigurationFailure *string `type:"string"` - // The contents of the SMS verification message. + // This parameter is no longer used. See VerificationMessageTemplateType (https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html). SmsVerificationMessage *string `min:"6" type:"string"` // The status of a user pool. diff --git a/service/connect/api.go b/service/connect/api.go index ba14fc11f95..b2ee11468cb 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -3833,6 +3833,8 @@ func (c *Connect) DescribeContactRequest(input *DescribeContactInput) (req *requ // Contact information remains available in Amazon Connect for 24 months, and // then it is deleted. // +// Only data from November 12, 2021, and later is returned by this API. +// // 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. @@ -7192,7 +7194,8 @@ func (c *Connect) ListBotsRequest(input *ListBotsInput) (req *request.Request, o // This API is in preview release for Amazon Connect and is subject to change. // // For the specified version of Amazon Lex, returns a paginated list of all -// the Amazon Lex bots currently associated with the instance. +// the Amazon Lex bots currently associated with the instance. Use this API +// to returns both Amazon Lex V1 and V2 bots. // // 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 @@ -8836,8 +8839,10 @@ func (c *Connect) ListLexBotsRequest(input *ListLexBotsInput) (req *request.Requ // // This API is in preview release for Amazon Connect and is subject to change. // -// Returns a paginated list of all the Amazon Lex bots currently associated -// with the instance. +// Returns a paginated list of all the Amazon Lex V1 bots currently associated +// with the instance. To return both Amazon Lex V1 and V2 bots, use the ListBots +// (https://docs.aws.amazon.com/connect/latest/APIReference/API_ListBots.html) +// API. // // 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 @@ -11720,6 +11725,306 @@ func (c *Connect) SearchAvailablePhoneNumbersPagesWithContext(ctx aws.Context, i return p.Err() } +const opSearchQueues = "SearchQueues" + +// SearchQueuesRequest generates a "aws/request.Request" representing the +// client's request for the SearchQueues 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 SearchQueues for more information on using the SearchQueues +// 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 SearchQueuesRequest method. +// req, resp := client.SearchQueuesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchQueues +func (c *Connect) SearchQueuesRequest(input *SearchQueuesInput) (req *request.Request, output *SearchQueuesOutput) { + op := &request.Operation{ + Name: opSearchQueues, + HTTPMethod: "POST", + HTTPPath: "/search-queues", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &SearchQueuesInput{} + } + + output = &SearchQueuesOutput{} + req = c.newRequest(op, input, output) + return +} + +// SearchQueues API operation for Amazon Connect Service. +// +// This API is in preview release for Amazon Connect and is subject to change. +// +// Searches queues in an Amazon Connect instance, with optional filtering. +// +// 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 Connect Service's +// API operation SearchQueues for usage and error information. +// +// Returned Error Types: +// +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchQueues +func (c *Connect) SearchQueues(input *SearchQueuesInput) (*SearchQueuesOutput, error) { + req, out := c.SearchQueuesRequest(input) + return out, req.Send() +} + +// SearchQueuesWithContext is the same as SearchQueues with the addition of +// the ability to pass a context and additional request options. +// +// See SearchQueues 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 *Connect) SearchQueuesWithContext(ctx aws.Context, input *SearchQueuesInput, opts ...request.Option) (*SearchQueuesOutput, error) { + req, out := c.SearchQueuesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// SearchQueuesPages iterates over the pages of a SearchQueues operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See SearchQueues method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a SearchQueues operation. +// pageNum := 0 +// err := client.SearchQueuesPages(params, +// func(page *connect.SearchQueuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Connect) SearchQueuesPages(input *SearchQueuesInput, fn func(*SearchQueuesOutput, bool) bool) error { + return c.SearchQueuesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// SearchQueuesPagesWithContext same as SearchQueuesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) SearchQueuesPagesWithContext(ctx aws.Context, input *SearchQueuesInput, fn func(*SearchQueuesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *SearchQueuesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.SearchQueuesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*SearchQueuesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opSearchRoutingProfiles = "SearchRoutingProfiles" + +// SearchRoutingProfilesRequest generates a "aws/request.Request" representing the +// client's request for the SearchRoutingProfiles 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 SearchRoutingProfiles for more information on using the SearchRoutingProfiles +// 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 SearchRoutingProfilesRequest method. +// req, resp := client.SearchRoutingProfilesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchRoutingProfiles +func (c *Connect) SearchRoutingProfilesRequest(input *SearchRoutingProfilesInput) (req *request.Request, output *SearchRoutingProfilesOutput) { + op := &request.Operation{ + Name: opSearchRoutingProfiles, + HTTPMethod: "POST", + HTTPPath: "/search-routing-profiles", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &SearchRoutingProfilesInput{} + } + + output = &SearchRoutingProfilesOutput{} + req = c.newRequest(op, input, output) + return +} + +// SearchRoutingProfiles API operation for Amazon Connect Service. +// +// This API is in preview release for Amazon Connect and is subject to change. +// +// Searches routing profiles in an Amazon Connect instance, with optional filtering. +// +// 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 Connect Service's +// API operation SearchRoutingProfiles for usage and error information. +// +// Returned Error Types: +// +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchRoutingProfiles +func (c *Connect) SearchRoutingProfiles(input *SearchRoutingProfilesInput) (*SearchRoutingProfilesOutput, error) { + req, out := c.SearchRoutingProfilesRequest(input) + return out, req.Send() +} + +// SearchRoutingProfilesWithContext is the same as SearchRoutingProfiles with the addition of +// the ability to pass a context and additional request options. +// +// See SearchRoutingProfiles 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 *Connect) SearchRoutingProfilesWithContext(ctx aws.Context, input *SearchRoutingProfilesInput, opts ...request.Option) (*SearchRoutingProfilesOutput, error) { + req, out := c.SearchRoutingProfilesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// SearchRoutingProfilesPages iterates over the pages of a SearchRoutingProfiles operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See SearchRoutingProfiles method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a SearchRoutingProfiles operation. +// pageNum := 0 +// err := client.SearchRoutingProfilesPages(params, +// func(page *connect.SearchRoutingProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Connect) SearchRoutingProfilesPages(input *SearchRoutingProfilesInput, fn func(*SearchRoutingProfilesOutput, bool) bool) error { + return c.SearchRoutingProfilesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// SearchRoutingProfilesPagesWithContext same as SearchRoutingProfilesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) SearchRoutingProfilesPagesWithContext(ctx aws.Context, input *SearchRoutingProfilesInput, fn func(*SearchRoutingProfilesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *SearchRoutingProfilesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.SearchRoutingProfilesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*SearchRoutingProfilesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opSearchSecurityProfiles = "SearchSecurityProfiles" // SearchSecurityProfilesRequest generates a "aws/request.Request" representing the @@ -20660,7 +20965,8 @@ type CreateSecurityProfileInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // Permissions assigned to the security profile. + // Permissions assigned to the security profile. For a list of valid permissions, + // see List of security profile permissions (https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html). Permissions []*string `type:"list"` // The name of the security profile. @@ -32346,7 +32652,8 @@ type ListSecurityProfilePermissionsOutput struct { // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - // The permissions granted to the security profile. + // The permissions granted to the security profile. For a complete list of valid + // permissions, see List of security profile permissions (https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html). Permissions []*string `type:"list"` } @@ -34076,6 +34383,104 @@ func (s *QueueReference) SetId(v string) *QueueReference { return s } +// The search criteria to be used to return queues. +type QueueSearchCriteria struct { + _ struct{} `type:"structure"` + + // A list of conditions which would be applied together with an AND condition. + AndConditions []*QueueSearchCriteria `type:"list"` + + // A list of conditions which would be applied together with an OR condition. + OrConditions []*QueueSearchCriteria `type:"list"` + + // The type of queue. + QueueTypeCondition *string `type:"string" enum:"SearchableQueueType"` + + // A leaf node condition which can be used to specify a string condition, for + // example, username = 'abc'. + StringCondition *StringCondition `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s QueueSearchCriteria) 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 QueueSearchCriteria) GoString() string { + return s.String() +} + +// SetAndConditions sets the AndConditions field's value. +func (s *QueueSearchCriteria) SetAndConditions(v []*QueueSearchCriteria) *QueueSearchCriteria { + s.AndConditions = v + return s +} + +// SetOrConditions sets the OrConditions field's value. +func (s *QueueSearchCriteria) SetOrConditions(v []*QueueSearchCriteria) *QueueSearchCriteria { + s.OrConditions = v + return s +} + +// SetQueueTypeCondition sets the QueueTypeCondition field's value. +func (s *QueueSearchCriteria) SetQueueTypeCondition(v string) *QueueSearchCriteria { + s.QueueTypeCondition = &v + return s +} + +// SetStringCondition sets the StringCondition field's value. +func (s *QueueSearchCriteria) SetStringCondition(v *StringCondition) *QueueSearchCriteria { + s.StringCondition = v + return s +} + +// Filters to be applied to search results. +type QueueSearchFilter struct { + _ struct{} `type:"structure"` + + // An object that can be used to specify Tag conditions inside the SearchFilter. + // This accepts an OR of AND (List of List) input where: + // + // * Top level list specifies conditions that need to be applied with OR + // operator + // + // * Inner list specifies conditions that need to be applied with AND operator. + TagFilter *ControlPlaneTagFilter `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s QueueSearchFilter) 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 QueueSearchFilter) GoString() string { + return s.String() +} + +// SetTagFilter sets the TagFilter field's value. +func (s *QueueSearchFilter) SetTagFilter(v *ControlPlaneTagFilter) *QueueSearchFilter { + s.TagFilter = v + return s +} + // Contains summary information about a queue. type QueueSummary struct { _ struct{} `type:"structure"` @@ -35015,6 +35420,12 @@ type RoutingProfile struct { // The name of the routing profile. Name *string `min:"1" type:"string"` + // The number of associated queues in routing profile. + NumberOfAssociatedQueues *int64 `type:"long"` + + // The number of associated users in routing profile. + NumberOfAssociatedUsers *int64 `type:"long"` + // The Amazon Resource Name (ARN) of the routing profile. RoutingProfileArn *string `type:"string"` @@ -35074,6 +35485,18 @@ func (s *RoutingProfile) SetName(v string) *RoutingProfile { return s } +// SetNumberOfAssociatedQueues sets the NumberOfAssociatedQueues field's value. +func (s *RoutingProfile) SetNumberOfAssociatedQueues(v int64) *RoutingProfile { + s.NumberOfAssociatedQueues = &v + return s +} + +// SetNumberOfAssociatedUsers sets the NumberOfAssociatedUsers field's value. +func (s *RoutingProfile) SetNumberOfAssociatedUsers(v int64) *RoutingProfile { + s.NumberOfAssociatedUsers = &v + return s +} + // SetRoutingProfileArn sets the RoutingProfileArn field's value. func (s *RoutingProfile) SetRoutingProfileArn(v string) *RoutingProfile { s.RoutingProfileArn = &v @@ -35376,6 +35799,95 @@ func (s *RoutingProfileReference) SetId(v string) *RoutingProfileReference { return s } +// The search criteria to be used to return routing profiles. +type RoutingProfileSearchCriteria struct { + _ struct{} `type:"structure"` + + // A list of conditions which would be applied together with an AND condition. + AndConditions []*RoutingProfileSearchCriteria `type:"list"` + + // A list of conditions which would be applied together with an OR condition. + OrConditions []*RoutingProfileSearchCriteria `type:"list"` + + // A leaf node condition which can be used to specify a string condition, for + // example, username = 'abc'. + StringCondition *StringCondition `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RoutingProfileSearchCriteria) 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 RoutingProfileSearchCriteria) GoString() string { + return s.String() +} + +// SetAndConditions sets the AndConditions field's value. +func (s *RoutingProfileSearchCriteria) SetAndConditions(v []*RoutingProfileSearchCriteria) *RoutingProfileSearchCriteria { + s.AndConditions = v + return s +} + +// SetOrConditions sets the OrConditions field's value. +func (s *RoutingProfileSearchCriteria) SetOrConditions(v []*RoutingProfileSearchCriteria) *RoutingProfileSearchCriteria { + s.OrConditions = v + return s +} + +// SetStringCondition sets the StringCondition field's value. +func (s *RoutingProfileSearchCriteria) SetStringCondition(v *StringCondition) *RoutingProfileSearchCriteria { + s.StringCondition = v + return s +} + +// Filters to be applied to search results. +type RoutingProfileSearchFilter struct { + _ struct{} `type:"structure"` + + // An object that can be used to specify Tag conditions inside the SearchFilter. + // This accepts an OR of AND (List of List) input where: + // + // * Top level list specifies conditions that need to be applied with OR + // operator + // + // * Inner list specifies conditions that need to be applied with AND operator. + TagFilter *ControlPlaneTagFilter `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RoutingProfileSearchFilter) 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 RoutingProfileSearchFilter) GoString() string { + return s.String() +} + +// SetTagFilter sets the TagFilter field's value. +func (s *RoutingProfileSearchFilter) SetTagFilter(v *ControlPlaneTagFilter) *RoutingProfileSearchFilter { + s.TagFilter = v + return s +} + // Contains summary information about a routing profile. type RoutingProfileSummary struct { _ struct{} `type:"structure"` @@ -35658,6 +36170,290 @@ func (s *SearchAvailablePhoneNumbersOutput) SetNextToken(v string) *SearchAvaila return s } +type SearchQueuesInput struct { + _ struct{} `type:"structure"` + + // The identifier of the Amazon Connect instance. You can find the instanceId + // in the ARN of the instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` + + // The maximum number of results to return per page. + MaxResults *int64 `min:"1" type:"integer"` + + // The token for the next set of results. Use the value returned in the previous + // response in the next request to retrieve the next set of results. + NextToken *string `min:"1" type:"string"` + + // The search criteria to be used to return queues. + SearchCriteria *QueueSearchCriteria `type:"structure"` + + // Filters to be applied to search results. + SearchFilter *QueueSearchFilter `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchQueuesInput) 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 SearchQueuesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SearchQueuesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchQueuesInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *SearchQueuesInput) SetInstanceId(v string) *SearchQueuesInput { + s.InstanceId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *SearchQueuesInput) SetMaxResults(v int64) *SearchQueuesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchQueuesInput) SetNextToken(v string) *SearchQueuesInput { + s.NextToken = &v + return s +} + +// SetSearchCriteria sets the SearchCriteria field's value. +func (s *SearchQueuesInput) SetSearchCriteria(v *QueueSearchCriteria) *SearchQueuesInput { + s.SearchCriteria = v + return s +} + +// SetSearchFilter sets the SearchFilter field's value. +func (s *SearchQueuesInput) SetSearchFilter(v *QueueSearchFilter) *SearchQueuesInput { + s.SearchFilter = v + return s +} + +type SearchQueuesOutput struct { + _ struct{} `type:"structure"` + + // The total number of queues which matched your search query. + ApproximateTotalCount *int64 `type:"long"` + + // If there are additional results, this is the token for the next set of results. + NextToken *string `min:"1" type:"string"` + + // Information about the queues. + Queues []*Queue `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchQueuesOutput) 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 SearchQueuesOutput) GoString() string { + return s.String() +} + +// SetApproximateTotalCount sets the ApproximateTotalCount field's value. +func (s *SearchQueuesOutput) SetApproximateTotalCount(v int64) *SearchQueuesOutput { + s.ApproximateTotalCount = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchQueuesOutput) SetNextToken(v string) *SearchQueuesOutput { + s.NextToken = &v + return s +} + +// SetQueues sets the Queues field's value. +func (s *SearchQueuesOutput) SetQueues(v []*Queue) *SearchQueuesOutput { + s.Queues = v + return s +} + +type SearchRoutingProfilesInput struct { + _ struct{} `type:"structure"` + + // The identifier of the Amazon Connect instance. You can find the instanceId + // in the ARN of the instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` + + // The maximum number of results to return per page. + MaxResults *int64 `min:"1" type:"integer"` + + // The token for the next set of results. Use the value returned in the previous + // response in the next request to retrieve the next set of results. + NextToken *string `min:"1" type:"string"` + + // The search criteria to be used to return routing profiles. + SearchCriteria *RoutingProfileSearchCriteria `type:"structure"` + + // Filters to be applied to search results. + SearchFilter *RoutingProfileSearchFilter `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchRoutingProfilesInput) 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 SearchRoutingProfilesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SearchRoutingProfilesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchRoutingProfilesInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *SearchRoutingProfilesInput) SetInstanceId(v string) *SearchRoutingProfilesInput { + s.InstanceId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *SearchRoutingProfilesInput) SetMaxResults(v int64) *SearchRoutingProfilesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchRoutingProfilesInput) SetNextToken(v string) *SearchRoutingProfilesInput { + s.NextToken = &v + return s +} + +// SetSearchCriteria sets the SearchCriteria field's value. +func (s *SearchRoutingProfilesInput) SetSearchCriteria(v *RoutingProfileSearchCriteria) *SearchRoutingProfilesInput { + s.SearchCriteria = v + return s +} + +// SetSearchFilter sets the SearchFilter field's value. +func (s *SearchRoutingProfilesInput) SetSearchFilter(v *RoutingProfileSearchFilter) *SearchRoutingProfilesInput { + s.SearchFilter = v + return s +} + +type SearchRoutingProfilesOutput struct { + _ struct{} `type:"structure"` + + // The total number of routing profiles which matched your search query. + ApproximateTotalCount *int64 `type:"long"` + + // If there are additional results, this is the token for the next set of results. + NextToken *string `min:"1" type:"string"` + + // Information about the routing profiles. + RoutingProfiles []*RoutingProfile `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchRoutingProfilesOutput) 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 SearchRoutingProfilesOutput) GoString() string { + return s.String() +} + +// SetApproximateTotalCount sets the ApproximateTotalCount field's value. +func (s *SearchRoutingProfilesOutput) SetApproximateTotalCount(v int64) *SearchRoutingProfilesOutput { + s.ApproximateTotalCount = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchRoutingProfilesOutput) SetNextToken(v string) *SearchRoutingProfilesOutput { + s.NextToken = &v + return s +} + +// SetRoutingProfiles sets the RoutingProfiles field's value. +func (s *SearchRoutingProfilesOutput) SetRoutingProfiles(v []*RoutingProfile) *SearchRoutingProfilesOutput { + s.RoutingProfiles = v + return s +} + type SearchSecurityProfilesInput struct { _ struct{} `type:"structure"` @@ -35815,6 +36611,10 @@ type SearchUsersInput struct { NextToken *string `min:"1" type:"string"` // The search criteria to be used to return users. + // + // The Username, Firstname, and Lastname fields support "contains" queries with + // a minimum of 2 characters and a maximum of 25 characters. Any queries with + // character lengths outside of this range result in empty results. SearchCriteria *UserSearchCriteria `type:"structure"` // Filters to be applied to search results. @@ -39114,7 +39914,7 @@ type UpdateContactFlowMetadataInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // TThe name of the flow. + // The name of the flow. Name *string `min:"1" type:"string"` } @@ -41465,7 +42265,8 @@ type UpdateSecurityProfileInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The permissions granted to a security profile. + // The permissions granted to a security profile. For a list of valid permissions, + // see List of security profile permissions (https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html). Permissions []*string `type:"list"` // The identifier for the security profle. @@ -43287,6 +44088,10 @@ func (s *UserReference) SetId(v string) *UserReference { } // The search criteria to be used to return users. +// +// The Username, Firstname, and Lastname fields support "contains" queries with +// a minimum of 2 characters and a maximum of 25 characters. Any queries with +// character lengths outside of this range result in empty results. type UserSearchCriteria struct { _ struct{} `type:"structure"` @@ -45626,6 +46431,18 @@ func ResourceType_Values() []string { } } +const ( + // SearchableQueueTypeStandard is a SearchableQueueType enum value + SearchableQueueTypeStandard = "STANDARD" +) + +// SearchableQueueType_Values returns all elements of the SearchableQueueType enum +func SearchableQueueType_Values() []string { + return []string{ + SearchableQueueTypeStandard, + } +} + const ( // SourceTypeSalesforce is a SourceType enum value SourceTypeSalesforce = "SALESFORCE" diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index e071ed3de35..16b16b8d72f 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -575,6 +575,20 @@ type ConnectAPI interface { SearchAvailablePhoneNumbersPages(*connect.SearchAvailablePhoneNumbersInput, func(*connect.SearchAvailablePhoneNumbersOutput, bool) bool) error SearchAvailablePhoneNumbersPagesWithContext(aws.Context, *connect.SearchAvailablePhoneNumbersInput, func(*connect.SearchAvailablePhoneNumbersOutput, bool) bool, ...request.Option) error + SearchQueues(*connect.SearchQueuesInput) (*connect.SearchQueuesOutput, error) + SearchQueuesWithContext(aws.Context, *connect.SearchQueuesInput, ...request.Option) (*connect.SearchQueuesOutput, error) + SearchQueuesRequest(*connect.SearchQueuesInput) (*request.Request, *connect.SearchQueuesOutput) + + SearchQueuesPages(*connect.SearchQueuesInput, func(*connect.SearchQueuesOutput, bool) bool) error + SearchQueuesPagesWithContext(aws.Context, *connect.SearchQueuesInput, func(*connect.SearchQueuesOutput, bool) bool, ...request.Option) error + + SearchRoutingProfiles(*connect.SearchRoutingProfilesInput) (*connect.SearchRoutingProfilesOutput, error) + SearchRoutingProfilesWithContext(aws.Context, *connect.SearchRoutingProfilesInput, ...request.Option) (*connect.SearchRoutingProfilesOutput, error) + SearchRoutingProfilesRequest(*connect.SearchRoutingProfilesInput) (*request.Request, *connect.SearchRoutingProfilesOutput) + + SearchRoutingProfilesPages(*connect.SearchRoutingProfilesInput, func(*connect.SearchRoutingProfilesOutput, bool) bool) error + SearchRoutingProfilesPagesWithContext(aws.Context, *connect.SearchRoutingProfilesInput, func(*connect.SearchRoutingProfilesOutput, bool) bool, ...request.Option) error + SearchSecurityProfiles(*connect.SearchSecurityProfilesInput) (*connect.SearchSecurityProfilesOutput, error) SearchSecurityProfilesWithContext(aws.Context, *connect.SearchSecurityProfilesInput, ...request.Option) (*connect.SearchSecurityProfilesOutput, error) SearchSecurityProfilesRequest(*connect.SearchSecurityProfilesInput) (*request.Request, *connect.SearchSecurityProfilesOutput) diff --git a/service/mediapackage/api.go b/service/mediapackage/api.go index 697a021b3c1..f1fcf8d4b06 100644 --- a/service/mediapackage/api.go +++ b/service/mediapackage/api.go @@ -1978,6 +1978,9 @@ type CmafEncryption struct { // a value, then MediaPackage creates the constant initialization vector (IV). ConstantInitializationVector *string `locationName:"constantInitializationVector" type:"string"` + // The encryption method to use. + EncryptionMethod *string `locationName:"encryptionMethod" type:"string" enum:"CmafEncryptionMethod"` + // Time (in seconds) between each encryption key rotation. KeyRotationIntervalSeconds *int64 `locationName:"keyRotationIntervalSeconds" type:"integer"` @@ -2030,6 +2033,12 @@ func (s *CmafEncryption) SetConstantInitializationVector(v string) *CmafEncrypti return s } +// SetEncryptionMethod sets the EncryptionMethod field's value. +func (s *CmafEncryption) SetEncryptionMethod(v string) *CmafEncryption { + s.EncryptionMethod = &v + return s +} + // SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value. func (s *CmafEncryption) SetKeyRotationIntervalSeconds(v int64) *CmafEncryption { s.KeyRotationIntervalSeconds = &v @@ -7028,6 +7037,23 @@ func AdsOnDeliveryRestrictions_Values() []string { } } +// The encryption method to use. +const ( + // CmafEncryptionMethodSampleAes is a CmafEncryptionMethod enum value + CmafEncryptionMethodSampleAes = "SAMPLE_AES" + + // CmafEncryptionMethodAesCtr is a CmafEncryptionMethod enum value + CmafEncryptionMethodAesCtr = "AES_CTR" +) + +// CmafEncryptionMethod_Values returns all elements of the CmafEncryptionMethod enum +func CmafEncryptionMethod_Values() []string { + return []string{ + CmafEncryptionMethodSampleAes, + CmafEncryptionMethodAesCtr, + } +} + const ( // EncryptionMethodAes128 is a EncryptionMethod enum value EncryptionMethodAes128 = "AES_128" diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 8ecadba1948..fbabe28eae5 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -55487,6 +55487,10 @@ func (s *DomainDetails) SetUrl(v string) *DomainDetails { type DomainSettings struct { _ struct{} `type:"structure"` + // The configuration for attaching a SageMaker user profile name to the execution + // role as a sts:SourceIdentity key (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html). + ExecutionRoleIdentityConfig *string `type:"string" enum:"ExecutionRoleIdentityConfig"` + // A collection of settings that configure the RStudioServerPro Domain-level // app. RStudioServerProDomainSettings *RStudioServerProDomainSettings `type:"structure"` @@ -55529,6 +55533,12 @@ func (s *DomainSettings) Validate() error { return nil } +// SetExecutionRoleIdentityConfig sets the ExecutionRoleIdentityConfig field's value. +func (s *DomainSettings) SetExecutionRoleIdentityConfig(v string) *DomainSettings { + s.ExecutionRoleIdentityConfig = &v + return s +} + // SetRStudioServerProDomainSettings sets the RStudioServerProDomainSettings field's value. func (s *DomainSettings) SetRStudioServerProDomainSettings(v *RStudioServerProDomainSettings) *DomainSettings { s.RStudioServerProDomainSettings = v @@ -55545,6 +55555,12 @@ func (s *DomainSettings) SetSecurityGroupIds(v []*string) *DomainSettings { type DomainSettingsForUpdate struct { _ struct{} `type:"structure"` + // The configuration for attaching a SageMaker user profile name to the execution + // role as a sts:SourceIdentity key (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html). + // This configuration can only be modified if there are no apps in the InService + // or Pending state. + ExecutionRoleIdentityConfig *string `type:"string" enum:"ExecutionRoleIdentityConfig"` + // A collection of RStudioServerPro Domain-level app settings to update. RStudioServerProDomainSettingsForUpdate *RStudioServerProDomainSettingsForUpdate `type:"structure"` } @@ -55582,6 +55598,12 @@ func (s *DomainSettingsForUpdate) Validate() error { return nil } +// SetExecutionRoleIdentityConfig sets the ExecutionRoleIdentityConfig field's value. +func (s *DomainSettingsForUpdate) SetExecutionRoleIdentityConfig(v string) *DomainSettingsForUpdate { + s.ExecutionRoleIdentityConfig = &v + return s +} + // SetRStudioServerProDomainSettingsForUpdate sets the RStudioServerProDomainSettingsForUpdate field's value. func (s *DomainSettingsForUpdate) SetRStudioServerProDomainSettingsForUpdate(v *RStudioServerProDomainSettingsForUpdate) *DomainSettingsForUpdate { s.RStudioServerProDomainSettingsForUpdate = v @@ -99193,6 +99215,22 @@ func EndpointStatus_Values() []string { } } +const ( + // ExecutionRoleIdentityConfigUserProfileName is a ExecutionRoleIdentityConfig enum value + ExecutionRoleIdentityConfigUserProfileName = "USER_PROFILE_NAME" + + // ExecutionRoleIdentityConfigDisabled is a ExecutionRoleIdentityConfig enum value + ExecutionRoleIdentityConfigDisabled = "DISABLED" +) + +// ExecutionRoleIdentityConfig_Values returns all elements of the ExecutionRoleIdentityConfig enum +func ExecutionRoleIdentityConfig_Values() []string { + return []string{ + ExecutionRoleIdentityConfigUserProfileName, + ExecutionRoleIdentityConfigDisabled, + } +} + const ( // ExecutionStatusPending is a ExecutionStatus enum value ExecutionStatusPending = "Pending"