# WARNING ABOUT GENERATED CODE
#
# This file is generated. See the contributing guide for more information:
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE
module Aws::Connect
# @api private
module ClientApi
include Seahorse::Model
ARN = Shapes::StringShape.new(name: 'ARN')
AfterContactWorkTimeLimit = Shapes::IntegerShape.new(name: 'AfterContactWorkTimeLimit')
AgentFirstName = Shapes::StringShape.new(name: 'AgentFirstName')
AgentLastName = Shapes::StringShape.new(name: 'AgentLastName')
AgentUsername = Shapes::StringShape.new(name: 'AgentUsername')
AttributeName = Shapes::StringShape.new(name: 'AttributeName')
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
Attributes = Shapes::MapShape.new(name: 'Attributes')
AutoAccept = Shapes::BooleanShape.new(name: 'AutoAccept')
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
ContactFlowId = Shapes::StringShape.new(name: 'ContactFlowId')
ContactId = Shapes::StringShape.new(name: 'ContactId')
ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
Credentials = Shapes::StructureShape.new(name: 'Credentials')
DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
DescribeUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupRequest')
DescribeUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupResponse')
DescribeUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureRequest')
DescribeUserHierarchyStructureResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureResponse')
DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
DestinationNotAllowedException = Shapes::StructureShape.new(name: 'DestinationNotAllowedException')
DirectoryUserId = Shapes::StringShape.new(name: 'DirectoryUserId')
DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
Email = Shapes::StringShape.new(name: 'Email')
GetFederationTokenRequest = Shapes::StructureShape.new(name: 'GetFederationTokenRequest')
GetFederationTokenResponse = Shapes::StructureShape.new(name: 'GetFederationTokenResponse')
HierarchyGroup = Shapes::StructureShape.new(name: 'HierarchyGroup')
HierarchyGroupId = Shapes::StringShape.new(name: 'HierarchyGroupId')
HierarchyGroupName = Shapes::StringShape.new(name: 'HierarchyGroupName')
HierarchyGroupSummary = Shapes::StructureShape.new(name: 'HierarchyGroupSummary')
HierarchyGroupSummaryList = Shapes::ListShape.new(name: 'HierarchyGroupSummaryList')
HierarchyLevel = Shapes::StructureShape.new(name: 'HierarchyLevel')
HierarchyLevelId = Shapes::StringShape.new(name: 'HierarchyLevelId')
HierarchyLevelName = Shapes::StringShape.new(name: 'HierarchyLevelName')
HierarchyPath = Shapes::StructureShape.new(name: 'HierarchyPath')
HierarchyStructure = Shapes::StructureShape.new(name: 'HierarchyStructure')
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
ListRoutingProfilesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfilesRequest')
ListRoutingProfilesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfilesResponse')
ListSecurityProfilesRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesRequest')
ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
ListUserHierarchyGroupsRequest = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsRequest')
ListUserHierarchyGroupsResponse = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsResponse')
ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
MaxResult1000 = Shapes::IntegerShape.new(name: 'MaxResult1000')
Message = Shapes::StringShape.new(name: 'Message')
NextToken = Shapes::StringShape.new(name: 'NextToken')
OutboundContactNotPermittedException = Shapes::StructureShape.new(name: 'OutboundContactNotPermittedException')
Password = Shapes::StringShape.new(name: 'Password')
PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
PhoneType = Shapes::StringShape.new(name: 'PhoneType')
QueueId = Shapes::StringShape.new(name: 'QueueId')
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
RoutingProfileId = Shapes::StringShape.new(name: 'RoutingProfileId')
RoutingProfileName = Shapes::StringShape.new(name: 'RoutingProfileName')
RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
SecurityProfileId = Shapes::StringShape.new(name: 'SecurityProfileId')
SecurityProfileIds = Shapes::ListShape.new(name: 'SecurityProfileIds')
SecurityProfileName = Shapes::StringShape.new(name: 'SecurityProfileName')
SecurityProfileSummary = Shapes::StructureShape.new(name: 'SecurityProfileSummary')
SecurityProfileSummaryList = Shapes::ListShape.new(name: 'SecurityProfileSummaryList')
SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
StartOutboundVoiceContactRequest = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactRequest')
StartOutboundVoiceContactResponse = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactResponse')
StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
UpdateUserIdentityInfoRequest = Shapes::StructureShape.new(name: 'UpdateUserIdentityInfoRequest')
UpdateUserPhoneConfigRequest = Shapes::StructureShape.new(name: 'UpdateUserPhoneConfigRequest')
UpdateUserRoutingProfileRequest = Shapes::StructureShape.new(name: 'UpdateUserRoutingProfileRequest')
UpdateUserSecurityProfilesRequest = Shapes::StructureShape.new(name: 'UpdateUserSecurityProfilesRequest')
User = Shapes::StructureShape.new(name: 'User')
UserId = Shapes::StringShape.new(name: 'UserId')
UserIdentityInfo = Shapes::StructureShape.new(name: 'UserIdentityInfo')
UserNotFoundException = Shapes::StructureShape.new(name: 'UserNotFoundException')
UserPhoneConfig = Shapes::StructureShape.new(name: 'UserPhoneConfig')
UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, required: true, location_name: "Username"))
CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
CreateUserRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, location_name: "IdentityInfo"))
CreateUserRequest.add_member(:phone_config, Shapes::ShapeRef.new(shape: UserPhoneConfig, required: true, location_name: "PhoneConfig"))
CreateUserRequest.add_member(:directory_user_id, Shapes::ShapeRef.new(shape: DirectoryUserId, location_name: "DirectoryUserId"))
CreateUserRequest.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, required: true, location_name: "SecurityProfileIds"))
CreateUserRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location_name: "RoutingProfileId"))
CreateUserRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
CreateUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
CreateUserRequest.struct_class = Types::CreateUserRequest
CreateUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
CreateUserResponse.add_member(:user_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UserArn"))
CreateUserResponse.struct_class = Types::CreateUserResponse
Credentials.add_member(:access_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "AccessToken"))
Credentials.add_member(:access_token_expiration, Shapes::ShapeRef.new(shape: timestamp, location_name: "AccessTokenExpiration"))
Credentials.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "RefreshToken"))
Credentials.add_member(:refresh_token_expiration, Shapes::ShapeRef.new(shape: timestamp, location_name: "RefreshTokenExpiration"))
Credentials.struct_class = Types::Credentials
DeleteUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
DeleteUserRequest.struct_class = Types::DeleteUserRequest
DescribeUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
DescribeUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
DescribeUserHierarchyGroupRequest.struct_class = Types::DescribeUserHierarchyGroupRequest
DescribeUserHierarchyGroupResponse.add_member(:hierarchy_group, Shapes::ShapeRef.new(shape: HierarchyGroup, location_name: "HierarchyGroup"))
DescribeUserHierarchyGroupResponse.struct_class = Types::DescribeUserHierarchyGroupResponse
DescribeUserHierarchyStructureRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
DescribeUserHierarchyStructureRequest.struct_class = Types::DescribeUserHierarchyStructureRequest
DescribeUserHierarchyStructureResponse.add_member(:hierarchy_structure, Shapes::ShapeRef.new(shape: HierarchyStructure, location_name: "HierarchyStructure"))
DescribeUserHierarchyStructureResponse.struct_class = Types::DescribeUserHierarchyStructureResponse
DescribeUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
DescribeUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
DescribeUserRequest.struct_class = Types::DescribeUserRequest
DescribeUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
DescribeUserResponse.struct_class = Types::DescribeUserResponse
GetFederationTokenRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
GetFederationTokenRequest.struct_class = Types::GetFederationTokenRequest
GetFederationTokenResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
GetFederationTokenResponse.struct_class = Types::GetFederationTokenResponse
HierarchyGroup.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
HierarchyGroup.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
HierarchyGroup.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, location_name: "Name"))
HierarchyGroup.add_member(:level_id, Shapes::ShapeRef.new(shape: HierarchyLevelId, location_name: "LevelId"))
HierarchyGroup.add_member(:hierarchy_path, Shapes::ShapeRef.new(shape: HierarchyPath, location_name: "HierarchyPath"))
HierarchyGroup.struct_class = Types::HierarchyGroup
HierarchyGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
HierarchyGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
HierarchyGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, location_name: "Name"))
HierarchyGroupSummary.struct_class = Types::HierarchyGroupSummary
HierarchyGroupSummaryList.member = Shapes::ShapeRef.new(shape: HierarchyGroupSummary)
HierarchyLevel.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyLevelId, location_name: "Id"))
HierarchyLevel.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
HierarchyLevel.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyLevelName, location_name: "Name"))
HierarchyLevel.struct_class = Types::HierarchyLevel
HierarchyPath.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelOne"))
HierarchyPath.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelTwo"))
HierarchyPath.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelThree"))
HierarchyPath.add_member(:level_four, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelFour"))
HierarchyPath.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelFive"))
HierarchyPath.struct_class = Types::HierarchyPath
HierarchyStructure.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelOne"))
HierarchyStructure.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelTwo"))
HierarchyStructure.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelThree"))
HierarchyStructure.add_member(:level_four, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelFour"))
HierarchyStructure.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelFive"))
HierarchyStructure.struct_class = Types::HierarchyStructure
ListRoutingProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
ListRoutingProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
ListRoutingProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
ListRoutingProfilesRequest.struct_class = Types::ListRoutingProfilesRequest
ListRoutingProfilesResponse.add_member(:routing_profile_summary_list, Shapes::ShapeRef.new(shape: RoutingProfileSummaryList, location_name: "RoutingProfileSummaryList"))
ListRoutingProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
ListRoutingProfilesResponse.struct_class = Types::ListRoutingProfilesResponse
ListSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
ListSecurityProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
ListSecurityProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
ListSecurityProfilesRequest.struct_class = Types::ListSecurityProfilesRequest
ListSecurityProfilesResponse.add_member(:security_profile_summary_list, Shapes::ShapeRef.new(shape: SecurityProfileSummaryList, location_name: "SecurityProfileSummaryList"))
ListSecurityProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
ListSecurityProfilesResponse.struct_class = Types::ListSecurityProfilesResponse
ListUserHierarchyGroupsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
ListUserHierarchyGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
ListUserHierarchyGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
ListUserHierarchyGroupsRequest.struct_class = Types::ListUserHierarchyGroupsRequest
ListUserHierarchyGroupsResponse.add_member(:user_hierarchy_group_summary_list, Shapes::ShapeRef.new(shape: HierarchyGroupSummaryList, location_name: "UserHierarchyGroupSummaryList"))
ListUserHierarchyGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
ListUserHierarchyGroupsResponse.struct_class = Types::ListUserHierarchyGroupsResponse
ListUsersRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
ListUsersRequest.struct_class = Types::ListUsersRequest
ListUsersResponse.add_member(:user_summary_list, Shapes::ShapeRef.new(shape: UserSummaryList, location_name: "UserSummaryList"))
ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
ListUsersResponse.struct_class = Types::ListUsersResponse
RoutingProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
RoutingProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
RoutingProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
RoutingProfileSummary.struct_class = Types::RoutingProfileSummary
RoutingProfileSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileSummary)
SecurityProfileIds.member = Shapes::ShapeRef.new(shape: SecurityProfileId)
SecurityProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "Id"))
SecurityProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
SecurityProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "Name"))
SecurityProfileSummary.struct_class = Types::SecurityProfileSummary
SecurityProfileSummaryList.member = Shapes::ShapeRef.new(shape: SecurityProfileSummary)
StartOutboundVoiceContactRequest.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "DestinationPhoneNumber"))
StartOutboundVoiceContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
StartOutboundVoiceContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
StartOutboundVoiceContactRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
StartOutboundVoiceContactRequest.add_member(:source_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "SourcePhoneNumber"))
StartOutboundVoiceContactRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "QueueId"))
StartOutboundVoiceContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
StartOutboundVoiceContactRequest.struct_class = Types::StartOutboundVoiceContactRequest
StartOutboundVoiceContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
StartOutboundVoiceContactResponse.struct_class = Types::StartOutboundVoiceContactResponse
StopContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
StopContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
StopContactRequest.struct_class = Types::StopContactRequest
StopContactResponse.struct_class = Types::StopContactResponse
UpdateUserHierarchyRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
UpdateUserHierarchyRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
UpdateUserHierarchyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
UpdateUserHierarchyRequest.struct_class = Types::UpdateUserHierarchyRequest
UpdateUserIdentityInfoRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, required: true, location_name: "IdentityInfo"))
UpdateUserIdentityInfoRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
UpdateUserIdentityInfoRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
UpdateUserIdentityInfoRequest.struct_class = Types::UpdateUserIdentityInfoRequest
UpdateUserPhoneConfigRequest.add_member(:phone_config, Shapes::ShapeRef.new(shape: UserPhoneConfig, required: true, location_name: "PhoneConfig"))
UpdateUserPhoneConfigRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
UpdateUserPhoneConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
UpdateUserPhoneConfigRequest.struct_class = Types::UpdateUserPhoneConfigRequest
UpdateUserRoutingProfileRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location_name: "RoutingProfileId"))
UpdateUserRoutingProfileRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
UpdateUserRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
UpdateUserRoutingProfileRequest.struct_class = Types::UpdateUserRoutingProfileRequest
UpdateUserSecurityProfilesRequest.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, required: true, location_name: "SecurityProfileIds"))
UpdateUserSecurityProfilesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
UpdateUserSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
UpdateUserSecurityProfilesRequest.struct_class = Types::UpdateUserSecurityProfilesRequest
User.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id"))
User.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
User.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username"))
User.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, location_name: "IdentityInfo"))
User.add_member(:phone_config, Shapes::ShapeRef.new(shape: UserPhoneConfig, location_name: "PhoneConfig"))
User.add_member(:directory_user_id, Shapes::ShapeRef.new(shape: DirectoryUserId, location_name: "DirectoryUserId"))
User.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, location_name: "SecurityProfileIds"))
User.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
User.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
User.struct_class = Types::User
UserIdentityInfo.add_member(:first_name, Shapes::ShapeRef.new(shape: AgentFirstName, location_name: "FirstName"))
UserIdentityInfo.add_member(:last_name, Shapes::ShapeRef.new(shape: AgentLastName, location_name: "LastName"))
UserIdentityInfo.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
UserIdentityInfo.struct_class = Types::UserIdentityInfo
UserPhoneConfig.add_member(:phone_type, Shapes::ShapeRef.new(shape: PhoneType, required: true, location_name: "PhoneType"))
UserPhoneConfig.add_member(:auto_accept, Shapes::ShapeRef.new(shape: AutoAccept, location_name: "AutoAccept"))
UserPhoneConfig.add_member(:after_contact_work_time_limit, Shapes::ShapeRef.new(shape: AfterContactWorkTimeLimit, location_name: "AfterContactWorkTimeLimit"))
UserPhoneConfig.add_member(:desk_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "DeskPhoneNumber"))
UserPhoneConfig.struct_class = Types::UserPhoneConfig
UserSummary.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id"))
UserSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
UserSummary.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username"))
UserSummary.struct_class = Types::UserSummary
UserSummaryList.member = Shapes::ShapeRef.new(shape: UserSummary)
# @api private
API = Seahorse::Model::Api.new.tap do |api|
api.version = "2017-08-08"
api.metadata = {
"apiVersion" => "2017-08-08",
"endpointPrefix" => "connect",
"jsonVersion" => "1.1",
"protocol" => "rest-json",
"serviceAbbreviation" => "Amazon Connect",
"serviceFullName" => "Amazon Connect Service",
"serviceId" => "Connect",
"signatureVersion" => "v4",
"signingName" => "connect",
"uid" => "connect-2017-08-08",
}
api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
o.name = "CreateUser"
o.http_method = "PUT"
o.http_request_uri = "/users/{InstanceId}"
o.input = Shapes::ShapeRef.new(shape: CreateUserRequest)
o.output = Shapes::ShapeRef.new(shape: CreateUserResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
o.name = "DeleteUser"
o.http_method = "DELETE"
o.http_request_uri = "/users/{InstanceId}/{UserId}"
o.input = Shapes::ShapeRef.new(shape: DeleteUserRequest)
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
o.name = "DescribeUser"
o.http_method = "GET"
o.http_request_uri = "/users/{InstanceId}/{UserId}"
o.input = Shapes::ShapeRef.new(shape: DescribeUserRequest)
o.output = Shapes::ShapeRef.new(shape: DescribeUserResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:describe_user_hierarchy_group, Seahorse::Model::Operation.new.tap do |o|
o.name = "DescribeUserHierarchyGroup"
o.http_method = "GET"
o.http_request_uri = "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}"
o.input = Shapes::ShapeRef.new(shape: DescribeUserHierarchyGroupRequest)
o.output = Shapes::ShapeRef.new(shape: DescribeUserHierarchyGroupResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:describe_user_hierarchy_structure, Seahorse::Model::Operation.new.tap do |o|
o.name = "DescribeUserHierarchyStructure"
o.http_method = "GET"
o.http_request_uri = "/user-hierarchy-structure/{InstanceId}"
o.input = Shapes::ShapeRef.new(shape: DescribeUserHierarchyStructureRequest)
o.output = Shapes::ShapeRef.new(shape: DescribeUserHierarchyStructureResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:get_federation_token, Seahorse::Model::Operation.new.tap do |o|
o.name = "GetFederationToken"
o.http_method = "GET"
o.http_request_uri = "/user/federate/{InstanceId}"
o.input = Shapes::ShapeRef.new(shape: GetFederationTokenRequest)
o.output = Shapes::ShapeRef.new(shape: GetFederationTokenResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
end)
api.add_operation(:list_routing_profiles, Seahorse::Model::Operation.new.tap do |o|
o.name = "ListRoutingProfiles"
o.http_method = "GET"
o.http_request_uri = "/routing-profiles-summary/{InstanceId}"
o.input = Shapes::ShapeRef.new(shape: ListRoutingProfilesRequest)
o.output = Shapes::ShapeRef.new(shape: ListRoutingProfilesResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:list_security_profiles, Seahorse::Model::Operation.new.tap do |o|
o.name = "ListSecurityProfiles"
o.http_method = "GET"
o.http_request_uri = "/security-profiles-summary/{InstanceId}"
o.input = Shapes::ShapeRef.new(shape: ListSecurityProfilesRequest)
o.output = Shapes::ShapeRef.new(shape: ListSecurityProfilesResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:list_user_hierarchy_groups, Seahorse::Model::Operation.new.tap do |o|
o.name = "ListUserHierarchyGroups"
o.http_method = "GET"
o.http_request_uri = "/user-hierarchy-groups-summary/{InstanceId}"
o.input = Shapes::ShapeRef.new(shape: ListUserHierarchyGroupsRequest)
o.output = Shapes::ShapeRef.new(shape: ListUserHierarchyGroupsResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
o.name = "ListUsers"
o.http_method = "GET"
o.http_request_uri = "/users-summary/{InstanceId}"
o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
o.output = Shapes::ShapeRef.new(shape: ListUsersResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:start_outbound_voice_contact, Seahorse::Model::Operation.new.tap do |o|
o.name = "StartOutboundVoiceContact"
o.http_method = "PUT"
o.http_request_uri = "/contact/outbound-voice"
o.input = Shapes::ShapeRef.new(shape: StartOutboundVoiceContactRequest)
o.output = Shapes::ShapeRef.new(shape: StartOutboundVoiceContactResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
o.errors << Shapes::ShapeRef.new(shape: DestinationNotAllowedException)
o.errors << Shapes::ShapeRef.new(shape: OutboundContactNotPermittedException)
end)
api.add_operation(:stop_contact, Seahorse::Model::Operation.new.tap do |o|
o.name = "StopContact"
o.http_method = "POST"
o.http_request_uri = "/contact/stop"
o.input = Shapes::ShapeRef.new(shape: StopContactRequest)
o.output = Shapes::ShapeRef.new(shape: StopContactResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: ContactNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:update_user_hierarchy, Seahorse::Model::Operation.new.tap do |o|
o.name = "UpdateUserHierarchy"
o.http_method = "POST"
o.http_request_uri = "/users/{InstanceId}/{UserId}/hierarchy"
o.input = Shapes::ShapeRef.new(shape: UpdateUserHierarchyRequest)
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:update_user_identity_info, Seahorse::Model::Operation.new.tap do |o|
o.name = "UpdateUserIdentityInfo"
o.http_method = "POST"
o.http_request_uri = "/users/{InstanceId}/{UserId}/identity-info"
o.input = Shapes::ShapeRef.new(shape: UpdateUserIdentityInfoRequest)
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:update_user_phone_config, Seahorse::Model::Operation.new.tap do |o|
o.name = "UpdateUserPhoneConfig"
o.http_method = "POST"
o.http_request_uri = "/users/{InstanceId}/{UserId}/phone-config"
o.input = Shapes::ShapeRef.new(shape: UpdateUserPhoneConfigRequest)
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:update_user_routing_profile, Seahorse::Model::Operation.new.tap do |o|
o.name = "UpdateUserRoutingProfile"
o.http_method = "POST"
o.http_request_uri = "/users/{InstanceId}/{UserId}/routing-profile"
o.input = Shapes::ShapeRef.new(shape: UpdateUserRoutingProfileRequest)
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
api.add_operation(:update_user_security_profiles, Seahorse::Model::Operation.new.tap do |o|
o.name = "UpdateUserSecurityProfiles"
o.http_method = "POST"
o.http_request_uri = "/users/{InstanceId}/{UserId}/security-profiles"
o.input = Shapes::ShapeRef.new(shape: UpdateUserSecurityProfilesRequest)
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
end)
end
end
end