aws-sdk-connect 1.124.0 → 1.125.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -166,6 +166,10 @@ module Aws::Connect
166
166
  CreateUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupResponse')
167
167
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
168
168
  CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
169
+ CreateViewRequest = Shapes::StructureShape.new(name: 'CreateViewRequest')
170
+ CreateViewResponse = Shapes::StructureShape.new(name: 'CreateViewResponse')
171
+ CreateViewVersionRequest = Shapes::StructureShape.new(name: 'CreateViewVersionRequest')
172
+ CreateViewVersionResponse = Shapes::StructureShape.new(name: 'CreateViewVersionResponse')
169
173
  CreateVocabularyRequest = Shapes::StructureShape.new(name: 'CreateVocabularyRequest')
170
174
  CreateVocabularyResponse = Shapes::StructureShape.new(name: 'CreateVocabularyResponse')
171
175
  Credentials = Shapes::StructureShape.new(name: 'Credentials')
@@ -207,6 +211,10 @@ module Aws::Connect
207
211
  DeleteUseCaseRequest = Shapes::StructureShape.new(name: 'DeleteUseCaseRequest')
208
212
  DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
209
213
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
214
+ DeleteViewRequest = Shapes::StructureShape.new(name: 'DeleteViewRequest')
215
+ DeleteViewResponse = Shapes::StructureShape.new(name: 'DeleteViewResponse')
216
+ DeleteViewVersionRequest = Shapes::StructureShape.new(name: 'DeleteViewVersionRequest')
217
+ DeleteViewVersionResponse = Shapes::StructureShape.new(name: 'DeleteViewVersionResponse')
210
218
  DeleteVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteVocabularyRequest')
211
219
  DeleteVocabularyResponse = Shapes::StructureShape.new(name: 'DeleteVocabularyResponse')
212
220
  DescribeAgentStatusRequest = Shapes::StructureShape.new(name: 'DescribeAgentStatusRequest')
@@ -251,6 +259,8 @@ module Aws::Connect
251
259
  DescribeUserHierarchyStructureResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureResponse')
252
260
  DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
253
261
  DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
262
+ DescribeViewRequest = Shapes::StructureShape.new(name: 'DescribeViewRequest')
263
+ DescribeViewResponse = Shapes::StructureShape.new(name: 'DescribeViewResponse')
254
264
  DescribeVocabularyRequest = Shapes::StructureShape.new(name: 'DescribeVocabularyRequest')
255
265
  DescribeVocabularyResponse = Shapes::StructureShape.new(name: 'DescribeVocabularyResponse')
256
266
  Description = Shapes::StringShape.new(name: 'Description')
@@ -525,6 +535,10 @@ module Aws::Connect
525
535
  ListUserHierarchyGroupsResponse = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsResponse')
526
536
  ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
527
537
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
538
+ ListViewVersionsRequest = Shapes::StructureShape.new(name: 'ListViewVersionsRequest')
539
+ ListViewVersionsResponse = Shapes::StructureShape.new(name: 'ListViewVersionsResponse')
540
+ ListViewsRequest = Shapes::StructureShape.new(name: 'ListViewsRequest')
541
+ ListViewsResponse = Shapes::StructureShape.new(name: 'ListViewsResponse')
528
542
  Long = Shapes::IntegerShape.new(name: 'Long')
529
543
  MaxResult10 = Shapes::IntegerShape.new(name: 'MaxResult10')
530
544
  MaxResult100 = Shapes::IntegerShape.new(name: 'MaxResult100')
@@ -533,6 +547,7 @@ module Aws::Connect
533
547
  MaxResult200 = Shapes::IntegerShape.new(name: 'MaxResult200')
534
548
  MaxResult25 = Shapes::IntegerShape.new(name: 'MaxResult25')
535
549
  MaxResult7 = Shapes::IntegerShape.new(name: 'MaxResult7')
550
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
536
551
  MaximumResultReturnedException = Shapes::StructureShape.new(name: 'MaximumResultReturnedException')
537
552
  MediaConcurrencies = Shapes::ListShape.new(name: 'MediaConcurrencies')
538
553
  MediaConcurrency = Shapes::StructureShape.new(name: 'MediaConcurrency')
@@ -841,6 +856,7 @@ module Aws::Connect
841
856
  TimeZone = Shapes::StringShape.new(name: 'TimeZone')
842
857
  TimerEligibleParticipantRoles = Shapes::StringShape.new(name: 'TimerEligibleParticipantRoles')
843
858
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
859
+ TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
844
860
  TrafficDistributionGroup = Shapes::StructureShape.new(name: 'TrafficDistributionGroup')
845
861
  TrafficDistributionGroupArn = Shapes::StringShape.new(name: 'TrafficDistributionGroupArn')
846
862
  TrafficDistributionGroupId = Shapes::StringShape.new(name: 'TrafficDistributionGroupId')
@@ -915,6 +931,10 @@ module Aws::Connect
915
931
  UpdateUserPhoneConfigRequest = Shapes::StructureShape.new(name: 'UpdateUserPhoneConfigRequest')
916
932
  UpdateUserRoutingProfileRequest = Shapes::StructureShape.new(name: 'UpdateUserRoutingProfileRequest')
917
933
  UpdateUserSecurityProfilesRequest = Shapes::StructureShape.new(name: 'UpdateUserSecurityProfilesRequest')
934
+ UpdateViewContentRequest = Shapes::StructureShape.new(name: 'UpdateViewContentRequest')
935
+ UpdateViewContentResponse = Shapes::StructureShape.new(name: 'UpdateViewContentResponse')
936
+ UpdateViewMetadataRequest = Shapes::StructureShape.new(name: 'UpdateViewMetadataRequest')
937
+ UpdateViewMetadataResponse = Shapes::StructureShape.new(name: 'UpdateViewMetadataResponse')
918
938
  Url = Shapes::StringShape.new(name: 'Url')
919
939
  UrlReference = Shapes::StructureShape.new(name: 'UrlReference')
920
940
  UseCase = Shapes::StructureShape.new(name: 'UseCase')
@@ -944,6 +964,27 @@ module Aws::Connect
944
964
  UserTagMap = Shapes::MapShape.new(name: 'UserTagMap')
945
965
  Value = Shapes::FloatShape.new(name: 'Value')
946
966
  VersionNumber = Shapes::IntegerShape.new(name: 'VersionNumber')
967
+ View = Shapes::StructureShape.new(name: 'View')
968
+ ViewAction = Shapes::StringShape.new(name: 'ViewAction')
969
+ ViewActions = Shapes::ListShape.new(name: 'ViewActions')
970
+ ViewContent = Shapes::StructureShape.new(name: 'ViewContent')
971
+ ViewContentSha256 = Shapes::StringShape.new(name: 'ViewContentSha256')
972
+ ViewDescription = Shapes::StringShape.new(name: 'ViewDescription')
973
+ ViewId = Shapes::StringShape.new(name: 'ViewId')
974
+ ViewInputContent = Shapes::StructureShape.new(name: 'ViewInputContent')
975
+ ViewInputSchema = Shapes::StringShape.new(name: 'ViewInputSchema')
976
+ ViewName = Shapes::StringShape.new(name: 'ViewName')
977
+ ViewStatus = Shapes::StringShape.new(name: 'ViewStatus')
978
+ ViewSummary = Shapes::StructureShape.new(name: 'ViewSummary')
979
+ ViewTemplate = Shapes::StringShape.new(name: 'ViewTemplate')
980
+ ViewType = Shapes::StringShape.new(name: 'ViewType')
981
+ ViewVersion = Shapes::IntegerShape.new(name: 'ViewVersion')
982
+ ViewVersionSummary = Shapes::StructureShape.new(name: 'ViewVersionSummary')
983
+ ViewVersionSummaryList = Shapes::ListShape.new(name: 'ViewVersionSummaryList')
984
+ ViewsClientToken = Shapes::StringShape.new(name: 'ViewsClientToken')
985
+ ViewsInstanceId = Shapes::StringShape.new(name: 'ViewsInstanceId')
986
+ ViewsNextToken = Shapes::StringShape.new(name: 'ViewsNextToken')
987
+ ViewsSummaryList = Shapes::ListShape.new(name: 'ViewsSummaryList')
947
988
  Vocabulary = Shapes::StructureShape.new(name: 'Vocabulary')
948
989
  VocabularyContent = Shapes::StringShape.new(name: 'VocabularyContent')
949
990
  VocabularyFailureReason = Shapes::StringShape.new(name: 'VocabularyFailureReason')
@@ -1462,6 +1503,27 @@ module Aws::Connect
1462
1503
  CreateUserResponse.add_member(:user_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "UserArn"))
1463
1504
  CreateUserResponse.struct_class = Types::CreateUserResponse
1464
1505
 
1506
+ CreateViewRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ViewsInstanceId, required: true, location: "uri", location_name: "InstanceId"))
1507
+ CreateViewRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ViewsClientToken, location_name: "ClientToken"))
1508
+ CreateViewRequest.add_member(:status, Shapes::ShapeRef.new(shape: ViewStatus, required: true, location_name: "Status"))
1509
+ CreateViewRequest.add_member(:content, Shapes::ShapeRef.new(shape: ViewInputContent, required: true, location_name: "Content"))
1510
+ CreateViewRequest.add_member(:description, Shapes::ShapeRef.new(shape: ViewDescription, location_name: "Description"))
1511
+ CreateViewRequest.add_member(:name, Shapes::ShapeRef.new(shape: ViewName, required: true, location_name: "Name"))
1512
+ CreateViewRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1513
+ CreateViewRequest.struct_class = Types::CreateViewRequest
1514
+
1515
+ CreateViewResponse.add_member(:view, Shapes::ShapeRef.new(shape: View, location_name: "View"))
1516
+ CreateViewResponse.struct_class = Types::CreateViewResponse
1517
+
1518
+ CreateViewVersionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ViewsInstanceId, required: true, location: "uri", location_name: "InstanceId"))
1519
+ CreateViewVersionRequest.add_member(:view_id, Shapes::ShapeRef.new(shape: ViewId, required: true, location: "uri", location_name: "ViewId"))
1520
+ CreateViewVersionRequest.add_member(:version_description, Shapes::ShapeRef.new(shape: ViewDescription, location_name: "VersionDescription"))
1521
+ CreateViewVersionRequest.add_member(:view_content_sha_256, Shapes::ShapeRef.new(shape: ViewContentSha256, location_name: "ViewContentSha256"))
1522
+ CreateViewVersionRequest.struct_class = Types::CreateViewVersionRequest
1523
+
1524
+ CreateViewVersionResponse.add_member(:view, Shapes::ShapeRef.new(shape: View, location_name: "View"))
1525
+ CreateViewVersionResponse.struct_class = Types::CreateViewVersionResponse
1526
+
1465
1527
  CreateVocabularyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
1466
1528
  CreateVocabularyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1467
1529
  CreateVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
@@ -1610,6 +1672,19 @@ module Aws::Connect
1610
1672
  DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
1611
1673
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
1612
1674
 
1675
+ DeleteViewRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ViewsInstanceId, required: true, location: "uri", location_name: "InstanceId"))
1676
+ DeleteViewRequest.add_member(:view_id, Shapes::ShapeRef.new(shape: ViewId, required: true, location: "uri", location_name: "ViewId"))
1677
+ DeleteViewRequest.struct_class = Types::DeleteViewRequest
1678
+
1679
+ DeleteViewResponse.struct_class = Types::DeleteViewResponse
1680
+
1681
+ DeleteViewVersionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ViewsInstanceId, required: true, location: "uri", location_name: "InstanceId"))
1682
+ DeleteViewVersionRequest.add_member(:view_id, Shapes::ShapeRef.new(shape: ViewId, required: true, location: "uri", location_name: "ViewId"))
1683
+ DeleteViewVersionRequest.add_member(:view_version, Shapes::ShapeRef.new(shape: ViewVersion, required: true, location: "uri", location_name: "ViewVersion"))
1684
+ DeleteViewVersionRequest.struct_class = Types::DeleteViewVersionRequest
1685
+
1686
+ DeleteViewVersionResponse.struct_class = Types::DeleteViewVersionResponse
1687
+
1613
1688
  DeleteVocabularyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1614
1689
  DeleteVocabularyRequest.add_member(:vocabulary_id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location: "uri", location_name: "VocabularyId"))
1615
1690
  DeleteVocabularyRequest.struct_class = Types::DeleteVocabularyRequest
@@ -1765,6 +1840,13 @@ module Aws::Connect
1765
1840
  DescribeUserResponse.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "User"))
1766
1841
  DescribeUserResponse.struct_class = Types::DescribeUserResponse
1767
1842
 
1843
+ DescribeViewRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ViewsInstanceId, required: true, location: "uri", location_name: "InstanceId"))
1844
+ DescribeViewRequest.add_member(:view_id, Shapes::ShapeRef.new(shape: ViewId, required: true, location: "uri", location_name: "ViewId"))
1845
+ DescribeViewRequest.struct_class = Types::DescribeViewRequest
1846
+
1847
+ DescribeViewResponse.add_member(:view, Shapes::ShapeRef.new(shape: View, location_name: "View"))
1848
+ DescribeViewResponse.struct_class = Types::DescribeViewResponse
1849
+
1768
1850
  DescribeVocabularyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1769
1851
  DescribeVocabularyRequest.add_member(:vocabulary_id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location: "uri", location_name: "VocabularyId"))
1770
1852
  DescribeVocabularyRequest.struct_class = Types::DescribeVocabularyRequest
@@ -2764,6 +2846,26 @@ module Aws::Connect
2764
2846
  ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
2765
2847
  ListUsersResponse.struct_class = Types::ListUsersResponse
2766
2848
 
2849
+ ListViewVersionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ViewsInstanceId, required: true, location: "uri", location_name: "InstanceId"))
2850
+ ListViewVersionsRequest.add_member(:view_id, Shapes::ShapeRef.new(shape: ViewId, required: true, location: "uri", location_name: "ViewId"))
2851
+ ListViewVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ViewsNextToken, location: "querystring", location_name: "nextToken"))
2852
+ ListViewVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
2853
+ ListViewVersionsRequest.struct_class = Types::ListViewVersionsRequest
2854
+
2855
+ ListViewVersionsResponse.add_member(:view_version_summary_list, Shapes::ShapeRef.new(shape: ViewVersionSummaryList, location_name: "ViewVersionSummaryList"))
2856
+ ListViewVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ViewsNextToken, location_name: "NextToken"))
2857
+ ListViewVersionsResponse.struct_class = Types::ListViewVersionsResponse
2858
+
2859
+ ListViewsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ViewsInstanceId, required: true, location: "uri", location_name: "InstanceId"))
2860
+ ListViewsRequest.add_member(:type, Shapes::ShapeRef.new(shape: ViewType, location: "querystring", location_name: "type"))
2861
+ ListViewsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ViewsNextToken, location: "querystring", location_name: "nextToken"))
2862
+ ListViewsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
2863
+ ListViewsRequest.struct_class = Types::ListViewsRequest
2864
+
2865
+ ListViewsResponse.add_member(:views_summary_list, Shapes::ShapeRef.new(shape: ViewsSummaryList, location_name: "ViewsSummaryList"))
2866
+ ListViewsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: ViewsNextToken, location_name: "NextToken"))
2867
+ ListViewsResponse.struct_class = Types::ListViewsResponse
2868
+
2767
2869
  MaximumResultReturnedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2768
2870
  MaximumResultReturnedException.struct_class = Types::MaximumResultReturnedException
2769
2871
 
@@ -3603,6 +3705,9 @@ module Aws::Connect
3603
3705
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
3604
3706
  ThrottlingException.struct_class = Types::ThrottlingException
3605
3707
 
3708
+ TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
3709
+ TooManyRequestsException.struct_class = Types::TooManyRequestsException
3710
+
3606
3711
  TrafficDistributionGroup.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
3607
3712
  TrafficDistributionGroup.add_member(:arn, Shapes::ShapeRef.new(shape: TrafficDistributionGroupArn, location_name: "Arn"))
3608
3713
  TrafficDistributionGroup.add_member(:name, Shapes::ShapeRef.new(shape: Name128, location_name: "Name"))
@@ -3940,6 +4045,23 @@ module Aws::Connect
3940
4045
  UpdateUserSecurityProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
3941
4046
  UpdateUserSecurityProfilesRequest.struct_class = Types::UpdateUserSecurityProfilesRequest
3942
4047
 
4048
+ UpdateViewContentRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ViewsInstanceId, required: true, location: "uri", location_name: "InstanceId"))
4049
+ UpdateViewContentRequest.add_member(:view_id, Shapes::ShapeRef.new(shape: ViewId, required: true, location: "uri", location_name: "ViewId"))
4050
+ UpdateViewContentRequest.add_member(:status, Shapes::ShapeRef.new(shape: ViewStatus, required: true, location_name: "Status"))
4051
+ UpdateViewContentRequest.add_member(:content, Shapes::ShapeRef.new(shape: ViewInputContent, required: true, location_name: "Content"))
4052
+ UpdateViewContentRequest.struct_class = Types::UpdateViewContentRequest
4053
+
4054
+ UpdateViewContentResponse.add_member(:view, Shapes::ShapeRef.new(shape: View, location_name: "View"))
4055
+ UpdateViewContentResponse.struct_class = Types::UpdateViewContentResponse
4056
+
4057
+ UpdateViewMetadataRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: ViewsInstanceId, required: true, location: "uri", location_name: "InstanceId"))
4058
+ UpdateViewMetadataRequest.add_member(:view_id, Shapes::ShapeRef.new(shape: ViewId, required: true, location: "uri", location_name: "ViewId"))
4059
+ UpdateViewMetadataRequest.add_member(:name, Shapes::ShapeRef.new(shape: ViewName, location_name: "Name"))
4060
+ UpdateViewMetadataRequest.add_member(:description, Shapes::ShapeRef.new(shape: ViewDescription, location_name: "Description"))
4061
+ UpdateViewMetadataRequest.struct_class = Types::UpdateViewMetadataRequest
4062
+
4063
+ UpdateViewMetadataResponse.struct_class = Types::UpdateViewMetadataResponse
4064
+
3943
4065
  UrlReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
3944
4066
  UrlReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
3945
4067
  UrlReference.struct_class = Types::UrlReference
@@ -4050,6 +4172,53 @@ module Aws::Connect
4050
4172
  UserTagMap.key = Shapes::ShapeRef.new(shape: String)
4051
4173
  UserTagMap.value = Shapes::ShapeRef.new(shape: String)
4052
4174
 
4175
+ View.add_member(:id, Shapes::ShapeRef.new(shape: ViewId, location_name: "Id"))
4176
+ View.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
4177
+ View.add_member(:name, Shapes::ShapeRef.new(shape: ViewName, location_name: "Name"))
4178
+ View.add_member(:status, Shapes::ShapeRef.new(shape: ViewStatus, location_name: "Status"))
4179
+ View.add_member(:type, Shapes::ShapeRef.new(shape: ViewType, location_name: "Type"))
4180
+ View.add_member(:description, Shapes::ShapeRef.new(shape: ViewDescription, location_name: "Description"))
4181
+ View.add_member(:version, Shapes::ShapeRef.new(shape: ViewVersion, location_name: "Version"))
4182
+ View.add_member(:version_description, Shapes::ShapeRef.new(shape: ViewDescription, location_name: "VersionDescription"))
4183
+ View.add_member(:content, Shapes::ShapeRef.new(shape: ViewContent, location_name: "Content"))
4184
+ View.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
4185
+ View.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
4186
+ View.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
4187
+ View.add_member(:view_content_sha_256, Shapes::ShapeRef.new(shape: ViewContentSha256, location_name: "ViewContentSha256"))
4188
+ View.struct_class = Types::View
4189
+
4190
+ ViewActions.member = Shapes::ShapeRef.new(shape: ViewAction)
4191
+
4192
+ ViewContent.add_member(:input_schema, Shapes::ShapeRef.new(shape: ViewInputSchema, location_name: "InputSchema"))
4193
+ ViewContent.add_member(:template, Shapes::ShapeRef.new(shape: ViewTemplate, location_name: "Template"))
4194
+ ViewContent.add_member(:actions, Shapes::ShapeRef.new(shape: ViewActions, location_name: "Actions"))
4195
+ ViewContent.struct_class = Types::ViewContent
4196
+
4197
+ ViewInputContent.add_member(:template, Shapes::ShapeRef.new(shape: ViewTemplate, location_name: "Template"))
4198
+ ViewInputContent.add_member(:actions, Shapes::ShapeRef.new(shape: ViewActions, location_name: "Actions"))
4199
+ ViewInputContent.struct_class = Types::ViewInputContent
4200
+
4201
+ ViewSummary.add_member(:id, Shapes::ShapeRef.new(shape: ViewId, location_name: "Id"))
4202
+ ViewSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
4203
+ ViewSummary.add_member(:name, Shapes::ShapeRef.new(shape: ViewName, location_name: "Name"))
4204
+ ViewSummary.add_member(:type, Shapes::ShapeRef.new(shape: ViewType, location_name: "Type"))
4205
+ ViewSummary.add_member(:status, Shapes::ShapeRef.new(shape: ViewStatus, location_name: "Status"))
4206
+ ViewSummary.add_member(:description, Shapes::ShapeRef.new(shape: ViewDescription, location_name: "Description"))
4207
+ ViewSummary.struct_class = Types::ViewSummary
4208
+
4209
+ ViewVersionSummary.add_member(:id, Shapes::ShapeRef.new(shape: ViewId, location_name: "Id"))
4210
+ ViewVersionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
4211
+ ViewVersionSummary.add_member(:description, Shapes::ShapeRef.new(shape: ViewDescription, location_name: "Description"))
4212
+ ViewVersionSummary.add_member(:name, Shapes::ShapeRef.new(shape: ViewName, location_name: "Name"))
4213
+ ViewVersionSummary.add_member(:type, Shapes::ShapeRef.new(shape: ViewType, location_name: "Type"))
4214
+ ViewVersionSummary.add_member(:version, Shapes::ShapeRef.new(shape: ViewVersion, location_name: "Version"))
4215
+ ViewVersionSummary.add_member(:version_description, Shapes::ShapeRef.new(shape: ViewDescription, location_name: "VersionDescription"))
4216
+ ViewVersionSummary.struct_class = Types::ViewVersionSummary
4217
+
4218
+ ViewVersionSummaryList.member = Shapes::ShapeRef.new(shape: ViewVersionSummary)
4219
+
4220
+ ViewsSummaryList.member = Shapes::ShapeRef.new(shape: ViewSummary)
4221
+
4053
4222
  Vocabulary.add_member(:name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "Name"))
4054
4223
  Vocabulary.add_member(:id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location_name: "Id"))
4055
4224
  Vocabulary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "Arn"))
@@ -4559,6 +4728,39 @@ module Aws::Connect
4559
4728
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4560
4729
  end)
4561
4730
 
4731
+ api.add_operation(:create_view, Seahorse::Model::Operation.new.tap do |o|
4732
+ o.name = "CreateView"
4733
+ o.http_method = "PUT"
4734
+ o.http_request_uri = "/views/{InstanceId}"
4735
+ o.input = Shapes::ShapeRef.new(shape: CreateViewRequest)
4736
+ o.output = Shapes::ShapeRef.new(shape: CreateViewResponse)
4737
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4738
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4739
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4740
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4741
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4742
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
4743
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4744
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
4745
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
4746
+ end)
4747
+
4748
+ api.add_operation(:create_view_version, Seahorse::Model::Operation.new.tap do |o|
4749
+ o.name = "CreateViewVersion"
4750
+ o.http_method = "PUT"
4751
+ o.http_request_uri = "/views/{InstanceId}/{ViewId}/versions"
4752
+ o.input = Shapes::ShapeRef.new(shape: CreateViewVersionRequest)
4753
+ o.output = Shapes::ShapeRef.new(shape: CreateViewVersionResponse)
4754
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4755
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4756
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4757
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4758
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4759
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
4760
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4761
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
4762
+ end)
4763
+
4562
4764
  api.add_operation(:create_vocabulary, Seahorse::Model::Operation.new.tap do |o|
4563
4765
  o.name = "CreateVocabulary"
4564
4766
  o.http_method = "POST"
@@ -4824,6 +5026,36 @@ module Aws::Connect
4824
5026
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4825
5027
  end)
4826
5028
 
5029
+ api.add_operation(:delete_view, Seahorse::Model::Operation.new.tap do |o|
5030
+ o.name = "DeleteView"
5031
+ o.http_method = "DELETE"
5032
+ o.http_request_uri = "/views/{InstanceId}/{ViewId}"
5033
+ o.input = Shapes::ShapeRef.new(shape: DeleteViewRequest)
5034
+ o.output = Shapes::ShapeRef.new(shape: DeleteViewResponse)
5035
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5036
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5037
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
5038
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5039
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5040
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
5041
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
5042
+ end)
5043
+
5044
+ api.add_operation(:delete_view_version, Seahorse::Model::Operation.new.tap do |o|
5045
+ o.name = "DeleteViewVersion"
5046
+ o.http_method = "DELETE"
5047
+ o.http_request_uri = "/views/{InstanceId}/{ViewId}/versions/{ViewVersion}"
5048
+ o.input = Shapes::ShapeRef.new(shape: DeleteViewVersionRequest)
5049
+ o.output = Shapes::ShapeRef.new(shape: DeleteViewVersionResponse)
5050
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5051
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5052
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
5053
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5054
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5055
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
5056
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
5057
+ end)
5058
+
4827
5059
  api.add_operation(:delete_vocabulary, Seahorse::Model::Operation.new.tap do |o|
4828
5060
  o.name = "DeleteVocabulary"
4829
5061
  o.http_method = "POST"
@@ -5109,6 +5341,20 @@ module Aws::Connect
5109
5341
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5110
5342
  end)
5111
5343
 
5344
+ api.add_operation(:describe_view, Seahorse::Model::Operation.new.tap do |o|
5345
+ o.name = "DescribeView"
5346
+ o.http_method = "GET"
5347
+ o.http_request_uri = "/views/{InstanceId}/{ViewId}"
5348
+ o.input = Shapes::ShapeRef.new(shape: DescribeViewRequest)
5349
+ o.output = Shapes::ShapeRef.new(shape: DescribeViewResponse)
5350
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5351
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5352
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
5353
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5354
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5355
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
5356
+ end)
5357
+
5112
5358
  api.add_operation(:describe_vocabulary, Seahorse::Model::Operation.new.tap do |o|
5113
5359
  o.name = "DescribeVocabulary"
5114
5360
  o.http_method = "GET"
@@ -6072,6 +6318,46 @@ module Aws::Connect
6072
6318
  )
6073
6319
  end)
6074
6320
 
6321
+ api.add_operation(:list_view_versions, Seahorse::Model::Operation.new.tap do |o|
6322
+ o.name = "ListViewVersions"
6323
+ o.http_method = "GET"
6324
+ o.http_request_uri = "/views/{InstanceId}/{ViewId}/versions"
6325
+ o.input = Shapes::ShapeRef.new(shape: ListViewVersionsRequest)
6326
+ o.output = Shapes::ShapeRef.new(shape: ListViewVersionsResponse)
6327
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6328
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6329
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
6330
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6331
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6332
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
6333
+ o[:pager] = Aws::Pager.new(
6334
+ limit_key: "max_results",
6335
+ tokens: {
6336
+ "next_token" => "next_token"
6337
+ }
6338
+ )
6339
+ end)
6340
+
6341
+ api.add_operation(:list_views, Seahorse::Model::Operation.new.tap do |o|
6342
+ o.name = "ListViews"
6343
+ o.http_method = "GET"
6344
+ o.http_request_uri = "/views/{InstanceId}"
6345
+ o.input = Shapes::ShapeRef.new(shape: ListViewsRequest)
6346
+ o.output = Shapes::ShapeRef.new(shape: ListViewsResponse)
6347
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6348
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6349
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
6350
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6351
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6352
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
6353
+ o[:pager] = Aws::Pager.new(
6354
+ limit_key: "max_results",
6355
+ tokens: {
6356
+ "next_token" => "next_token"
6357
+ }
6358
+ )
6359
+ end)
6360
+
6075
6361
  api.add_operation(:monitor_contact, Seahorse::Model::Operation.new.tap do |o|
6076
6362
  o.name = "MonitorContact"
6077
6363
  o.http_method = "POST"
@@ -7053,6 +7339,37 @@ module Aws::Connect
7053
7339
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7054
7340
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7055
7341
  end)
7342
+
7343
+ api.add_operation(:update_view_content, Seahorse::Model::Operation.new.tap do |o|
7344
+ o.name = "UpdateViewContent"
7345
+ o.http_method = "POST"
7346
+ o.http_request_uri = "/views/{InstanceId}/{ViewId}"
7347
+ o.input = Shapes::ShapeRef.new(shape: UpdateViewContentRequest)
7348
+ o.output = Shapes::ShapeRef.new(shape: UpdateViewContentResponse)
7349
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7350
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7351
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
7352
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7353
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7354
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
7355
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
7356
+ end)
7357
+
7358
+ api.add_operation(:update_view_metadata, Seahorse::Model::Operation.new.tap do |o|
7359
+ o.name = "UpdateViewMetadata"
7360
+ o.http_method = "POST"
7361
+ o.http_request_uri = "/views/{InstanceId}/{ViewId}/metadata"
7362
+ o.input = Shapes::ShapeRef.new(shape: UpdateViewMetadataRequest)
7363
+ o.output = Shapes::ShapeRef.new(shape: UpdateViewMetadataResponse)
7364
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7365
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7366
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
7367
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7368
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7369
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
7370
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
7371
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
7372
+ end)
7056
7373
  end
7057
7374
 
7058
7375
  end
@@ -460,6 +460,34 @@ module Aws::Connect
460
460
  end
461
461
  end
462
462
 
463
+ class CreateView
464
+ def self.build(context)
465
+ unless context.config.regional_endpoint
466
+ endpoint = context.config.endpoint.to_s
467
+ end
468
+ Aws::Connect::EndpointParameters.new(
469
+ region: context.config.region,
470
+ use_dual_stack: context.config.use_dualstack_endpoint,
471
+ use_fips: context.config.use_fips_endpoint,
472
+ endpoint: endpoint,
473
+ )
474
+ end
475
+ end
476
+
477
+ class CreateViewVersion
478
+ def self.build(context)
479
+ unless context.config.regional_endpoint
480
+ endpoint = context.config.endpoint.to_s
481
+ end
482
+ Aws::Connect::EndpointParameters.new(
483
+ region: context.config.region,
484
+ use_dual_stack: context.config.use_dualstack_endpoint,
485
+ use_fips: context.config.use_fips_endpoint,
486
+ endpoint: endpoint,
487
+ )
488
+ end
489
+ end
490
+
463
491
  class CreateVocabulary
464
492
  def self.build(context)
465
493
  unless context.config.regional_endpoint
@@ -740,6 +768,34 @@ module Aws::Connect
740
768
  end
741
769
  end
742
770
 
771
+ class DeleteView
772
+ def self.build(context)
773
+ unless context.config.regional_endpoint
774
+ endpoint = context.config.endpoint.to_s
775
+ end
776
+ Aws::Connect::EndpointParameters.new(
777
+ region: context.config.region,
778
+ use_dual_stack: context.config.use_dualstack_endpoint,
779
+ use_fips: context.config.use_fips_endpoint,
780
+ endpoint: endpoint,
781
+ )
782
+ end
783
+ end
784
+
785
+ class DeleteViewVersion
786
+ def self.build(context)
787
+ unless context.config.regional_endpoint
788
+ endpoint = context.config.endpoint.to_s
789
+ end
790
+ Aws::Connect::EndpointParameters.new(
791
+ region: context.config.region,
792
+ use_dual_stack: context.config.use_dualstack_endpoint,
793
+ use_fips: context.config.use_fips_endpoint,
794
+ endpoint: endpoint,
795
+ )
796
+ end
797
+ end
798
+
743
799
  class DeleteVocabulary
744
800
  def self.build(context)
745
801
  unless context.config.regional_endpoint
@@ -1048,6 +1104,20 @@ module Aws::Connect
1048
1104
  end
1049
1105
  end
1050
1106
 
1107
+ class DescribeView
1108
+ def self.build(context)
1109
+ unless context.config.regional_endpoint
1110
+ endpoint = context.config.endpoint.to_s
1111
+ end
1112
+ Aws::Connect::EndpointParameters.new(
1113
+ region: context.config.region,
1114
+ use_dual_stack: context.config.use_dualstack_endpoint,
1115
+ use_fips: context.config.use_fips_endpoint,
1116
+ endpoint: endpoint,
1117
+ )
1118
+ end
1119
+ end
1120
+
1051
1121
  class DescribeVocabulary
1052
1122
  def self.build(context)
1053
1123
  unless context.config.regional_endpoint
@@ -1846,6 +1916,34 @@ module Aws::Connect
1846
1916
  end
1847
1917
  end
1848
1918
 
1919
+ class ListViewVersions
1920
+ def self.build(context)
1921
+ unless context.config.regional_endpoint
1922
+ endpoint = context.config.endpoint.to_s
1923
+ end
1924
+ Aws::Connect::EndpointParameters.new(
1925
+ region: context.config.region,
1926
+ use_dual_stack: context.config.use_dualstack_endpoint,
1927
+ use_fips: context.config.use_fips_endpoint,
1928
+ endpoint: endpoint,
1929
+ )
1930
+ end
1931
+ end
1932
+
1933
+ class ListViews
1934
+ def self.build(context)
1935
+ unless context.config.regional_endpoint
1936
+ endpoint = context.config.endpoint.to_s
1937
+ end
1938
+ Aws::Connect::EndpointParameters.new(
1939
+ region: context.config.region,
1940
+ use_dual_stack: context.config.use_dualstack_endpoint,
1941
+ use_fips: context.config.use_fips_endpoint,
1942
+ endpoint: endpoint,
1943
+ )
1944
+ end
1945
+ end
1946
+
1849
1947
  class MonitorContact
1850
1948
  def self.build(context)
1851
1949
  unless context.config.regional_endpoint
@@ -2812,5 +2910,33 @@ module Aws::Connect
2812
2910
  end
2813
2911
  end
2814
2912
 
2913
+ class UpdateViewContent
2914
+ def self.build(context)
2915
+ unless context.config.regional_endpoint
2916
+ endpoint = context.config.endpoint.to_s
2917
+ end
2918
+ Aws::Connect::EndpointParameters.new(
2919
+ region: context.config.region,
2920
+ use_dual_stack: context.config.use_dualstack_endpoint,
2921
+ use_fips: context.config.use_fips_endpoint,
2922
+ endpoint: endpoint,
2923
+ )
2924
+ end
2925
+ end
2926
+
2927
+ class UpdateViewMetadata
2928
+ def self.build(context)
2929
+ unless context.config.regional_endpoint
2930
+ endpoint = context.config.endpoint.to_s
2931
+ end
2932
+ Aws::Connect::EndpointParameters.new(
2933
+ region: context.config.region,
2934
+ use_dual_stack: context.config.use_dualstack_endpoint,
2935
+ use_fips: context.config.use_fips_endpoint,
2936
+ endpoint: endpoint,
2937
+ )
2938
+ end
2939
+ end
2940
+
2815
2941
  end
2816
2942
  end
@@ -48,6 +48,7 @@ module Aws::Connect
48
48
  # * {ResourceNotReadyException}
49
49
  # * {ServiceQuotaExceededException}
50
50
  # * {ThrottlingException}
51
+ # * {TooManyRequestsException}
51
52
  # * {UserNotFoundException}
52
53
  #
53
54
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -386,6 +387,21 @@ module Aws::Connect
386
387
  end
387
388
  end
388
389
 
390
+ class TooManyRequestsException < ServiceError
391
+
392
+ # @param [Seahorse::Client::RequestContext] context
393
+ # @param [String] message
394
+ # @param [Aws::Connect::Types::TooManyRequestsException] data
395
+ def initialize(context, message, data = Aws::EmptyStructure.new)
396
+ super(context, message, data)
397
+ end
398
+
399
+ # @return [String]
400
+ def message
401
+ @message || @data[:message]
402
+ end
403
+ end
404
+
389
405
  class UserNotFoundException < ServiceError
390
406
 
391
407
  # @param [Seahorse::Client::RequestContext] context