aws-sdk-connectcases 1.14.0 → 1.15.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: 885954bf955c97880de08c01615c86fd020c6b1183f04e5012b3e6df8ab5887f
4
- data.tar.gz: 2fd756ddd999e8b1dce323d79f492b8a95191d0d5d6319ece21ca8679bbed291
3
+ metadata.gz: 4cabbc7fd00c05ea9b23cda701e2fdcfb3451311aa80b364bb1c8316b602c739
4
+ data.tar.gz: f7978bdf2077f0f6790596e18f2cb135ba7853fa7ca87e579c22fb3e9e77b8e4
5
5
  SHA512:
6
- metadata.gz: 68434af9626a34e902aac63b5d65accae8d1ca172c36e31843e9190b67b4de6f9b7a570b1d4bad1c6eab0635fbd258203f2ba9f6deaf4444a2e582e17bc4f706
7
- data.tar.gz: 12c002618beb23bc5853d520fdaf4a81df4cb84ae33f46612304267174779bfa9e1ff5cc9c06b5fb2a73bdff7aa8a64c69744bacf420529cb6c31caa30697528
6
+ metadata.gz: 6150ff8071b1eb0ddc22343bfcf0ff196505dc67106d1baa8910e43c51cf54a78079c8a3d99f451861a08163abfd90d6dca5f43b5839a5a071ec8006f6b853a8
7
+ data.tar.gz: 6135edb8db7b963396710397af79e9ea8b6fdccfba236fde3ac4f9b8453ceee514f86f900a7eadbdb1851f3aa3505a8f07a464fb1f47813b26f096efdb09751a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2023-11-08)
5
+ ------------------
6
+
7
+ * 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
8
+
4
9
  1.14.0 (2023-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.15.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 or
736
- # may not have an external identifier linking it to an external resource
737
- # (for example, a `contactArn`). All Related Items have their own
738
- # internal identifier, the `relatedItemArn`. Examples of related items
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.14.0'
2005
+ context[:gem_version] = '1.15.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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connectcases/customizations'
52
52
  # @!group service
53
53
  module Aws::ConnectCases
54
54
 
55
- GEM_VERSION = '1.14.0'
55
+ GEM_VERSION = '1.15.0'
56
56
 
57
57
  end
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.14.0
4
+ version: 1.15.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-10-25 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core