aws-sdk-identitystore 1.21.0 → 1.23.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: 6a9e90d632bab9e5d43e9a9f86a52f4e196d961da3636b5d8f5743c041a64db5
4
- data.tar.gz: 781dc0f7e3ce87662e12640f875da0c69e3504fd075ad769c52865945339978d
3
+ metadata.gz: 15294df7a15cd0b04e3649d9ad32a6c24de545de10b954665813f22534bc628e
4
+ data.tar.gz: 57e3f977d450491a4c7ec8b240d419b6495c3f669a52f5162df9f217a71d8af9
5
5
  SHA512:
6
- metadata.gz: 257e6abd7c5ab339f8e1d04bd55adc71647071eae7e8029225e58d8d70d3df3f36bc59c39570e59633347ee0c4e893f425d8567436628283fd847306d26be221
7
- data.tar.gz: 4f201ab43c8224f3acd6a1c2b59e7325b9626ecac1567188702574a263e8ec383019dcab993adbd98bb2d7f5d4e7a4916d2d0ff0b1fa4bc768d5346c98d28bb9
6
+ metadata.gz: 01fae7624aba8723045fdb63ebc0327ecc48129cb1556602e98037e1638b6467ab1043b49bab10d5427398931e6e9697dc245b890847ccbca15d24f69a637414
7
+ data.tar.gz: b9021d2deb0a94397dd1aec2f52a226fbbb6d25ef857eb623e9f5f749b6b97d753fe92492dd4b6ceecad84ad0049416c40c08d71ecd90643655282ad4fb44893
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.22.0 (2022-10-25)
12
+ ------------------
13
+
14
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
15
+
4
16
  1.21.0 (2022-09-22)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.0
1
+ 1.23.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:identitystore)
@@ -79,8 +79,9 @@ module Aws::IdentityStore
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::IdentityStore::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::IdentityStore
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::IdentityStore
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::IdentityStore::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::IdentityStore::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -1372,7 +1389,7 @@ module Aws::IdentityStore
1372
1389
  params: params,
1373
1390
  config: config)
1374
1391
  context[:gem_name] = 'aws-sdk-identitystore'
1375
- context[:gem_version] = '1.21.0'
1392
+ context[:gem_version] = '1.23.0'
1376
1393
  Seahorse::Client::Request.new(handlers, context)
1377
1394
  end
1378
1395
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::IdentityStore
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::IdentityStore
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://identitystore-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://identitystore.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ return Aws::Endpoints::Endpoint.new(url: "https://identitystore-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
39
+ end
40
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
41
+ end
42
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
43
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
44
+ return Aws::Endpoints::Endpoint.new(url: "https://identitystore.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
45
+ end
46
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
47
+ end
48
+ return Aws::Endpoints::Endpoint.new(url: "https://identitystore.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
49
+ end
50
+ raise ArgumentError, 'No endpoint could be resolved'
51
+
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,281 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::IdentityStore
12
+ module Endpoints
13
+
14
+ class CreateGroup
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::IdentityStore::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class CreateGroupMembership
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::IdentityStore::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class CreateUser
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::IdentityStore::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class DeleteGroup
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::IdentityStore::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DeleteGroupMembership
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::IdentityStore::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class DeleteUser
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::IdentityStore::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class DescribeGroup
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::IdentityStore::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class DescribeGroupMembership
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::IdentityStore::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class DescribeUser
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::IdentityStore::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class GetGroupId
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::IdentityStore::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class GetGroupMembershipId
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::IdentityStore::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class GetUserId
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::IdentityStore::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class IsMemberInGroups
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::IdentityStore::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class ListGroupMemberships
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::IdentityStore::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class ListGroupMembershipsForMember
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::IdentityStore::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_dual_stack: context.config.use_dualstack_endpoint,
218
+ use_fips: context.config.use_fips_endpoint,
219
+ endpoint: endpoint,
220
+ )
221
+ end
222
+ end
223
+
224
+ class ListGroups
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::IdentityStore::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
238
+ class ListUsers
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::IdentityStore::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
252
+ class UpdateGroup
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::IdentityStore::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
266
+ class UpdateUser
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::IdentityStore::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
280
+ end
281
+ end
@@ -0,0 +1,106 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::IdentityStore
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::IdentityStore::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::IdentityStore::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::IdentityStore::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_group
60
+ Aws::IdentityStore::Endpoints::CreateGroup.build(context)
61
+ when :create_group_membership
62
+ Aws::IdentityStore::Endpoints::CreateGroupMembership.build(context)
63
+ when :create_user
64
+ Aws::IdentityStore::Endpoints::CreateUser.build(context)
65
+ when :delete_group
66
+ Aws::IdentityStore::Endpoints::DeleteGroup.build(context)
67
+ when :delete_group_membership
68
+ Aws::IdentityStore::Endpoints::DeleteGroupMembership.build(context)
69
+ when :delete_user
70
+ Aws::IdentityStore::Endpoints::DeleteUser.build(context)
71
+ when :describe_group
72
+ Aws::IdentityStore::Endpoints::DescribeGroup.build(context)
73
+ when :describe_group_membership
74
+ Aws::IdentityStore::Endpoints::DescribeGroupMembership.build(context)
75
+ when :describe_user
76
+ Aws::IdentityStore::Endpoints::DescribeUser.build(context)
77
+ when :get_group_id
78
+ Aws::IdentityStore::Endpoints::GetGroupId.build(context)
79
+ when :get_group_membership_id
80
+ Aws::IdentityStore::Endpoints::GetGroupMembershipId.build(context)
81
+ when :get_user_id
82
+ Aws::IdentityStore::Endpoints::GetUserId.build(context)
83
+ when :is_member_in_groups
84
+ Aws::IdentityStore::Endpoints::IsMemberInGroups.build(context)
85
+ when :list_group_memberships
86
+ Aws::IdentityStore::Endpoints::ListGroupMemberships.build(context)
87
+ when :list_group_memberships_for_member
88
+ Aws::IdentityStore::Endpoints::ListGroupMembershipsForMember.build(context)
89
+ when :list_groups
90
+ Aws::IdentityStore::Endpoints::ListGroups.build(context)
91
+ when :list_users
92
+ Aws::IdentityStore::Endpoints::ListUsers.build(context)
93
+ when :update_group
94
+ Aws::IdentityStore::Endpoints::UpdateGroup.build(context)
95
+ when :update_user
96
+ Aws::IdentityStore::Endpoints::UpdateUser.build(context)
97
+ end
98
+ end
99
+ end
100
+
101
+ def add_handlers(handlers, _config)
102
+ handlers.add(Handler, step: :build, priority: 75)
103
+ end
104
+ end
105
+ end
106
+ end
@@ -33,20 +33,6 @@ module Aws::IdentityStore
33
33
 
34
34
  # The address associated with the specified user.
35
35
  #
36
- # @note When making an API call, you may pass Address
37
- # data as a hash:
38
- #
39
- # {
40
- # street_address: "SensitiveStringType",
41
- # locality: "SensitiveStringType",
42
- # region: "SensitiveStringType",
43
- # postal_code: "SensitiveStringType",
44
- # country: "SensitiveStringType",
45
- # formatted: "SensitiveStringType",
46
- # type: "SensitiveStringType",
47
- # primary: false,
48
- # }
49
- #
50
36
  # @!attribute [rw] street_address
51
37
  # The street of the address.
52
38
  # @return [String]
@@ -129,14 +115,6 @@ module Aws::IdentityStore
129
115
  # An operation that applies to the requested group. This operation might
130
116
  # add, replace, or remove an attribute.
131
117
  #
132
- # @note When making an API call, you may pass AttributeOperation
133
- # data as a hash:
134
- #
135
- # {
136
- # attribute_path: "AttributePath", # required
137
- # attribute_value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
138
- # }
139
- #
140
118
  # @!attribute [rw] attribute_path
141
119
  # A string representation of the path to a given attribute or
142
120
  # sub-attribute. Supports JMESPath.
@@ -196,17 +174,6 @@ module Aws::IdentityStore
196
174
  include Aws::Structure
197
175
  end
198
176
 
199
- # @note When making an API call, you may pass CreateGroupMembershipRequest
200
- # data as a hash:
201
- #
202
- # {
203
- # identity_store_id: "IdentityStoreId", # required
204
- # group_id: "ResourceId", # required
205
- # member_id: { # required
206
- # user_id: "ResourceId",
207
- # },
208
- # }
209
- #
210
177
  # @!attribute [rw] identity_store_id
211
178
  # The globally unique identifier for the identity store.
212
179
  # @return [String]
@@ -249,15 +216,6 @@ module Aws::IdentityStore
249
216
  include Aws::Structure
250
217
  end
251
218
 
252
- # @note When making an API call, you may pass CreateGroupRequest
253
- # data as a hash:
254
- #
255
- # {
256
- # identity_store_id: "IdentityStoreId", # required
257
- # display_name: "GroupDisplayName",
258
- # description: "SensitiveStringType",
259
- # }
260
- #
261
219
  # @!attribute [rw] identity_store_id
262
220
  # The globally unique identifier for the identity store.
263
221
  # @return [String]
@@ -298,56 +256,6 @@ module Aws::IdentityStore
298
256
  include Aws::Structure
299
257
  end
300
258
 
301
- # @note When making an API call, you may pass CreateUserRequest
302
- # data as a hash:
303
- #
304
- # {
305
- # identity_store_id: "IdentityStoreId", # required
306
- # user_name: "UserName",
307
- # name: {
308
- # formatted: "SensitiveStringType",
309
- # family_name: "SensitiveStringType",
310
- # given_name: "SensitiveStringType",
311
- # middle_name: "SensitiveStringType",
312
- # honorific_prefix: "SensitiveStringType",
313
- # honorific_suffix: "SensitiveStringType",
314
- # },
315
- # display_name: "SensitiveStringType",
316
- # nick_name: "SensitiveStringType",
317
- # profile_url: "SensitiveStringType",
318
- # emails: [
319
- # {
320
- # value: "SensitiveStringType",
321
- # type: "SensitiveStringType",
322
- # primary: false,
323
- # },
324
- # ],
325
- # addresses: [
326
- # {
327
- # street_address: "SensitiveStringType",
328
- # locality: "SensitiveStringType",
329
- # region: "SensitiveStringType",
330
- # postal_code: "SensitiveStringType",
331
- # country: "SensitiveStringType",
332
- # formatted: "SensitiveStringType",
333
- # type: "SensitiveStringType",
334
- # primary: false,
335
- # },
336
- # ],
337
- # phone_numbers: [
338
- # {
339
- # value: "SensitiveStringType",
340
- # type: "SensitiveStringType",
341
- # primary: false,
342
- # },
343
- # ],
344
- # user_type: "SensitiveStringType",
345
- # title: "SensitiveStringType",
346
- # preferred_language: "SensitiveStringType",
347
- # locale: "SensitiveStringType",
348
- # timezone: "SensitiveStringType",
349
- # }
350
- #
351
259
  # @!attribute [rw] identity_store_id
352
260
  # The globally unique identifier for the identity store.
353
261
  # @return [String]
@@ -455,14 +363,6 @@ module Aws::IdentityStore
455
363
  include Aws::Structure
456
364
  end
457
365
 
458
- # @note When making an API call, you may pass DeleteGroupMembershipRequest
459
- # data as a hash:
460
- #
461
- # {
462
- # identity_store_id: "IdentityStoreId", # required
463
- # membership_id: "ResourceId", # required
464
- # }
465
- #
466
366
  # @!attribute [rw] identity_store_id
467
367
  # The globally unique identifier for the identity store.
468
368
  # @return [String]
@@ -484,14 +384,6 @@ module Aws::IdentityStore
484
384
  #
485
385
  class DeleteGroupMembershipResponse < Aws::EmptyStructure; end
486
386
 
487
- # @note When making an API call, you may pass DeleteGroupRequest
488
- # data as a hash:
489
- #
490
- # {
491
- # identity_store_id: "IdentityStoreId", # required
492
- # group_id: "ResourceId", # required
493
- # }
494
- #
495
387
  # @!attribute [rw] identity_store_id
496
388
  # The globally unique identifier for the identity store.
497
389
  # @return [String]
@@ -513,14 +405,6 @@ module Aws::IdentityStore
513
405
  #
514
406
  class DeleteGroupResponse < Aws::EmptyStructure; end
515
407
 
516
- # @note When making an API call, you may pass DeleteUserRequest
517
- # data as a hash:
518
- #
519
- # {
520
- # identity_store_id: "IdentityStoreId", # required
521
- # user_id: "ResourceId", # required
522
- # }
523
- #
524
408
  # @!attribute [rw] identity_store_id
525
409
  # The globally unique identifier for the identity store.
526
410
  # @return [String]
@@ -542,14 +426,6 @@ module Aws::IdentityStore
542
426
  #
543
427
  class DeleteUserResponse < Aws::EmptyStructure; end
544
428
 
545
- # @note When making an API call, you may pass DescribeGroupMembershipRequest
546
- # data as a hash:
547
- #
548
- # {
549
- # identity_store_id: "IdentityStoreId", # required
550
- # membership_id: "ResourceId", # required
551
- # }
552
- #
553
429
  # @!attribute [rw] identity_store_id
554
430
  # The globally unique identifier for the identity store.
555
431
  # @return [String]
@@ -594,14 +470,6 @@ module Aws::IdentityStore
594
470
  include Aws::Structure
595
471
  end
596
472
 
597
- # @note When making an API call, you may pass DescribeGroupRequest
598
- # data as a hash:
599
- #
600
- # {
601
- # identity_store_id: "IdentityStoreId", # required
602
- # group_id: "ResourceId", # required
603
- # }
604
- #
605
473
  # @!attribute [rw] identity_store_id
606
474
  # The globally unique identifier for the identity store, such as
607
475
  # `d-1234567890`. In this example, `d-` is a fixed prefix, and
@@ -661,14 +529,6 @@ module Aws::IdentityStore
661
529
  include Aws::Structure
662
530
  end
663
531
 
664
- # @note When making an API call, you may pass DescribeUserRequest
665
- # data as a hash:
666
- #
667
- # {
668
- # identity_store_id: "IdentityStoreId", # required
669
- # user_id: "ResourceId", # required
670
- # }
671
- #
672
532
  # @!attribute [rw] identity_store_id
673
533
  # The globally unique identifier for the identity store, such as
674
534
  # `d-1234567890`. In this example, `d-` is a fixed prefix, and
@@ -784,15 +644,6 @@ module Aws::IdentityStore
784
644
 
785
645
  # The email address associated with the user.
786
646
  #
787
- # @note When making an API call, you may pass Email
788
- # data as a hash:
789
- #
790
- # {
791
- # value: "SensitiveStringType",
792
- # type: "SensitiveStringType",
793
- # primary: false,
794
- # }
795
- #
796
647
  # @!attribute [rw] value
797
648
  # A string containing an email address. For example,
798
649
  # "johndoe@amazon.com."
@@ -820,14 +671,6 @@ module Aws::IdentityStore
820
671
  # The identifier issued to this resource by an external identity
821
672
  # provider.
822
673
  #
823
- # @note When making an API call, you may pass ExternalId
824
- # data as a hash:
825
- #
826
- # {
827
- # issuer: "ExternalIdIssuer", # required
828
- # id: "ExternalIdIdentifier", # required
829
- # }
830
- #
831
674
  # @!attribute [rw] issuer
832
675
  # The issuer for an external identifier.
833
676
  # @return [String]
@@ -850,14 +693,6 @@ module Aws::IdentityStore
850
693
  # object provides the attribute name and attribute value to search users
851
694
  # or groups.
852
695
  #
853
- # @note When making an API call, you may pass Filter
854
- # data as a hash:
855
- #
856
- # {
857
- # attribute_path: "AttributePath", # required
858
- # attribute_value: "SensitiveStringType", # required
859
- # }
860
- #
861
696
  # @!attribute [rw] attribute_path
862
697
  # The attribute path that is used to specify which attribute name to
863
698
  # search. Length limit is 255 characters. For example, `UserName` is a
@@ -879,23 +714,6 @@ module Aws::IdentityStore
879
714
  include Aws::Structure
880
715
  end
881
716
 
882
- # @note When making an API call, you may pass GetGroupIdRequest
883
- # data as a hash:
884
- #
885
- # {
886
- # identity_store_id: "IdentityStoreId", # required
887
- # alternate_identifier: { # required
888
- # external_id: {
889
- # issuer: "ExternalIdIssuer", # required
890
- # id: "ExternalIdIdentifier", # required
891
- # },
892
- # unique_attribute: {
893
- # attribute_path: "AttributePath", # required
894
- # attribute_value: "value", # required, value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
895
- # },
896
- # },
897
- # }
898
- #
899
717
  # @!attribute [rw] identity_store_id
900
718
  # The globally unique identifier for the identity store.
901
719
  # @return [String]
@@ -933,17 +751,6 @@ module Aws::IdentityStore
933
751
  include Aws::Structure
934
752
  end
935
753
 
936
- # @note When making an API call, you may pass GetGroupMembershipIdRequest
937
- # data as a hash:
938
- #
939
- # {
940
- # identity_store_id: "IdentityStoreId", # required
941
- # group_id: "ResourceId", # required
942
- # member_id: { # required
943
- # user_id: "ResourceId",
944
- # },
945
- # }
946
- #
947
754
  # @!attribute [rw] identity_store_id
948
755
  # The globally unique identifier for the identity store.
949
756
  # @return [String]
@@ -985,23 +792,6 @@ module Aws::IdentityStore
985
792
  include Aws::Structure
986
793
  end
987
794
 
988
- # @note When making an API call, you may pass GetUserIdRequest
989
- # data as a hash:
990
- #
991
- # {
992
- # identity_store_id: "IdentityStoreId", # required
993
- # alternate_identifier: { # required
994
- # external_id: {
995
- # issuer: "ExternalIdIssuer", # required
996
- # id: "ExternalIdIdentifier", # required
997
- # },
998
- # unique_attribute: {
999
- # attribute_path: "AttributePath", # required
1000
- # attribute_value: "value", # required, value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1001
- # },
1002
- # },
1003
- # }
1004
- #
1005
795
  # @!attribute [rw] identity_store_id
1006
796
  # The globally unique identifier for the identity store.
1007
797
  # @return [String]
@@ -1167,17 +957,6 @@ module Aws::IdentityStore
1167
957
  include Aws::Structure
1168
958
  end
1169
959
 
1170
- # @note When making an API call, you may pass IsMemberInGroupsRequest
1171
- # data as a hash:
1172
- #
1173
- # {
1174
- # identity_store_id: "IdentityStoreId", # required
1175
- # member_id: { # required
1176
- # user_id: "ResourceId",
1177
- # },
1178
- # group_ids: ["ResourceId"], # required
1179
- # }
1180
- #
1181
960
  # @!attribute [rw] identity_store_id
1182
961
  # The globally unique identifier for the identity store.
1183
962
  # @return [String]
@@ -1212,18 +991,6 @@ module Aws::IdentityStore
1212
991
  include Aws::Structure
1213
992
  end
1214
993
 
1215
- # @note When making an API call, you may pass ListGroupMembershipsForMemberRequest
1216
- # data as a hash:
1217
- #
1218
- # {
1219
- # identity_store_id: "IdentityStoreId", # required
1220
- # member_id: { # required
1221
- # user_id: "ResourceId",
1222
- # },
1223
- # max_results: 1,
1224
- # next_token: "NextToken",
1225
- # }
1226
- #
1227
994
  # @!attribute [rw] identity_store_id
1228
995
  # The globally unique identifier for the identity store.
1229
996
  # @return [String]
@@ -1284,16 +1051,6 @@ module Aws::IdentityStore
1284
1051
  include Aws::Structure
1285
1052
  end
1286
1053
 
1287
- # @note When making an API call, you may pass ListGroupMembershipsRequest
1288
- # data as a hash:
1289
- #
1290
- # {
1291
- # identity_store_id: "IdentityStoreId", # required
1292
- # group_id: "ResourceId", # required
1293
- # max_results: 1,
1294
- # next_token: "NextToken",
1295
- # }
1296
- #
1297
1054
  # @!attribute [rw] identity_store_id
1298
1055
  # The globally unique identifier for the identity store.
1299
1056
  # @return [String]
@@ -1350,21 +1107,6 @@ module Aws::IdentityStore
1350
1107
  include Aws::Structure
1351
1108
  end
1352
1109
 
1353
- # @note When making an API call, you may pass ListGroupsRequest
1354
- # data as a hash:
1355
- #
1356
- # {
1357
- # identity_store_id: "IdentityStoreId", # required
1358
- # max_results: 1,
1359
- # next_token: "NextToken",
1360
- # filters: [
1361
- # {
1362
- # attribute_path: "AttributePath", # required
1363
- # attribute_value: "SensitiveStringType", # required
1364
- # },
1365
- # ],
1366
- # }
1367
- #
1368
1110
  # @!attribute [rw] identity_store_id
1369
1111
  # The globally unique identifier for the identity store, such as
1370
1112
  # `d-1234567890`. In this example, `d-` is a fixed prefix, and
@@ -1425,21 +1167,6 @@ module Aws::IdentityStore
1425
1167
  include Aws::Structure
1426
1168
  end
1427
1169
 
1428
- # @note When making an API call, you may pass ListUsersRequest
1429
- # data as a hash:
1430
- #
1431
- # {
1432
- # identity_store_id: "IdentityStoreId", # required
1433
- # max_results: 1,
1434
- # next_token: "NextToken",
1435
- # filters: [
1436
- # {
1437
- # attribute_path: "AttributePath", # required
1438
- # attribute_value: "SensitiveStringType", # required
1439
- # },
1440
- # ],
1441
- # }
1442
- #
1443
1170
  # @!attribute [rw] identity_store_id
1444
1171
  # The globally unique identifier for the identity store, such as
1445
1172
  # `d-1234567890`. In this example, `d-` is a fixed prefix, and
@@ -1526,18 +1253,6 @@ module Aws::IdentityStore
1526
1253
 
1527
1254
  # The full name of the user.
1528
1255
  #
1529
- # @note When making an API call, you may pass Name
1530
- # data as a hash:
1531
- #
1532
- # {
1533
- # formatted: "SensitiveStringType",
1534
- # family_name: "SensitiveStringType",
1535
- # given_name: "SensitiveStringType",
1536
- # middle_name: "SensitiveStringType",
1537
- # honorific_prefix: "SensitiveStringType",
1538
- # honorific_suffix: "SensitiveStringType",
1539
- # }
1540
- #
1541
1256
  # @!attribute [rw] formatted
1542
1257
  # A string containing a formatted version of the name for display.
1543
1258
  # @return [String]
@@ -1577,15 +1292,6 @@ module Aws::IdentityStore
1577
1292
 
1578
1293
  # The phone number associated with the user.
1579
1294
  #
1580
- # @note When making an API call, you may pass PhoneNumber
1581
- # data as a hash:
1582
- #
1583
- # {
1584
- # value: "SensitiveStringType",
1585
- # type: "SensitiveStringType",
1586
- # primary: false,
1587
- # }
1588
- #
1589
1295
  # @!attribute [rw] value
1590
1296
  # A string containing a phone number. For example, "8675309" or "+1
1591
1297
  # (800) 123-4567".
@@ -1702,14 +1408,6 @@ module Aws::IdentityStore
1702
1408
 
1703
1409
  # An entity attribute that's unique to a specific entity.
1704
1410
  #
1705
- # @note When making an API call, you may pass UniqueAttribute
1706
- # data as a hash:
1707
- #
1708
- # {
1709
- # attribute_path: "AttributePath", # required
1710
- # attribute_value: "value", # required, value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1711
- # }
1712
- #
1713
1411
  # @!attribute [rw] attribute_path
1714
1412
  # A string representation of the path to a given attribute or
1715
1413
  # sub-attribute. Supports JMESPath.
@@ -1729,20 +1427,6 @@ module Aws::IdentityStore
1729
1427
  include Aws::Structure
1730
1428
  end
1731
1429
 
1732
- # @note When making an API call, you may pass UpdateGroupRequest
1733
- # data as a hash:
1734
- #
1735
- # {
1736
- # identity_store_id: "IdentityStoreId", # required
1737
- # group_id: "ResourceId", # required
1738
- # operations: [ # required
1739
- # {
1740
- # attribute_path: "AttributePath", # required
1741
- # attribute_value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1742
- # },
1743
- # ],
1744
- # }
1745
- #
1746
1430
  # @!attribute [rw] identity_store_id
1747
1431
  # The globally unique identifier for the identity store.
1748
1432
  # @return [String]
@@ -1770,20 +1454,6 @@ module Aws::IdentityStore
1770
1454
  #
1771
1455
  class UpdateGroupResponse < Aws::EmptyStructure; end
1772
1456
 
1773
- # @note When making an API call, you may pass UpdateUserRequest
1774
- # data as a hash:
1775
- #
1776
- # {
1777
- # identity_store_id: "IdentityStoreId", # required
1778
- # user_id: "ResourceId", # required
1779
- # operations: [ # required
1780
- # {
1781
- # attribute_path: "AttributePath", # required
1782
- # attribute_value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1783
- # },
1784
- # ],
1785
- # }
1786
- #
1787
1457
  # @!attribute [rw] identity_store_id
1788
1458
  # The globally unique identifier for the identity store.
1789
1459
  # @return [String]
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-identitystore/types'
15
15
  require_relative 'aws-sdk-identitystore/client_api'
16
+ require_relative 'aws-sdk-identitystore/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-identitystore/client'
17
18
  require_relative 'aws-sdk-identitystore/errors'
18
19
  require_relative 'aws-sdk-identitystore/resource'
20
+ require_relative 'aws-sdk-identitystore/endpoint_parameters'
21
+ require_relative 'aws-sdk-identitystore/endpoint_provider'
22
+ require_relative 'aws-sdk-identitystore/endpoints'
19
23
  require_relative 'aws-sdk-identitystore/customizations'
20
24
 
21
25
  # This module provides support for AWS SSO Identity Store. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-identitystore/customizations'
48
52
  # @!group service
49
53
  module Aws::IdentityStore
50
54
 
51
- GEM_VERSION = '1.21.0'
55
+ GEM_VERSION = '1.23.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-identitystore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.23.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-09-22 00:00:00.000000000 Z
11
+ date: 2023-01-18 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-identitystore/client.rb
60
60
  - lib/aws-sdk-identitystore/client_api.rb
61
61
  - lib/aws-sdk-identitystore/customizations.rb
62
+ - lib/aws-sdk-identitystore/endpoint_parameters.rb
63
+ - lib/aws-sdk-identitystore/endpoint_provider.rb
64
+ - lib/aws-sdk-identitystore/endpoints.rb
62
65
  - lib/aws-sdk-identitystore/errors.rb
66
+ - lib/aws-sdk-identitystore/plugins/endpoints.rb
63
67
  - lib/aws-sdk-identitystore/resource.rb
64
68
  - lib/aws-sdk-identitystore/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby