aws-sdk-ssooidc 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 28d120a54bfc0a985ed81ec27c407908c9a86d83
4
+ data.tar.gz: f2710a68c43fa93b6a7f294bdb861a51aa9aa829
5
+ SHA512:
6
+ metadata.gz: 35a44edc59de656b8db20ea1a7022a678acac8624c41d3dfaea3c8242844746f963e07d595347ff4d11e9d79117aefae781d1a0fb4f45e71090f2a7fd120a9f2
7
+ data.tar.gz: 8dd6d8ced3eb513d34c7bee21a48ba618117da6d8e46c3078bfa7068c0c789022dbf2905ace0033d3dfaffbc472725fa3ed2776a763134d952f5e6740917ec10
@@ -0,0 +1,47 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ require 'aws-sdk-core'
9
+ require 'aws-sigv4'
10
+
11
+ require_relative 'aws-sdk-ssooidc/types'
12
+ require_relative 'aws-sdk-ssooidc/client_api'
13
+ require_relative 'aws-sdk-ssooidc/client'
14
+ require_relative 'aws-sdk-ssooidc/errors'
15
+ require_relative 'aws-sdk-ssooidc/resource'
16
+ require_relative 'aws-sdk-ssooidc/customizations'
17
+
18
+ # This module provides support for AWS SSO OIDC. This module is available in the
19
+ # `aws-sdk-ssooidc` gem.
20
+ #
21
+ # # Client
22
+ #
23
+ # The {Client} class provides one method for each API operation. Operation
24
+ # methods each accept a hash of request parameters and return a response
25
+ # structure.
26
+ #
27
+ # See {Client} for more information.
28
+ #
29
+ # # Errors
30
+ #
31
+ # Errors returned from AWS SSO OIDC all
32
+ # extend {Errors::ServiceError}.
33
+ #
34
+ # begin
35
+ # # do stuff
36
+ # rescue Aws::SSOOIDC::Errors::ServiceError
37
+ # # rescues all service API errors
38
+ # end
39
+ #
40
+ # See {Errors} for more information.
41
+ #
42
+ # @service
43
+ module Aws::SSOOIDC
44
+
45
+ GEM_VERSION = '1.0.0'
46
+
47
+ end
@@ -0,0 +1,477 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ require 'seahorse/client/plugins/content_length.rb'
9
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
10
+ require 'aws-sdk-core/plugins/logging.rb'
11
+ require 'aws-sdk-core/plugins/param_converter.rb'
12
+ require 'aws-sdk-core/plugins/param_validator.rb'
13
+ require 'aws-sdk-core/plugins/user_agent.rb'
14
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
15
+ require 'aws-sdk-core/plugins/retry_errors.rb'
16
+ require 'aws-sdk-core/plugins/global_configuration.rb'
17
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
19
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
20
+ require 'aws-sdk-core/plugins/response_paging.rb'
21
+ require 'aws-sdk-core/plugins/stub_responses.rb'
22
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
23
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/signature_v4.rb'
28
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
+
30
+ Aws::Plugins::GlobalConfiguration.add_identifier(:ssooidc)
31
+
32
+ module Aws::SSOOIDC
33
+ class Client < Seahorse::Client::Base
34
+
35
+ include Aws::ClientStubs
36
+
37
+ @identifier = :ssooidc
38
+
39
+ set_api(ClientApi::API)
40
+
41
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
42
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
43
+ add_plugin(Aws::Plugins::Logging)
44
+ add_plugin(Aws::Plugins::ParamConverter)
45
+ add_plugin(Aws::Plugins::ParamValidator)
46
+ add_plugin(Aws::Plugins::UserAgent)
47
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
48
+ add_plugin(Aws::Plugins::RetryErrors)
49
+ add_plugin(Aws::Plugins::GlobalConfiguration)
50
+ add_plugin(Aws::Plugins::RegionalEndpoint)
51
+ add_plugin(Aws::Plugins::EndpointDiscovery)
52
+ add_plugin(Aws::Plugins::EndpointPattern)
53
+ add_plugin(Aws::Plugins::ResponsePaging)
54
+ add_plugin(Aws::Plugins::StubResponses)
55
+ add_plugin(Aws::Plugins::IdempotencyToken)
56
+ add_plugin(Aws::Plugins::JsonvalueConverter)
57
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
58
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
59
+ add_plugin(Aws::Plugins::TransferEncoding)
60
+ add_plugin(Aws::Plugins::SignatureV4)
61
+ add_plugin(Aws::Plugins::Protocols::RestJson)
62
+
63
+ # @overload initialize(options)
64
+ # @param [Hash] options
65
+ # @option options [required, Aws::CredentialProvider] :credentials
66
+ # Your AWS credentials. This can be an instance of any one of the
67
+ # following classes:
68
+ #
69
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
70
+ # credentials.
71
+ #
72
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
73
+ # from an EC2 IMDS on an EC2 instance.
74
+ #
75
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
76
+ # shared file, such as `~/.aws/config`.
77
+ #
78
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
79
+ #
80
+ # When `:credentials` are not configured directly, the following
81
+ # locations will be searched for credentials:
82
+ #
83
+ # * `Aws.config[:credentials]`
84
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
85
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
86
+ # * `~/.aws/credentials`
87
+ # * `~/.aws/config`
88
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
89
+ # very aggressive. Construct and pass an instance of
90
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
91
+ # timeouts.
92
+ #
93
+ # @option options [required, String] :region
94
+ # The AWS region to connect to. The configured `:region` is
95
+ # used to determine the service `:endpoint`. When not passed,
96
+ # a default `:region` is search for in the following locations:
97
+ #
98
+ # * `Aws.config[:region]`
99
+ # * `ENV['AWS_REGION']`
100
+ # * `ENV['AMAZON_REGION']`
101
+ # * `ENV['AWS_DEFAULT_REGION']`
102
+ # * `~/.aws/credentials`
103
+ # * `~/.aws/config`
104
+ #
105
+ # @option options [String] :access_key_id
106
+ #
107
+ # @option options [Boolean] :active_endpoint_cache (false)
108
+ # When set to `true`, a thread polling for endpoints will be running in
109
+ # the background every 60 secs (default). Defaults to `false`.
110
+ #
111
+ # @option options [Boolean] :client_side_monitoring (false)
112
+ # When `true`, client-side metrics will be collected for all API requests from
113
+ # this client.
114
+ #
115
+ # @option options [String] :client_side_monitoring_client_id ("")
116
+ # Allows you to provide an identifier for this client which will be attached to
117
+ # all generated client side metrics. Defaults to an empty string.
118
+ #
119
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
120
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
121
+ # side monitoring agent is running on, where client metrics will be published via UDP.
122
+ #
123
+ # @option options [Integer] :client_side_monitoring_port (31000)
124
+ # Required for publishing client metrics. The port that the client side monitoring
125
+ # agent is running on, where client metrics will be published via UDP.
126
+ #
127
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
128
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
129
+ # will use the Client Side Monitoring Agent Publisher.
130
+ #
131
+ # @option options [Boolean] :convert_params (true)
132
+ # When `true`, an attempt is made to coerce request parameters into
133
+ # the required types.
134
+ #
135
+ # @option options [Boolean] :disable_host_prefix_injection (false)
136
+ # Set to true to disable SDK automatically adding host prefix
137
+ # to default service endpoint when available.
138
+ #
139
+ # @option options [String] :endpoint
140
+ # The client endpoint is normally constructed from the `:region`
141
+ # option. You should only configure an `:endpoint` when connecting
142
+ # to test endpoints. This should be avalid HTTP(S) URI.
143
+ #
144
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
145
+ # Used for the maximum size limit of the LRU cache storing endpoints data
146
+ # for endpoint discovery enabled operations. Defaults to 1000.
147
+ #
148
+ # @option options [Integer] :endpoint_cache_max_threads (10)
149
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
150
+ #
151
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
152
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
153
+ # Use this option to config the time interval in seconds for making
154
+ # requests fetching endpoints information. Defaults to 60 sec.
155
+ #
156
+ # @option options [Boolean] :endpoint_discovery (false)
157
+ # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
158
+ #
159
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
+ # The log formatter.
161
+ #
162
+ # @option options [Symbol] :log_level (:info)
163
+ # The log level to send messages to the `:logger` at.
164
+ #
165
+ # @option options [Logger] :logger
166
+ # The Logger instance to send log messages to. If this option
167
+ # is not set, logging will be disabled.
168
+ #
169
+ # @option options [String] :profile ("default")
170
+ # Used when loading credentials from the shared credentials file
171
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
172
+ #
173
+ # @option options [Float] :retry_base_delay (0.3)
174
+ # The base delay in seconds used by the default backoff function.
175
+ #
176
+ # @option options [Symbol] :retry_jitter (:none)
177
+ # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
178
+ #
179
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
+ #
181
+ # @option options [Integer] :retry_limit (3)
182
+ # The maximum number of times to retry failed requests. Only
183
+ # ~ 500 level server errors and certain ~ 400 level client errors
184
+ # are retried. Generally, these are throttling errors, data
185
+ # checksum errors, networking errors, timeout errors and auth
186
+ # errors from expired credentials.
187
+ #
188
+ # @option options [Integer] :retry_max_delay (0)
189
+ # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
190
+ #
191
+ # @option options [String] :secret_access_key
192
+ #
193
+ # @option options [String] :session_token
194
+ #
195
+ # @option options [Boolean] :stub_responses (false)
196
+ # Causes the client to return stubbed responses. By default
197
+ # fake responses are generated and returned. You can specify
198
+ # the response data to return or errors to raise by calling
199
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
200
+ #
201
+ # ** Please note ** When response stubbing is enabled, no HTTP
202
+ # requests are made, and retries are disabled.
203
+ #
204
+ # @option options [Boolean] :validate_params (true)
205
+ # When `true`, request parameters are validated before
206
+ # sending the request.
207
+ #
208
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
209
+ # requests through. Formatted like 'http://proxy.com:123'.
210
+ #
211
+ # @option options [Float] :http_open_timeout (15) The number of
212
+ # seconds to wait when opening a HTTP session before rasing a
213
+ # `Timeout::Error`.
214
+ #
215
+ # @option options [Integer] :http_read_timeout (60) The default
216
+ # number of seconds to wait for response data. This value can
217
+ # safely be set
218
+ # per-request on the session yeidled by {#session_for}.
219
+ #
220
+ # @option options [Float] :http_idle_timeout (5) The number of
221
+ # seconds a connection is allowed to sit idble before it is
222
+ # considered stale. Stale connections are closed and removed
223
+ # from the pool before making a request.
224
+ #
225
+ # @option options [Float] :http_continue_timeout (1) The number of
226
+ # seconds to wait for a 100-continue response before sending the
227
+ # request body. This option has no effect unless the request has
228
+ # "Expect" header set to "100-continue". Defaults to `nil` which
229
+ # disables this behaviour. This value can safely be set per
230
+ # request on the session yeidled by {#session_for}.
231
+ #
232
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
233
+ # HTTP debug output will be sent to the `:logger`.
234
+ #
235
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
236
+ # SSL peer certificates are verified when establishing a
237
+ # connection.
238
+ #
239
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
240
+ # certificate authority bundle file that should be used when
241
+ # verifying peer certificates. If you do not pass
242
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
243
+ # will be used if available.
244
+ #
245
+ # @option options [String] :ssl_ca_directory Full path of the
246
+ # directory that contains the unbundled SSL certificate
247
+ # authority files for verifying peer certificates. If you do
248
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
249
+ # system default will be used if available.
250
+ #
251
+ def initialize(*args)
252
+ super
253
+ end
254
+
255
+ # @!group API Operations
256
+
257
+ # Creates and returns an access token for the authorized client. The
258
+ # access token issued will be used to fetch short-term credentials for
259
+ # the assigned roles in the AWS account.
260
+ #
261
+ # @option params [required, String] :client_id
262
+ # The unique identifier string for each client. This value should come
263
+ # from the persisted result of the RegisterClient API.
264
+ #
265
+ # @option params [required, String] :client_secret
266
+ # A secret string generated for the client. This value should come from
267
+ # the persisted result of the RegisterClient API.
268
+ #
269
+ # @option params [required, String] :grant_type
270
+ # Supports grant types for authorization code, refresh token, and device
271
+ # code request.
272
+ #
273
+ # @option params [required, String] :device_code
274
+ # Used only when calling this API for the device code grant type. This
275
+ # short-term code is used to identify this authentication attempt. This
276
+ # should come from an in-memory reference to the result of the
277
+ # StartDeviceAuthorization API.
278
+ #
279
+ # @option params [String] :code
280
+ # The authorization code received from the authorization service. This
281
+ # parameter is required to perform an authorization grant request to get
282
+ # access to a token.
283
+ #
284
+ # @option params [String] :refresh_token
285
+ # The token used to obtain an access token in the event that the access
286
+ # token is invalid or expired. This token is not issued by the service.
287
+ #
288
+ # @option params [Array<String>] :scope
289
+ # The list of scopes that is defined by the client. Upon authorization,
290
+ # this list is used to restrict permissions when granting an access
291
+ # token.
292
+ #
293
+ # @option params [String] :redirect_uri
294
+ # The location of the application that will receive the authorization
295
+ # code. Users authorize the service to send the request to this
296
+ # location.
297
+ #
298
+ # @return [Types::CreateTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
299
+ #
300
+ # * {Types::CreateTokenResponse#access_token #access_token} => String
301
+ # * {Types::CreateTokenResponse#token_type #token_type} => String
302
+ # * {Types::CreateTokenResponse#expires_in #expires_in} => Integer
303
+ # * {Types::CreateTokenResponse#refresh_token #refresh_token} => String
304
+ # * {Types::CreateTokenResponse#id_token #id_token} => String
305
+ #
306
+ # @example Request syntax with placeholder values
307
+ #
308
+ # resp = client.create_token({
309
+ # client_id: "ClientId", # required
310
+ # client_secret: "ClientSecret", # required
311
+ # grant_type: "GrantType", # required
312
+ # device_code: "DeviceCode", # required
313
+ # code: "AuthCode",
314
+ # refresh_token: "RefreshToken",
315
+ # scope: ["Scope"],
316
+ # redirect_uri: "URI",
317
+ # })
318
+ #
319
+ # @example Response structure
320
+ #
321
+ # resp.access_token #=> String
322
+ # resp.token_type #=> String
323
+ # resp.expires_in #=> Integer
324
+ # resp.refresh_token #=> String
325
+ # resp.id_token #=> String
326
+ #
327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/CreateToken AWS API Documentation
328
+ #
329
+ # @overload create_token(params = {})
330
+ # @param [Hash] params ({})
331
+ def create_token(params = {}, options = {})
332
+ req = build_request(:create_token, params)
333
+ req.send_request(options)
334
+ end
335
+
336
+ # Registers a client with AWS SSO. This allows clients to initiate
337
+ # device authorization. The output should be persisted for reuse through
338
+ # many authentication requests.
339
+ #
340
+ # @option params [required, String] :client_name
341
+ # The friendly name of the client.
342
+ #
343
+ # @option params [required, String] :client_type
344
+ # The type of client. The service supports only `public` as a client
345
+ # type. Anything other than public will be rejected by the service.
346
+ #
347
+ # @option params [Array<String>] :scopes
348
+ # The list of scopes that are defined by the client. Upon authorization,
349
+ # this list is used to restrict permissions when granting an access
350
+ # token.
351
+ #
352
+ # @return [Types::RegisterClientResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
353
+ #
354
+ # * {Types::RegisterClientResponse#client_id #client_id} => String
355
+ # * {Types::RegisterClientResponse#client_secret #client_secret} => String
356
+ # * {Types::RegisterClientResponse#client_id_issued_at #client_id_issued_at} => Integer
357
+ # * {Types::RegisterClientResponse#client_secret_expires_at #client_secret_expires_at} => Integer
358
+ # * {Types::RegisterClientResponse#authorization_endpoint #authorization_endpoint} => String
359
+ # * {Types::RegisterClientResponse#token_endpoint #token_endpoint} => String
360
+ #
361
+ # @example Request syntax with placeholder values
362
+ #
363
+ # resp = client.register_client({
364
+ # client_name: "ClientName", # required
365
+ # client_type: "ClientType", # required
366
+ # scopes: ["Scope"],
367
+ # })
368
+ #
369
+ # @example Response structure
370
+ #
371
+ # resp.client_id #=> String
372
+ # resp.client_secret #=> String
373
+ # resp.client_id_issued_at #=> Integer
374
+ # resp.client_secret_expires_at #=> Integer
375
+ # resp.authorization_endpoint #=> String
376
+ # resp.token_endpoint #=> String
377
+ #
378
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/RegisterClient AWS API Documentation
379
+ #
380
+ # @overload register_client(params = {})
381
+ # @param [Hash] params ({})
382
+ def register_client(params = {}, options = {})
383
+ req = build_request(:register_client, params)
384
+ req.send_request(options)
385
+ end
386
+
387
+ # Initiates device authorization by requesting a pair of verification
388
+ # codes from the authorization service.
389
+ #
390
+ # @option params [required, String] :client_id
391
+ # The unique identifier string for the client that is registered with
392
+ # AWS SSO. This value should come from the persisted result of the
393
+ # RegisterClient API operation.
394
+ #
395
+ # @option params [required, String] :client_secret
396
+ # A secret string that is generated for the client. This value should
397
+ # come from the persisted result of the RegisterClient API operation.
398
+ #
399
+ # @option params [required, String] :start_url
400
+ # The URL for the AWS SSO user portal. For more information, see [Using
401
+ # the User Portal][1] in the *AWS Single Sign-On User Guide*.
402
+ #
403
+ #
404
+ #
405
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/userguide/using-the-portal.html
406
+ #
407
+ # @return [Types::StartDeviceAuthorizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
408
+ #
409
+ # * {Types::StartDeviceAuthorizationResponse#device_code #device_code} => String
410
+ # * {Types::StartDeviceAuthorizationResponse#user_code #user_code} => String
411
+ # * {Types::StartDeviceAuthorizationResponse#verification_uri #verification_uri} => String
412
+ # * {Types::StartDeviceAuthorizationResponse#verification_uri_complete #verification_uri_complete} => String
413
+ # * {Types::StartDeviceAuthorizationResponse#expires_in #expires_in} => Integer
414
+ # * {Types::StartDeviceAuthorizationResponse#interval #interval} => Integer
415
+ #
416
+ # @example Request syntax with placeholder values
417
+ #
418
+ # resp = client.start_device_authorization({
419
+ # client_id: "ClientId", # required
420
+ # client_secret: "ClientSecret", # required
421
+ # start_url: "URI", # required
422
+ # })
423
+ #
424
+ # @example Response structure
425
+ #
426
+ # resp.device_code #=> String
427
+ # resp.user_code #=> String
428
+ # resp.verification_uri #=> String
429
+ # resp.verification_uri_complete #=> String
430
+ # resp.expires_in #=> Integer
431
+ # resp.interval #=> Integer
432
+ #
433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/StartDeviceAuthorization AWS API Documentation
434
+ #
435
+ # @overload start_device_authorization(params = {})
436
+ # @param [Hash] params ({})
437
+ def start_device_authorization(params = {}, options = {})
438
+ req = build_request(:start_device_authorization, params)
439
+ req.send_request(options)
440
+ end
441
+
442
+ # @!endgroup
443
+
444
+ # @param params ({})
445
+ # @api private
446
+ def build_request(operation_name, params = {})
447
+ handlers = @handlers.for(operation_name)
448
+ context = Seahorse::Client::RequestContext.new(
449
+ operation_name: operation_name,
450
+ operation: config.api.operation(operation_name),
451
+ client: self,
452
+ params: params,
453
+ config: config)
454
+ context[:gem_name] = 'aws-sdk-ssooidc'
455
+ context[:gem_version] = '1.0.0'
456
+ Seahorse::Client::Request.new(handlers, context)
457
+ end
458
+
459
+ # @api private
460
+ # @deprecated
461
+ def waiter_names
462
+ []
463
+ end
464
+
465
+ class << self
466
+
467
+ # @api private
468
+ attr_reader :identifier
469
+
470
+ # @api private
471
+ def errors_module
472
+ Errors
473
+ end
474
+
475
+ end
476
+ end
477
+ end