aws-sdk-connectcases 1.14.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectcases/client.rb +23 -6
- data/lib/aws-sdk-connectcases/client_api.rb +10 -0
- data/lib/aws-sdk-connectcases/types.rb +33 -0
- data/lib/aws-sdk-connectcases.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24b661920713f8696cecdfcb0d10094f54a2bf266417a29a1c4903a94239cb3b
|
4
|
+
data.tar.gz: 48502b509d799f20512f4a2351683ea0d16f282fbfd864cc11a583cca18e1c12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c249bbc2a70035538dfea3450c9929e7fc59eaa81a2c99917c9279dadde4593d560210965ffd460b1c643d40b9290f053689ba8c3bebe5541f10eea5dcf006b
|
7
|
+
data.tar.gz: 260068ed54109b1bb707d6afcbfe7681f85cf954629685741b23fb5e63b7125885e0f448b9dabe6a03cffac3b0a202b3f06403b54d2bf1e6fb847301d70382f6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2023-11-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.15.0 (2023-11-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds the ability to add/view comment authors through CreateRelatedItem and SearchRelatedItems API. For more information see https://docs.aws.amazon.com/cases/latest/APIReference/Welcome.html
|
13
|
+
|
4
14
|
1.14.0 (2023-10-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -732,14 +732,24 @@ module Aws::ConnectCases
|
|
732
732
|
# Creates a related item (comments, tasks, and contacts) and associates
|
733
733
|
# it with a case.
|
734
734
|
#
|
735
|
-
# <note markdown="1"> A Related Item is a resource that is associated with a case. It may
|
736
|
-
# may not have an external identifier linking it to an external
|
737
|
-
# (for example, a `contactArn`). All Related Items have their
|
738
|
-
# internal identifier, the `relatedItemArn`. Examples of related
|
739
|
-
# include `comments` and `contacts`.
|
735
|
+
# <note markdown="1"> * A Related Item is a resource that is associated with a case. It may
|
736
|
+
# or may not have an external identifier linking it to an external
|
737
|
+
# resource (for example, a `contactArn`). All Related Items have their
|
738
|
+
# own internal identifier, the `relatedItemArn`. Examples of related
|
739
|
+
# items include `comments` and `contacts`.
|
740
|
+
#
|
741
|
+
# * If you provide a value for `performedBy.userArn` you must also have
|
742
|
+
# [DescribeUser][1] permission on the ARN of the user that you
|
743
|
+
# provide.
|
744
|
+
#
|
745
|
+
# </note>
|
740
746
|
#
|
741
747
|
# </note>
|
742
748
|
#
|
749
|
+
#
|
750
|
+
#
|
751
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html
|
752
|
+
#
|
743
753
|
# @option params [required, String] :case_id
|
744
754
|
# A unique identifier of the case.
|
745
755
|
#
|
@@ -749,6 +759,9 @@ module Aws::ConnectCases
|
|
749
759
|
# @option params [required, String] :domain_id
|
750
760
|
# The unique identifier of the Cases domain.
|
751
761
|
#
|
762
|
+
# @option params [Types::UserUnion] :performed_by
|
763
|
+
# Represents the creator of the related item.
|
764
|
+
#
|
752
765
|
# @option params [required, String] :type
|
753
766
|
# The type of a related item.
|
754
767
|
#
|
@@ -771,6 +784,9 @@ module Aws::ConnectCases
|
|
771
784
|
# },
|
772
785
|
# },
|
773
786
|
# domain_id: "DomainId", # required
|
787
|
+
# performed_by: {
|
788
|
+
# user_arn: "UserArn",
|
789
|
+
# },
|
774
790
|
# type: "Contact", # required, accepts Contact, Comment
|
775
791
|
# })
|
776
792
|
#
|
@@ -1687,6 +1703,7 @@ module Aws::ConnectCases
|
|
1687
1703
|
# resp.related_items[0].content.contact.channel #=> String
|
1688
1704
|
# resp.related_items[0].content.contact.connected_to_system_time #=> Time
|
1689
1705
|
# resp.related_items[0].content.contact.contact_arn #=> String
|
1706
|
+
# resp.related_items[0].performed_by.user_arn #=> String
|
1690
1707
|
# resp.related_items[0].related_item_id #=> String
|
1691
1708
|
# resp.related_items[0].tags #=> Hash
|
1692
1709
|
# resp.related_items[0].tags["String"] #=> String
|
@@ -1985,7 +2002,7 @@ module Aws::ConnectCases
|
|
1985
2002
|
params: params,
|
1986
2003
|
config: config)
|
1987
2004
|
context[:gem_name] = 'aws-sdk-connectcases'
|
1988
|
-
context[:gem_version] = '1.
|
2005
|
+
context[:gem_version] = '1.16.0'
|
1989
2006
|
Seahorse::Client::Request.new(handlers, context)
|
1990
2007
|
end
|
1991
2008
|
|
@@ -195,6 +195,8 @@ module Aws::ConnectCases
|
|
195
195
|
UpdateLayoutResponse = Shapes::StructureShape.new(name: 'UpdateLayoutResponse')
|
196
196
|
UpdateTemplateRequest = Shapes::StructureShape.new(name: 'UpdateTemplateRequest')
|
197
197
|
UpdateTemplateResponse = Shapes::StructureShape.new(name: 'UpdateTemplateResponse')
|
198
|
+
UserArn = Shapes::StringShape.new(name: 'UserArn')
|
199
|
+
UserUnion = Shapes::UnionShape.new(name: 'UserUnion')
|
198
200
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
199
201
|
Value = Shapes::StringShape.new(name: 'Value')
|
200
202
|
ValuesList = Shapes::ListShape.new(name: 'ValuesList')
|
@@ -322,6 +324,7 @@ module Aws::ConnectCases
|
|
322
324
|
CreateRelatedItemRequest.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, required: true, location: "uri", location_name: "caseId"))
|
323
325
|
CreateRelatedItemRequest.add_member(:content, Shapes::ShapeRef.new(shape: RelatedItemInputContent, required: true, location_name: "content"))
|
324
326
|
CreateRelatedItemRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location: "uri", location_name: "domainId"))
|
327
|
+
CreateRelatedItemRequest.add_member(:performed_by, Shapes::ShapeRef.new(shape: UserUnion, location_name: "performedBy"))
|
325
328
|
CreateRelatedItemRequest.add_member(:type, Shapes::ShapeRef.new(shape: RelatedItemType, required: true, location_name: "type"))
|
326
329
|
CreateRelatedItemRequest.struct_class = Types::CreateRelatedItemRequest
|
327
330
|
|
@@ -675,6 +678,7 @@ module Aws::ConnectCases
|
|
675
678
|
|
676
679
|
SearchRelatedItemsResponseItem.add_member(:association_time, Shapes::ShapeRef.new(shape: AssociationTime, required: true, location_name: "associationTime"))
|
677
680
|
SearchRelatedItemsResponseItem.add_member(:content, Shapes::ShapeRef.new(shape: RelatedItemContent, required: true, location_name: "content"))
|
681
|
+
SearchRelatedItemsResponseItem.add_member(:performed_by, Shapes::ShapeRef.new(shape: UserUnion, location_name: "performedBy"))
|
678
682
|
SearchRelatedItemsResponseItem.add_member(:related_item_id, Shapes::ShapeRef.new(shape: RelatedItemId, required: true, location_name: "relatedItemId"))
|
679
683
|
SearchRelatedItemsResponseItem.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
680
684
|
SearchRelatedItemsResponseItem.add_member(:type, Shapes::ShapeRef.new(shape: RelatedItemType, required: true, location_name: "type"))
|
@@ -757,6 +761,12 @@ module Aws::ConnectCases
|
|
757
761
|
|
758
762
|
UpdateTemplateResponse.struct_class = Types::UpdateTemplateResponse
|
759
763
|
|
764
|
+
UserUnion.add_member(:user_arn, Shapes::ShapeRef.new(shape: UserArn, location_name: "userArn"))
|
765
|
+
UserUnion.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
766
|
+
UserUnion.add_member_subclass(:user_arn, Types::UserUnion::UserArn)
|
767
|
+
UserUnion.add_member_subclass(:unknown, Types::UserUnion::Unknown)
|
768
|
+
UserUnion.struct_class = Types::UserUnion
|
769
|
+
|
760
770
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
761
771
|
ValidationException.struct_class = Types::ValidationException
|
762
772
|
|
@@ -472,6 +472,10 @@ module Aws::ConnectCases
|
|
472
472
|
# The unique identifier of the Cases domain.
|
473
473
|
# @return [String]
|
474
474
|
#
|
475
|
+
# @!attribute [rw] performed_by
|
476
|
+
# Represents the creator of the related item.
|
477
|
+
# @return [Types::UserUnion]
|
478
|
+
#
|
475
479
|
# @!attribute [rw] type
|
476
480
|
# The type of a related item.
|
477
481
|
# @return [String]
|
@@ -482,6 +486,7 @@ module Aws::ConnectCases
|
|
482
486
|
:case_id,
|
483
487
|
:content,
|
484
488
|
:domain_id,
|
489
|
+
:performed_by,
|
485
490
|
:type)
|
486
491
|
SENSITIVE = []
|
487
492
|
include Aws::Structure
|
@@ -1926,6 +1931,10 @@ module Aws::ConnectCases
|
|
1926
1931
|
# Represents the content of a particular type of related item.
|
1927
1932
|
# @return [Types::RelatedItemContent]
|
1928
1933
|
#
|
1934
|
+
# @!attribute [rw] performed_by
|
1935
|
+
# Represents the creator of the related item.
|
1936
|
+
# @return [Types::UserUnion]
|
1937
|
+
#
|
1929
1938
|
# @!attribute [rw] related_item_id
|
1930
1939
|
# Unique identifier of a related item.
|
1931
1940
|
# @return [String]
|
@@ -1944,6 +1953,7 @@ module Aws::ConnectCases
|
|
1944
1953
|
class SearchRelatedItemsResponseItem < Struct.new(
|
1945
1954
|
:association_time,
|
1946
1955
|
:content,
|
1956
|
+
:performed_by,
|
1947
1957
|
:related_item_id,
|
1948
1958
|
:tags,
|
1949
1959
|
:type)
|
@@ -2228,6 +2238,29 @@ module Aws::ConnectCases
|
|
2228
2238
|
#
|
2229
2239
|
class UpdateTemplateResponse < Aws::EmptyStructure; end
|
2230
2240
|
|
2241
|
+
# Represents the identity of the person who performed the action.
|
2242
|
+
#
|
2243
|
+
# @note UserUnion is a union - when making an API calls you must set exactly one of the members.
|
2244
|
+
#
|
2245
|
+
# @note UserUnion is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of UserUnion corresponding to the set member.
|
2246
|
+
#
|
2247
|
+
# @!attribute [rw] user_arn
|
2248
|
+
# Represents the Amazon Connect ARN of the user.
|
2249
|
+
# @return [String]
|
2250
|
+
#
|
2251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UserUnion AWS API Documentation
|
2252
|
+
#
|
2253
|
+
class UserUnion < Struct.new(
|
2254
|
+
:user_arn,
|
2255
|
+
:unknown)
|
2256
|
+
SENSITIVE = []
|
2257
|
+
include Aws::Structure
|
2258
|
+
include Aws::Structure::Union
|
2259
|
+
|
2260
|
+
class UserArn < UserUnion; end
|
2261
|
+
class Unknown < UserUnion; end
|
2262
|
+
end
|
2263
|
+
|
2231
2264
|
# The request isn't valid. Check the syntax and try again.
|
2232
2265
|
#
|
2233
2266
|
# @!attribute [rw] message
|
data/lib/aws-sdk-connectcases.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connectcases
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.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-
|
11
|
+
date: 2023-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.188.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.188.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '2.
|
83
|
+
version: '2.5'
|
84
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - ">="
|