aws-sdk-connectcases 1.13.0 → 1.15.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5643e65b51fba85e796fe62c68b74593643dc14690668aaaf8c622f9cbeadee4
4
- data.tar.gz: 2c3464493b9a5473172c138e8315accf23876ad1782bdfb9618124c82988316b
3
+ metadata.gz: 4cabbc7fd00c05ea9b23cda701e2fdcfb3451311aa80b364bb1c8316b602c739
4
+ data.tar.gz: f7978bdf2077f0f6790596e18f2cb135ba7853fa7ca87e579c22fb3e9e77b8e4
5
5
  SHA512:
6
- metadata.gz: ff7ae393b3bb6f336d24d092e5665db55c55048dafb719cd6212ef0e9cca225bc38e066d2e2c53cf2f9fdfa7ae71606a1ca4c2851d235b2ad36cfffeeaccc507
7
- data.tar.gz: d64487ea6a6f710a102bccb57e9404626e59a70e1ac3b3b909a2ee9ace58a72f7e1498792dc812163a7fb8c0f3ff2799a23afbcd639212f0ff64c7b166c66677
6
+ metadata.gz: 6150ff8071b1eb0ddc22343bfcf0ff196505dc67106d1baa8910e43c51cf54a78079c8a3d99f451861a08163abfd90d6dca5f43b5839a5a071ec8006f6b853a8
7
+ data.tar.gz: 6135edb8db7b963396710397af79e9ea8b6fdccfba236fde3ac4f9b8453ceee514f86f900a7eadbdb1851f3aa3505a8f07a464fb1f47813b26f096efdb09751a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.14.0 (2023-10-25)
10
+ ------------------
11
+
12
+ * Feature - Increase maximum length of CommentBody to 3000, and increase maximum length of StringValue to 1500
13
+
4
14
  1.13.0 (2023-09-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.15.0
@@ -488,11 +488,9 @@ module Aws::ConnectCases
488
488
  # fields are taken as an array id/value pairs with a declared data
489
489
  # types.
490
490
  #
491
- # <note markdown="1"> The following fields are required when creating a case:
491
+ # The following fields are required when creating a case:
492
492
  #
493
- # <ul> <li> <p> <code>customer_id</code> - You must provide the full customer profile ARN in this format: <code>arn:aws:profile:your AWS Region:your AWS account ID:domains/profiles domain name/profiles/profile ID</code> </p> </li> <li> <p> <code>title</code> </p> </li> </ul> </note>
494
- #
495
- # </note>
493
+ # <ul> <li> <p> <code>customer_id</code> - You must provide the full customer profile ARN in this format: <code>arn:aws:profile:your_AWS_Region:your_AWS_account ID:domains/your_profiles_domain_name/profiles/profile_ID</code> </p> </li> <li> <p> <code>title</code> </p> </li> </ul>
496
494
  #
497
495
  # @option params [String] :client_token
498
496
  # A unique, case-sensitive identifier that you provide to ensure the
@@ -734,14 +732,24 @@ module Aws::ConnectCases
734
732
  # Creates a related item (comments, tasks, and contacts) and associates
735
733
  # it with a case.
736
734
  #
737
- # <note markdown="1"> A Related Item is a resource that is associated with a case. It may or
738
- # may not have an external identifier linking it to an external resource
739
- # (for example, a `contactArn`). All Related Items have their own
740
- # internal identifier, the `relatedItemArn`. Examples of related items
741
- # 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>
742
746
  #
743
747
  # </note>
744
748
  #
749
+ #
750
+ #
751
+ # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html
752
+ #
745
753
  # @option params [required, String] :case_id
746
754
  # A unique identifier of the case.
747
755
  #
@@ -751,6 +759,9 @@ module Aws::ConnectCases
751
759
  # @option params [required, String] :domain_id
752
760
  # The unique identifier of the Cases domain.
753
761
  #
762
+ # @option params [Types::UserUnion] :performed_by
763
+ # Represents the creator of the related item.
764
+ #
754
765
  # @option params [required, String] :type
755
766
  # The type of a related item.
756
767
  #
@@ -773,6 +784,9 @@ module Aws::ConnectCases
773
784
  # },
774
785
  # },
775
786
  # domain_id: "DomainId", # required
787
+ # performed_by: {
788
+ # user_arn: "UserArn",
789
+ # },
776
790
  # type: "Contact", # required, accepts Contact, Comment
777
791
  # })
778
792
  #
@@ -1419,7 +1433,13 @@ module Aws::ConnectCases
1419
1433
  req.send_request(options)
1420
1434
  end
1421
1435
 
1422
- # API for adding case event publishing configuration
1436
+ # Adds case event publishing configuration. For a complete list of
1437
+ # fields you can add to the event message, see [Create case fields][1]
1438
+ # in the *Amazon Connect Administrator Guide*
1439
+ #
1440
+ #
1441
+ #
1442
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-fields.html
1423
1443
  #
1424
1444
  # @option params [required, String] :domain_id
1425
1445
  # The unique identifier of the Cases domain.
@@ -1683,6 +1703,7 @@ module Aws::ConnectCases
1683
1703
  # resp.related_items[0].content.contact.channel #=> String
1684
1704
  # resp.related_items[0].content.contact.connected_to_system_time #=> Time
1685
1705
  # resp.related_items[0].content.contact.contact_arn #=> String
1706
+ # resp.related_items[0].performed_by.user_arn #=> String
1686
1707
  # resp.related_items[0].related_item_id #=> String
1687
1708
  # resp.related_items[0].tags #=> Hash
1688
1709
  # resp.related_items[0].tags["String"] #=> String
@@ -1848,7 +1869,7 @@ module Aws::ConnectCases
1848
1869
  #
1849
1870
  # @option params [Types::LayoutContent] :content
1850
1871
  # Information about which fields will be present in the layout, the
1851
- # order of the fields, and a read-only attribute of the field.
1872
+ # order of the fields.
1852
1873
  #
1853
1874
  # @option params [required, String] :domain_id
1854
1875
  # The unique identifier of the Cases domain.
@@ -1981,7 +2002,7 @@ module Aws::ConnectCases
1981
2002
  params: params,
1982
2003
  config: config)
1983
2004
  context[:gem_name] = 'aws-sdk-connectcases'
1984
- context[:gem_version] = '1.13.0'
2005
+ context[:gem_version] = '1.15.0'
1985
2006
  Seahorse::Client::Request.new(handlers, context)
1986
2007
  end
1987
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
 
@@ -32,7 +32,7 @@ module Aws::ConnectCases
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://cases-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -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)
@@ -2151,7 +2161,7 @@ module Aws::ConnectCases
2151
2161
 
2152
2162
  # @!attribute [rw] content
2153
2163
  # Information about which fields will be present in the layout, the
2154
- # order of the fields, and a read-only attribute of the field.
2164
+ # order of the fields.
2155
2165
  # @return [Types::LayoutContent]
2156
2166
  #
2157
2167
  # @!attribute [rw] domain_id
@@ -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.13.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.13.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-09-27 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