aws-sdk-connect 1.70.0 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +42 -1
- data/lib/aws-sdk-connect/client_api.rb +23 -0
- data/lib/aws-sdk-connect/types.rb +36 -0
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34db8560c57988395b035ef80e9ea5b56675b5a89d630d6840cfa79a5f23b449
|
4
|
+
data.tar.gz: 32378f74df465824fb66fc400ded1826bad6ebadb5bbacebbeb567044a3bbab8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18f53eb7a3c632553a4a1a256d6072fc6ad9bd5086c68662f03788462cfda2ec5d7db7cea067b56c07be4dd2503d4589444624f7175f83d2a13cf82e71939e0b
|
7
|
+
data.tar.gz: 561baeeb267dfddda7833bf65b8b8a541f623111e668537fff808e5797f7ddf2c4fe517e61fafd723c409c4509d44da8cb98880d28d00b8e4b397437f9f10e14
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.71.0
|
@@ -5248,6 +5248,47 @@ module Aws::Connect
|
|
5248
5248
|
req.send_request(options)
|
5249
5249
|
end
|
5250
5250
|
|
5251
|
+
# Changes the current status of a user or agent in Amazon Connect. If
|
5252
|
+
# the agent is currently handling a contact, this sets the agent's next
|
5253
|
+
# status.
|
5254
|
+
#
|
5255
|
+
# For more information, see [Agent status][1] and [Set your next
|
5256
|
+
# status][2] in the *Amazon Connect Administrator Guide*.
|
5257
|
+
#
|
5258
|
+
#
|
5259
|
+
#
|
5260
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/metrics-agent-status.html
|
5261
|
+
# [2]: https://docs.aws.amazon.com/connect/latest/adminguide/set-next-status.html
|
5262
|
+
#
|
5263
|
+
# @option params [required, String] :user_id
|
5264
|
+
# The identifier of the user.
|
5265
|
+
#
|
5266
|
+
# @option params [required, String] :instance_id
|
5267
|
+
# The identifier of the Amazon Connect instance. You can find the
|
5268
|
+
# instanceId in the ARN of the instance.
|
5269
|
+
#
|
5270
|
+
# @option params [required, String] :agent_status_id
|
5271
|
+
# The identifier of the agent status.
|
5272
|
+
#
|
5273
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5274
|
+
#
|
5275
|
+
# @example Request syntax with placeholder values
|
5276
|
+
#
|
5277
|
+
# resp = client.put_user_status({
|
5278
|
+
# user_id: "UserId", # required
|
5279
|
+
# instance_id: "InstanceId", # required
|
5280
|
+
# agent_status_id: "AgentStatusId", # required
|
5281
|
+
# })
|
5282
|
+
#
|
5283
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PutUserStatus AWS API Documentation
|
5284
|
+
#
|
5285
|
+
# @overload put_user_status(params = {})
|
5286
|
+
# @param [Hash] params ({})
|
5287
|
+
def put_user_status(params = {}, options = {})
|
5288
|
+
req = build_request(:put_user_status, params)
|
5289
|
+
req.send_request(options)
|
5290
|
+
end
|
5291
|
+
|
5251
5292
|
# Releases a phone number previously claimed to an Amazon Connect
|
5252
5293
|
# instance.
|
5253
5294
|
#
|
@@ -7544,7 +7585,7 @@ module Aws::Connect
|
|
7544
7585
|
params: params,
|
7545
7586
|
config: config)
|
7546
7587
|
context[:gem_name] = 'aws-sdk-connect'
|
7547
|
-
context[:gem_version] = '1.
|
7588
|
+
context[:gem_version] = '1.71.0'
|
7548
7589
|
Seahorse::Client::Request.new(handlers, context)
|
7549
7590
|
end
|
7550
7591
|
|
@@ -399,6 +399,8 @@ module Aws::Connect
|
|
399
399
|
PromptName = Shapes::StringShape.new(name: 'PromptName')
|
400
400
|
PromptSummary = Shapes::StructureShape.new(name: 'PromptSummary')
|
401
401
|
PromptSummaryList = Shapes::ListShape.new(name: 'PromptSummaryList')
|
402
|
+
PutUserStatusRequest = Shapes::StructureShape.new(name: 'PutUserStatusRequest')
|
403
|
+
PutUserStatusResponse = Shapes::StructureShape.new(name: 'PutUserStatusResponse')
|
402
404
|
Queue = Shapes::StructureShape.new(name: 'Queue')
|
403
405
|
QueueDescription = Shapes::StringShape.new(name: 'QueueDescription')
|
404
406
|
QueueId = Shapes::StringShape.new(name: 'QueueId')
|
@@ -1801,6 +1803,13 @@ module Aws::Connect
|
|
1801
1803
|
|
1802
1804
|
PromptSummaryList.member = Shapes::ShapeRef.new(shape: PromptSummary)
|
1803
1805
|
|
1806
|
+
PutUserStatusRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
|
1807
|
+
PutUserStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
|
1808
|
+
PutUserStatusRequest.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, required: true, location_name: "AgentStatusId"))
|
1809
|
+
PutUserStatusRequest.struct_class = Types::PutUserStatusRequest
|
1810
|
+
|
1811
|
+
PutUserStatusResponse.struct_class = Types::PutUserStatusResponse
|
1812
|
+
|
1804
1813
|
Queue.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, location_name: "Name"))
|
1805
1814
|
Queue.add_member(:queue_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "QueueArn"))
|
1806
1815
|
Queue.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "QueueId"))
|
@@ -3891,6 +3900,20 @@ module Aws::Connect
|
|
3891
3900
|
)
|
3892
3901
|
end)
|
3893
3902
|
|
3903
|
+
api.add_operation(:put_user_status, Seahorse::Model::Operation.new.tap do |o|
|
3904
|
+
o.name = "PutUserStatus"
|
3905
|
+
o.http_method = "PUT"
|
3906
|
+
o.http_request_uri = "/users/{InstanceId}/{UserId}/status"
|
3907
|
+
o.input = Shapes::ShapeRef.new(shape: PutUserStatusRequest)
|
3908
|
+
o.output = Shapes::ShapeRef.new(shape: PutUserStatusResponse)
|
3909
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3910
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
3911
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3912
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3913
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3914
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3915
|
+
end)
|
3916
|
+
|
3894
3917
|
api.add_operation(:release_phone_number, Seahorse::Model::Operation.new.tap do |o|
|
3895
3918
|
o.name = "ReleasePhoneNumber"
|
3896
3919
|
o.http_method = "DELETE"
|
@@ -7128,6 +7128,42 @@ module Aws::Connect
|
|
7128
7128
|
include Aws::Structure
|
7129
7129
|
end
|
7130
7130
|
|
7131
|
+
# @note When making an API call, you may pass PutUserStatusRequest
|
7132
|
+
# data as a hash:
|
7133
|
+
#
|
7134
|
+
# {
|
7135
|
+
# user_id: "UserId", # required
|
7136
|
+
# instance_id: "InstanceId", # required
|
7137
|
+
# agent_status_id: "AgentStatusId", # required
|
7138
|
+
# }
|
7139
|
+
#
|
7140
|
+
# @!attribute [rw] user_id
|
7141
|
+
# The identifier of the user.
|
7142
|
+
# @return [String]
|
7143
|
+
#
|
7144
|
+
# @!attribute [rw] instance_id
|
7145
|
+
# The identifier of the Amazon Connect instance. You can find the
|
7146
|
+
# instanceId in the ARN of the instance.
|
7147
|
+
# @return [String]
|
7148
|
+
#
|
7149
|
+
# @!attribute [rw] agent_status_id
|
7150
|
+
# The identifier of the agent status.
|
7151
|
+
# @return [String]
|
7152
|
+
#
|
7153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PutUserStatusRequest AWS API Documentation
|
7154
|
+
#
|
7155
|
+
class PutUserStatusRequest < Struct.new(
|
7156
|
+
:user_id,
|
7157
|
+
:instance_id,
|
7158
|
+
:agent_status_id)
|
7159
|
+
SENSITIVE = []
|
7160
|
+
include Aws::Structure
|
7161
|
+
end
|
7162
|
+
|
7163
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PutUserStatusResponse AWS API Documentation
|
7164
|
+
#
|
7165
|
+
class PutUserStatusResponse < Aws::EmptyStructure; end
|
7166
|
+
|
7131
7167
|
# Contains information about a queue.
|
7132
7168
|
#
|
7133
7169
|
# @!attribute [rw] name
|
data/lib/aws-sdk-connect.rb
CHANGED
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.
|
4
|
+
version: 1.71.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: 2022-04-
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|