aws-sdk-connect 1.119.0 → 1.120.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: 50f07755cecb0274f3df51050770faedbcee5fe4883b2e0b62dfb34ec15450f1
4
- data.tar.gz: d5b8592bf5bec51924c7863f86c483dd3af9c5bd5db307c26339e401193cd554
3
+ metadata.gz: b2ed8991c034766bed41a06bba3ffa5fe788970871e5645939a7e9c7fba97a65
4
+ data.tar.gz: ebd1d9f4e35af73168be02e833c97d8f0823473205f96d01da0d8daa9bc75fa0
5
5
  SHA512:
6
- metadata.gz: b6326a0dcbbf2077169b20995fb82f3d4742c671eb6f69cfc3da2c9f2820c96e623dece4fe1645cbb978b30b8866f91bc1b17bce0c4b1fd431511b000c8506f7
7
- data.tar.gz: 3a5bc7d4701d0662cf97881b507cb29153129f8c512c49fc0ce5d02c39f3d5b83f6ce39c9cef82fbdcce945af6d6f3d5e353de4790df7c086431704a9c81f413
6
+ metadata.gz: 4e5ceb59896ebb9ea9b623b2082903eb1fd0da63f7b95f2af05a92e622158ff7e22e92a5695a3ba2ca7079ace5fe6a713b46fa47ee716095334866615dd523f1
7
+ data.tar.gz: 48b8310d4ec63e919970df7562eef5ee4097f4e751a04e977609fb669c8bb1660091fbe169199b3e0302eae616cbe637c7d97a0ebda42046b934cae1ee349386
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.120.0 (2023-07-13)
5
+ ------------------
6
+
7
+ * Feature - Add support for deleting Queues and Routing Profiles.
8
+
4
9
  1.119.0 (2023-07-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.119.0
1
+ 1.120.0
@@ -2917,6 +2917,37 @@ module Aws::Connect
2917
2917
  req.send_request(options)
2918
2918
  end
2919
2919
 
2920
+ # Deletes a queue.
2921
+ #
2922
+ # @option params [required, String] :instance_id
2923
+ # The identifier of the Amazon Connect instance. You can [find the
2924
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
2925
+ #
2926
+ #
2927
+ #
2928
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
2929
+ #
2930
+ # @option params [required, String] :queue_id
2931
+ # The identifier for the queue.
2932
+ #
2933
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2934
+ #
2935
+ # @example Request syntax with placeholder values
2936
+ #
2937
+ # resp = client.delete_queue({
2938
+ # instance_id: "InstanceId", # required
2939
+ # queue_id: "QueueId", # required
2940
+ # })
2941
+ #
2942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteQueue AWS API Documentation
2943
+ #
2944
+ # @overload delete_queue(params = {})
2945
+ # @param [Hash] params ({})
2946
+ def delete_queue(params = {}, options = {})
2947
+ req = build_request(:delete_queue, params)
2948
+ req.send_request(options)
2949
+ end
2950
+
2920
2951
  # Deletes a quick connect.
2921
2952
  #
2922
2953
  # @option params [required, String] :instance_id
@@ -2948,6 +2979,37 @@ module Aws::Connect
2948
2979
  req.send_request(options)
2949
2980
  end
2950
2981
 
2982
+ # Deletes a routing profile.
2983
+ #
2984
+ # @option params [required, String] :instance_id
2985
+ # The identifier of the Amazon Connect instance. You can [find the
2986
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
2987
+ #
2988
+ #
2989
+ #
2990
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
2991
+ #
2992
+ # @option params [required, String] :routing_profile_id
2993
+ # The identifier of the routing profile.
2994
+ #
2995
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2996
+ #
2997
+ # @example Request syntax with placeholder values
2998
+ #
2999
+ # resp = client.delete_routing_profile({
3000
+ # instance_id: "InstanceId", # required
3001
+ # routing_profile_id: "RoutingProfileId", # required
3002
+ # })
3003
+ #
3004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteRoutingProfile AWS API Documentation
3005
+ #
3006
+ # @overload delete_routing_profile(params = {})
3007
+ # @param [Hash] params ({})
3008
+ def delete_routing_profile(params = {}, options = {})
3009
+ req = build_request(:delete_routing_profile, params)
3010
+ req.send_request(options)
3011
+ end
3012
+
2951
3013
  # Deletes a rule for the specified Amazon Connect instance.
2952
3014
  #
2953
3015
  # @option params [required, String] :instance_id
@@ -12552,7 +12614,7 @@ module Aws::Connect
12552
12614
  params: params,
12553
12615
  config: config)
12554
12616
  context[:gem_name] = 'aws-sdk-connect'
12555
- context[:gem_version] = '1.119.0'
12617
+ context[:gem_version] = '1.120.0'
12556
12618
  Seahorse::Client::Request.new(handlers, context)
12557
12619
  end
12558
12620
 
@@ -191,7 +191,9 @@ module Aws::Connect
191
191
  DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
192
192
  DeleteIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationAssociationRequest')
193
193
  DeletePromptRequest = Shapes::StructureShape.new(name: 'DeletePromptRequest')
194
+ DeleteQueueRequest = Shapes::StructureShape.new(name: 'DeleteQueueRequest')
194
195
  DeleteQuickConnectRequest = Shapes::StructureShape.new(name: 'DeleteQuickConnectRequest')
196
+ DeleteRoutingProfileRequest = Shapes::StructureShape.new(name: 'DeleteRoutingProfileRequest')
195
197
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
196
198
  DeleteSecurityProfileRequest = Shapes::StructureShape.new(name: 'DeleteSecurityProfileRequest')
197
199
  DeleteTaskTemplateRequest = Shapes::StructureShape.new(name: 'DeleteTaskTemplateRequest')
@@ -1539,10 +1541,18 @@ module Aws::Connect
1539
1541
  DeletePromptRequest.add_member(:prompt_id, Shapes::ShapeRef.new(shape: PromptId, required: true, location: "uri", location_name: "PromptId"))
1540
1542
  DeletePromptRequest.struct_class = Types::DeletePromptRequest
1541
1543
 
1544
+ DeleteQueueRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1545
+ DeleteQueueRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "QueueId"))
1546
+ DeleteQueueRequest.struct_class = Types::DeleteQueueRequest
1547
+
1542
1548
  DeleteQuickConnectRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1543
1549
  DeleteQuickConnectRequest.add_member(:quick_connect_id, Shapes::ShapeRef.new(shape: QuickConnectId, required: true, location: "uri", location_name: "QuickConnectId"))
1544
1550
  DeleteQuickConnectRequest.struct_class = Types::DeleteQuickConnectRequest
1545
1551
 
1552
+ DeleteRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1553
+ DeleteRoutingProfileRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
1554
+ DeleteRoutingProfileRequest.struct_class = Types::DeleteRoutingProfileRequest
1555
+
1546
1556
  DeleteRuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1547
1557
  DeleteRuleRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location: "uri", location_name: "RuleId"))
1548
1558
  DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
@@ -4599,6 +4609,20 @@ module Aws::Connect
4599
4609
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4600
4610
  end)
4601
4611
 
4612
+ api.add_operation(:delete_queue, Seahorse::Model::Operation.new.tap do |o|
4613
+ o.name = "DeleteQueue"
4614
+ o.http_method = "DELETE"
4615
+ o.http_request_uri = "/queues/{InstanceId}/{QueueId}"
4616
+ o.input = Shapes::ShapeRef.new(shape: DeleteQueueRequest)
4617
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
4618
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4619
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4620
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4621
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
4622
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4623
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4624
+ end)
4625
+
4602
4626
  api.add_operation(:delete_quick_connect, Seahorse::Model::Operation.new.tap do |o|
4603
4627
  o.name = "DeleteQuickConnect"
4604
4628
  o.http_method = "DELETE"
@@ -4612,6 +4636,20 @@ module Aws::Connect
4612
4636
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4613
4637
  end)
4614
4638
 
4639
+ api.add_operation(:delete_routing_profile, Seahorse::Model::Operation.new.tap do |o|
4640
+ o.name = "DeleteRoutingProfile"
4641
+ o.http_method = "DELETE"
4642
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}"
4643
+ o.input = Shapes::ShapeRef.new(shape: DeleteRoutingProfileRequest)
4644
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
4645
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4646
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
4647
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4648
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
4649
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4650
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4651
+ end)
4652
+
4615
4653
  api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
4616
4654
  o.name = "DeleteRule"
4617
4655
  o.http_method = "DELETE"
@@ -586,6 +586,20 @@ module Aws::Connect
586
586
  end
587
587
  end
588
588
 
589
+ class DeleteQueue
590
+ def self.build(context)
591
+ unless context.config.regional_endpoint
592
+ endpoint = context.config.endpoint.to_s
593
+ end
594
+ Aws::Connect::EndpointParameters.new(
595
+ region: context.config.region,
596
+ use_dual_stack: context.config.use_dualstack_endpoint,
597
+ use_fips: context.config.use_fips_endpoint,
598
+ endpoint: endpoint,
599
+ )
600
+ end
601
+ end
602
+
589
603
  class DeleteQuickConnect
590
604
  def self.build(context)
591
605
  unless context.config.regional_endpoint
@@ -600,6 +614,20 @@ module Aws::Connect
600
614
  end
601
615
  end
602
616
 
617
+ class DeleteRoutingProfile
618
+ def self.build(context)
619
+ unless context.config.regional_endpoint
620
+ endpoint = context.config.endpoint.to_s
621
+ end
622
+ Aws::Connect::EndpointParameters.new(
623
+ region: context.config.region,
624
+ use_dual_stack: context.config.use_dualstack_endpoint,
625
+ use_fips: context.config.use_fips_endpoint,
626
+ endpoint: endpoint,
627
+ )
628
+ end
629
+ end
630
+
603
631
  class DeleteRule
604
632
  def self.build(context)
605
633
  unless context.config.regional_endpoint
@@ -138,8 +138,12 @@ module Aws::Connect
138
138
  Aws::Connect::Endpoints::DeleteIntegrationAssociation.build(context)
139
139
  when :delete_prompt
140
140
  Aws::Connect::Endpoints::DeletePrompt.build(context)
141
+ when :delete_queue
142
+ Aws::Connect::Endpoints::DeleteQueue.build(context)
141
143
  when :delete_quick_connect
142
144
  Aws::Connect::Endpoints::DeleteQuickConnect.build(context)
145
+ when :delete_routing_profile
146
+ Aws::Connect::Endpoints::DeleteRoutingProfile.build(context)
143
147
  when :delete_rule
144
148
  Aws::Connect::Endpoints::DeleteRule.build(context)
145
149
  when :delete_security_profile
@@ -3053,6 +3053,28 @@ module Aws::Connect
3053
3053
  include Aws::Structure
3054
3054
  end
3055
3055
 
3056
+ # @!attribute [rw] instance_id
3057
+ # The identifier of the Amazon Connect instance. You can [find the
3058
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
3059
+ #
3060
+ #
3061
+ #
3062
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
3063
+ # @return [String]
3064
+ #
3065
+ # @!attribute [rw] queue_id
3066
+ # The identifier for the queue.
3067
+ # @return [String]
3068
+ #
3069
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteQueueRequest AWS API Documentation
3070
+ #
3071
+ class DeleteQueueRequest < Struct.new(
3072
+ :instance_id,
3073
+ :queue_id)
3074
+ SENSITIVE = []
3075
+ include Aws::Structure
3076
+ end
3077
+
3056
3078
  # @!attribute [rw] instance_id
3057
3079
  # The identifier of the Amazon Connect instance. You can [find the
3058
3080
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -3075,6 +3097,28 @@ module Aws::Connect
3075
3097
  include Aws::Structure
3076
3098
  end
3077
3099
 
3100
+ # @!attribute [rw] instance_id
3101
+ # The identifier of the Amazon Connect instance. You can [find the
3102
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
3103
+ #
3104
+ #
3105
+ #
3106
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
3107
+ # @return [String]
3108
+ #
3109
+ # @!attribute [rw] routing_profile_id
3110
+ # The identifier of the routing profile.
3111
+ # @return [String]
3112
+ #
3113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteRoutingProfileRequest AWS API Documentation
3114
+ #
3115
+ class DeleteRoutingProfileRequest < Struct.new(
3116
+ :instance_id,
3117
+ :routing_profile_id)
3118
+ SENSITIVE = []
3119
+ include Aws::Structure
3120
+ end
3121
+
3078
3122
  # @!attribute [rw] instance_id
3079
3123
  # The identifier of the Amazon Connect instance. You can [find the
3080
3124
  # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
@@ -7091,8 +7135,8 @@ module Aws::Connect
7091
7135
  # @return [Boolean]
7092
7136
  #
7093
7137
  # @!attribute [rw] instance_access_url
7094
- # This URL allows contact center users to access Amazon Connect admin
7095
- # website.
7138
+ # This URL allows contact center users to access the Amazon Connect
7139
+ # admin website.
7096
7140
  # @return [String]
7097
7141
  #
7098
7142
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Instance AWS API Documentation
@@ -7206,8 +7250,8 @@ module Aws::Connect
7206
7250
  # @return [Boolean]
7207
7251
  #
7208
7252
  # @!attribute [rw] instance_access_url
7209
- # This URL allows contact center users to access Amazon Connect admin
7210
- # website.
7253
+ # This URL allows contact center users to access the Amazon Connect
7254
+ # admin website.
7211
7255
  # @return [String]
7212
7256
  #
7213
7257
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/InstanceSummary AWS API Documentation
@@ -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.119.0'
55
+ GEM_VERSION = '1.120.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.119.0
4
+ version: 1.120.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-07-11 00:00:00.000000000 Z
11
+ date: 2023-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core