aws-sdk-connect 1.106.0 → 1.107.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0796f7448e133d27b94848dbdc2b3f7bb47708eaedf06c4ffcecd8b6e18b6763'
4
- data.tar.gz: b4ef23463141feac1956bc44ce4e53551f12a31728ccb84785a1a08fb0d23267
3
+ metadata.gz: 444223b5d39a321ff31a2efbc974cd6ffcffb6e5a77ccb11dc5bb38927143e53
4
+ data.tar.gz: 2be4f75b8e4909898cedba569fdf6f74eec879b7e63ed7febbd2e841653d9b2d
5
5
  SHA512:
6
- metadata.gz: 8bb7087aaf4faa448f7f74adcb3f54f19df729247e802604c9de2347a3e9e121ed78af666f2a76fe920d823073410a06ac41680433d9f582e157ad3854152f78
7
- data.tar.gz: e41b224b8d96a4c32cebb2671c67a6c7e3d36c4cf68bceffb5f72f55f8013044f215232ced11780ba63e4e3232788b378ce8737d894803b95de03ebf645d9d72
6
+ metadata.gz: e603d52a92780bd0d02c3278ec63c49fdee38eefddda29a913763225e642a824daca40b13d3fb291adec772a7d0fb163401ceffb1a5190a02a75fcd9b9979187
7
+ data.tar.gz: ff1143ff2dfe5b8813f805d5b31b8d9cb2a6829d2b369dd04089801182ddf64b4f2fe30a1c51c8bb859482490449ebd2e071035b4d4dbaae46f60f1cbb0ebab3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.107.0 (2023-05-18)
5
+ ------------------
6
+
7
+ * Feature - You can programmatically create and manage prompts using APIs, for example, to extract prompts stored within Amazon Connect and add them to your Amazon S3 bucket. AWS CloudTrail, AWS CloudFormation and tagging are supported.
8
+
4
9
  1.106.0 (2023-05-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.106.0
1
+ 1.107.0
@@ -1559,6 +1559,67 @@ module Aws::Connect
1559
1559
  req.send_request(options)
1560
1560
  end
1561
1561
 
1562
+ # Creates a prompt. For more information about prompts, such as
1563
+ # supported file types and maximum length, see [Create prompts][1] in
1564
+ # the *Amazon Connect Administrator's Guide*.
1565
+ #
1566
+ #
1567
+ #
1568
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/prompts.html
1569
+ #
1570
+ # @option params [required, String] :instance_id
1571
+ # The identifier of the Amazon Connect instance. You can [find the
1572
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
1573
+ #
1574
+ #
1575
+ #
1576
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
1577
+ #
1578
+ # @option params [required, String] :name
1579
+ # The name of the prompt.
1580
+ #
1581
+ # @option params [String] :description
1582
+ # The description of the prompt.
1583
+ #
1584
+ # @option params [required, String] :s3_uri
1585
+ # The URI for the S3 bucket where the prompt is stored.
1586
+ #
1587
+ # @option params [Hash<String,String>] :tags
1588
+ # The tags used to organize, track, or control access for this resource.
1589
+ # For example, \\\{ "tags": \\\{"key1":"value1",
1590
+ # "key2":"value2"\\} \\}.
1591
+ #
1592
+ # @return [Types::CreatePromptResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1593
+ #
1594
+ # * {Types::CreatePromptResponse#prompt_arn #prompt_arn} => String
1595
+ # * {Types::CreatePromptResponse#prompt_id #prompt_id} => String
1596
+ #
1597
+ # @example Request syntax with placeholder values
1598
+ #
1599
+ # resp = client.create_prompt({
1600
+ # instance_id: "InstanceId", # required
1601
+ # name: "CommonNameLength127", # required
1602
+ # description: "PromptDescription",
1603
+ # s3_uri: "S3Uri", # required
1604
+ # tags: {
1605
+ # "TagKey" => "TagValue",
1606
+ # },
1607
+ # })
1608
+ #
1609
+ # @example Response structure
1610
+ #
1611
+ # resp.prompt_arn #=> String
1612
+ # resp.prompt_id #=> String
1613
+ #
1614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreatePrompt AWS API Documentation
1615
+ #
1616
+ # @overload create_prompt(params = {})
1617
+ # @param [Hash] params ({})
1618
+ def create_prompt(params = {}, options = {})
1619
+ req = build_request(:create_prompt, params)
1620
+ req.send_request(options)
1621
+ end
1622
+
1562
1623
  # This API is in preview release for Amazon Connect and is subject to
1563
1624
  # change.
1564
1625
  #
@@ -2780,6 +2841,37 @@ module Aws::Connect
2780
2841
  req.send_request(options)
2781
2842
  end
2782
2843
 
2844
+ # Deletes a prompt.
2845
+ #
2846
+ # @option params [required, String] :instance_id
2847
+ # The identifier of the Amazon Connect instance. You can [find the
2848
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
2849
+ #
2850
+ #
2851
+ #
2852
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
2853
+ #
2854
+ # @option params [required, String] :prompt_id
2855
+ # A unique identifier for the prompt.
2856
+ #
2857
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2858
+ #
2859
+ # @example Request syntax with placeholder values
2860
+ #
2861
+ # resp = client.delete_prompt({
2862
+ # instance_id: "InstanceId", # required
2863
+ # prompt_id: "PromptId", # required
2864
+ # })
2865
+ #
2866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeletePrompt AWS API Documentation
2867
+ #
2868
+ # @overload delete_prompt(params = {})
2869
+ # @param [Hash] params ({})
2870
+ def delete_prompt(params = {}, options = {})
2871
+ req = build_request(:delete_prompt, params)
2872
+ req.send_request(options)
2873
+ end
2874
+
2783
2875
  # Deletes a quick connect.
2784
2876
  #
2785
2877
  # @option params [required, String] :instance_id
@@ -3731,6 +3823,48 @@ module Aws::Connect
3731
3823
  req.send_request(options)
3732
3824
  end
3733
3825
 
3826
+ # Describes the prompt.
3827
+ #
3828
+ # @option params [required, String] :instance_id
3829
+ # The identifier of the Amazon Connect instance. You can [find the
3830
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
3831
+ #
3832
+ #
3833
+ #
3834
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
3835
+ #
3836
+ # @option params [required, String] :prompt_id
3837
+ # A unique identifier for the prompt.
3838
+ #
3839
+ # @return [Types::DescribePromptResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3840
+ #
3841
+ # * {Types::DescribePromptResponse#prompt #prompt} => Types::Prompt
3842
+ #
3843
+ # @example Request syntax with placeholder values
3844
+ #
3845
+ # resp = client.describe_prompt({
3846
+ # instance_id: "InstanceId", # required
3847
+ # prompt_id: "PromptId", # required
3848
+ # })
3849
+ #
3850
+ # @example Response structure
3851
+ #
3852
+ # resp.prompt.prompt_arn #=> String
3853
+ # resp.prompt.prompt_id #=> String
3854
+ # resp.prompt.name #=> String
3855
+ # resp.prompt.description #=> String
3856
+ # resp.prompt.tags #=> Hash
3857
+ # resp.prompt.tags["TagKey"] #=> String
3858
+ #
3859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePrompt AWS API Documentation
3860
+ #
3861
+ # @overload describe_prompt(params = {})
3862
+ # @param [Hash] params ({})
3863
+ def describe_prompt(params = {}, options = {})
3864
+ req = build_request(:describe_prompt, params)
3865
+ req.send_request(options)
3866
+ end
3867
+
3734
3868
  # This API is in preview release for Amazon Connect and is subject to
3735
3869
  # change.
3736
3870
  #
@@ -5767,6 +5901,43 @@ module Aws::Connect
5767
5901
  req.send_request(options)
5768
5902
  end
5769
5903
 
5904
+ # Gets the prompt file.
5905
+ #
5906
+ # @option params [required, String] :instance_id
5907
+ # The identifier of the Amazon Connect instance. You can [find the
5908
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
5909
+ #
5910
+ #
5911
+ #
5912
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
5913
+ #
5914
+ # @option params [required, String] :prompt_id
5915
+ # A unique identifier for the prompt.
5916
+ #
5917
+ # @return [Types::GetPromptFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5918
+ #
5919
+ # * {Types::GetPromptFileResponse#prompt_presigned_url #prompt_presigned_url} => String
5920
+ #
5921
+ # @example Request syntax with placeholder values
5922
+ #
5923
+ # resp = client.get_prompt_file({
5924
+ # instance_id: "InstanceId", # required
5925
+ # prompt_id: "PromptId", # required
5926
+ # })
5927
+ #
5928
+ # @example Response structure
5929
+ #
5930
+ # resp.prompt_presigned_url #=> String
5931
+ #
5932
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetPromptFile AWS API Documentation
5933
+ #
5934
+ # @overload get_prompt_file(params = {})
5935
+ # @param [Hash] params ({})
5936
+ def get_prompt_file(params = {}, options = {})
5937
+ req = build_request(:get_prompt_file, params)
5938
+ req.send_request(options)
5939
+ end
5940
+
5770
5941
  # Gets details about a specific task template in the specified Amazon
5771
5942
  # Connect instance.
5772
5943
  #
@@ -10781,6 +10952,57 @@ module Aws::Connect
10781
10952
  req.send_request(options)
10782
10953
  end
10783
10954
 
10955
+ # Updates a prompt.
10956
+ #
10957
+ # @option params [required, String] :instance_id
10958
+ # The identifier of the Amazon Connect instance. You can [find the
10959
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
10960
+ #
10961
+ #
10962
+ #
10963
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
10964
+ #
10965
+ # @option params [required, String] :prompt_id
10966
+ # A unique identifier for the prompt.
10967
+ #
10968
+ # @option params [String] :name
10969
+ # The name of the prompt.
10970
+ #
10971
+ # @option params [String] :description
10972
+ # A description of the prompt.
10973
+ #
10974
+ # @option params [String] :s3_uri
10975
+ # The URI for the S3 bucket where the prompt is stored.
10976
+ #
10977
+ # @return [Types::UpdatePromptResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10978
+ #
10979
+ # * {Types::UpdatePromptResponse#prompt_arn #prompt_arn} => String
10980
+ # * {Types::UpdatePromptResponse#prompt_id #prompt_id} => String
10981
+ #
10982
+ # @example Request syntax with placeholder values
10983
+ #
10984
+ # resp = client.update_prompt({
10985
+ # instance_id: "InstanceId", # required
10986
+ # prompt_id: "PromptId", # required
10987
+ # name: "CommonNameLength127",
10988
+ # description: "PromptDescription",
10989
+ # s3_uri: "S3Uri",
10990
+ # })
10991
+ #
10992
+ # @example Response structure
10993
+ #
10994
+ # resp.prompt_arn #=> String
10995
+ # resp.prompt_id #=> String
10996
+ #
10997
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePrompt AWS API Documentation
10998
+ #
10999
+ # @overload update_prompt(params = {})
11000
+ # @param [Hash] params ({})
11001
+ def update_prompt(params = {}, options = {})
11002
+ req = build_request(:update_prompt, params)
11003
+ req.send_request(options)
11004
+ end
11005
+
10784
11006
  # This API is in preview release for Amazon Connect and is subject to
10785
11007
  # change.
10786
11008
  #
@@ -11889,7 +12111,7 @@ module Aws::Connect
11889
12111
  params: params,
11890
12112
  config: config)
11891
12113
  context[:gem_name] = 'aws-sdk-connect'
11892
- context[:gem_version] = '1.106.0'
12114
+ context[:gem_version] = '1.107.0'
11893
12115
  Seahorse::Client::Request.new(handlers, context)
11894
12116
  end
11895
12117
 
@@ -139,6 +139,8 @@ module Aws::Connect
139
139
  CreateIntegrationAssociationResponse = Shapes::StructureShape.new(name: 'CreateIntegrationAssociationResponse')
140
140
  CreateParticipantRequest = Shapes::StructureShape.new(name: 'CreateParticipantRequest')
141
141
  CreateParticipantResponse = Shapes::StructureShape.new(name: 'CreateParticipantResponse')
142
+ CreatePromptRequest = Shapes::StructureShape.new(name: 'CreatePromptRequest')
143
+ CreatePromptResponse = Shapes::StructureShape.new(name: 'CreatePromptResponse')
142
144
  CreateQueueRequest = Shapes::StructureShape.new(name: 'CreateQueueRequest')
143
145
  CreateQueueResponse = Shapes::StructureShape.new(name: 'CreateQueueResponse')
144
146
  CreateQuickConnectRequest = Shapes::StructureShape.new(name: 'CreateQuickConnectRequest')
@@ -188,6 +190,7 @@ module Aws::Connect
188
190
  DeleteHoursOfOperationRequest = Shapes::StructureShape.new(name: 'DeleteHoursOfOperationRequest')
189
191
  DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
190
192
  DeleteIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationAssociationRequest')
193
+ DeletePromptRequest = Shapes::StructureShape.new(name: 'DeletePromptRequest')
191
194
  DeleteQuickConnectRequest = Shapes::StructureShape.new(name: 'DeleteQuickConnectRequest')
192
195
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
193
196
  DeleteSecurityProfileRequest = Shapes::StructureShape.new(name: 'DeleteSecurityProfileRequest')
@@ -222,6 +225,8 @@ module Aws::Connect
222
225
  DescribeInstanceStorageConfigResponse = Shapes::StructureShape.new(name: 'DescribeInstanceStorageConfigResponse')
223
226
  DescribePhoneNumberRequest = Shapes::StructureShape.new(name: 'DescribePhoneNumberRequest')
224
227
  DescribePhoneNumberResponse = Shapes::StructureShape.new(name: 'DescribePhoneNumberResponse')
228
+ DescribePromptRequest = Shapes::StructureShape.new(name: 'DescribePromptRequest')
229
+ DescribePromptResponse = Shapes::StructureShape.new(name: 'DescribePromptResponse')
225
230
  DescribeQueueRequest = Shapes::StructureShape.new(name: 'DescribeQueueRequest')
226
231
  DescribeQueueResponse = Shapes::StructureShape.new(name: 'DescribeQueueResponse')
227
232
  DescribeQuickConnectRequest = Shapes::StructureShape.new(name: 'DescribeQuickConnectRequest')
@@ -347,6 +352,8 @@ module Aws::Connect
347
352
  GetMetricDataResponse = Shapes::StructureShape.new(name: 'GetMetricDataResponse')
348
353
  GetMetricDataV2Request = Shapes::StructureShape.new(name: 'GetMetricDataV2Request')
349
354
  GetMetricDataV2Response = Shapes::StructureShape.new(name: 'GetMetricDataV2Response')
355
+ GetPromptFileRequest = Shapes::StructureShape.new(name: 'GetPromptFileRequest')
356
+ GetPromptFileResponse = Shapes::StructureShape.new(name: 'GetPromptFileResponse')
350
357
  GetTaskTemplateRequest = Shapes::StructureShape.new(name: 'GetTaskTemplateRequest')
351
358
  GetTaskTemplateResponse = Shapes::StructureShape.new(name: 'GetTaskTemplateResponse')
352
359
  GetTrafficDistributionRequest = Shapes::StructureShape.new(name: 'GetTrafficDistributionRequest')
@@ -582,8 +589,11 @@ module Aws::Connect
582
589
  ProblemDetail = Shapes::StructureShape.new(name: 'ProblemDetail')
583
590
  ProblemMessageString = Shapes::StringShape.new(name: 'ProblemMessageString')
584
591
  Problems = Shapes::ListShape.new(name: 'Problems')
592
+ Prompt = Shapes::StructureShape.new(name: 'Prompt')
593
+ PromptDescription = Shapes::StringShape.new(name: 'PromptDescription')
585
594
  PromptId = Shapes::StringShape.new(name: 'PromptId')
586
595
  PromptName = Shapes::StringShape.new(name: 'PromptName')
596
+ PromptPresignedUrl = Shapes::StringShape.new(name: 'PromptPresignedUrl')
587
597
  PromptSummary = Shapes::StructureShape.new(name: 'PromptSummary')
588
598
  PromptSummaryList = Shapes::ListShape.new(name: 'PromptSummaryList')
589
599
  PropertyValidationException = Shapes::StructureShape.new(name: 'PropertyValidationException')
@@ -675,6 +685,7 @@ module Aws::Connect
675
685
  RuleSummaryList = Shapes::ListShape.new(name: 'RuleSummaryList')
676
686
  RuleTriggerEventSource = Shapes::StructureShape.new(name: 'RuleTriggerEventSource')
677
687
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
688
+ S3Uri = Shapes::StringShape.new(name: 'S3Uri')
678
689
  SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
679
690
  SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
680
691
  SearchQueuesRequest = Shapes::StructureShape.new(name: 'SearchQueuesRequest')
@@ -833,6 +844,8 @@ module Aws::Connect
833
844
  UpdateParticipantRoleConfigResponse = Shapes::StructureShape.new(name: 'UpdateParticipantRoleConfigResponse')
834
845
  UpdatePhoneNumberRequest = Shapes::StructureShape.new(name: 'UpdatePhoneNumberRequest')
835
846
  UpdatePhoneNumberResponse = Shapes::StructureShape.new(name: 'UpdatePhoneNumberResponse')
847
+ UpdatePromptRequest = Shapes::StructureShape.new(name: 'UpdatePromptRequest')
848
+ UpdatePromptResponse = Shapes::StructureShape.new(name: 'UpdatePromptResponse')
836
849
  UpdateQueueHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateQueueHoursOfOperationRequest')
837
850
  UpdateQueueMaxContactsRequest = Shapes::StructureShape.new(name: 'UpdateQueueMaxContactsRequest')
838
851
  UpdateQueueNameRequest = Shapes::StructureShape.new(name: 'UpdateQueueNameRequest')
@@ -1257,6 +1270,17 @@ module Aws::Connect
1257
1270
  CreateParticipantResponse.add_member(:participant_id, Shapes::ShapeRef.new(shape: ParticipantId, location_name: "ParticipantId"))
1258
1271
  CreateParticipantResponse.struct_class = Types::CreateParticipantResponse
1259
1272
 
1273
+ CreatePromptRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1274
+ CreatePromptRequest.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, required: true, location_name: "Name"))
1275
+ CreatePromptRequest.add_member(:description, Shapes::ShapeRef.new(shape: PromptDescription, location_name: "Description"))
1276
+ CreatePromptRequest.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
1277
+ CreatePromptRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1278
+ CreatePromptRequest.struct_class = Types::CreatePromptRequest
1279
+
1280
+ CreatePromptResponse.add_member(:prompt_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PromptARN"))
1281
+ CreatePromptResponse.add_member(:prompt_id, Shapes::ShapeRef.new(shape: PromptId, location_name: "PromptId"))
1282
+ CreatePromptResponse.struct_class = Types::CreatePromptResponse
1283
+
1260
1284
  CreateQueueRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1261
1285
  CreateQueueRequest.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, required: true, location_name: "Name"))
1262
1286
  CreateQueueRequest.add_member(:description, Shapes::ShapeRef.new(shape: QueueDescription, location_name: "Description"))
@@ -1483,6 +1507,10 @@ module Aws::Connect
1483
1507
  DeleteIntegrationAssociationRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
1484
1508
  DeleteIntegrationAssociationRequest.struct_class = Types::DeleteIntegrationAssociationRequest
1485
1509
 
1510
+ DeletePromptRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1511
+ DeletePromptRequest.add_member(:prompt_id, Shapes::ShapeRef.new(shape: PromptId, required: true, location: "uri", location_name: "PromptId"))
1512
+ DeletePromptRequest.struct_class = Types::DeletePromptRequest
1513
+
1486
1514
  DeleteQuickConnectRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1487
1515
  DeleteQuickConnectRequest.add_member(:quick_connect_id, Shapes::ShapeRef.new(shape: QuickConnectId, required: true, location: "uri", location_name: "QuickConnectId"))
1488
1516
  DeleteQuickConnectRequest.struct_class = Types::DeleteQuickConnectRequest
@@ -1606,6 +1634,13 @@ module Aws::Connect
1606
1634
  DescribePhoneNumberResponse.add_member(:claimed_phone_number_summary, Shapes::ShapeRef.new(shape: ClaimedPhoneNumberSummary, location_name: "ClaimedPhoneNumberSummary"))
1607
1635
  DescribePhoneNumberResponse.struct_class = Types::DescribePhoneNumberResponse
1608
1636
 
1637
+ DescribePromptRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1638
+ DescribePromptRequest.add_member(:prompt_id, Shapes::ShapeRef.new(shape: PromptId, required: true, location: "uri", location_name: "PromptId"))
1639
+ DescribePromptRequest.struct_class = Types::DescribePromptRequest
1640
+
1641
+ DescribePromptResponse.add_member(:prompt, Shapes::ShapeRef.new(shape: Prompt, location_name: "Prompt"))
1642
+ DescribePromptResponse.struct_class = Types::DescribePromptResponse
1643
+
1609
1644
  DescribeQueueRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1610
1645
  DescribeQueueRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
1611
1646
  DescribeQueueRequest.struct_class = Types::DescribeQueueRequest
@@ -2042,6 +2077,13 @@ module Aws::Connect
2042
2077
  GetMetricDataV2Response.add_member(:metric_results, Shapes::ShapeRef.new(shape: MetricResultsV2, location_name: "MetricResults"))
2043
2078
  GetMetricDataV2Response.struct_class = Types::GetMetricDataV2Response
2044
2079
 
2080
+ GetPromptFileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2081
+ GetPromptFileRequest.add_member(:prompt_id, Shapes::ShapeRef.new(shape: PromptId, required: true, location: "uri", location_name: "PromptId"))
2082
+ GetPromptFileRequest.struct_class = Types::GetPromptFileRequest
2083
+
2084
+ GetPromptFileResponse.add_member(:prompt_presigned_url, Shapes::ShapeRef.new(shape: PromptPresignedUrl, location_name: "PromptPresignedUrl"))
2085
+ GetPromptFileResponse.struct_class = Types::GetPromptFileResponse
2086
+
2045
2087
  GetTaskTemplateRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2046
2088
  GetTaskTemplateRequest.add_member(:task_template_id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location: "uri", location_name: "TaskTemplateId"))
2047
2089
  GetTaskTemplateRequest.add_member(:snapshot_version, Shapes::ShapeRef.new(shape: SnapshotVersion, location: "querystring", location_name: "snapshotVersion"))
@@ -2750,6 +2792,13 @@ module Aws::Connect
2750
2792
 
2751
2793
  Problems.member = Shapes::ShapeRef.new(shape: ProblemDetail)
2752
2794
 
2795
+ Prompt.add_member(:prompt_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PromptARN"))
2796
+ Prompt.add_member(:prompt_id, Shapes::ShapeRef.new(shape: PromptId, location_name: "PromptId"))
2797
+ Prompt.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, location_name: "Name"))
2798
+ Prompt.add_member(:description, Shapes::ShapeRef.new(shape: PromptDescription, location_name: "Description"))
2799
+ Prompt.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2800
+ Prompt.struct_class = Types::Prompt
2801
+
2753
2802
  PromptSummary.add_member(:id, Shapes::ShapeRef.new(shape: PromptId, location_name: "Id"))
2754
2803
  PromptSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
2755
2804
  PromptSummary.add_member(:name, Shapes::ShapeRef.new(shape: PromptName, location_name: "Name"))
@@ -3531,6 +3580,17 @@ module Aws::Connect
3531
3580
  UpdatePhoneNumberResponse.add_member(:phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PhoneNumberArn"))
3532
3581
  UpdatePhoneNumberResponse.struct_class = Types::UpdatePhoneNumberResponse
3533
3582
 
3583
+ UpdatePromptRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
3584
+ UpdatePromptRequest.add_member(:prompt_id, Shapes::ShapeRef.new(shape: PromptId, required: true, location: "uri", location_name: "PromptId"))
3585
+ UpdatePromptRequest.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, location_name: "Name"))
3586
+ UpdatePromptRequest.add_member(:description, Shapes::ShapeRef.new(shape: PromptDescription, location_name: "Description"))
3587
+ UpdatePromptRequest.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "S3Uri"))
3588
+ UpdatePromptRequest.struct_class = Types::UpdatePromptRequest
3589
+
3590
+ UpdatePromptResponse.add_member(:prompt_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "PromptARN"))
3591
+ UpdatePromptResponse.add_member(:prompt_id, Shapes::ShapeRef.new(shape: PromptId, location_name: "PromptId"))
3592
+ UpdatePromptResponse.struct_class = Types::UpdatePromptResponse
3593
+
3534
3594
  UpdateQueueHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
3535
3595
  UpdateQueueHoursOfOperationRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
3536
3596
  UpdateQueueHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location_name: "HoursOfOperationId"))
@@ -4113,6 +4173,20 @@ module Aws::Connect
4113
4173
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4114
4174
  end)
4115
4175
 
4176
+ api.add_operation(:create_prompt, Seahorse::Model::Operation.new.tap do |o|
4177
+ o.name = "CreatePrompt"
4178
+ o.http_method = "PUT"
4179
+ o.http_request_uri = "/prompts/{InstanceId}"
4180
+ o.input = Shapes::ShapeRef.new(shape: CreatePromptRequest)
4181
+ o.output = Shapes::ShapeRef.new(shape: CreatePromptResponse)
4182
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
4183
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4184
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4185
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
4186
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4187
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4188
+ end)
4189
+
4116
4190
  api.add_operation(:create_queue, Seahorse::Model::Operation.new.tap do |o|
4117
4191
  o.name = "CreateQueue"
4118
4192
  o.http_method = "PUT"
@@ -4379,6 +4453,19 @@ module Aws::Connect
4379
4453
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4380
4454
  end)
4381
4455
 
4456
+ api.add_operation(:delete_prompt, Seahorse::Model::Operation.new.tap do |o|
4457
+ o.name = "DeletePrompt"
4458
+ o.http_method = "DELETE"
4459
+ o.http_request_uri = "/prompts/{InstanceId}/{PromptId}"
4460
+ o.input = Shapes::ShapeRef.new(shape: DeletePromptRequest)
4461
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
4462
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4463
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4464
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4465
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4466
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4467
+ end)
4468
+
4382
4469
  api.add_operation(:delete_quick_connect, Seahorse::Model::Operation.new.tap do |o|
4383
4470
  o.name = "DeleteQuickConnect"
4384
4471
  o.http_method = "DELETE"
@@ -4640,6 +4727,19 @@ module Aws::Connect
4640
4727
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4641
4728
  end)
4642
4729
 
4730
+ api.add_operation(:describe_prompt, Seahorse::Model::Operation.new.tap do |o|
4731
+ o.name = "DescribePrompt"
4732
+ o.http_method = "GET"
4733
+ o.http_request_uri = "/prompts/{InstanceId}/{PromptId}"
4734
+ o.input = Shapes::ShapeRef.new(shape: DescribePromptRequest)
4735
+ o.output = Shapes::ShapeRef.new(shape: DescribePromptResponse)
4736
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4737
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4738
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4739
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4740
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4741
+ end)
4742
+
4643
4743
  api.add_operation(:describe_queue, Seahorse::Model::Operation.new.tap do |o|
4644
4744
  o.name = "DescribeQueue"
4645
4745
  o.http_method = "GET"
@@ -5001,6 +5101,19 @@ module Aws::Connect
5001
5101
  )
5002
5102
  end)
5003
5103
 
5104
+ api.add_operation(:get_prompt_file, Seahorse::Model::Operation.new.tap do |o|
5105
+ o.name = "GetPromptFile"
5106
+ o.http_method = "GET"
5107
+ o.http_request_uri = "/prompts/{InstanceId}/{PromptId}/file"
5108
+ o.input = Shapes::ShapeRef.new(shape: GetPromptFileRequest)
5109
+ o.output = Shapes::ShapeRef.new(shape: GetPromptFileResponse)
5110
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
5111
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5112
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5113
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5114
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5115
+ end)
5116
+
5004
5117
  api.add_operation(:get_task_template, Seahorse::Model::Operation.new.tap do |o|
5005
5118
  o.name = "GetTaskTemplate"
5006
5119
  o.http_method = "GET"
@@ -6260,6 +6373,19 @@ module Aws::Connect
6260
6373
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
6261
6374
  end)
6262
6375
 
6376
+ api.add_operation(:update_prompt, Seahorse::Model::Operation.new.tap do |o|
6377
+ o.name = "UpdatePrompt"
6378
+ o.http_method = "POST"
6379
+ o.http_request_uri = "/prompts/{InstanceId}/{PromptId}"
6380
+ o.input = Shapes::ShapeRef.new(shape: UpdatePromptRequest)
6381
+ o.output = Shapes::ShapeRef.new(shape: UpdatePromptResponse)
6382
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6383
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
6384
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6385
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6386
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
6387
+ end)
6388
+
6263
6389
  api.add_operation(:update_queue_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
6264
6390
  o.name = "UpdateQueueHoursOfOperation"
6265
6391
  o.http_method = "POST"
@@ -291,6 +291,20 @@ module Aws::Connect
291
291
  end
292
292
  end
293
293
 
294
+ class CreatePrompt
295
+ def self.build(context)
296
+ unless context.config.regional_endpoint
297
+ endpoint = context.config.endpoint.to_s
298
+ end
299
+ Aws::Connect::EndpointParameters.new(
300
+ region: context.config.region,
301
+ use_dual_stack: context.config.use_dualstack_endpoint,
302
+ use_fips: context.config.use_fips_endpoint,
303
+ endpoint: endpoint,
304
+ )
305
+ end
306
+ end
307
+
294
308
  class CreateQueue
295
309
  def self.build(context)
296
310
  unless context.config.regional_endpoint
@@ -557,6 +571,20 @@ module Aws::Connect
557
571
  end
558
572
  end
559
573
 
574
+ class DeletePrompt
575
+ def self.build(context)
576
+ unless context.config.regional_endpoint
577
+ endpoint = context.config.endpoint.to_s
578
+ end
579
+ Aws::Connect::EndpointParameters.new(
580
+ region: context.config.region,
581
+ use_dual_stack: context.config.use_dualstack_endpoint,
582
+ use_fips: context.config.use_fips_endpoint,
583
+ endpoint: endpoint,
584
+ )
585
+ end
586
+ end
587
+
560
588
  class DeleteQuickConnect
561
589
  def self.build(context)
562
590
  unless context.config.regional_endpoint
@@ -837,6 +865,20 @@ module Aws::Connect
837
865
  end
838
866
  end
839
867
 
868
+ class DescribePrompt
869
+ def self.build(context)
870
+ unless context.config.regional_endpoint
871
+ endpoint = context.config.endpoint.to_s
872
+ end
873
+ Aws::Connect::EndpointParameters.new(
874
+ region: context.config.region,
875
+ use_dual_stack: context.config.use_dualstack_endpoint,
876
+ use_fips: context.config.use_fips_endpoint,
877
+ endpoint: endpoint,
878
+ )
879
+ end
880
+ end
881
+
840
882
  class DescribeQueue
841
883
  def self.build(context)
842
884
  unless context.config.regional_endpoint
@@ -1201,6 +1243,20 @@ module Aws::Connect
1201
1243
  end
1202
1244
  end
1203
1245
 
1246
+ class GetPromptFile
1247
+ def self.build(context)
1248
+ unless context.config.regional_endpoint
1249
+ endpoint = context.config.endpoint.to_s
1250
+ end
1251
+ Aws::Connect::EndpointParameters.new(
1252
+ region: context.config.region,
1253
+ use_dual_stack: context.config.use_dualstack_endpoint,
1254
+ use_fips: context.config.use_fips_endpoint,
1255
+ endpoint: endpoint,
1256
+ )
1257
+ end
1258
+ end
1259
+
1204
1260
  class GetTaskTemplate
1205
1261
  def self.build(context)
1206
1262
  unless context.config.regional_endpoint
@@ -2293,6 +2349,20 @@ module Aws::Connect
2293
2349
  end
2294
2350
  end
2295
2351
 
2352
+ class UpdatePrompt
2353
+ def self.build(context)
2354
+ unless context.config.regional_endpoint
2355
+ endpoint = context.config.endpoint.to_s
2356
+ end
2357
+ Aws::Connect::EndpointParameters.new(
2358
+ region: context.config.region,
2359
+ use_dual_stack: context.config.use_dualstack_endpoint,
2360
+ use_fips: context.config.use_fips_endpoint,
2361
+ endpoint: endpoint,
2362
+ )
2363
+ end
2364
+ end
2365
+
2296
2366
  class UpdateQueueHoursOfOperation
2297
2367
  def self.build(context)
2298
2368
  unless context.config.regional_endpoint
@@ -96,6 +96,8 @@ module Aws::Connect
96
96
  Aws::Connect::Endpoints::CreateIntegrationAssociation.build(context)
97
97
  when :create_participant
98
98
  Aws::Connect::Endpoints::CreateParticipant.build(context)
99
+ when :create_prompt
100
+ Aws::Connect::Endpoints::CreatePrompt.build(context)
99
101
  when :create_queue
100
102
  Aws::Connect::Endpoints::CreateQueue.build(context)
101
103
  when :create_quick_connect
@@ -134,6 +136,8 @@ module Aws::Connect
134
136
  Aws::Connect::Endpoints::DeleteInstance.build(context)
135
137
  when :delete_integration_association
136
138
  Aws::Connect::Endpoints::DeleteIntegrationAssociation.build(context)
139
+ when :delete_prompt
140
+ Aws::Connect::Endpoints::DeletePrompt.build(context)
137
141
  when :delete_quick_connect
138
142
  Aws::Connect::Endpoints::DeleteQuickConnect.build(context)
139
143
  when :delete_rule
@@ -174,6 +178,8 @@ module Aws::Connect
174
178
  Aws::Connect::Endpoints::DescribeInstanceStorageConfig.build(context)
175
179
  when :describe_phone_number
176
180
  Aws::Connect::Endpoints::DescribePhoneNumber.build(context)
181
+ when :describe_prompt
182
+ Aws::Connect::Endpoints::DescribePrompt.build(context)
177
183
  when :describe_queue
178
184
  Aws::Connect::Endpoints::DescribeQueue.build(context)
179
185
  when :describe_quick_connect
@@ -226,6 +232,8 @@ module Aws::Connect
226
232
  Aws::Connect::Endpoints::GetMetricData.build(context)
227
233
  when :get_metric_data_v2
228
234
  Aws::Connect::Endpoints::GetMetricDataV2.build(context)
235
+ when :get_prompt_file
236
+ Aws::Connect::Endpoints::GetPromptFile.build(context)
229
237
  when :get_task_template
230
238
  Aws::Connect::Endpoints::GetTaskTemplate.build(context)
231
239
  when :get_traffic_distribution
@@ -382,6 +390,8 @@ module Aws::Connect
382
390
  Aws::Connect::Endpoints::UpdateParticipantRoleConfig.build(context)
383
391
  when :update_phone_number
384
392
  Aws::Connect::Endpoints::UpdatePhoneNumber.build(context)
393
+ when :update_prompt
394
+ Aws::Connect::Endpoints::UpdatePrompt.build(context)
385
395
  when :update_queue_hours_of_operation
386
396
  Aws::Connect::Endpoints::UpdateQueueHoursOfOperation.build(context)
387
397
  when :update_queue_max_contacts
@@ -1759,6 +1759,62 @@ module Aws::Connect
1759
1759
  include Aws::Structure
1760
1760
  end
1761
1761
 
1762
+ # @!attribute [rw] instance_id
1763
+ # The identifier of the Amazon Connect instance. You can [find the
1764
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
1765
+ #
1766
+ #
1767
+ #
1768
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
1769
+ # @return [String]
1770
+ #
1771
+ # @!attribute [rw] name
1772
+ # The name of the prompt.
1773
+ # @return [String]
1774
+ #
1775
+ # @!attribute [rw] description
1776
+ # The description of the prompt.
1777
+ # @return [String]
1778
+ #
1779
+ # @!attribute [rw] s3_uri
1780
+ # The URI for the S3 bucket where the prompt is stored.
1781
+ # @return [String]
1782
+ #
1783
+ # @!attribute [rw] tags
1784
+ # The tags used to organize, track, or control access for this
1785
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
1786
+ # "key2":"value2"\\} \\}.
1787
+ # @return [Hash<String,String>]
1788
+ #
1789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreatePromptRequest AWS API Documentation
1790
+ #
1791
+ class CreatePromptRequest < Struct.new(
1792
+ :instance_id,
1793
+ :name,
1794
+ :description,
1795
+ :s3_uri,
1796
+ :tags)
1797
+ SENSITIVE = []
1798
+ include Aws::Structure
1799
+ end
1800
+
1801
+ # @!attribute [rw] prompt_arn
1802
+ # The Amazon Resource Name (ARN) of the prompt.
1803
+ # @return [String]
1804
+ #
1805
+ # @!attribute [rw] prompt_id
1806
+ # A unique identifier for the prompt.
1807
+ # @return [String]
1808
+ #
1809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreatePromptResponse AWS API Documentation
1810
+ #
1811
+ class CreatePromptResponse < Struct.new(
1812
+ :prompt_arn,
1813
+ :prompt_id)
1814
+ SENSITIVE = []
1815
+ include Aws::Structure
1816
+ end
1817
+
1762
1818
  # @!attribute [rw] instance_id
1763
1819
  # The identifier of the Amazon Connect instance. You can [find the
1764
1820
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -2973,6 +3029,28 @@ module Aws::Connect
2973
3029
  include Aws::Structure
2974
3030
  end
2975
3031
 
3032
+ # @!attribute [rw] instance_id
3033
+ # The identifier of the Amazon Connect instance. You can [find the
3034
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
3035
+ #
3036
+ #
3037
+ #
3038
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
3039
+ # @return [String]
3040
+ #
3041
+ # @!attribute [rw] prompt_id
3042
+ # A unique identifier for the prompt.
3043
+ # @return [String]
3044
+ #
3045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeletePromptRequest AWS API Documentation
3046
+ #
3047
+ class DeletePromptRequest < Struct.new(
3048
+ :instance_id,
3049
+ :prompt_id)
3050
+ SENSITIVE = []
3051
+ include Aws::Structure
3052
+ end
3053
+
2976
3054
  # @!attribute [rw] instance_id
2977
3055
  # The identifier of the Amazon Connect instance. You can [find the
2978
3056
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -3571,6 +3649,40 @@ module Aws::Connect
3571
3649
  include Aws::Structure
3572
3650
  end
3573
3651
 
3652
+ # @!attribute [rw] instance_id
3653
+ # The identifier of the Amazon Connect instance. You can [find the
3654
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
3655
+ #
3656
+ #
3657
+ #
3658
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
3659
+ # @return [String]
3660
+ #
3661
+ # @!attribute [rw] prompt_id
3662
+ # A unique identifier for the prompt.
3663
+ # @return [String]
3664
+ #
3665
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePromptRequest AWS API Documentation
3666
+ #
3667
+ class DescribePromptRequest < Struct.new(
3668
+ :instance_id,
3669
+ :prompt_id)
3670
+ SENSITIVE = []
3671
+ include Aws::Structure
3672
+ end
3673
+
3674
+ # @!attribute [rw] prompt
3675
+ # Information about the prompt.
3676
+ # @return [Types::Prompt]
3677
+ #
3678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePromptResponse AWS API Documentation
3679
+ #
3680
+ class DescribePromptResponse < Struct.new(
3681
+ :prompt)
3682
+ SENSITIVE = []
3683
+ include Aws::Structure
3684
+ end
3685
+
3574
3686
  # @!attribute [rw] instance_id
3575
3687
  # The identifier of the Amazon Connect instance. You can [find the
3576
3688
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -6211,6 +6323,41 @@ module Aws::Connect
6211
6323
  include Aws::Structure
6212
6324
  end
6213
6325
 
6326
+ # @!attribute [rw] instance_id
6327
+ # The identifier of the Amazon Connect instance. You can [find the
6328
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
6329
+ #
6330
+ #
6331
+ #
6332
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
6333
+ # @return [String]
6334
+ #
6335
+ # @!attribute [rw] prompt_id
6336
+ # A unique identifier for the prompt.
6337
+ # @return [String]
6338
+ #
6339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetPromptFileRequest AWS API Documentation
6340
+ #
6341
+ class GetPromptFileRequest < Struct.new(
6342
+ :instance_id,
6343
+ :prompt_id)
6344
+ SENSITIVE = []
6345
+ include Aws::Structure
6346
+ end
6347
+
6348
+ # @!attribute [rw] prompt_presigned_url
6349
+ # A generated URL to the prompt that can be given to an unauthorized
6350
+ # user so they can access the prompt in S3.
6351
+ # @return [String]
6352
+ #
6353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetPromptFileResponse AWS API Documentation
6354
+ #
6355
+ class GetPromptFileResponse < Struct.new(
6356
+ :prompt_presigned_url)
6357
+ SENSITIVE = []
6358
+ include Aws::Structure
6359
+ end
6360
+
6214
6361
  # @!attribute [rw] instance_id
6215
6362
  # The identifier of the Amazon Connect instance. You can [find the
6216
6363
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -9696,6 +9843,42 @@ module Aws::Connect
9696
9843
  include Aws::Structure
9697
9844
  end
9698
9845
 
9846
+ # Information about a prompt.
9847
+ #
9848
+ # @!attribute [rw] prompt_arn
9849
+ # The Amazon Resource Name (ARN) of the prompt.
9850
+ # @return [String]
9851
+ #
9852
+ # @!attribute [rw] prompt_id
9853
+ # A unique identifier for the prompt.
9854
+ # @return [String]
9855
+ #
9856
+ # @!attribute [rw] name
9857
+ # The name of the prompt.
9858
+ # @return [String]
9859
+ #
9860
+ # @!attribute [rw] description
9861
+ # A description for the prompt.
9862
+ # @return [String]
9863
+ #
9864
+ # @!attribute [rw] tags
9865
+ # The tags used to organize, track, or control access for this
9866
+ # resource. For example, \\\{ "tags": \\\{"key1":"value1",
9867
+ # "key2":"value2"\\} \\}.
9868
+ # @return [Hash<String,String>]
9869
+ #
9870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Prompt AWS API Documentation
9871
+ #
9872
+ class Prompt < Struct.new(
9873
+ :prompt_arn,
9874
+ :prompt_id,
9875
+ :name,
9876
+ :description,
9877
+ :tags)
9878
+ SENSITIVE = []
9879
+ include Aws::Structure
9880
+ end
9881
+
9699
9882
  # Contains information about the prompt.
9700
9883
  #
9701
9884
  # @!attribute [rw] id
@@ -13540,6 +13723,60 @@ module Aws::Connect
13540
13723
  include Aws::Structure
13541
13724
  end
13542
13725
 
13726
+ # @!attribute [rw] instance_id
13727
+ # The identifier of the Amazon Connect instance. You can [find the
13728
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
13729
+ #
13730
+ #
13731
+ #
13732
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
13733
+ # @return [String]
13734
+ #
13735
+ # @!attribute [rw] prompt_id
13736
+ # A unique identifier for the prompt.
13737
+ # @return [String]
13738
+ #
13739
+ # @!attribute [rw] name
13740
+ # The name of the prompt.
13741
+ # @return [String]
13742
+ #
13743
+ # @!attribute [rw] description
13744
+ # A description of the prompt.
13745
+ # @return [String]
13746
+ #
13747
+ # @!attribute [rw] s3_uri
13748
+ # The URI for the S3 bucket where the prompt is stored.
13749
+ # @return [String]
13750
+ #
13751
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePromptRequest AWS API Documentation
13752
+ #
13753
+ class UpdatePromptRequest < Struct.new(
13754
+ :instance_id,
13755
+ :prompt_id,
13756
+ :name,
13757
+ :description,
13758
+ :s3_uri)
13759
+ SENSITIVE = []
13760
+ include Aws::Structure
13761
+ end
13762
+
13763
+ # @!attribute [rw] prompt_arn
13764
+ # The Amazon Resource Name (ARN) of the prompt.
13765
+ # @return [String]
13766
+ #
13767
+ # @!attribute [rw] prompt_id
13768
+ # A unique identifier for the prompt.
13769
+ # @return [String]
13770
+ #
13771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePromptResponse AWS API Documentation
13772
+ #
13773
+ class UpdatePromptResponse < Struct.new(
13774
+ :prompt_arn,
13775
+ :prompt_id)
13776
+ SENSITIVE = []
13777
+ include Aws::Structure
13778
+ end
13779
+
13543
13780
  # @!attribute [rw] instance_id
13544
13781
  # The identifier of the Amazon Connect instance. You can [find the
13545
13782
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connect/customizations'
52
52
  # @!group service
53
53
  module Aws::Connect
54
54
 
55
- GEM_VERSION = '1.106.0'
55
+ GEM_VERSION = '1.107.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.106.0
4
+ version: 1.107.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-11 00:00:00.000000000 Z
11
+ date: 2023-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core