aws-sdk-connect 1.183.0 → 1.185.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -204,6 +204,8 @@ module Aws::Connect
204
204
  ContactFlowSummaryList = Shapes::ListShape.new(name: 'ContactFlowSummaryList')
205
205
  ContactFlowType = Shapes::StringShape.new(name: 'ContactFlowType')
206
206
  ContactFlowTypes = Shapes::ListShape.new(name: 'ContactFlowTypes')
207
+ ContactFlowVersionSummary = Shapes::StructureShape.new(name: 'ContactFlowVersionSummary')
208
+ ContactFlowVersionSummaryList = Shapes::ListShape.new(name: 'ContactFlowVersionSummaryList')
207
209
  ContactId = Shapes::StringShape.new(name: 'ContactId')
208
210
  ContactInitiationMethod = Shapes::StringShape.new(name: 'ContactInitiationMethod')
209
211
  ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
@@ -230,6 +232,8 @@ module Aws::Connect
230
232
  CreateContactFlowModuleResponse = Shapes::StructureShape.new(name: 'CreateContactFlowModuleResponse')
231
233
  CreateContactFlowRequest = Shapes::StructureShape.new(name: 'CreateContactFlowRequest')
232
234
  CreateContactFlowResponse = Shapes::StructureShape.new(name: 'CreateContactFlowResponse')
235
+ CreateContactFlowVersionRequest = Shapes::StructureShape.new(name: 'CreateContactFlowVersionRequest')
236
+ CreateContactFlowVersionResponse = Shapes::StructureShape.new(name: 'CreateContactFlowVersionResponse')
233
237
  CreateEvaluationFormRequest = Shapes::StructureShape.new(name: 'CreateEvaluationFormRequest')
234
238
  CreateEvaluationFormResponse = Shapes::StructureShape.new(name: 'CreateEvaluationFormResponse')
235
239
  CreateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'CreateHoursOfOperationRequest')
@@ -511,6 +515,7 @@ module Aws::Connect
511
515
  FlowAssociationResourceType = Shapes::StringShape.new(name: 'FlowAssociationResourceType')
512
516
  FlowAssociationSummary = Shapes::StructureShape.new(name: 'FlowAssociationSummary')
513
517
  FlowAssociationSummaryList = Shapes::ListShape.new(name: 'FlowAssociationSummaryList')
518
+ FlowContentSha256 = Shapes::StringShape.new(name: 'FlowContentSha256')
514
519
  FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
515
520
  FunctionArnsList = Shapes::ListShape.new(name: 'FunctionArnsList')
516
521
  GetAttachedFileRequest = Shapes::StructureShape.new(name: 'GetAttachedFileRequest')
@@ -651,6 +656,8 @@ module Aws::Connect
651
656
  ListContactEvaluationsResponse = Shapes::StructureShape.new(name: 'ListContactEvaluationsResponse')
652
657
  ListContactFlowModulesRequest = Shapes::StructureShape.new(name: 'ListContactFlowModulesRequest')
653
658
  ListContactFlowModulesResponse = Shapes::StructureShape.new(name: 'ListContactFlowModulesResponse')
659
+ ListContactFlowVersionsRequest = Shapes::StructureShape.new(name: 'ListContactFlowVersionsRequest')
660
+ ListContactFlowVersionsResponse = Shapes::StructureShape.new(name: 'ListContactFlowVersionsResponse')
654
661
  ListContactFlowsRequest = Shapes::StructureShape.new(name: 'ListContactFlowsRequest')
655
662
  ListContactFlowsResponse = Shapes::StructureShape.new(name: 'ListContactFlowsResponse')
656
663
  ListContactReferencesRequest = Shapes::StructureShape.new(name: 'ListContactReferencesRequest')
@@ -976,6 +983,7 @@ module Aws::Connect
976
983
  ResourceTagsSearchCriteria = Shapes::StructureShape.new(name: 'ResourceTagsSearchCriteria')
977
984
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
978
985
  ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
986
+ ResourceVersion = Shapes::IntegerShape.new(name: 'ResourceVersion')
979
987
  ResumeContactRecordingRequest = Shapes::StructureShape.new(name: 'ResumeContactRecordingRequest')
980
988
  ResumeContactRecordingResponse = Shapes::StructureShape.new(name: 'ResumeContactRecordingResponse')
981
989
  ResumeContactRequest = Shapes::StructureShape.new(name: 'ResumeContactRequest')
@@ -1864,6 +1872,12 @@ module Aws::Connect
1864
1872
  ContactFlow.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
1865
1873
  ContactFlow.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, location_name: "Content"))
1866
1874
  ContactFlow.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1875
+ ContactFlow.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefault"))
1876
+ ContactFlow.add_member(:flow_content_sha_256, Shapes::ShapeRef.new(shape: FlowContentSha256, location_name: "FlowContentSha256"))
1877
+ ContactFlow.add_member(:version, Shapes::ShapeRef.new(shape: ResourceVersion, location_name: "Version"))
1878
+ ContactFlow.add_member(:version_description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "VersionDescription"))
1879
+ ContactFlow.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
1880
+ ContactFlow.add_member(:last_modified_region, Shapes::ShapeRef.new(shape: RegionName, location_name: "LastModifiedRegion"))
1867
1881
  ContactFlow.struct_class = Types::ContactFlow
1868
1882
 
1869
1883
  ContactFlowModule.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
@@ -1926,6 +1940,13 @@ module Aws::Connect
1926
1940
 
1927
1941
  ContactFlowTypes.member = Shapes::ShapeRef.new(shape: ContactFlowType)
1928
1942
 
1943
+ ContactFlowVersionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1944
+ ContactFlowVersionSummary.add_member(:version_description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "VersionDescription"))
1945
+ ContactFlowVersionSummary.add_member(:version, Shapes::ShapeRef.new(shape: ResourceVersion, location_name: "Version"))
1946
+ ContactFlowVersionSummary.struct_class = Types::ContactFlowVersionSummary
1947
+
1948
+ ContactFlowVersionSummaryList.member = Shapes::ShapeRef.new(shape: ContactFlowVersionSummary)
1949
+
1929
1950
  ContactNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1930
1951
  ContactNotFoundException.struct_class = Types::ContactNotFoundException
1931
1952
 
@@ -2017,8 +2038,21 @@ module Aws::Connect
2017
2038
 
2018
2039
  CreateContactFlowResponse.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
2019
2040
  CreateContactFlowResponse.add_member(:contact_flow_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactFlowArn"))
2041
+ CreateContactFlowResponse.add_member(:flow_content_sha_256, Shapes::ShapeRef.new(shape: FlowContentSha256, location_name: "FlowContentSha256"))
2020
2042
  CreateContactFlowResponse.struct_class = Types::CreateContactFlowResponse
2021
2043
 
2044
+ CreateContactFlowVersionRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2045
+ CreateContactFlowVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
2046
+ CreateContactFlowVersionRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "ContactFlowId"))
2047
+ CreateContactFlowVersionRequest.add_member(:flow_content_sha_256, Shapes::ShapeRef.new(shape: FlowContentSha256, location_name: "FlowContentSha256"))
2048
+ CreateContactFlowVersionRequest.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
2049
+ CreateContactFlowVersionRequest.add_member(:last_modified_region, Shapes::ShapeRef.new(shape: RegionName, location_name: "LastModifiedRegion"))
2050
+ CreateContactFlowVersionRequest.struct_class = Types::CreateContactFlowVersionRequest
2051
+
2052
+ CreateContactFlowVersionResponse.add_member(:contact_flow_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactFlowArn"))
2053
+ CreateContactFlowVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: ResourceVersion, location_name: "Version"))
2054
+ CreateContactFlowVersionResponse.struct_class = Types::CreateContactFlowVersionResponse
2055
+
2022
2056
  CreateEvaluationFormRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2023
2057
  CreateEvaluationFormRequest.add_member(:title, Shapes::ShapeRef.new(shape: EvaluationFormTitle, required: true, location_name: "Title"))
2024
2058
  CreateEvaluationFormRequest.add_member(:description, Shapes::ShapeRef.new(shape: EvaluationFormDescription, location_name: "Description"))
@@ -3509,6 +3543,16 @@ module Aws::Connect
3509
3543
  ListContactFlowModulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
3510
3544
  ListContactFlowModulesResponse.struct_class = Types::ListContactFlowModulesResponse
3511
3545
 
3546
+ ListContactFlowVersionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
3547
+ ListContactFlowVersionsRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "ContactFlowId"))
3548
+ ListContactFlowVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3549
+ ListContactFlowVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
3550
+ ListContactFlowVersionsRequest.struct_class = Types::ListContactFlowVersionsRequest
3551
+
3552
+ ListContactFlowVersionsResponse.add_member(:contact_flow_version_summary_list, Shapes::ShapeRef.new(shape: ContactFlowVersionSummaryList, location_name: "ContactFlowVersionSummaryList"))
3553
+ ListContactFlowVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
3554
+ ListContactFlowVersionsResponse.struct_class = Types::ListContactFlowVersionsResponse
3555
+
3512
3556
  ListContactFlowsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
3513
3557
  ListContactFlowsRequest.add_member(:contact_flow_types, Shapes::ShapeRef.new(shape: ContactFlowTypes, location: "querystring", location_name: "contactFlowTypes"))
3514
3558
  ListContactFlowsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -6233,6 +6277,21 @@ module Aws::Connect
6233
6277
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6234
6278
  end)
6235
6279
 
6280
+ api.add_operation(:create_contact_flow_version, Seahorse::Model::Operation.new.tap do |o|
6281
+ o.name = "CreateContactFlowVersion"
6282
+ o.http_method = "PUT"
6283
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/version"
6284
+ o.input = Shapes::ShapeRef.new(shape: CreateContactFlowVersionRequest)
6285
+ o.output = Shapes::ShapeRef.new(shape: CreateContactFlowVersionResponse)
6286
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6287
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6288
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6289
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
6290
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
6291
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6292
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6293
+ end)
6294
+
6236
6295
  api.add_operation(:create_evaluation_form, Seahorse::Model::Operation.new.tap do |o|
6237
6296
  o.name = "CreateEvaluationForm"
6238
6297
  o.http_method = "PUT"
@@ -7675,6 +7734,26 @@ module Aws::Connect
7675
7734
  )
7676
7735
  end)
7677
7736
 
7737
+ api.add_operation(:list_contact_flow_versions, Seahorse::Model::Operation.new.tap do |o|
7738
+ o.name = "ListContactFlowVersions"
7739
+ o.http_method = "GET"
7740
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/versions"
7741
+ o.input = Shapes::ShapeRef.new(shape: ListContactFlowVersionsRequest)
7742
+ o.output = Shapes::ShapeRef.new(shape: ListContactFlowVersionsResponse)
7743
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7744
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7745
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7746
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
7747
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7748
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7749
+ o[:pager] = Aws::Pager.new(
7750
+ limit_key: "max_results",
7751
+ tokens: {
7752
+ "next_token" => "next_token"
7753
+ }
7754
+ )
7755
+ end)
7756
+
7678
7757
  api.add_operation(:list_contact_flows, Seahorse::Model::Operation.new.tap do |o|
7679
7758
  o.name = "ListContactFlows"
7680
7759
  o.http_method = "GET"