aws-sdk-identitystore 1.61.0 → 1.63.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: 81ae79e73e3dc34ffafadacd524d96867103d7971ac4d7eba64349add070f37d
4
- data.tar.gz: 38d18390635bd5177b912c9b8ae9b18313916f5dfb0c7f4be988aeff2096e777
3
+ metadata.gz: f8a0eff9ffc10a97b8fd7c7f3c5def7252be9d90c76b0cdd606af6bb17f51460
4
+ data.tar.gz: 426a927eb08e0b20455b2268b62d3c90923f0f3fea5e94a6f2a8eaeb490a3349
5
5
  SHA512:
6
- metadata.gz: 403d8db17463eb9cd10a1b0e36701c15a827f517b64e91bf979fea837fff9ce3c81f6ab14233841214eea104e121f61b57384900a7429712343e4d00ca704ed8
7
- data.tar.gz: c5e1f044de933689f1cade160bd3b5cd73933f69ef51d32d4fd6383b0895e21975991569b2df59b4c00673f30de82e892a539dbb70d7816672c659aa4fcd1c22
6
+ metadata.gz: 43ba50a4214a2e1af96dc836ce028d4bc93ee40e57da0362bab77f17fef27a845a2549977b7d93499a83295000d413ea0bfd76a8a55b65f5dfc7ae5c478b06f4
7
+ data.tar.gz: eb57f7ef5da60cea0faf64611c7684e0c33ad41c11950f49875a8d4c6ed14ae0e288f511367564e99b2d4d1d333a8283a5f8ac7eb15b99e771e21ed428cf3f18
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.0 (2026-01-02)
5
+ ------------------
6
+
7
+ * Feature - This change introduces "Roles" attribute for User entities supported by AWS Identity Store SDK.
8
+
9
+ 1.62.0 (2025-12-08)
10
+ ------------------
11
+
12
+ * Feature - Updating AWS Identity Store APIs to support Attribute Extensions capability, with the first release adding Enterprise Attributes. This launch aligns Identity Store APIs with SCIM for enterprise attributes, reducing cases when customers are forced to use SCIM due to lack of SigV4 API support.
13
+
4
14
  1.61.0 (2025-11-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
1
+ 1.63.0
@@ -639,6 +639,16 @@ module Aws::IdentityStore
639
639
  # The user's birthdate in YYYY-MM-DD format. This field supports
640
640
  # standard date format for storing personal information.
641
641
  #
642
+ # @option params [Array<Types::Role>] :roles
643
+ # A list of `Role` objects containing roles associated with the user.
644
+ #
645
+ # @option params [Hash<String,Hash,Array,String,Numeric,Boolean>] :extensions
646
+ # A map with additional attribute extensions for the user. Each map key
647
+ # corresponds to an extension name, while map values represent extension
648
+ # data in `Document` type (not supported by Java V1, Go V1 and older
649
+ # versions of the CLI). `aws:identitystore:enterprise` is the only
650
+ # supported extension name.
651
+ #
642
652
  # @return [Types::CreateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
643
653
  #
644
654
  # * {Types::CreateUserResponse#identity_store_id #identity_store_id} => String
@@ -701,6 +711,16 @@ module Aws::IdentityStore
701
711
  # ],
702
712
  # website: "SensitiveStringType",
703
713
  # birthdate: "SensitiveStringType",
714
+ # roles: [
715
+ # {
716
+ # value: "SensitiveStringType",
717
+ # type: "SensitiveStringType",
718
+ # primary: false,
719
+ # },
720
+ # ],
721
+ # extensions: {
722
+ # "ExtensionName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
723
+ # },
704
724
  # })
705
725
  #
706
726
  # @example Response structure
@@ -943,6 +963,11 @@ module Aws::IdentityStore
943
963
  # @option params [required, String] :user_id
944
964
  # The identifier for a user in the identity store.
945
965
  #
966
+ # @option params [Array<String>] :extensions
967
+ # A collection of extension names indicating what extensions the service
968
+ # should retrieve alongside other user attributes.
969
+ # `aws:identitystore:enterprise` is the only supported extension name.
970
+ #
946
971
  # @return [Types::DescribeUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
947
972
  #
948
973
  # * {Types::DescribeUserResponse#identity_store_id #identity_store_id} => String
@@ -965,16 +990,19 @@ module Aws::IdentityStore
965
990
  # * {Types::DescribeUserResponse#photos #photos} => Array&lt;Types::Photo&gt;
966
991
  # * {Types::DescribeUserResponse#website #website} => String
967
992
  # * {Types::DescribeUserResponse#birthdate #birthdate} => String
993
+ # * {Types::DescribeUserResponse#roles #roles} => Array&lt;Types::Role&gt;
968
994
  # * {Types::DescribeUserResponse#created_at #created_at} => Time
969
995
  # * {Types::DescribeUserResponse#created_by #created_by} => String
970
996
  # * {Types::DescribeUserResponse#updated_at #updated_at} => Time
971
997
  # * {Types::DescribeUserResponse#updated_by #updated_by} => String
998
+ # * {Types::DescribeUserResponse#extensions #extensions} => Hash&lt;String,Hash,Array,String,Numeric,Boolean&gt;
972
999
  #
973
1000
  # @example Request syntax with placeholder values
974
1001
  #
975
1002
  # resp = client.describe_user({
976
1003
  # identity_store_id: "IdentityStoreId", # required
977
1004
  # user_id: "ResourceId", # required
1005
+ # extensions: ["ExtensionName"],
978
1006
  # })
979
1007
  #
980
1008
  # @example Response structure
@@ -1024,10 +1052,16 @@ module Aws::IdentityStore
1024
1052
  # resp.photos[0].primary #=> Boolean
1025
1053
  # resp.website #=> String
1026
1054
  # resp.birthdate #=> String
1055
+ # resp.roles #=> Array
1056
+ # resp.roles[0].value #=> String
1057
+ # resp.roles[0].type #=> String
1058
+ # resp.roles[0].primary #=> Boolean
1027
1059
  # resp.created_at #=> Time
1028
1060
  # resp.created_by #=> String
1029
1061
  # resp.updated_at #=> Time
1030
1062
  # resp.updated_by #=> String
1063
+ # resp.extensions #=> Hash
1064
+ # resp.extensions["ExtensionName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1031
1065
  #
1032
1066
  # @see http://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/DescribeUser AWS API Documentation
1033
1067
  #
@@ -1516,6 +1550,11 @@ module Aws::IdentityStore
1516
1550
  # lower case letters. This value is generated at the time that a new
1517
1551
  # identity store is created.
1518
1552
  #
1553
+ # @option params [Array<String>] :extensions
1554
+ # A collection of extension names indicating what extensions the service
1555
+ # should retrieve alongside other user attributes.
1556
+ # `aws:identitystore:enterprise` is the only supported extension name.
1557
+ #
1519
1558
  # @option params [Integer] :max_results
1520
1559
  # The maximum number of results to be returned per request. This
1521
1560
  # parameter is used in the ` ListUsers` and `ListGroups` requests to
@@ -1544,6 +1583,7 @@ module Aws::IdentityStore
1544
1583
  #
1545
1584
  # resp = client.list_users({
1546
1585
  # identity_store_id: "IdentityStoreId", # required
1586
+ # extensions: ["ExtensionName"],
1547
1587
  # max_results: 1,
1548
1588
  # next_token: "NextToken",
1549
1589
  # filters: [
@@ -1602,10 +1642,16 @@ module Aws::IdentityStore
1602
1642
  # resp.users[0].photos[0].primary #=> Boolean
1603
1643
  # resp.users[0].website #=> String
1604
1644
  # resp.users[0].birthdate #=> String
1645
+ # resp.users[0].roles #=> Array
1646
+ # resp.users[0].roles[0].value #=> String
1647
+ # resp.users[0].roles[0].type #=> String
1648
+ # resp.users[0].roles[0].primary #=> Boolean
1605
1649
  # resp.users[0].created_at #=> Time
1606
1650
  # resp.users[0].created_by #=> String
1607
1651
  # resp.users[0].updated_at #=> Time
1608
1652
  # resp.users[0].updated_by #=> String
1653
+ # resp.users[0].extensions #=> Hash
1654
+ # resp.users[0].extensions["ExtensionName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1609
1655
  # resp.next_token #=> String
1610
1656
  #
1611
1657
  # @see http://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/ListUsers AWS API Documentation
@@ -1721,7 +1767,7 @@ module Aws::IdentityStore
1721
1767
  tracer: tracer
1722
1768
  )
1723
1769
  context[:gem_name] = 'aws-sdk-identitystore'
1724
- context[:gem_version] = '1.61.0'
1770
+ context[:gem_version] = '1.63.0'
1725
1771
  Seahorse::Client::Request.new(handlers, context)
1726
1772
  end
1727
1773
 
@@ -23,6 +23,7 @@ module Aws::IdentityStore
23
23
  AttributeOperations = Shapes::ListShape.new(name: 'AttributeOperations')
24
24
  AttributePath = Shapes::StringShape.new(name: 'AttributePath')
25
25
  AttributeValue = Shapes::DocumentShape.new(name: 'AttributeValue', document: true)
26
+ BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
26
27
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
27
28
  ConflictExceptionReason = Shapes::StringShape.new(name: 'ConflictExceptionReason')
28
29
  CreateGroupMembershipRequest = Shapes::StructureShape.new(name: 'CreateGroupMembershipRequest')
@@ -47,6 +48,9 @@ module Aws::IdentityStore
47
48
  Email = Shapes::StructureShape.new(name: 'Email')
48
49
  Emails = Shapes::ListShape.new(name: 'Emails')
49
50
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
51
+ ExtensionName = Shapes::StringShape.new(name: 'ExtensionName')
52
+ ExtensionNames = Shapes::ListShape.new(name: 'ExtensionNames')
53
+ Extensions = Shapes::MapShape.new(name: 'Extensions')
50
54
  ExternalId = Shapes::StructureShape.new(name: 'ExternalId')
51
55
  ExternalIdIdentifier = Shapes::StringShape.new(name: 'ExternalIdIdentifier')
52
56
  ExternalIdIssuer = Shapes::StringShape.new(name: 'ExternalIdIssuer')
@@ -93,7 +97,8 @@ module Aws::IdentityStore
93
97
  ResourceNotFoundExceptionReason = Shapes::StringShape.new(name: 'ResourceNotFoundExceptionReason')
94
98
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
95
99
  RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
96
- SensitiveBooleanType = Shapes::BooleanShape.new(name: 'SensitiveBooleanType')
100
+ Role = Shapes::StructureShape.new(name: 'Role')
101
+ Roles = Shapes::ListShape.new(name: 'Roles')
97
102
  SensitiveStringType = Shapes::StringShape.new(name: 'SensitiveStringType')
98
103
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
99
104
  StringType = Shapes::StringShape.new(name: 'StringType')
@@ -123,7 +128,7 @@ module Aws::IdentityStore
123
128
  Address.add_member(:country, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Country"))
124
129
  Address.add_member(:formatted, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Formatted"))
125
130
  Address.add_member(:type, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Type"))
126
- Address.add_member(:primary, Shapes::ShapeRef.new(shape: SensitiveBooleanType, location_name: "Primary"))
131
+ Address.add_member(:primary, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Primary"))
127
132
  Address.struct_class = Types::Address
128
133
 
129
134
  Addresses.member = Shapes::ShapeRef.new(shape: Address)
@@ -182,6 +187,8 @@ module Aws::IdentityStore
182
187
  CreateUserRequest.add_member(:photos, Shapes::ShapeRef.new(shape: Photos, location_name: "Photos"))
183
188
  CreateUserRequest.add_member(:website, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Website"))
184
189
  CreateUserRequest.add_member(:birthdate, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Birthdate"))
190
+ CreateUserRequest.add_member(:roles, Shapes::ShapeRef.new(shape: Roles, location_name: "Roles"))
191
+ CreateUserRequest.add_member(:extensions, Shapes::ShapeRef.new(shape: Extensions, location_name: "Extensions"))
185
192
  CreateUserRequest.struct_class = Types::CreateUserRequest
186
193
 
187
194
  CreateUserResponse.add_member(:identity_store_id, Shapes::ShapeRef.new(shape: IdentityStoreId, required: true, location_name: "IdentityStoreId"))
@@ -237,6 +244,7 @@ module Aws::IdentityStore
237
244
 
238
245
  DescribeUserRequest.add_member(:identity_store_id, Shapes::ShapeRef.new(shape: IdentityStoreId, required: true, location_name: "IdentityStoreId"))
239
246
  DescribeUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "UserId"))
247
+ DescribeUserRequest.add_member(:extensions, Shapes::ShapeRef.new(shape: ExtensionNames, location_name: "Extensions"))
240
248
  DescribeUserRequest.struct_class = Types::DescribeUserRequest
241
249
 
242
250
  DescribeUserResponse.add_member(:identity_store_id, Shapes::ShapeRef.new(shape: IdentityStoreId, required: true, location_name: "IdentityStoreId"))
@@ -259,19 +267,26 @@ module Aws::IdentityStore
259
267
  DescribeUserResponse.add_member(:photos, Shapes::ShapeRef.new(shape: Photos, location_name: "Photos"))
260
268
  DescribeUserResponse.add_member(:website, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Website"))
261
269
  DescribeUserResponse.add_member(:birthdate, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Birthdate"))
270
+ DescribeUserResponse.add_member(:roles, Shapes::ShapeRef.new(shape: Roles, location_name: "Roles"))
262
271
  DescribeUserResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "CreatedAt"))
263
272
  DescribeUserResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: StringType, location_name: "CreatedBy"))
264
273
  DescribeUserResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "UpdatedAt"))
265
274
  DescribeUserResponse.add_member(:updated_by, Shapes::ShapeRef.new(shape: StringType, location_name: "UpdatedBy"))
275
+ DescribeUserResponse.add_member(:extensions, Shapes::ShapeRef.new(shape: Extensions, location_name: "Extensions"))
266
276
  DescribeUserResponse.struct_class = Types::DescribeUserResponse
267
277
 
268
278
  Email.add_member(:value, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Value"))
269
279
  Email.add_member(:type, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Type"))
270
- Email.add_member(:primary, Shapes::ShapeRef.new(shape: SensitiveBooleanType, location_name: "Primary"))
280
+ Email.add_member(:primary, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Primary"))
271
281
  Email.struct_class = Types::Email
272
282
 
273
283
  Emails.member = Shapes::ShapeRef.new(shape: Email)
274
284
 
285
+ ExtensionNames.member = Shapes::ShapeRef.new(shape: ExtensionName)
286
+
287
+ Extensions.key = Shapes::ShapeRef.new(shape: ExtensionName)
288
+ Extensions.value = Shapes::ShapeRef.new(shape: AttributeValue)
289
+
275
290
  ExternalId.add_member(:issuer, Shapes::ShapeRef.new(shape: ExternalIdIssuer, required: true, location_name: "Issuer"))
276
291
  ExternalId.add_member(:id, Shapes::ShapeRef.new(shape: ExternalIdIdentifier, required: true, location_name: "Id"))
277
292
  ExternalId.struct_class = Types::ExternalId
@@ -334,7 +349,7 @@ module Aws::IdentityStore
334
349
 
335
350
  GroupMembershipExistenceResult.add_member(:group_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "GroupId"))
336
351
  GroupMembershipExistenceResult.add_member(:member_id, Shapes::ShapeRef.new(shape: MemberId, location_name: "MemberId"))
337
- GroupMembershipExistenceResult.add_member(:membership_exists, Shapes::ShapeRef.new(shape: SensitiveBooleanType, location_name: "MembershipExists"))
352
+ GroupMembershipExistenceResult.add_member(:membership_exists, Shapes::ShapeRef.new(shape: BooleanType, location_name: "MembershipExists"))
338
353
  GroupMembershipExistenceResult.struct_class = Types::GroupMembershipExistenceResult
339
354
 
340
355
  GroupMembershipExistenceResults.member = Shapes::ShapeRef.new(shape: GroupMembershipExistenceResult)
@@ -387,6 +402,7 @@ module Aws::IdentityStore
387
402
  ListGroupsResponse.struct_class = Types::ListGroupsResponse
388
403
 
389
404
  ListUsersRequest.add_member(:identity_store_id, Shapes::ShapeRef.new(shape: IdentityStoreId, required: true, location_name: "IdentityStoreId"))
405
+ ListUsersRequest.add_member(:extensions, Shapes::ShapeRef.new(shape: ExtensionNames, location_name: "Extensions"))
390
406
  ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box" => true}))
391
407
  ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
392
408
  ListUsersRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, deprecated: true, location_name: "Filters", metadata: {"deprecatedMessage" => "Using filters with ListUsers API is deprecated, please use GetGroupId API instead."}))
@@ -412,7 +428,7 @@ module Aws::IdentityStore
412
428
 
413
429
  PhoneNumber.add_member(:value, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Value"))
414
430
  PhoneNumber.add_member(:type, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Type"))
415
- PhoneNumber.add_member(:primary, Shapes::ShapeRef.new(shape: SensitiveBooleanType, location_name: "Primary"))
431
+ PhoneNumber.add_member(:primary, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Primary"))
416
432
  PhoneNumber.struct_class = Types::PhoneNumber
417
433
 
418
434
  PhoneNumbers.member = Shapes::ShapeRef.new(shape: PhoneNumber)
@@ -420,7 +436,7 @@ module Aws::IdentityStore
420
436
  Photo.add_member(:value, Shapes::ShapeRef.new(shape: SensitiveStringType, required: true, location_name: "Value"))
421
437
  Photo.add_member(:type, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Type"))
422
438
  Photo.add_member(:display, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Display"))
423
- Photo.add_member(:primary, Shapes::ShapeRef.new(shape: SensitiveBooleanType, location_name: "Primary"))
439
+ Photo.add_member(:primary, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Primary"))
424
440
  Photo.struct_class = Types::Photo
425
441
 
426
442
  Photos.member = Shapes::ShapeRef.new(shape: Photo)
@@ -432,6 +448,13 @@ module Aws::IdentityStore
432
448
  ResourceNotFoundException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
433
449
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
434
450
 
451
+ Role.add_member(:value, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Value"))
452
+ Role.add_member(:type, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Type"))
453
+ Role.add_member(:primary, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Primary"))
454
+ Role.struct_class = Types::Role
455
+
456
+ Roles.member = Shapes::ShapeRef.new(shape: Role)
457
+
435
458
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
436
459
  ServiceQuotaExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
437
460
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
@@ -480,10 +503,12 @@ module Aws::IdentityStore
480
503
  User.add_member(:photos, Shapes::ShapeRef.new(shape: Photos, location_name: "Photos"))
481
504
  User.add_member(:website, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Website"))
482
505
  User.add_member(:birthdate, Shapes::ShapeRef.new(shape: SensitiveStringType, location_name: "Birthdate"))
506
+ User.add_member(:roles, Shapes::ShapeRef.new(shape: Roles, location_name: "Roles"))
483
507
  User.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "CreatedAt"))
484
508
  User.add_member(:created_by, Shapes::ShapeRef.new(shape: StringType, location_name: "CreatedBy"))
485
509
  User.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "UpdatedAt"))
486
510
  User.add_member(:updated_by, Shapes::ShapeRef.new(shape: StringType, location_name: "UpdatedBy"))
511
+ User.add_member(:extensions, Shapes::ShapeRef.new(shape: Extensions, location_name: "Extensions"))
487
512
  User.struct_class = Types::User
488
513
 
489
514
  Users.member = Shapes::ShapeRef.new(shape: User)
@@ -84,7 +84,7 @@ module Aws::IdentityStore
84
84
  :formatted,
85
85
  :type,
86
86
  :primary)
87
- SENSITIVE = [:street_address, :locality, :region, :postal_code, :country, :formatted, :type, :primary]
87
+ SENSITIVE = [:street_address, :locality, :region, :postal_code, :country, :formatted, :type]
88
88
  include Aws::Structure
89
89
  end
90
90
 
@@ -161,14 +161,9 @@ module Aws::IdentityStore
161
161
  # @return [String]
162
162
  #
163
163
  # @!attribute [rw] reason
164
- # This request cannot be completed for one of the following reasons:
165
- #
166
- # * Performing the requested operation would violate an existing
167
- # uniqueness claim in the identity store. Resolve the conflict
168
- # before retrying this request.
169
- #
170
- # * The requested resource was being concurrently modified by another
171
- # request.
164
+ # Indicates the reason for a conflict error when the service is unable
165
+ # to access a Customer Managed KMS key. For non-KMS permission errors,
166
+ # this field is not included.
172
167
  # @return [String]
173
168
  #
174
169
  # @see http://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/ConflictException AWS API Documentation
@@ -353,6 +348,18 @@ module Aws::IdentityStore
353
348
  # standard date format for storing personal information.
354
349
  # @return [String]
355
350
  #
351
+ # @!attribute [rw] roles
352
+ # A list of `Role` objects containing roles associated with the user.
353
+ # @return [Array<Types::Role>]
354
+ #
355
+ # @!attribute [rw] extensions
356
+ # A map with additional attribute extensions for the user. Each map
357
+ # key corresponds to an extension name, while map values represent
358
+ # extension data in `Document` type (not supported by Java V1, Go V1
359
+ # and older versions of the CLI). `aws:identitystore:enterprise` is
360
+ # the only supported extension name.
361
+ # @return [Hash<String,Hash,Array,String,Numeric,Boolean>]
362
+ #
356
363
  # @see http://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/CreateUserRequest AWS API Documentation
357
364
  #
358
365
  class CreateUserRequest < Struct.new(
@@ -372,7 +379,9 @@ module Aws::IdentityStore
372
379
  :timezone,
373
380
  :photos,
374
381
  :website,
375
- :birthdate)
382
+ :birthdate,
383
+ :roles,
384
+ :extensions)
376
385
  SENSITIVE = [:user_name, :display_name, :nick_name, :profile_url, :user_type, :title, :preferred_language, :locale, :timezone, :website, :birthdate]
377
386
  include Aws::Structure
378
387
  end
@@ -614,11 +623,18 @@ module Aws::IdentityStore
614
623
  # The identifier for a user in the identity store.
615
624
  # @return [String]
616
625
  #
626
+ # @!attribute [rw] extensions
627
+ # A collection of extension names indicating what extensions the
628
+ # service should retrieve alongside other user attributes.
629
+ # `aws:identitystore:enterprise` is the only supported extension name.
630
+ # @return [Array<String>]
631
+ #
617
632
  # @see http://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/DescribeUserRequest AWS API Documentation
618
633
  #
619
634
  class DescribeUserRequest < Struct.new(
620
635
  :identity_store_id,
621
- :user_id)
636
+ :user_id,
637
+ :extensions)
622
638
  SENSITIVE = []
623
639
  include Aws::Structure
624
640
  end
@@ -712,6 +728,10 @@ module Aws::IdentityStore
712
728
  # stored birthdate information for the user.
713
729
  # @return [String]
714
730
  #
731
+ # @!attribute [rw] roles
732
+ # The roles of the user.
733
+ # @return [Array<Types::Role>]
734
+ #
715
735
  # @!attribute [rw] created_at
716
736
  # The date and time the user was created.
717
737
  # @return [Time]
@@ -728,6 +748,11 @@ module Aws::IdentityStore
728
748
  # The identifier of the user or system that last updated the user.
729
749
  # @return [String]
730
750
  #
751
+ # @!attribute [rw] extensions
752
+ # A map of explicitly requested attribute extensions associated with
753
+ # the user. Not populated if the user has no requested extensions.
754
+ # @return [Hash<String,Hash,Array,String,Numeric,Boolean>]
755
+ #
731
756
  # @see http://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/DescribeUserResponse AWS API Documentation
732
757
  #
733
758
  class DescribeUserResponse < Struct.new(
@@ -751,10 +776,12 @@ module Aws::IdentityStore
751
776
  :photos,
752
777
  :website,
753
778
  :birthdate,
779
+ :roles,
754
780
  :created_at,
755
781
  :created_by,
756
782
  :updated_at,
757
- :updated_by)
783
+ :updated_by,
784
+ :extensions)
758
785
  SENSITIVE = [:user_name, :display_name, :nick_name, :profile_url, :user_type, :title, :preferred_language, :locale, :timezone, :website, :birthdate]
759
786
  include Aws::Structure
760
787
  end
@@ -781,7 +808,7 @@ module Aws::IdentityStore
781
808
  :value,
782
809
  :type,
783
810
  :primary)
784
- SENSITIVE = [:value, :type, :primary]
811
+ SENSITIVE = [:value, :type]
785
812
  include Aws::Structure
786
813
  end
787
814
 
@@ -1088,7 +1115,7 @@ module Aws::IdentityStore
1088
1115
  :group_id,
1089
1116
  :member_id,
1090
1117
  :membership_exists)
1091
- SENSITIVE = [:membership_exists]
1118
+ SENSITIVE = []
1092
1119
  include Aws::Structure
1093
1120
  end
1094
1121
 
@@ -1337,6 +1364,12 @@ module Aws::IdentityStore
1337
1364
  # new identity store is created.
1338
1365
  # @return [String]
1339
1366
  #
1367
+ # @!attribute [rw] extensions
1368
+ # A collection of extension names indicating what extensions the
1369
+ # service should retrieve alongside other user attributes.
1370
+ # `aws:identitystore:enterprise` is the only supported extension name.
1371
+ # @return [Array<String>]
1372
+ #
1340
1373
  # @!attribute [rw] max_results
1341
1374
  # The maximum number of results to be returned per request. This
1342
1375
  # parameter is used in the ` ListUsers` and `ListGroups` requests to
@@ -1361,6 +1394,7 @@ module Aws::IdentityStore
1361
1394
  #
1362
1395
  class ListUsersRequest < Struct.new(
1363
1396
  :identity_store_id,
1397
+ :extensions,
1364
1398
  :max_results,
1365
1399
  :next_token,
1366
1400
  :filters)
@@ -1475,7 +1509,7 @@ module Aws::IdentityStore
1475
1509
  :value,
1476
1510
  :type,
1477
1511
  :primary)
1478
- SENSITIVE = [:value, :type, :primary]
1512
+ SENSITIVE = [:value, :type]
1479
1513
  include Aws::Structure
1480
1514
  end
1481
1515
 
@@ -1510,7 +1544,7 @@ module Aws::IdentityStore
1510
1544
  :type,
1511
1545
  :display,
1512
1546
  :primary)
1513
- SENSITIVE = [:value, :type, :display, :primary]
1547
+ SENSITIVE = [:value, :type, :display]
1514
1548
  include Aws::Structure
1515
1549
  end
1516
1550
 
@@ -1560,6 +1594,31 @@ module Aws::IdentityStore
1560
1594
  include Aws::Structure
1561
1595
  end
1562
1596
 
1597
+ # The role associated with the user.
1598
+ #
1599
+ # @!attribute [rw] value
1600
+ # A string containing a role name. For example, "Researcher."
1601
+ # @return [String]
1602
+ #
1603
+ # @!attribute [rw] type
1604
+ # A string representing the type of role. For example, "Work."
1605
+ # @return [String]
1606
+ #
1607
+ # @!attribute [rw] primary
1608
+ # A Boolean value representing whether this is the primary role for
1609
+ # the associated resource.
1610
+ # @return [Boolean]
1611
+ #
1612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/Role AWS API Documentation
1613
+ #
1614
+ class Role < Struct.new(
1615
+ :value,
1616
+ :type,
1617
+ :primary)
1618
+ SENSITIVE = [:value, :type]
1619
+ include Aws::Structure
1620
+ end
1621
+
1563
1622
  # The request would cause the number of users or groups in the identity
1564
1623
  # store to exceed the maximum allowed.
1565
1624
  #
@@ -1804,6 +1863,10 @@ module Aws::IdentityStore
1804
1863
  # personal birthdate information for the user.
1805
1864
  # @return [String]
1806
1865
  #
1866
+ # @!attribute [rw] roles
1867
+ # A list of `Role` objects containing roles associated with the user.
1868
+ # @return [Array<Types::Role>]
1869
+ #
1807
1870
  # @!attribute [rw] created_at
1808
1871
  # The date and time the user was created.
1809
1872
  # @return [Time]
@@ -1820,6 +1883,11 @@ module Aws::IdentityStore
1820
1883
  # The identifier of the user or system that last updated the user.
1821
1884
  # @return [String]
1822
1885
  #
1886
+ # @!attribute [rw] extensions
1887
+ # A map of explicitly requested attribute extensions associated with
1888
+ # the user. Not populated if the user has no requested extensions.
1889
+ # @return [Hash<String,Hash,Array,String,Numeric,Boolean>]
1890
+ #
1823
1891
  # @see http://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/User AWS API Documentation
1824
1892
  #
1825
1893
  class User < Struct.new(
@@ -1843,10 +1911,12 @@ module Aws::IdentityStore
1843
1911
  :photos,
1844
1912
  :website,
1845
1913
  :birthdate,
1914
+ :roles,
1846
1915
  :created_at,
1847
1916
  :created_by,
1848
1917
  :updated_at,
1849
- :updated_by)
1918
+ :updated_by,
1919
+ :extensions)
1850
1920
  SENSITIVE = [:user_name, :display_name, :nick_name, :profile_url, :user_type, :title, :preferred_language, :locale, :timezone, :website, :birthdate]
1851
1921
  include Aws::Structure
1852
1922
  end
@@ -54,7 +54,7 @@ module Aws::IdentityStore
54
54
  autoload :EndpointProvider, 'aws-sdk-identitystore/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-identitystore/endpoints'
56
56
 
57
- GEM_VERSION = '1.61.0'
57
+ GEM_VERSION = '1.63.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -167,7 +167,15 @@ module Aws
167
167
  },
168
168
  ],
169
169
  ?website: ::String,
170
- ?birthdate: ::String
170
+ ?birthdate: ::String,
171
+ ?roles: Array[
172
+ {
173
+ value: ::String?,
174
+ type: ::String?,
175
+ primary: bool?
176
+ },
177
+ ],
178
+ ?extensions: Hash[::String, untyped]
171
179
  ) -> _CreateUserResponseSuccess
172
180
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserResponseSuccess
173
181
 
@@ -260,15 +268,18 @@ module Aws
260
268
  def photos: () -> ::Array[Types::Photo]
261
269
  def website: () -> ::String
262
270
  def birthdate: () -> ::String
271
+ def roles: () -> ::Array[Types::Role]
263
272
  def created_at: () -> ::Time
264
273
  def created_by: () -> ::String
265
274
  def updated_at: () -> ::Time
266
275
  def updated_by: () -> ::String
276
+ def extensions: () -> ::Hash[::String, untyped]
267
277
  end
268
278
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IdentityStore/Client.html#describe_user-instance_method
269
279
  def describe_user: (
270
280
  identity_store_id: ::String,
271
- user_id: ::String
281
+ user_id: ::String,
282
+ ?extensions: Array[::String]
272
283
  ) -> _DescribeUserResponseSuccess
273
284
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeUserResponseSuccess
274
285
 
@@ -400,6 +411,7 @@ module Aws
400
411
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IdentityStore/Client.html#list_users-instance_method
401
412
  def list_users: (
402
413
  identity_store_id: ::String,
414
+ ?extensions: Array[::String],
403
415
  ?max_results: ::Integer,
404
416
  ?next_token: ::String,
405
417
  ?filters: Array[
data/sig/types.rbs CHANGED
@@ -24,7 +24,7 @@ module Aws::IdentityStore
24
24
  attr_accessor formatted: ::String
25
25
  attr_accessor type: ::String
26
26
  attr_accessor primary: bool
27
- SENSITIVE: [:street_address, :locality, :region, :postal_code, :country, :formatted, :type, :primary]
27
+ SENSITIVE: [:street_address, :locality, :region, :postal_code, :country, :formatted, :type]
28
28
  end
29
29
 
30
30
  class AlternateIdentifier
@@ -98,6 +98,8 @@ module Aws::IdentityStore
98
98
  attr_accessor photos: ::Array[Types::Photo]
99
99
  attr_accessor website: ::String
100
100
  attr_accessor birthdate: ::String
101
+ attr_accessor roles: ::Array[Types::Role]
102
+ attr_accessor extensions: ::Hash[::String, untyped]
101
103
  SENSITIVE: [:user_name, :display_name, :nick_name, :profile_url, :user_type, :title, :preferred_language, :locale, :timezone, :website, :birthdate]
102
104
  end
103
105
 
@@ -174,6 +176,7 @@ module Aws::IdentityStore
174
176
  class DescribeUserRequest
175
177
  attr_accessor identity_store_id: ::String
176
178
  attr_accessor user_id: ::String
179
+ attr_accessor extensions: ::Array[::String]
177
180
  SENSITIVE: []
178
181
  end
179
182
 
@@ -198,10 +201,12 @@ module Aws::IdentityStore
198
201
  attr_accessor photos: ::Array[Types::Photo]
199
202
  attr_accessor website: ::String
200
203
  attr_accessor birthdate: ::String
204
+ attr_accessor roles: ::Array[Types::Role]
201
205
  attr_accessor created_at: ::Time
202
206
  attr_accessor created_by: ::String
203
207
  attr_accessor updated_at: ::Time
204
208
  attr_accessor updated_by: ::String
209
+ attr_accessor extensions: ::Hash[::String, untyped]
205
210
  SENSITIVE: [:user_name, :display_name, :nick_name, :profile_url, :user_type, :title, :preferred_language, :locale, :timezone, :website, :birthdate]
206
211
  end
207
212
 
@@ -209,7 +214,7 @@ module Aws::IdentityStore
209
214
  attr_accessor value: ::String
210
215
  attr_accessor type: ::String
211
216
  attr_accessor primary: bool
212
- SENSITIVE: [:value, :type, :primary]
217
+ SENSITIVE: [:value, :type]
213
218
  end
214
219
 
215
220
  class ExternalId
@@ -290,7 +295,7 @@ module Aws::IdentityStore
290
295
  attr_accessor group_id: ::String
291
296
  attr_accessor member_id: Types::MemberId
292
297
  attr_accessor membership_exists: bool
293
- SENSITIVE: [:membership_exists]
298
+ SENSITIVE: []
294
299
  end
295
300
 
296
301
  class InternalServerException
@@ -356,6 +361,7 @@ module Aws::IdentityStore
356
361
 
357
362
  class ListUsersRequest
358
363
  attr_accessor identity_store_id: ::String
364
+ attr_accessor extensions: ::Array[::String]
359
365
  attr_accessor max_results: ::Integer
360
366
  attr_accessor next_token: ::String
361
367
  attr_accessor filters: ::Array[Types::Filter]
@@ -393,7 +399,7 @@ module Aws::IdentityStore
393
399
  attr_accessor value: ::String
394
400
  attr_accessor type: ::String
395
401
  attr_accessor primary: bool
396
- SENSITIVE: [:value, :type, :primary]
402
+ SENSITIVE: [:value, :type]
397
403
  end
398
404
 
399
405
  class Photo
@@ -401,11 +407,11 @@ module Aws::IdentityStore
401
407
  attr_accessor type: ::String
402
408
  attr_accessor display: ::String
403
409
  attr_accessor primary: bool
404
- SENSITIVE: [:value, :type, :display, :primary]
410
+ SENSITIVE: [:value, :type, :display]
405
411
  end
406
412
 
407
413
  class ResourceNotFoundException
408
- attr_accessor resource_type: ("GROUP" | "USER" | "IDENTITY_STORE" | "GROUP_MEMBERSHIP")
414
+ attr_accessor resource_type: ("GROUP" | "USER" | "IDENTITY_STORE" | "GROUP_MEMBERSHIP" | "RESOURCE_POLICY")
409
415
  attr_accessor resource_id: ::String
410
416
  attr_accessor reason: ("KMS_KEY_NOT_FOUND")
411
417
  attr_accessor message: ::String
@@ -413,6 +419,13 @@ module Aws::IdentityStore
413
419
  SENSITIVE: []
414
420
  end
415
421
 
422
+ class Role
423
+ attr_accessor value: ::String
424
+ attr_accessor type: ::String
425
+ attr_accessor primary: bool
426
+ SENSITIVE: [:value, :type]
427
+ end
428
+
416
429
  class ServiceQuotaExceededException
417
430
  attr_accessor message: ::String
418
431
  attr_accessor request_id: ::String
@@ -474,10 +487,12 @@ module Aws::IdentityStore
474
487
  attr_accessor photos: ::Array[Types::Photo]
475
488
  attr_accessor website: ::String
476
489
  attr_accessor birthdate: ::String
490
+ attr_accessor roles: ::Array[Types::Role]
477
491
  attr_accessor created_at: ::Time
478
492
  attr_accessor created_by: ::String
479
493
  attr_accessor updated_at: ::Time
480
494
  attr_accessor updated_by: ::String
495
+ attr_accessor extensions: ::Hash[::String, untyped]
481
496
  SENSITIVE: [:user_name, :display_name, :nick_name, :profile_url, :user_type, :title, :preferred_language, :locale, :timezone, :website, :birthdate]
482
497
  end
483
498
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-identitystore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.61.0
4
+ version: 1.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services