aws-sdk-connect 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-connect.rb +1 -1
- data/lib/aws-sdk-connect/client.rb +762 -48
- data/lib/aws-sdk-connect/client_api.rb +455 -0
- data/lib/aws-sdk-connect/types.rb +1151 -43
- metadata +2 -2
@@ -11,32 +11,235 @@ module Aws::Connect
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
ARN = Shapes::StringShape.new(name: 'ARN')
|
15
|
+
AfterContactWorkTimeLimit = Shapes::IntegerShape.new(name: 'AfterContactWorkTimeLimit')
|
16
|
+
AgentFirstName = Shapes::StringShape.new(name: 'AgentFirstName')
|
17
|
+
AgentLastName = Shapes::StringShape.new(name: 'AgentLastName')
|
18
|
+
AgentUsername = Shapes::StringShape.new(name: 'AgentUsername')
|
14
19
|
AttributeName = Shapes::StringShape.new(name: 'AttributeName')
|
15
20
|
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
|
16
21
|
Attributes = Shapes::MapShape.new(name: 'Attributes')
|
22
|
+
AutoAccept = Shapes::BooleanShape.new(name: 'AutoAccept')
|
17
23
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
18
24
|
ContactFlowId = Shapes::StringShape.new(name: 'ContactFlowId')
|
19
25
|
ContactId = Shapes::StringShape.new(name: 'ContactId')
|
20
26
|
ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
|
27
|
+
CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
|
28
|
+
CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
|
29
|
+
Credentials = Shapes::StructureShape.new(name: 'Credentials')
|
30
|
+
DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
|
31
|
+
DescribeUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupRequest')
|
32
|
+
DescribeUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupResponse')
|
33
|
+
DescribeUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureRequest')
|
34
|
+
DescribeUserHierarchyStructureResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureResponse')
|
35
|
+
DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
|
36
|
+
DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
|
21
37
|
DestinationNotAllowedException = Shapes::StructureShape.new(name: 'DestinationNotAllowedException')
|
38
|
+
DirectoryUserId = Shapes::StringShape.new(name: 'DirectoryUserId')
|
39
|
+
DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
|
40
|
+
Email = Shapes::StringShape.new(name: 'Email')
|
41
|
+
GetFederationTokenRequest = Shapes::StructureShape.new(name: 'GetFederationTokenRequest')
|
42
|
+
GetFederationTokenResponse = Shapes::StructureShape.new(name: 'GetFederationTokenResponse')
|
43
|
+
HierarchyGroup = Shapes::StructureShape.new(name: 'HierarchyGroup')
|
44
|
+
HierarchyGroupId = Shapes::StringShape.new(name: 'HierarchyGroupId')
|
45
|
+
HierarchyGroupName = Shapes::StringShape.new(name: 'HierarchyGroupName')
|
46
|
+
HierarchyGroupSummary = Shapes::StructureShape.new(name: 'HierarchyGroupSummary')
|
47
|
+
HierarchyGroupSummaryList = Shapes::ListShape.new(name: 'HierarchyGroupSummaryList')
|
48
|
+
HierarchyLevel = Shapes::StructureShape.new(name: 'HierarchyLevel')
|
49
|
+
HierarchyLevelId = Shapes::StringShape.new(name: 'HierarchyLevelId')
|
50
|
+
HierarchyLevelName = Shapes::StringShape.new(name: 'HierarchyLevelName')
|
51
|
+
HierarchyPath = Shapes::StructureShape.new(name: 'HierarchyPath')
|
52
|
+
HierarchyStructure = Shapes::StructureShape.new(name: 'HierarchyStructure')
|
22
53
|
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
|
23
54
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
24
55
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
25
56
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
26
57
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
58
|
+
ListRoutingProfilesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfilesRequest')
|
59
|
+
ListRoutingProfilesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfilesResponse')
|
60
|
+
ListSecurityProfilesRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesRequest')
|
61
|
+
ListSecurityProfilesResponse = Shapes::StructureShape.new(name: 'ListSecurityProfilesResponse')
|
62
|
+
ListUserHierarchyGroupsRequest = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsRequest')
|
63
|
+
ListUserHierarchyGroupsResponse = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsResponse')
|
64
|
+
ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
|
65
|
+
ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
|
66
|
+
MaxResult1000 = Shapes::IntegerShape.new(name: 'MaxResult1000')
|
27
67
|
Message = Shapes::StringShape.new(name: 'Message')
|
68
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
28
69
|
OutboundContactNotPermittedException = Shapes::StructureShape.new(name: 'OutboundContactNotPermittedException')
|
70
|
+
Password = Shapes::StringShape.new(name: 'Password')
|
29
71
|
PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
|
72
|
+
PhoneType = Shapes::StringShape.new(name: 'PhoneType')
|
30
73
|
QueueId = Shapes::StringShape.new(name: 'QueueId')
|
31
74
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
75
|
+
RoutingProfileId = Shapes::StringShape.new(name: 'RoutingProfileId')
|
76
|
+
RoutingProfileName = Shapes::StringShape.new(name: 'RoutingProfileName')
|
77
|
+
RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
|
78
|
+
RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
|
79
|
+
SecurityProfileId = Shapes::StringShape.new(name: 'SecurityProfileId')
|
80
|
+
SecurityProfileIds = Shapes::ListShape.new(name: 'SecurityProfileIds')
|
81
|
+
SecurityProfileName = Shapes::StringShape.new(name: 'SecurityProfileName')
|
82
|
+
SecurityProfileSummary = Shapes::StructureShape.new(name: 'SecurityProfileSummary')
|
83
|
+
SecurityProfileSummaryList = Shapes::ListShape.new(name: 'SecurityProfileSummaryList')
|
84
|
+
SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
|
32
85
|
StartOutboundVoiceContactRequest = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactRequest')
|
33
86
|
StartOutboundVoiceContactResponse = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactResponse')
|
34
87
|
StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
|
35
88
|
StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
|
89
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
90
|
+
UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
|
91
|
+
UpdateUserIdentityInfoRequest = Shapes::StructureShape.new(name: 'UpdateUserIdentityInfoRequest')
|
92
|
+
UpdateUserPhoneConfigRequest = Shapes::StructureShape.new(name: 'UpdateUserPhoneConfigRequest')
|
93
|
+
UpdateUserRoutingProfileRequest = Shapes::StructureShape.new(name: 'UpdateUserRoutingProfileRequest')
|
94
|
+
UpdateUserSecurityProfilesRequest = Shapes::StructureShape.new(name: 'UpdateUserSecurityProfilesRequest')
|
95
|
+
User = Shapes::StructureShape.new(name: 'User')
|
96
|
+
UserId = Shapes::StringShape.new(name: 'UserId')
|
97
|
+
UserIdentityInfo = Shapes::StructureShape.new(name: 'UserIdentityInfo')
|
98
|
+
UserNotFoundException = Shapes::StructureShape.new(name: 'UserNotFoundException')
|
99
|
+
UserPhoneConfig = Shapes::StructureShape.new(name: 'UserPhoneConfig')
|
100
|
+
UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
|
101
|
+
UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
|
102
|
+
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
|
36
103
|
|
37
104
|
Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
|
38
105
|
Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
39
106
|
|
107
|
+
CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, required: true, location_name: "Username"))
|
108
|
+
CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
|
109
|
+
CreateUserRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, location_name: "IdentityInfo"))
|
110
|
+
CreateUserRequest.add_member(:phone_config, Shapes::ShapeRef.new(shape: UserPhoneConfig, required: true, location_name: "PhoneConfig"))
|
111
|
+
CreateUserRequest.add_member(:directory_user_id, Shapes::ShapeRef.new(shape: DirectoryUserId, location_name: "DirectoryUserId"))
|
112
|
+
CreateUserRequest.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, required: true, location_name: "SecurityProfileIds"))
|
113
|
+
CreateUserRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location_name: "RoutingProfileId"))
|
114
|
+
CreateUserRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
|
115
|
+
CreateUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
116
|
+
CreateUserRequest.struct_class = Types::CreateUserRequest
|
117
|
+
|
118
|
+
CreateUserResponse.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "UserId"))
|
119
|
+
CreateUserResponse.add_member(:user_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UserArn"))
|
120
|
+
CreateUserResponse.struct_class = Types::CreateUserResponse
|
121
|
+
|
122
|
+
Credentials.add_member(:access_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "AccessToken"))
|
123
|
+
Credentials.add_member(:access_token_expiration, Shapes::ShapeRef.new(shape: timestamp, location_name: "AccessTokenExpiration"))
|
124
|
+
Credentials.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SecurityToken, location_name: "RefreshToken"))
|
125
|
+
Credentials.add_member(:refresh_token_expiration, Shapes::ShapeRef.new(shape: timestamp, location_name: "RefreshTokenExpiration"))
|
126
|
+
Credentials.struct_class = Types::Credentials
|
127
|
+
|
128
|
+
DeleteUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
129
|
+
DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
|
130
|
+
DeleteUserRequest.struct_class = Types::DeleteUserRequest
|
131
|
+
|
132
|
+
DescribeUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
|
133
|
+
DescribeUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
134
|
+
DescribeUserHierarchyGroupRequest.struct_class = Types::DescribeUserHierarchyGroupRequest
|
135
|
+
|
136
|
+
DescribeUserHierarchyGroupResponse.add_member(:hierarchy_group, Shapes::ShapeRef.new(shape: HierarchyGroup, location_name: "HierarchyGroup"))
|
137
|
+
DescribeUserHierarchyGroupResponse.struct_class = Types::DescribeUserHierarchyGroupResponse
|
138
|
+
|
139
|
+
DescribeUserHierarchyStructureRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
140
|
+
DescribeUserHierarchyStructureRequest.struct_class = Types::DescribeUserHierarchyStructureRequest
|
141
|
+
|
142
|
+
DescribeUserHierarchyStructureResponse.add_member(:hierarchy_structure, Shapes::ShapeRef.new(shape: HierarchyStructure, location_name: "HierarchyStructure"))
|
143
|
+
DescribeUserHierarchyStructureResponse.struct_class = Types::DescribeUserHierarchyStructureResponse
|
144
|
+
|
145
|
+
DescribeUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
|
146
|
+
DescribeUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
147
|
+
DescribeUserRequest.struct_class = Types::DescribeUserRequest
|
148
|
+
|
149
|
+
DescribeUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
|
150
|
+
DescribeUserResponse.struct_class = Types::DescribeUserResponse
|
151
|
+
|
152
|
+
GetFederationTokenRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
153
|
+
GetFederationTokenRequest.struct_class = Types::GetFederationTokenRequest
|
154
|
+
|
155
|
+
GetFederationTokenResponse.add_member(:credentials, Shapes::ShapeRef.new(shape: Credentials, location_name: "Credentials"))
|
156
|
+
GetFederationTokenResponse.struct_class = Types::GetFederationTokenResponse
|
157
|
+
|
158
|
+
HierarchyGroup.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
|
159
|
+
HierarchyGroup.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
160
|
+
HierarchyGroup.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, location_name: "Name"))
|
161
|
+
HierarchyGroup.add_member(:level_id, Shapes::ShapeRef.new(shape: HierarchyLevelId, location_name: "LevelId"))
|
162
|
+
HierarchyGroup.add_member(:hierarchy_path, Shapes::ShapeRef.new(shape: HierarchyPath, location_name: "HierarchyPath"))
|
163
|
+
HierarchyGroup.struct_class = Types::HierarchyGroup
|
164
|
+
|
165
|
+
HierarchyGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
|
166
|
+
HierarchyGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
167
|
+
HierarchyGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, location_name: "Name"))
|
168
|
+
HierarchyGroupSummary.struct_class = Types::HierarchyGroupSummary
|
169
|
+
|
170
|
+
HierarchyGroupSummaryList.member = Shapes::ShapeRef.new(shape: HierarchyGroupSummary)
|
171
|
+
|
172
|
+
HierarchyLevel.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyLevelId, location_name: "Id"))
|
173
|
+
HierarchyLevel.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
174
|
+
HierarchyLevel.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyLevelName, location_name: "Name"))
|
175
|
+
HierarchyLevel.struct_class = Types::HierarchyLevel
|
176
|
+
|
177
|
+
HierarchyPath.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelOne"))
|
178
|
+
HierarchyPath.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelTwo"))
|
179
|
+
HierarchyPath.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelThree"))
|
180
|
+
HierarchyPath.add_member(:level_four, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelFour"))
|
181
|
+
HierarchyPath.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelFive"))
|
182
|
+
HierarchyPath.struct_class = Types::HierarchyPath
|
183
|
+
|
184
|
+
HierarchyStructure.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelOne"))
|
185
|
+
HierarchyStructure.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelTwo"))
|
186
|
+
HierarchyStructure.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelThree"))
|
187
|
+
HierarchyStructure.add_member(:level_four, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelFour"))
|
188
|
+
HierarchyStructure.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelFive"))
|
189
|
+
HierarchyStructure.struct_class = Types::HierarchyStructure
|
190
|
+
|
191
|
+
ListRoutingProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
192
|
+
ListRoutingProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
193
|
+
ListRoutingProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
194
|
+
ListRoutingProfilesRequest.struct_class = Types::ListRoutingProfilesRequest
|
195
|
+
|
196
|
+
ListRoutingProfilesResponse.add_member(:routing_profile_summary_list, Shapes::ShapeRef.new(shape: RoutingProfileSummaryList, location_name: "RoutingProfileSummaryList"))
|
197
|
+
ListRoutingProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
198
|
+
ListRoutingProfilesResponse.struct_class = Types::ListRoutingProfilesResponse
|
199
|
+
|
200
|
+
ListSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
201
|
+
ListSecurityProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
202
|
+
ListSecurityProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
203
|
+
ListSecurityProfilesRequest.struct_class = Types::ListSecurityProfilesRequest
|
204
|
+
|
205
|
+
ListSecurityProfilesResponse.add_member(:security_profile_summary_list, Shapes::ShapeRef.new(shape: SecurityProfileSummaryList, location_name: "SecurityProfileSummaryList"))
|
206
|
+
ListSecurityProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
207
|
+
ListSecurityProfilesResponse.struct_class = Types::ListSecurityProfilesResponse
|
208
|
+
|
209
|
+
ListUserHierarchyGroupsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
210
|
+
ListUserHierarchyGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
211
|
+
ListUserHierarchyGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
212
|
+
ListUserHierarchyGroupsRequest.struct_class = Types::ListUserHierarchyGroupsRequest
|
213
|
+
|
214
|
+
ListUserHierarchyGroupsResponse.add_member(:user_hierarchy_group_summary_list, Shapes::ShapeRef.new(shape: HierarchyGroupSummaryList, location_name: "UserHierarchyGroupSummaryList"))
|
215
|
+
ListUserHierarchyGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
216
|
+
ListUserHierarchyGroupsResponse.struct_class = Types::ListUserHierarchyGroupsResponse
|
217
|
+
|
218
|
+
ListUsersRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
219
|
+
ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
220
|
+
ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
221
|
+
ListUsersRequest.struct_class = Types::ListUsersRequest
|
222
|
+
|
223
|
+
ListUsersResponse.add_member(:user_summary_list, Shapes::ShapeRef.new(shape: UserSummaryList, location_name: "UserSummaryList"))
|
224
|
+
ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
225
|
+
ListUsersResponse.struct_class = Types::ListUsersResponse
|
226
|
+
|
227
|
+
RoutingProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
|
228
|
+
RoutingProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
229
|
+
RoutingProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
|
230
|
+
RoutingProfileSummary.struct_class = Types::RoutingProfileSummary
|
231
|
+
|
232
|
+
RoutingProfileSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileSummary)
|
233
|
+
|
234
|
+
SecurityProfileIds.member = Shapes::ShapeRef.new(shape: SecurityProfileId)
|
235
|
+
|
236
|
+
SecurityProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "Id"))
|
237
|
+
SecurityProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
238
|
+
SecurityProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "Name"))
|
239
|
+
SecurityProfileSummary.struct_class = Types::SecurityProfileSummary
|
240
|
+
|
241
|
+
SecurityProfileSummaryList.member = Shapes::ShapeRef.new(shape: SecurityProfileSummary)
|
242
|
+
|
40
243
|
StartOutboundVoiceContactRequest.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "DestinationPhoneNumber"))
|
41
244
|
StartOutboundVoiceContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
|
42
245
|
StartOutboundVoiceContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
@@ -55,6 +258,60 @@ module Aws::Connect
|
|
55
258
|
|
56
259
|
StopContactResponse.struct_class = Types::StopContactResponse
|
57
260
|
|
261
|
+
UpdateUserHierarchyRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
|
262
|
+
UpdateUserHierarchyRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
|
263
|
+
UpdateUserHierarchyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
264
|
+
UpdateUserHierarchyRequest.struct_class = Types::UpdateUserHierarchyRequest
|
265
|
+
|
266
|
+
UpdateUserIdentityInfoRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, required: true, location_name: "IdentityInfo"))
|
267
|
+
UpdateUserIdentityInfoRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
|
268
|
+
UpdateUserIdentityInfoRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
269
|
+
UpdateUserIdentityInfoRequest.struct_class = Types::UpdateUserIdentityInfoRequest
|
270
|
+
|
271
|
+
UpdateUserPhoneConfigRequest.add_member(:phone_config, Shapes::ShapeRef.new(shape: UserPhoneConfig, required: true, location_name: "PhoneConfig"))
|
272
|
+
UpdateUserPhoneConfigRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
|
273
|
+
UpdateUserPhoneConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
274
|
+
UpdateUserPhoneConfigRequest.struct_class = Types::UpdateUserPhoneConfigRequest
|
275
|
+
|
276
|
+
UpdateUserRoutingProfileRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location_name: "RoutingProfileId"))
|
277
|
+
UpdateUserRoutingProfileRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
|
278
|
+
UpdateUserRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
279
|
+
UpdateUserRoutingProfileRequest.struct_class = Types::UpdateUserRoutingProfileRequest
|
280
|
+
|
281
|
+
UpdateUserSecurityProfilesRequest.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, required: true, location_name: "SecurityProfileIds"))
|
282
|
+
UpdateUserSecurityProfilesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
|
283
|
+
UpdateUserSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
284
|
+
UpdateUserSecurityProfilesRequest.struct_class = Types::UpdateUserSecurityProfilesRequest
|
285
|
+
|
286
|
+
User.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id"))
|
287
|
+
User.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
288
|
+
User.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username"))
|
289
|
+
User.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, location_name: "IdentityInfo"))
|
290
|
+
User.add_member(:phone_config, Shapes::ShapeRef.new(shape: UserPhoneConfig, location_name: "PhoneConfig"))
|
291
|
+
User.add_member(:directory_user_id, Shapes::ShapeRef.new(shape: DirectoryUserId, location_name: "DirectoryUserId"))
|
292
|
+
User.add_member(:security_profile_ids, Shapes::ShapeRef.new(shape: SecurityProfileIds, location_name: "SecurityProfileIds"))
|
293
|
+
User.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
|
294
|
+
User.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
|
295
|
+
User.struct_class = Types::User
|
296
|
+
|
297
|
+
UserIdentityInfo.add_member(:first_name, Shapes::ShapeRef.new(shape: AgentFirstName, location_name: "FirstName"))
|
298
|
+
UserIdentityInfo.add_member(:last_name, Shapes::ShapeRef.new(shape: AgentLastName, location_name: "LastName"))
|
299
|
+
UserIdentityInfo.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
|
300
|
+
UserIdentityInfo.struct_class = Types::UserIdentityInfo
|
301
|
+
|
302
|
+
UserPhoneConfig.add_member(:phone_type, Shapes::ShapeRef.new(shape: PhoneType, required: true, location_name: "PhoneType"))
|
303
|
+
UserPhoneConfig.add_member(:auto_accept, Shapes::ShapeRef.new(shape: AutoAccept, location_name: "AutoAccept"))
|
304
|
+
UserPhoneConfig.add_member(:after_contact_work_time_limit, Shapes::ShapeRef.new(shape: AfterContactWorkTimeLimit, location_name: "AfterContactWorkTimeLimit"))
|
305
|
+
UserPhoneConfig.add_member(:desk_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "DeskPhoneNumber"))
|
306
|
+
UserPhoneConfig.struct_class = Types::UserPhoneConfig
|
307
|
+
|
308
|
+
UserSummary.add_member(:id, Shapes::ShapeRef.new(shape: UserId, location_name: "Id"))
|
309
|
+
UserSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
|
310
|
+
UserSummary.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, location_name: "Username"))
|
311
|
+
UserSummary.struct_class = Types::UserSummary
|
312
|
+
|
313
|
+
UserSummaryList.member = Shapes::ShapeRef.new(shape: UserSummary)
|
314
|
+
|
58
315
|
|
59
316
|
# @api private
|
60
317
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -70,6 +327,139 @@ module Aws::Connect
|
|
70
327
|
"signingName" => "connect",
|
71
328
|
}
|
72
329
|
|
330
|
+
api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
|
331
|
+
o.name = "CreateUser"
|
332
|
+
o.http_method = "PUT"
|
333
|
+
o.http_request_uri = "/users/{InstanceId}"
|
334
|
+
o.input = Shapes::ShapeRef.new(shape: CreateUserRequest)
|
335
|
+
o.output = Shapes::ShapeRef.new(shape: CreateUserResponse)
|
336
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
339
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
341
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
342
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
343
|
+
end)
|
344
|
+
|
345
|
+
api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
|
346
|
+
o.name = "DeleteUser"
|
347
|
+
o.http_method = "DELETE"
|
348
|
+
o.http_request_uri = "/users/{InstanceId}/{UserId}"
|
349
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteUserRequest)
|
350
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
351
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
352
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
353
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
354
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
356
|
+
end)
|
357
|
+
|
358
|
+
api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
|
359
|
+
o.name = "DescribeUser"
|
360
|
+
o.http_method = "GET"
|
361
|
+
o.http_request_uri = "/users/{InstanceId}/{UserId}"
|
362
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeUserRequest)
|
363
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeUserResponse)
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
367
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
369
|
+
end)
|
370
|
+
|
371
|
+
api.add_operation(:describe_user_hierarchy_group, Seahorse::Model::Operation.new.tap do |o|
|
372
|
+
o.name = "DescribeUserHierarchyGroup"
|
373
|
+
o.http_method = "GET"
|
374
|
+
o.http_request_uri = "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}"
|
375
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeUserHierarchyGroupRequest)
|
376
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeUserHierarchyGroupResponse)
|
377
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
382
|
+
end)
|
383
|
+
|
384
|
+
api.add_operation(:describe_user_hierarchy_structure, Seahorse::Model::Operation.new.tap do |o|
|
385
|
+
o.name = "DescribeUserHierarchyStructure"
|
386
|
+
o.http_method = "GET"
|
387
|
+
o.http_request_uri = "/user-hierarchy-structure/{InstanceId}"
|
388
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeUserHierarchyStructureRequest)
|
389
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeUserHierarchyStructureResponse)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
395
|
+
end)
|
396
|
+
|
397
|
+
api.add_operation(:get_federation_token, Seahorse::Model::Operation.new.tap do |o|
|
398
|
+
o.name = "GetFederationToken"
|
399
|
+
o.http_method = "GET"
|
400
|
+
o.http_request_uri = "/user/federate/{InstanceId}"
|
401
|
+
o.input = Shapes::ShapeRef.new(shape: GetFederationTokenRequest)
|
402
|
+
o.output = Shapes::ShapeRef.new(shape: GetFederationTokenResponse)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
|
407
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
|
409
|
+
end)
|
410
|
+
|
411
|
+
api.add_operation(:list_routing_profiles, Seahorse::Model::Operation.new.tap do |o|
|
412
|
+
o.name = "ListRoutingProfiles"
|
413
|
+
o.http_method = "GET"
|
414
|
+
o.http_request_uri = "/routing-profiles-summary/{InstanceId}"
|
415
|
+
o.input = Shapes::ShapeRef.new(shape: ListRoutingProfilesRequest)
|
416
|
+
o.output = Shapes::ShapeRef.new(shape: ListRoutingProfilesResponse)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
422
|
+
end)
|
423
|
+
|
424
|
+
api.add_operation(:list_security_profiles, Seahorse::Model::Operation.new.tap do |o|
|
425
|
+
o.name = "ListSecurityProfiles"
|
426
|
+
o.http_method = "GET"
|
427
|
+
o.http_request_uri = "/security-profiles-summary/{InstanceId}"
|
428
|
+
o.input = Shapes::ShapeRef.new(shape: ListSecurityProfilesRequest)
|
429
|
+
o.output = Shapes::ShapeRef.new(shape: ListSecurityProfilesResponse)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
434
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
435
|
+
end)
|
436
|
+
|
437
|
+
api.add_operation(:list_user_hierarchy_groups, Seahorse::Model::Operation.new.tap do |o|
|
438
|
+
o.name = "ListUserHierarchyGroups"
|
439
|
+
o.http_method = "GET"
|
440
|
+
o.http_request_uri = "/user-hierarchy-groups-summary/{InstanceId}"
|
441
|
+
o.input = Shapes::ShapeRef.new(shape: ListUserHierarchyGroupsRequest)
|
442
|
+
o.output = Shapes::ShapeRef.new(shape: ListUserHierarchyGroupsResponse)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
448
|
+
end)
|
449
|
+
|
450
|
+
api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
|
451
|
+
o.name = "ListUsers"
|
452
|
+
o.http_method = "GET"
|
453
|
+
o.http_request_uri = "/users-summary/{InstanceId}"
|
454
|
+
o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
|
455
|
+
o.output = Shapes::ShapeRef.new(shape: ListUsersResponse)
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
460
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
461
|
+
end)
|
462
|
+
|
73
463
|
api.add_operation(:start_outbound_voice_contact, Seahorse::Model::Operation.new.tap do |o|
|
74
464
|
o.name = "StartOutboundVoiceContact"
|
75
465
|
o.http_method = "PUT"
|
@@ -97,6 +487,71 @@ module Aws::Connect
|
|
97
487
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
98
488
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
99
489
|
end)
|
490
|
+
|
491
|
+
api.add_operation(:update_user_hierarchy, Seahorse::Model::Operation.new.tap do |o|
|
492
|
+
o.name = "UpdateUserHierarchy"
|
493
|
+
o.http_method = "POST"
|
494
|
+
o.http_request_uri = "/users/{InstanceId}/{UserId}/hierarchy"
|
495
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateUserHierarchyRequest)
|
496
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
502
|
+
end)
|
503
|
+
|
504
|
+
api.add_operation(:update_user_identity_info, Seahorse::Model::Operation.new.tap do |o|
|
505
|
+
o.name = "UpdateUserIdentityInfo"
|
506
|
+
o.http_method = "POST"
|
507
|
+
o.http_request_uri = "/users/{InstanceId}/{UserId}/identity-info"
|
508
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateUserIdentityInfoRequest)
|
509
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
515
|
+
end)
|
516
|
+
|
517
|
+
api.add_operation(:update_user_phone_config, Seahorse::Model::Operation.new.tap do |o|
|
518
|
+
o.name = "UpdateUserPhoneConfig"
|
519
|
+
o.http_method = "POST"
|
520
|
+
o.http_request_uri = "/users/{InstanceId}/{UserId}/phone-config"
|
521
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateUserPhoneConfigRequest)
|
522
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
526
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
528
|
+
end)
|
529
|
+
|
530
|
+
api.add_operation(:update_user_routing_profile, Seahorse::Model::Operation.new.tap do |o|
|
531
|
+
o.name = "UpdateUserRoutingProfile"
|
532
|
+
o.http_method = "POST"
|
533
|
+
o.http_request_uri = "/users/{InstanceId}/{UserId}/routing-profile"
|
534
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateUserRoutingProfileRequest)
|
535
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
541
|
+
end)
|
542
|
+
|
543
|
+
api.add_operation(:update_user_security_profiles, Seahorse::Model::Operation.new.tap do |o|
|
544
|
+
o.name = "UpdateUserSecurityProfiles"
|
545
|
+
o.http_method = "POST"
|
546
|
+
o.http_request_uri = "/users/{InstanceId}/{UserId}/security-profiles"
|
547
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateUserSecurityProfilesRequest)
|
548
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
554
|
+
end)
|
100
555
|
end
|
101
556
|
|
102
557
|
end
|