aws-sdk-credentialbrokercontrol 1.0.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.
@@ -0,0 +1,2836 @@
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::CredentialBrokerControl
11
+ module Types
12
+
13
+ # The caller is not authorized to perform the request, or a resource the
14
+ # request depends on refused access. `reason` distinguishes a denial by
15
+ # this service from a denial reported by a dependency the caller
16
+ # configured, such as a customer-owned secret, KMS key, or external
17
+ # identity provider, which usually points at a permission or
18
+ # configuration fix outside this API.
19
+ #
20
+ # @!attribute [rw] message
21
+ # @return [String]
22
+ #
23
+ # @!attribute [rw] reason
24
+ # Identifies what denied the request. New values may be added over
25
+ # time, so treat an unrecognized value as a generic authorization
26
+ # failure and rely on `message` for detail.
27
+ # @return [String]
28
+ #
29
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/AccessDeniedException AWS API Documentation
30
+ #
31
+ class AccessDeniedException < Struct.new(
32
+ :message,
33
+ :reason)
34
+ SENSITIVE = []
35
+ include Aws::Structure
36
+ end
37
+
38
+ # API key credential provider input configuration. On create,
39
+ # apiKeySecretInput is required (enforced by the service); on update it
40
+ # is optional and omitting it leaves the stored secret unchanged.
41
+ #
42
+ # @!attribute [rw] api_key_secret_input
43
+ # API key material: a raw managed key or an external secret reference.
44
+ # @return [Types::ApiKeySecretInput]
45
+ #
46
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ApiKeyCredentialProviderConfigurationInput AWS API Documentation
47
+ #
48
+ class ApiKeyCredentialProviderConfigurationInput < Struct.new(
49
+ :api_key_secret_input)
50
+ SENSITIVE = []
51
+ include Aws::Structure
52
+ end
53
+
54
+ # Redacted API key configuration.
55
+ #
56
+ # @!attribute [rw] api_key_secret_output
57
+ # Secret pointer and source; never the API key value.
58
+ # @return [Types::ApiKeySecretOutput]
59
+ #
60
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ApiKeyCredentialProviderConfigurationOutput AWS API Documentation
61
+ #
62
+ class ApiKeyCredentialProviderConfigurationOutput < Struct.new(
63
+ :api_key_secret_output)
64
+ SENSITIVE = []
65
+ include Aws::Structure
66
+ end
67
+
68
+ # How the provider's API key is supplied. Set exactly one member: give
69
+ # the key value and let the service store it in a secret it owns, or
70
+ # point at an AWS Secrets Manager secret you already own. Either way,
71
+ # reads return only the ARN of the secret, never the key.
72
+ #
73
+ # @note ApiKeySecretInput is a union - when making an API calls you must set exactly one of the members.
74
+ #
75
+ # @!attribute [rw] api_key
76
+ # The API key value. The service stores it in an AWS Secrets Manager
77
+ # secret that the service owns. Write-only: reads return only the ARN
78
+ # of the secret holding it.
79
+ # @return [String]
80
+ #
81
+ # @!attribute [rw] api_key_secret_reference
82
+ # An AWS Secrets Manager secret you own that holds the API key. The
83
+ # service reads the key from your secret rather than storing a copy of
84
+ # its own.
85
+ # @return [Types::SecretReference]
86
+ #
87
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ApiKeySecretInput AWS API Documentation
88
+ #
89
+ class ApiKeySecretInput < Struct.new(
90
+ :api_key,
91
+ :api_key_secret_reference,
92
+ :unknown)
93
+ SENSITIVE = [:api_key]
94
+ include Aws::Structure
95
+ include Aws::Structure::Union
96
+
97
+ class ApiKey < ApiKeySecretInput; end
98
+ class ApiKeySecretReference < ApiKeySecretInput; end
99
+ class Unknown < ApiKeySecretInput; end
100
+ end
101
+
102
+ # Where the provider's API key is stored. Reports the ARN of the AWS
103
+ # Secrets Manager secret holding it and whether that secret is
104
+ # service-owned or yours, never the key itself.
105
+ #
106
+ # @!attribute [rw] api_key_secret_arn
107
+ # The Amazon Resource Name (ARN) of the AWS Secrets Manager secret
108
+ # holding the API key. Returned instead of the key itself, so reads
109
+ # never expose the value.
110
+ # @return [String]
111
+ #
112
+ # @!attribute [rw] api_key_secret_source
113
+ # Whether the secret holding the API key is one the service created
114
+ # and owns (MANAGED), or one you own in AWS Secrets Manager that the
115
+ # service reads (EXTERNAL).
116
+ # @return [String]
117
+ #
118
+ # @!attribute [rw] api_key_secret_json_key
119
+ # The key read from the secret's JSON payload to obtain the API key.
120
+ # Present only when the secret is one you own and holds a JSON object.
121
+ # @return [String]
122
+ #
123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ApiKeySecretOutput AWS API Documentation
124
+ #
125
+ class ApiKeySecretOutput < Struct.new(
126
+ :api_key_secret_arn,
127
+ :api_key_secret_source,
128
+ :api_key_secret_json_key)
129
+ SENSITIVE = []
130
+ include Aws::Structure
131
+ end
132
+
133
+ # Settings for a provider that obtains credentials from Atlassian.
134
+ # Atlassian's OAuth endpoints are known to the service, so only client
135
+ # credentials are required.
136
+ #
137
+ # @!attribute [rw] client_authentication_configuration
138
+ # The OAuth client credentials a provider uses to authenticate to its
139
+ # authorization server. Supply this when creating a provider; on
140
+ # update, omit it to leave the existing client unchanged. Any client
141
+ # secret given here is write-only and is never returned on reads.
142
+ # @return [Types::ClientAuthenticationConfigurationInput]
143
+ #
144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/AtlassianOAuthConfigurationInput AWS API Documentation
145
+ #
146
+ class AtlassianOAuthConfigurationInput < Struct.new(
147
+ :client_authentication_configuration)
148
+ SENSITIVE = []
149
+ include Aws::Structure
150
+ end
151
+
152
+ # An Atlassian provider's stored configuration.
153
+ #
154
+ # @!attribute [rw] oauth_discovery
155
+ # How the authorization server's OAuth endpoints are determined. Set
156
+ # exactly one member: give a discovery URL and let the service fetch
157
+ # the endpoints, or state the endpoints yourself. On reads, this
158
+ # reports the endpoints the service resolved and is using.
159
+ # @return [Types::OAuthDiscovery]
160
+ #
161
+ # @!attribute [rw] client_authentication_configuration
162
+ # The client credentials this provider uses to authenticate to its
163
+ # authorization server. The client secret is reported as an AWS
164
+ # Secrets Manager ARN, never as a value.
165
+ # @return [Types::ClientAuthenticationConfigurationOutput]
166
+ #
167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/AtlassianOAuthConfigurationOutput AWS API Documentation
168
+ #
169
+ class AtlassianOAuthConfigurationOutput < Struct.new(
170
+ :oauth_discovery,
171
+ :client_authentication_configuration)
172
+ SENSITIVE = []
173
+ include Aws::Structure
174
+ end
175
+
176
+ # An authorization server's OAuth endpoints, stated explicitly rather
177
+ # than discovered. Use this when the authorization server publishes no
178
+ # discovery document, or when you want to pin the endpoints instead of
179
+ # resolving them.
180
+ #
181
+ # @!attribute [rw] issuer
182
+ # Identifier the authorization server uses for itself, as it appears
183
+ # in the tokens it issues.
184
+ # @return [String]
185
+ #
186
+ # @!attribute [rw] token_endpoint
187
+ # An HTTPS URL identifying or exposed by an authorization server, its
188
+ # issuer identifier, its authorization endpoint, or its token
189
+ # endpoint.
190
+ # @return [String]
191
+ #
192
+ # @!attribute [rw] authorization_endpoint
193
+ # Where the end user is sent to grant consent. Required in practice
194
+ # for a provider using AUTHORIZATION\_CODE, which has no other source
195
+ # for it; a provider that resolves its endpoints from discoveryUrl
196
+ # instead takes it from the discovery document. Optional so the grants
197
+ # that never redirect a browser need not supply one.
198
+ # @return [String]
199
+ #
200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/AuthorizationServerMetadata AWS API Documentation
201
+ #
202
+ class AuthorizationServerMetadata < Struct.new(
203
+ :issuer,
204
+ :token_endpoint,
205
+ :authorization_endpoint)
206
+ SENSITIVE = []
207
+ include Aws::Structure
208
+ end
209
+
210
+ # The OAuth client credentials a provider uses to authenticate to its
211
+ # authorization server. Supply this when creating a provider; on update,
212
+ # omit it to leave the existing client unchanged. Any client secret
213
+ # given here is write-only and is never returned on reads.
214
+ #
215
+ # @!attribute [rw] client_authentication_method
216
+ # How the client authenticates to its authorization server. Optional:
217
+ # when omitted, the service defaults to CLIENT\_SECRET\_BASIC.
218
+ # CLIENT\_SECRET\_BASIC and CLIENT\_SECRET\_POST both require a
219
+ # clientSecret; NONE is a public client that sends no secret.
220
+ # @return [String]
221
+ #
222
+ # @!attribute [rw] client_id
223
+ # OAuth client identifier registered with the authorization server.
224
+ # @return [String]
225
+ #
226
+ # @!attribute [rw] client_secret
227
+ # The client secret, supplied either as a value for the service to
228
+ # store or as a reference to a secret you own. Required when
229
+ # clientAuthenticationMethod is CLIENT\_SECRET\_BASIC or
230
+ # CLIENT\_SECRET\_POST, and must be omitted when it is NONE.
231
+ # @return [Types::ClientSecretInput]
232
+ #
233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ClientAuthenticationConfigurationInput AWS API Documentation
234
+ #
235
+ class ClientAuthenticationConfigurationInput < Struct.new(
236
+ :client_authentication_method,
237
+ :client_id,
238
+ :client_secret)
239
+ SENSITIVE = []
240
+ include Aws::Structure
241
+ end
242
+
243
+ # The client credentials this provider uses to authenticate to its
244
+ # authorization server. The client secret is reported as an AWS Secrets
245
+ # Manager ARN, never as a value.
246
+ #
247
+ # @!attribute [rw] client_authentication_method
248
+ # How a credential provider authenticates itself to its authorization
249
+ # server on token requests. The authorization server decides which
250
+ # methods it accepts, so choose the one it is configured for.
251
+ # @return [String]
252
+ #
253
+ # @!attribute [rw] client_id
254
+ # OAuth client identifier registered with the authorization server.
255
+ # @return [String]
256
+ #
257
+ # @!attribute [rw] client_secret_arn
258
+ # The Amazon Resource Name (ARN) of the AWS Secrets Manager secret
259
+ # holding the client secret. Present when clientAuthenticationMethod
260
+ # is CLIENT\_SECRET\_BASIC or CLIENT\_SECRET\_POST; absent for a
261
+ # public client authenticating with NONE.
262
+ # @return [String]
263
+ #
264
+ # @!attribute [rw] client_secret_json_key
265
+ # Key to read from the secret's JSON payload. The secret value must
266
+ # be a JSON object, and this key must be present in it; the value
267
+ # stored under the key is used as the credential.
268
+ # @return [String]
269
+ #
270
+ # @!attribute [rw] client_secret_source
271
+ # Whether the client secret is held in a secret the service owns or in
272
+ # one you own.
273
+ # @return [String]
274
+ #
275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ClientAuthenticationConfigurationOutput AWS API Documentation
276
+ #
277
+ class ClientAuthenticationConfigurationOutput < Struct.new(
278
+ :client_authentication_method,
279
+ :client_id,
280
+ :client_secret_arn,
281
+ :client_secret_json_key,
282
+ :client_secret_source)
283
+ SENSITIVE = []
284
+ include Aws::Structure
285
+ end
286
+
287
+ # How the provider's OAuth client secret is supplied. Set exactly one
288
+ # member: give the secret value and let the service store it, or point
289
+ # at a Secrets Manager secret you already own. Either way, reads return
290
+ # only the ARN of the secret, never the value.
291
+ #
292
+ # @note ClientSecretInput is a union - when making an API calls you must set exactly one of the members.
293
+ #
294
+ # @!attribute [rw] client_secret
295
+ # The client secret value. The service stores it in a Secrets Manager
296
+ # secret that it owns.
297
+ # @return [String]
298
+ #
299
+ # @!attribute [rw] client_secret_reference
300
+ # A Secrets Manager secret you own that holds the client secret.
301
+ # @return [Types::SecretReference]
302
+ #
303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ClientSecretInput AWS API Documentation
304
+ #
305
+ class ClientSecretInput < Struct.new(
306
+ :client_secret,
307
+ :client_secret_reference,
308
+ :unknown)
309
+ SENSITIVE = [:client_secret]
310
+ include Aws::Structure
311
+ include Aws::Structure::Union
312
+
313
+ class ClientSecret < ClientSecretInput; end
314
+ class ClientSecretReference < ClientSecretInput; end
315
+ class Unknown < ClientSecretInput; end
316
+ end
317
+
318
+ # Settings for a provider that obtains credentials from an Amazon
319
+ # Cognito user pool. The user pool determines the endpoints, so
320
+ # `userPoolId` is required.
321
+ #
322
+ # @!attribute [rw] client_authentication_configuration
323
+ # The OAuth client credentials a provider uses to authenticate to its
324
+ # authorization server. Supply this when creating a provider; on
325
+ # update, omit it to leave the existing client unchanged. Any client
326
+ # secret given here is write-only and is never returned on reads.
327
+ # @return [Types::ClientAuthenticationConfigurationInput]
328
+ #
329
+ # @!attribute [rw] user_pool_id
330
+ # Identifier of the Amazon Cognito user pool that issues the
331
+ # credentials.
332
+ # @return [String]
333
+ #
334
+ # @!attribute [rw] cognito_region
335
+ # Defaults to the call region when omitted.
336
+ # @return [String]
337
+ #
338
+ # @!attribute [rw] on_behalf_of_token_exchange_configuration
339
+ # Configures on-behalf-of token exchange (RFC 8693) for a credential
340
+ # provider, so the provider can trade a token identifying a user for a
341
+ # token scoped to another audience while preserving that user's
342
+ # identity. Supply this to enable the `TOKEN_EXCHANGE` grant; omit it
343
+ # on update to leave the existing exchange configuration unchanged.
344
+ # @return [Types::OnBehalfOfTokenExchangeConfigurationInput]
345
+ #
346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CognitoOAuthConfigurationInput AWS API Documentation
347
+ #
348
+ class CognitoOAuthConfigurationInput < Struct.new(
349
+ :client_authentication_configuration,
350
+ :user_pool_id,
351
+ :cognito_region,
352
+ :on_behalf_of_token_exchange_configuration)
353
+ SENSITIVE = []
354
+ include Aws::Structure
355
+ end
356
+
357
+ # An Amazon Cognito provider's stored configuration.
358
+ #
359
+ # @!attribute [rw] oauth_discovery
360
+ # How the authorization server's OAuth endpoints are determined. Set
361
+ # exactly one member: give a discovery URL and let the service fetch
362
+ # the endpoints, or state the endpoints yourself. On reads, this
363
+ # reports the endpoints the service resolved and is using.
364
+ # @return [Types::OAuthDiscovery]
365
+ #
366
+ # @!attribute [rw] client_authentication_configuration
367
+ # The client credentials this provider uses to authenticate to its
368
+ # authorization server. The client secret is reported as an AWS
369
+ # Secrets Manager ARN, never as a value.
370
+ # @return [Types::ClientAuthenticationConfigurationOutput]
371
+ #
372
+ # @!attribute [rw] on_behalf_of_token_exchange_configuration
373
+ # The provider's on-behalf-of token exchange configuration as stored,
374
+ # with client secrets reported as Secrets Manager ARNs rather than
375
+ # values. Present only when the provider is configured for token
376
+ # exchange.
377
+ # @return [Types::OnBehalfOfTokenExchangeConfigurationOutput]
378
+ #
379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CognitoOAuthConfigurationOutput AWS API Documentation
380
+ #
381
+ class CognitoOAuthConfigurationOutput < Struct.new(
382
+ :oauth_discovery,
383
+ :client_authentication_configuration,
384
+ :on_behalf_of_token_exchange_configuration)
385
+ SENSITIVE = []
386
+ include Aws::Structure
387
+ end
388
+
389
+ # The request conflicts with the current state of the resource. Nothing
390
+ # was changed. Depending on `reason`, the request may succeed if retried
391
+ # once the resource reaches a settled state, or it may require different
392
+ # input (for example a name that is not already taken).
393
+ #
394
+ # @!attribute [rw] message
395
+ # @return [String]
396
+ #
397
+ # @!attribute [rw] resource_id
398
+ # The identifier of the resource the request conflicted with, when the
399
+ # service attributes the conflict to a single resource.
400
+ # @return [String]
401
+ #
402
+ # @!attribute [rw] resource_type
403
+ # The type of the resource named by `resourceId`, when present.
404
+ # @return [String]
405
+ #
406
+ # @!attribute [rw] reason
407
+ # Identifies the kind of state conflict that caused the request to be
408
+ # rejected. New values may be added over time, so treat an
409
+ # unrecognized value as a generic conflict and rely on `message`.
410
+ # @return [String]
411
+ #
412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ConflictException AWS API Documentation
413
+ #
414
+ class ConflictException < Struct.new(
415
+ :message,
416
+ :resource_id,
417
+ :resource_type,
418
+ :reason)
419
+ SENSITIVE = []
420
+ include Aws::Structure
421
+ end
422
+
423
+ # @!attribute [rw] name
424
+ # The name for the credential provider pool. Must be unique among the
425
+ # pools that currently exist in your account. You can change it later
426
+ # with UpdateCredentialProviderPool.
427
+ # @return [String]
428
+ #
429
+ # @!attribute [rw] client_token
430
+ # SDK auto-populates; enables safe retries.
431
+ #
432
+ # **A suitable default value is auto-generated.** You should normally
433
+ # not need to pass this option.
434
+ # @return [String]
435
+ #
436
+ # @!attribute [rw] encryption_configuration
437
+ # How cached tokens are encrypted at rest for the providers in this
438
+ # pool. Omit to encrypt with a service-owned key. Each provider in the
439
+ # pool uses this configuration unless it overrides it with a customer
440
+ # managed key of its own.
441
+ # @return [Types::EncryptionConfiguration]
442
+ #
443
+ # @!attribute [rw] identity_center_configuration
444
+ # Links a credential provider pool to an IAM Identity Center instance,
445
+ # so that providers in the pool can issue credentials for the identity
446
+ # in the caller's Identity Center session. A pool can be associated
447
+ # with at most one instance. Associating an instance creates an
448
+ # Identity Center application that the pool owns; every provider in
449
+ # the pool reports that same application.
450
+ # @return [Types::IdentityCenterConfiguration]
451
+ #
452
+ # @!attribute [rw] tags
453
+ # Tags attached to a resource, as key-value pairs. Keys are unique
454
+ # within a resource and are case-sensitive. Use tags to categorize
455
+ # resources and to control access with tag-based IAM policies.
456
+ # @return [Hash<String,String>]
457
+ #
458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CreateCredentialProviderPoolRequest AWS API Documentation
459
+ #
460
+ class CreateCredentialProviderPoolRequest < Struct.new(
461
+ :name,
462
+ :client_token,
463
+ :encryption_configuration,
464
+ :identity_center_configuration,
465
+ :tags)
466
+ SENSITIVE = []
467
+ include Aws::Structure
468
+ end
469
+
470
+ # @!attribute [rw] credential_provider_pool_arn
471
+ # Amazon Resource Name of a credential provider pool.
472
+ # Service-generated and stable for the life of the pool. Use it in IAM
473
+ # policies and anywhere an operation accepts a pool identifier.
474
+ # @return [String]
475
+ #
476
+ # @!attribute [rw] credential_provider_pool_id
477
+ # Service-generated identifier of a credential provider pool. Opaque
478
+ # and stable for the life of the pool.
479
+ # @return [String]
480
+ #
481
+ # @!attribute [rw] name
482
+ # The name of a credential provider pool. Must be unique among the
483
+ # pools that currently exist in your account, and can be changed after
484
+ # creation with UpdateCredentialProviderPool. A deleted pool's name
485
+ # becomes available for reuse.
486
+ # @return [String]
487
+ #
488
+ # @!attribute [rw] status
489
+ # Lifecycle status of a resource. Create, update, and delete are
490
+ # asynchronous: the operation returns immediately with a transitional
491
+ # status, and the resource reaches `READY` or `FAILED` on its own.
492
+ # Poll with the matching `Get` operation to observe the transition.
493
+ # New values may be added over time, so treat an unrecognized value as
494
+ # "still settling" rather than an error.
495
+ # @return [String]
496
+ #
497
+ # @!attribute [rw] encryption_configuration
498
+ # How cached tokens are encrypted at rest for the providers in this
499
+ # pool. Omit to encrypt with a service-owned key. Each provider in the
500
+ # pool uses this configuration unless it overrides it with a customer
501
+ # managed key of its own.
502
+ # @return [Types::EncryptionConfiguration]
503
+ #
504
+ # @!attribute [rw] identity_center_configuration
505
+ # Links a credential provider pool to an IAM Identity Center instance,
506
+ # so that providers in the pool can issue credentials for the identity
507
+ # in the caller's Identity Center session. A pool can be associated
508
+ # with at most one instance. Associating an instance creates an
509
+ # Identity Center application that the pool owns; every provider in
510
+ # the pool reports that same application.
511
+ # @return [Types::IdentityCenterConfiguration]
512
+ #
513
+ # @!attribute [rw] identity_center_application_arn
514
+ # Amazon Resource Name of the IAM Identity Center application created
515
+ # for a pool. Service-generated and read-only. It is created when an
516
+ # Identity Center instance is associated with the pool and deleted
517
+ # when the association is removed. Because the application belongs to
518
+ # the pool, every credential provider in that pool reports the same
519
+ # value.
520
+ # @return [String]
521
+ #
522
+ # @!attribute [rw] created_at
523
+ # When the pool was created.
524
+ # @return [Time]
525
+ #
526
+ # @!attribute [rw] updated_at
527
+ # When the pool was last modified. Equal to `createdAt` until the
528
+ # first successful update.
529
+ # @return [Time]
530
+ #
531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CreateCredentialProviderPoolResponse AWS API Documentation
532
+ #
533
+ class CreateCredentialProviderPoolResponse < Struct.new(
534
+ :credential_provider_pool_arn,
535
+ :credential_provider_pool_id,
536
+ :name,
537
+ :status,
538
+ :encryption_configuration,
539
+ :identity_center_configuration,
540
+ :identity_center_application_arn,
541
+ :created_at,
542
+ :updated_at)
543
+ SENSITIVE = []
544
+ include Aws::Structure
545
+ end
546
+
547
+ # @!attribute [rw] credential_provider_pool_identifier
548
+ # Identifies a credential provider pool. Accepts either the pool's
549
+ # ARN or its service-generated ID; both refer to the same pool.
550
+ # @return [String]
551
+ #
552
+ # @!attribute [rw] name
553
+ # The name for the credential provider. Must be unique among the
554
+ # providers that currently exist in the same pool. You can change it
555
+ # later with UpdateCredentialProvider.
556
+ # @return [String]
557
+ #
558
+ # @!attribute [rw] client_token
559
+ # SDK-populated idempotency token for safe retries.
560
+ #
561
+ # **A suitable default value is auto-generated.** You should normally
562
+ # not need to pass this option.
563
+ # @return [String]
564
+ #
565
+ # @!attribute [rw] provider_configuration_input
566
+ # Type-specific input configuration. Exactly one member must be set.
567
+ # @return [Types::CredentialProviderConfigurationInput]
568
+ #
569
+ # @!attribute [rw] tags
570
+ # Tags attached to a resource, as key-value pairs. Keys are unique
571
+ # within a resource and are case-sensitive. Use tags to categorize
572
+ # resources and to control access with tag-based IAM policies.
573
+ # @return [Hash<String,String>]
574
+ #
575
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CreateCredentialProviderRequest AWS API Documentation
576
+ #
577
+ class CreateCredentialProviderRequest < Struct.new(
578
+ :credential_provider_pool_identifier,
579
+ :name,
580
+ :client_token,
581
+ :provider_configuration_input,
582
+ :tags)
583
+ SENSITIVE = []
584
+ include Aws::Structure
585
+ end
586
+
587
+ # @!attribute [rw] credential_provider_arn
588
+ # Amazon Resource Name of a credential provider. Service-generated and
589
+ # stable for the life of the provider. The ARN embeds the parent pool,
590
+ # so it identifies the provider on its own without a separate pool
591
+ # identifier. Use it in IAM policies and anywhere an operation accepts
592
+ # a credential provider identifier.
593
+ # @return [String]
594
+ #
595
+ # @!attribute [rw] credential_provider_id
596
+ # Service-generated identifier of a credential provider. Opaque and
597
+ # stable for the life of the provider, and unique within its parent
598
+ # pool. Accepted anywhere an operation takes a provider identifier, in
599
+ # place of the provider's ARN.
600
+ # @return [String]
601
+ #
602
+ # @!attribute [rw] credential_provider_pool_id
603
+ # Service-generated identifier of a credential provider pool. Opaque
604
+ # and stable for the life of the pool. Accepted anywhere an operation
605
+ # takes a pool identifier, in place of the pool's ARN.
606
+ # @return [String]
607
+ #
608
+ # @!attribute [rw] name
609
+ # The name of a credential provider. Must be unique among the
610
+ # providers that currently exist in the same pool, and can be changed
611
+ # after creation with UpdateCredentialProvider. A deleted provider's
612
+ # name becomes available for reuse.
613
+ # @return [String]
614
+ #
615
+ # @!attribute [rw] provider_type
616
+ # The kind of credential a provider obtains and the configuration it
617
+ # requires. Fixed when the provider is created and cannot be changed
618
+ # by a later update. New values may be added over time.
619
+ # @return [String]
620
+ #
621
+ # @!attribute [rw] status
622
+ # Lifecycle status of a credential provider. Create, update, and
623
+ # delete are asynchronous: the operation returns immediately with a
624
+ # transitional status, and the provider reaches `READY` or `FAILED` on
625
+ # its own. Poll `GetCredentialProvider` to observe the transition. New
626
+ # values may be added over time, so treat an unrecognized value as
627
+ # "still settling" rather than an error.
628
+ # @return [String]
629
+ #
630
+ # @!attribute [rw] provider_configuration
631
+ # Type-specific resolved configuration with redacted secrets.
632
+ # @return [Types::CredentialProviderConfigurationOutput]
633
+ #
634
+ # @!attribute [rw] status_reason
635
+ # Explains why a resource is in a non-terminal status (e.g., FAILED,
636
+ # DELETING).
637
+ # @return [String]
638
+ #
639
+ # @!attribute [rw] created_at
640
+ # When the credential provider was created.
641
+ # @return [Time]
642
+ #
643
+ # @!attribute [rw] updated_at
644
+ # When the credential provider was last modified. Equal to `createdAt`
645
+ # until the first successful update.
646
+ # @return [Time]
647
+ #
648
+ # @!attribute [rw] tags
649
+ # Tags attached to a resource, as key-value pairs. Keys are unique
650
+ # within a resource and are case-sensitive. Use tags to categorize
651
+ # resources and to control access with tag-based IAM policies.
652
+ # @return [Hash<String,String>]
653
+ #
654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CreateCredentialProviderResponse AWS API Documentation
655
+ #
656
+ class CreateCredentialProviderResponse < Struct.new(
657
+ :credential_provider_arn,
658
+ :credential_provider_id,
659
+ :credential_provider_pool_id,
660
+ :name,
661
+ :provider_type,
662
+ :status,
663
+ :provider_configuration,
664
+ :status_reason,
665
+ :created_at,
666
+ :updated_at,
667
+ :tags)
668
+ SENSITIVE = []
669
+ include Aws::Structure
670
+ end
671
+
672
+ # Selects this provider's own stored end-user token as the exchange
673
+ # subject. Takes no parameters.
674
+ #
675
+ # @api private
676
+ #
677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CredentialBrokerSelfSubjectTokenSource AWS API Documentation
678
+ #
679
+ class CredentialBrokerSelfSubjectTokenSource < Aws::EmptyStructure; end
680
+
681
+ # Credential provider input configuration. Exactly one member is set
682
+ # based on the provider type. The same shape is used for create and
683
+ # update: on create the service requires the type-specific fields
684
+ # (enforced in the business layer); on update every field is optional
685
+ # and an omitted field is left unchanged (partial update).
686
+ #
687
+ # @note CredentialProviderConfigurationInput is a union - when making an API calls you must set exactly one of the members.
688
+ #
689
+ # @!attribute [rw] oauth_configuration
690
+ # OAuth / OIDC configuration.
691
+ # @return [Types::OAuthCredentialProviderConfigurationInput]
692
+ #
693
+ # @!attribute [rw] api_key_configuration
694
+ # API key configuration.
695
+ # @return [Types::ApiKeyCredentialProviderConfigurationInput]
696
+ #
697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CredentialProviderConfigurationInput AWS API Documentation
698
+ #
699
+ class CredentialProviderConfigurationInput < Struct.new(
700
+ :oauth_configuration,
701
+ :api_key_configuration,
702
+ :unknown)
703
+ SENSITIVE = []
704
+ include Aws::Structure
705
+ include Aws::Structure::Union
706
+
707
+ class OauthConfiguration < CredentialProviderConfigurationInput; end
708
+ class ApiKeyConfiguration < CredentialProviderConfigurationInput; end
709
+ class Unknown < CredentialProviderConfigurationInput; end
710
+ end
711
+
712
+ # Type-specific output configuration. The member that is set matches the
713
+ # provider type.
714
+ #
715
+ # @note CredentialProviderConfigurationOutput is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CredentialProviderConfigurationOutput corresponding to the set member.
716
+ #
717
+ # @!attribute [rw] oauth_configuration
718
+ # Configuration of an OAuth credential provider.
719
+ # @return [Types::OAuthCredentialProviderConfigurationOutput]
720
+ #
721
+ # @!attribute [rw] api_key_configuration
722
+ # Configuration of an API key credential provider, with the key
723
+ # reported as a Secrets Manager ARN rather than a value.
724
+ # @return [Types::ApiKeyCredentialProviderConfigurationOutput]
725
+ #
726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CredentialProviderConfigurationOutput AWS API Documentation
727
+ #
728
+ class CredentialProviderConfigurationOutput < Struct.new(
729
+ :oauth_configuration,
730
+ :api_key_configuration,
731
+ :unknown)
732
+ SENSITIVE = []
733
+ include Aws::Structure
734
+ include Aws::Structure::Union
735
+
736
+ class OauthConfiguration < CredentialProviderConfigurationOutput; end
737
+ class ApiKeyConfiguration < CredentialProviderConfigurationOutput; end
738
+ class Unknown < CredentialProviderConfigurationOutput; end
739
+ end
740
+
741
+ # Summary of a credential provider pool as returned by
742
+ # ListCredentialProviderPools. Omits the pool's encryption and IAM
743
+ # Identity Center configuration; call GetCredentialProviderPool for a
744
+ # single pool's full detail.
745
+ #
746
+ # @!attribute [rw] credential_provider_pool_arn
747
+ # Amazon Resource Name of a credential provider pool.
748
+ # Service-generated and stable for the life of the pool. Use it in IAM
749
+ # policies and anywhere an operation accepts a pool identifier.
750
+ # @return [String]
751
+ #
752
+ # @!attribute [rw] credential_provider_pool_id
753
+ # Service-generated identifier of a credential provider pool. Opaque
754
+ # and stable for the life of the pool. Accepted anywhere an operation
755
+ # takes a pool identifier, in place of the pool's ARN.
756
+ # @return [String]
757
+ #
758
+ # @!attribute [rw] name
759
+ # The name of a credential provider pool. Must be unique among the
760
+ # pools that currently exist in your account, and can be changed after
761
+ # creation with UpdateCredentialProviderPool. A deleted pool's name
762
+ # becomes available for reuse.
763
+ # @return [String]
764
+ #
765
+ # @!attribute [rw] status
766
+ # Lifecycle status of a resource. Create, update, and delete are
767
+ # asynchronous: the operation returns immediately with a transitional
768
+ # status, and the resource reaches `READY` or `FAILED` on its own.
769
+ # Poll with the matching `Get` operation to observe the transition.
770
+ # New values may be added over time, so treat an unrecognized value as
771
+ # "still settling" rather than an error.
772
+ # @return [String]
773
+ #
774
+ # @!attribute [rw] created_at
775
+ # When the pool was created.
776
+ # @return [Time]
777
+ #
778
+ # @!attribute [rw] updated_at
779
+ # When the pool was last modified. Equal to `createdAt` until the
780
+ # first successful update.
781
+ # @return [Time]
782
+ #
783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CredentialProviderPoolSummary AWS API Documentation
784
+ #
785
+ class CredentialProviderPoolSummary < Struct.new(
786
+ :credential_provider_pool_arn,
787
+ :credential_provider_pool_id,
788
+ :name,
789
+ :status,
790
+ :created_at,
791
+ :updated_at)
792
+ SENSITIVE = []
793
+ include Aws::Structure
794
+ end
795
+
796
+ # Summary of a credential provider as returned by
797
+ # ListCredentialProviders. Omits the provider's type-specific
798
+ # configuration; call GetCredentialProvider for a single provider's
799
+ # full detail.
800
+ #
801
+ # @!attribute [rw] credential_provider_arn
802
+ # Amazon Resource Name of a credential provider. Service-generated and
803
+ # stable for the life of the provider. The ARN embeds the parent pool,
804
+ # so it identifies the provider on its own without a separate pool
805
+ # identifier. Use it in IAM policies and anywhere an operation accepts
806
+ # a credential provider identifier.
807
+ # @return [String]
808
+ #
809
+ # @!attribute [rw] credential_provider_id
810
+ # Service-generated identifier of a credential provider. Opaque and
811
+ # stable for the life of the provider, and unique within its parent
812
+ # pool. Accepted anywhere an operation takes a provider identifier, in
813
+ # place of the provider's ARN.
814
+ # @return [String]
815
+ #
816
+ # @!attribute [rw] credential_provider_pool_id
817
+ # Service-generated identifier of a credential provider pool. Opaque
818
+ # and stable for the life of the pool. Accepted anywhere an operation
819
+ # takes a pool identifier, in place of the pool's ARN.
820
+ # @return [String]
821
+ #
822
+ # @!attribute [rw] name
823
+ # The name of a credential provider. Must be unique among the
824
+ # providers that currently exist in the same pool, and can be changed
825
+ # after creation with UpdateCredentialProvider. A deleted provider's
826
+ # name becomes available for reuse.
827
+ # @return [String]
828
+ #
829
+ # @!attribute [rw] provider_type
830
+ # The kind of credential a provider obtains and the configuration it
831
+ # requires. Fixed when the provider is created and cannot be changed
832
+ # by a later update. New values may be added over time.
833
+ # @return [String]
834
+ #
835
+ # @!attribute [rw] status
836
+ # Lifecycle status of a credential provider. Create, update, and
837
+ # delete are asynchronous: the operation returns immediately with a
838
+ # transitional status, and the provider reaches `READY` or `FAILED` on
839
+ # its own. Poll `GetCredentialProvider` to observe the transition. New
840
+ # values may be added over time, so treat an unrecognized value as
841
+ # "still settling" rather than an error.
842
+ # @return [String]
843
+ #
844
+ # @!attribute [rw] status_reason
845
+ # Explains why a resource is in a non-terminal status (e.g., FAILED,
846
+ # DELETING).
847
+ # @return [String]
848
+ #
849
+ # @!attribute [rw] created_at
850
+ # When the credential provider was created.
851
+ # @return [Time]
852
+ #
853
+ # @!attribute [rw] updated_at
854
+ # When the credential provider was last modified. Equal to `createdAt`
855
+ # until the first successful update.
856
+ # @return [Time]
857
+ #
858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CredentialProviderSummary AWS API Documentation
859
+ #
860
+ class CredentialProviderSummary < Struct.new(
861
+ :credential_provider_arn,
862
+ :credential_provider_id,
863
+ :credential_provider_pool_id,
864
+ :name,
865
+ :provider_type,
866
+ :status,
867
+ :status_reason,
868
+ :created_at,
869
+ :updated_at)
870
+ SENSITIVE = []
871
+ include Aws::Structure
872
+ end
873
+
874
+ # Settings for a provider that obtains credentials from an OAuth
875
+ # authorization server the service has no built-in knowledge of. Because
876
+ # nothing can be inferred about the server, `oauthDiscovery` is required
877
+ # so its endpoints are either discovered or stated.
878
+ #
879
+ # @!attribute [rw] client_authentication_configuration
880
+ # The OAuth client credentials a provider uses to authenticate to its
881
+ # authorization server. Supply this when creating a provider; on
882
+ # update, omit it to leave the existing client unchanged. Any client
883
+ # secret given here is write-only and is never returned on reads.
884
+ # @return [Types::ClientAuthenticationConfigurationInput]
885
+ #
886
+ # @!attribute [rw] oauth_discovery
887
+ # How the authorization server's OAuth endpoints are determined. Set
888
+ # exactly one member: give a discovery URL and let the service fetch
889
+ # the endpoints, or state the endpoints yourself. On reads, this
890
+ # reports the endpoints the service resolved and is using.
891
+ # @return [Types::OAuthDiscovery]
892
+ #
893
+ # @!attribute [rw] on_behalf_of_token_exchange_configuration
894
+ # Configures on-behalf-of token exchange (RFC 8693) for a credential
895
+ # provider, so the provider can trade a token identifying a user for a
896
+ # token scoped to another audience while preserving that user's
897
+ # identity. Supply this to enable the `TOKEN_EXCHANGE` grant; omit it
898
+ # on update to leave the existing exchange configuration unchanged.
899
+ # @return [Types::OnBehalfOfTokenExchangeConfigurationInput]
900
+ #
901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CustomOAuthConfigurationInput AWS API Documentation
902
+ #
903
+ class CustomOAuthConfigurationInput < Struct.new(
904
+ :client_authentication_configuration,
905
+ :oauth_discovery,
906
+ :on_behalf_of_token_exchange_configuration)
907
+ SENSITIVE = []
908
+ include Aws::Structure
909
+ end
910
+
911
+ # The stored configuration of a provider for any other OAuth
912
+ # authorization server.
913
+ #
914
+ # @!attribute [rw] oauth_discovery
915
+ # How the authorization server's OAuth endpoints are determined. Set
916
+ # exactly one member: give a discovery URL and let the service fetch
917
+ # the endpoints, or state the endpoints yourself. On reads, this
918
+ # reports the endpoints the service resolved and is using.
919
+ # @return [Types::OAuthDiscovery]
920
+ #
921
+ # @!attribute [rw] client_authentication_configuration
922
+ # The client credentials this provider uses to authenticate to its
923
+ # authorization server. The client secret is reported as an AWS
924
+ # Secrets Manager ARN, never as a value.
925
+ # @return [Types::ClientAuthenticationConfigurationOutput]
926
+ #
927
+ # @!attribute [rw] on_behalf_of_token_exchange_configuration
928
+ # The provider's on-behalf-of token exchange configuration as stored,
929
+ # with client secrets reported as Secrets Manager ARNs rather than
930
+ # values. Present only when the provider is configured for token
931
+ # exchange.
932
+ # @return [Types::OnBehalfOfTokenExchangeConfigurationOutput]
933
+ #
934
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CustomOAuthConfigurationOutput AWS API Documentation
935
+ #
936
+ class CustomOAuthConfigurationOutput < Struct.new(
937
+ :oauth_discovery,
938
+ :client_authentication_configuration,
939
+ :on_behalf_of_token_exchange_configuration)
940
+ SENSITIVE = []
941
+ include Aws::Structure
942
+ end
943
+
944
+ # Encryption with a KMS key that you own and manage, rather than one
945
+ # owned by the service.
946
+ #
947
+ # @!attribute [rw] kms_key_identifier
948
+ # Identifier of the customer-managed KMS key used to encrypt cached
949
+ # tokens. Accepts a key ARN (`...:key/<id>`), an alias ARN
950
+ # (`...:alias/<name>`), or a bare alias name (`alias/<name>`). Any
951
+ # alias is dereferenced to its underlying key ARN via
952
+ # `kms:DescribeKey` at create/update time, and only the resolved key
953
+ # ARN is persisted and returned, a KMS alias is a mutable pointer, so
954
+ # pinning the key ARN keeps the configuration stable. A bare alias
955
+ # name resolves in the caller's own account and Region; to reference
956
+ # a key in a different account (cross-account), supply a full key ARN
957
+ # or alias ARN so the account is explicit.
958
+ # @return [String]
959
+ #
960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CustomerManagedEncryption AWS API Documentation
961
+ #
962
+ class CustomerManagedEncryption < Struct.new(
963
+ :kms_key_identifier)
964
+ SENSITIVE = []
965
+ include Aws::Structure
966
+ end
967
+
968
+ # @!attribute [rw] credential_provider_pool_identifier
969
+ # Identifies a credential provider pool. Accepts either the pool's
970
+ # ARN or its service-generated ID; both refer to the same pool.
971
+ # @return [String]
972
+ #
973
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/DeleteCredentialProviderPoolRequest AWS API Documentation
974
+ #
975
+ class DeleteCredentialProviderPoolRequest < Struct.new(
976
+ :credential_provider_pool_identifier)
977
+ SENSITIVE = []
978
+ include Aws::Structure
979
+ end
980
+
981
+ # @!attribute [rw] credential_provider_pool_arn
982
+ # Amazon Resource Name of a credential provider pool.
983
+ # Service-generated and stable for the life of the pool. Use it in IAM
984
+ # policies and anywhere an operation accepts a pool identifier.
985
+ # @return [String]
986
+ #
987
+ # @!attribute [rw] credential_provider_pool_id
988
+ # Service-generated identifier of a credential provider pool. Opaque
989
+ # and stable for the life of the pool. Accepted anywhere an operation
990
+ # takes a pool identifier, in place of the pool's ARN.
991
+ # @return [String]
992
+ #
993
+ # @!attribute [rw] status
994
+ # Delete is asynchronous; the pool transitions to DELETING.
995
+ # @return [String]
996
+ #
997
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/DeleteCredentialProviderPoolResponse AWS API Documentation
998
+ #
999
+ class DeleteCredentialProviderPoolResponse < Struct.new(
1000
+ :credential_provider_pool_arn,
1001
+ :credential_provider_pool_id,
1002
+ :status)
1003
+ SENSITIVE = []
1004
+ include Aws::Structure
1005
+ end
1006
+
1007
+ # @!attribute [rw] credential_provider_pool_identifier
1008
+ # Identifies a credential provider pool. Accepts either the pool's
1009
+ # ARN or its service-generated ID; both refer to the same pool.
1010
+ # @return [String]
1011
+ #
1012
+ # @!attribute [rw] credential_provider_identifier
1013
+ # Identifies a credential provider. Accepts either the provider's ARN
1014
+ # or its service-generated ID; both refer to the same provider.
1015
+ # @return [String]
1016
+ #
1017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/DeleteCredentialProviderRequest AWS API Documentation
1018
+ #
1019
+ class DeleteCredentialProviderRequest < Struct.new(
1020
+ :credential_provider_pool_identifier,
1021
+ :credential_provider_identifier)
1022
+ SENSITIVE = []
1023
+ include Aws::Structure
1024
+ end
1025
+
1026
+ # @!attribute [rw] credential_provider_arn
1027
+ # Amazon Resource Name of a credential provider. Service-generated and
1028
+ # stable for the life of the provider. The ARN embeds the parent pool,
1029
+ # so it identifies the provider on its own without a separate pool
1030
+ # identifier. Use it in IAM policies and anywhere an operation accepts
1031
+ # a credential provider identifier.
1032
+ # @return [String]
1033
+ #
1034
+ # @!attribute [rw] credential_provider_id
1035
+ # Service-generated identifier of a credential provider. Opaque and
1036
+ # stable for the life of the provider, and unique within its parent
1037
+ # pool. Accepted anywhere an operation takes a provider identifier, in
1038
+ # place of the provider's ARN.
1039
+ # @return [String]
1040
+ #
1041
+ # @!attribute [rw] credential_provider_pool_id
1042
+ # Service-generated identifier of a credential provider pool. Opaque
1043
+ # and stable for the life of the pool. Accepted anywhere an operation
1044
+ # takes a pool identifier, in place of the pool's ARN.
1045
+ # @return [String]
1046
+ #
1047
+ # @!attribute [rw] provider_type
1048
+ # The kind of credential a provider obtains and the configuration it
1049
+ # requires. Fixed when the provider is created and cannot be changed
1050
+ # by a later update. New values may be added over time.
1051
+ # @return [String]
1052
+ #
1053
+ # @!attribute [rw] status
1054
+ # The provider transitions to DELETING while asynchronous cleanup
1055
+ # completes.
1056
+ # @return [String]
1057
+ #
1058
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/DeleteCredentialProviderResponse AWS API Documentation
1059
+ #
1060
+ class DeleteCredentialProviderResponse < Struct.new(
1061
+ :credential_provider_arn,
1062
+ :credential_provider_id,
1063
+ :credential_provider_pool_id,
1064
+ :provider_type,
1065
+ :status)
1066
+ SENSITIVE = []
1067
+ include Aws::Structure
1068
+ end
1069
+
1070
+ # How cached tokens are encrypted at rest. Set exactly one member: a
1071
+ # customer-managed configuration must name a KMS key, and a
1072
+ # service-managed configuration takes no parameters.
1073
+ #
1074
+ # @note EncryptionConfiguration is a union - when making an API calls you must set exactly one of the members.
1075
+ #
1076
+ # @note EncryptionConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EncryptionConfiguration corresponding to the set member.
1077
+ #
1078
+ # @!attribute [rw] customer_managed
1079
+ # Encrypt with a customer managed KMS key that you own.
1080
+ # @return [Types::CustomerManagedEncryption]
1081
+ #
1082
+ # @!attribute [rw] service_managed
1083
+ # Encrypt with a service-owned, AWS-managed key. Carries no
1084
+ # parameters.
1085
+ # @return [Types::Unit]
1086
+ #
1087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/EncryptionConfiguration AWS API Documentation
1088
+ #
1089
+ class EncryptionConfiguration < Struct.new(
1090
+ :customer_managed,
1091
+ :service_managed,
1092
+ :unknown)
1093
+ SENSITIVE = []
1094
+ include Aws::Structure
1095
+ include Aws::Structure::Union
1096
+
1097
+ class CustomerManaged < EncryptionConfiguration; end
1098
+ class ServiceManaged < EncryptionConfiguration; end
1099
+ class Unknown < EncryptionConfiguration; end
1100
+ end
1101
+
1102
+ # @!attribute [rw] credential_provider_pool_identifier
1103
+ # Identifies a credential provider pool. Accepts either the pool's
1104
+ # ARN or its service-generated ID; both refer to the same pool.
1105
+ # @return [String]
1106
+ #
1107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/GetCredentialProviderPoolRequest AWS API Documentation
1108
+ #
1109
+ class GetCredentialProviderPoolRequest < Struct.new(
1110
+ :credential_provider_pool_identifier)
1111
+ SENSITIVE = []
1112
+ include Aws::Structure
1113
+ end
1114
+
1115
+ # @!attribute [rw] credential_provider_pool_arn
1116
+ # Amazon Resource Name of a credential provider pool.
1117
+ # Service-generated and stable for the life of the pool. Use it in IAM
1118
+ # policies and anywhere an operation accepts a pool identifier.
1119
+ # @return [String]
1120
+ #
1121
+ # @!attribute [rw] credential_provider_pool_id
1122
+ # Service-generated identifier of a credential provider pool. Opaque
1123
+ # and stable for the life of the pool. Accepted anywhere an operation
1124
+ # takes a pool identifier, in place of the pool's ARN.
1125
+ # @return [String]
1126
+ #
1127
+ # @!attribute [rw] name
1128
+ # The name of a credential provider pool. Must be unique among the
1129
+ # pools that currently exist in your account, and can be changed after
1130
+ # creation with UpdateCredentialProviderPool. A deleted pool's name
1131
+ # becomes available for reuse.
1132
+ # @return [String]
1133
+ #
1134
+ # @!attribute [rw] status
1135
+ # Lifecycle status of a resource. Create, update, and delete are
1136
+ # asynchronous: the operation returns immediately with a transitional
1137
+ # status, and the resource reaches `READY` or `FAILED` on its own.
1138
+ # Poll with the matching `Get` operation to observe the transition.
1139
+ # New values may be added over time, so treat an unrecognized value as
1140
+ # "still settling" rather than an error.
1141
+ # @return [String]
1142
+ #
1143
+ # @!attribute [rw] encryption_configuration
1144
+ # How cached tokens are encrypted at rest for the providers in this
1145
+ # pool. Omit to encrypt with a service-owned key. Each provider in the
1146
+ # pool uses this configuration unless it overrides it with a customer
1147
+ # managed key of its own.
1148
+ # @return [Types::EncryptionConfiguration]
1149
+ #
1150
+ # @!attribute [rw] identity_center_configuration
1151
+ # Links a credential provider pool to an IAM Identity Center instance,
1152
+ # so that providers in the pool can issue credentials for the identity
1153
+ # in the caller's Identity Center session. A pool can be associated
1154
+ # with at most one instance. Associating an instance creates an
1155
+ # Identity Center application that the pool owns; every provider in
1156
+ # the pool reports that same application.
1157
+ # @return [Types::IdentityCenterConfiguration]
1158
+ #
1159
+ # @!attribute [rw] identity_center_application_arn
1160
+ # Amazon Resource Name of the IAM Identity Center application created
1161
+ # for a pool. Service-generated and read-only. It is created when an
1162
+ # Identity Center instance is associated with the pool and deleted
1163
+ # when the association is removed. Because the application belongs to
1164
+ # the pool, every credential provider in that pool reports the same
1165
+ # value.
1166
+ # @return [String]
1167
+ #
1168
+ # @!attribute [rw] status_reason
1169
+ # Present when status = FAILED.
1170
+ # @return [String]
1171
+ #
1172
+ # @!attribute [rw] created_at
1173
+ # When the pool was created.
1174
+ # @return [Time]
1175
+ #
1176
+ # @!attribute [rw] updated_at
1177
+ # When the pool was last modified. Equal to `createdAt` until the
1178
+ # first successful update.
1179
+ # @return [Time]
1180
+ #
1181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/GetCredentialProviderPoolResponse AWS API Documentation
1182
+ #
1183
+ class GetCredentialProviderPoolResponse < Struct.new(
1184
+ :credential_provider_pool_arn,
1185
+ :credential_provider_pool_id,
1186
+ :name,
1187
+ :status,
1188
+ :encryption_configuration,
1189
+ :identity_center_configuration,
1190
+ :identity_center_application_arn,
1191
+ :status_reason,
1192
+ :created_at,
1193
+ :updated_at)
1194
+ SENSITIVE = []
1195
+ include Aws::Structure
1196
+ end
1197
+
1198
+ # @!attribute [rw] credential_provider_pool_identifier
1199
+ # Identifies a credential provider pool. Accepts either the pool's
1200
+ # ARN or its service-generated ID; both refer to the same pool.
1201
+ # @return [String]
1202
+ #
1203
+ # @!attribute [rw] credential_provider_identifier
1204
+ # Identifies a credential provider. Accepts either the provider's ARN
1205
+ # or its service-generated ID; both refer to the same provider.
1206
+ # @return [String]
1207
+ #
1208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/GetCredentialProviderRequest AWS API Documentation
1209
+ #
1210
+ class GetCredentialProviderRequest < Struct.new(
1211
+ :credential_provider_pool_identifier,
1212
+ :credential_provider_identifier)
1213
+ SENSITIVE = []
1214
+ include Aws::Structure
1215
+ end
1216
+
1217
+ # @!attribute [rw] credential_provider_arn
1218
+ # Amazon Resource Name of a credential provider. Service-generated and
1219
+ # stable for the life of the provider. The ARN embeds the parent pool,
1220
+ # so it identifies the provider on its own without a separate pool
1221
+ # identifier. Use it in IAM policies and anywhere an operation accepts
1222
+ # a credential provider identifier.
1223
+ # @return [String]
1224
+ #
1225
+ # @!attribute [rw] credential_provider_id
1226
+ # Service-generated identifier of a credential provider. Opaque and
1227
+ # stable for the life of the provider, and unique within its parent
1228
+ # pool. Accepted anywhere an operation takes a provider identifier, in
1229
+ # place of the provider's ARN.
1230
+ # @return [String]
1231
+ #
1232
+ # @!attribute [rw] credential_provider_pool_id
1233
+ # Service-generated identifier of a credential provider pool. Opaque
1234
+ # and stable for the life of the pool. Accepted anywhere an operation
1235
+ # takes a pool identifier, in place of the pool's ARN.
1236
+ # @return [String]
1237
+ #
1238
+ # @!attribute [rw] name
1239
+ # The name of a credential provider. Must be unique among the
1240
+ # providers that currently exist in the same pool, and can be changed
1241
+ # after creation with UpdateCredentialProvider. A deleted provider's
1242
+ # name becomes available for reuse.
1243
+ # @return [String]
1244
+ #
1245
+ # @!attribute [rw] provider_type
1246
+ # The kind of credential a provider obtains and the configuration it
1247
+ # requires. Fixed when the provider is created and cannot be changed
1248
+ # by a later update. New values may be added over time.
1249
+ # @return [String]
1250
+ #
1251
+ # @!attribute [rw] status
1252
+ # Lifecycle status of a credential provider. Create, update, and
1253
+ # delete are asynchronous: the operation returns immediately with a
1254
+ # transitional status, and the provider reaches `READY` or `FAILED` on
1255
+ # its own. Poll `GetCredentialProvider` to observe the transition. New
1256
+ # values may be added over time, so treat an unrecognized value as
1257
+ # "still settling" rather than an error.
1258
+ # @return [String]
1259
+ #
1260
+ # @!attribute [rw] provider_configuration
1261
+ # Type-specific configuration. The member that is set matches
1262
+ # providerType.
1263
+ # @return [Types::CredentialProviderConfigurationOutput]
1264
+ #
1265
+ # @!attribute [rw] status_reason
1266
+ # Explains why a resource is in a non-terminal status (e.g., FAILED,
1267
+ # DELETING).
1268
+ # @return [String]
1269
+ #
1270
+ # @!attribute [rw] created_at
1271
+ # When the credential provider was created.
1272
+ # @return [Time]
1273
+ #
1274
+ # @!attribute [rw] updated_at
1275
+ # When the credential provider was last modified. Equal to `createdAt`
1276
+ # until the first successful update.
1277
+ # @return [Time]
1278
+ #
1279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/GetCredentialProviderResponse AWS API Documentation
1280
+ #
1281
+ class GetCredentialProviderResponse < Struct.new(
1282
+ :credential_provider_arn,
1283
+ :credential_provider_id,
1284
+ :credential_provider_pool_id,
1285
+ :name,
1286
+ :provider_type,
1287
+ :status,
1288
+ :provider_configuration,
1289
+ :status_reason,
1290
+ :created_at,
1291
+ :updated_at)
1292
+ SENSITIVE = []
1293
+ include Aws::Structure
1294
+ end
1295
+
1296
+ # Settings for a provider that obtains credentials from GitHub.
1297
+ # GitHub's OAuth endpoints are known to the service, so only client
1298
+ # credentials are required.
1299
+ #
1300
+ # @!attribute [rw] client_authentication_configuration
1301
+ # The OAuth client credentials a provider uses to authenticate to its
1302
+ # authorization server. Supply this when creating a provider; on
1303
+ # update, omit it to leave the existing client unchanged. Any client
1304
+ # secret given here is write-only and is never returned on reads.
1305
+ # @return [Types::ClientAuthenticationConfigurationInput]
1306
+ #
1307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/GithubOAuthConfigurationInput AWS API Documentation
1308
+ #
1309
+ class GithubOAuthConfigurationInput < Struct.new(
1310
+ :client_authentication_configuration)
1311
+ SENSITIVE = []
1312
+ include Aws::Structure
1313
+ end
1314
+
1315
+ # A GitHub provider's stored configuration.
1316
+ #
1317
+ # @!attribute [rw] oauth_discovery
1318
+ # How the authorization server's OAuth endpoints are determined. Set
1319
+ # exactly one member: give a discovery URL and let the service fetch
1320
+ # the endpoints, or state the endpoints yourself. On reads, this
1321
+ # reports the endpoints the service resolved and is using.
1322
+ # @return [Types::OAuthDiscovery]
1323
+ #
1324
+ # @!attribute [rw] client_authentication_configuration
1325
+ # The client credentials this provider uses to authenticate to its
1326
+ # authorization server. The client secret is reported as an AWS
1327
+ # Secrets Manager ARN, never as a value.
1328
+ # @return [Types::ClientAuthenticationConfigurationOutput]
1329
+ #
1330
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/GithubOAuthConfigurationOutput AWS API Documentation
1331
+ #
1332
+ class GithubOAuthConfigurationOutput < Struct.new(
1333
+ :oauth_discovery,
1334
+ :client_authentication_configuration)
1335
+ SENSITIVE = []
1336
+ include Aws::Structure
1337
+ end
1338
+
1339
+ # Settings for a provider that obtains credentials from Google.
1340
+ # Google's OAuth endpoints are known to the service, so only client
1341
+ # credentials are required.
1342
+ #
1343
+ # @!attribute [rw] client_authentication_configuration
1344
+ # The OAuth client credentials a provider uses to authenticate to its
1345
+ # authorization server. Supply this when creating a provider; on
1346
+ # update, omit it to leave the existing client unchanged. Any client
1347
+ # secret given here is write-only and is never returned on reads.
1348
+ # @return [Types::ClientAuthenticationConfigurationInput]
1349
+ #
1350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/GoogleOAuthConfigurationInput AWS API Documentation
1351
+ #
1352
+ class GoogleOAuthConfigurationInput < Struct.new(
1353
+ :client_authentication_configuration)
1354
+ SENSITIVE = []
1355
+ include Aws::Structure
1356
+ end
1357
+
1358
+ # A Google provider's stored configuration.
1359
+ #
1360
+ # @!attribute [rw] oauth_discovery
1361
+ # How the authorization server's OAuth endpoints are determined. Set
1362
+ # exactly one member: give a discovery URL and let the service fetch
1363
+ # the endpoints, or state the endpoints yourself. On reads, this
1364
+ # reports the endpoints the service resolved and is using.
1365
+ # @return [Types::OAuthDiscovery]
1366
+ #
1367
+ # @!attribute [rw] client_authentication_configuration
1368
+ # The client credentials this provider uses to authenticate to its
1369
+ # authorization server. The client secret is reported as an AWS
1370
+ # Secrets Manager ARN, never as a value.
1371
+ # @return [Types::ClientAuthenticationConfigurationOutput]
1372
+ #
1373
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/GoogleOAuthConfigurationOutput AWS API Documentation
1374
+ #
1375
+ class GoogleOAuthConfigurationOutput < Struct.new(
1376
+ :oauth_discovery,
1377
+ :client_authentication_configuration)
1378
+ SENSITIVE = []
1379
+ include Aws::Structure
1380
+ end
1381
+
1382
+ # Links a credential provider pool to an IAM Identity Center instance,
1383
+ # so that providers in the pool can issue credentials for the identity
1384
+ # in the caller's Identity Center session. A pool can be associated
1385
+ # with at most one instance. Associating an instance creates an Identity
1386
+ # Center application that the pool owns; every provider in the pool
1387
+ # reports that same application.
1388
+ #
1389
+ # @!attribute [rw] idc_instance_arn
1390
+ # Amazon Resource Name of the IAM Identity Center instance to
1391
+ # associate with a pool. The instance must already exist and be in the
1392
+ # same Region as the pool.
1393
+ # @return [String]
1394
+ #
1395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/IdentityCenterConfiguration AWS API Documentation
1396
+ #
1397
+ class IdentityCenterConfiguration < Struct.new(
1398
+ :idc_instance_arn)
1399
+ SENSITIVE = []
1400
+ include Aws::Structure
1401
+ end
1402
+
1403
+ # Union describing the Identity Center action to take during
1404
+ # UpdateCredentialProviderPool. Omit the field entirely to preserve the
1405
+ # existing binding (no-op).
1406
+ #
1407
+ # @note IdentityCenterUpdate is a union - when making an API calls you must set exactly one of the members.
1408
+ #
1409
+ # @!attribute [rw] associate
1410
+ # Associate Identity Center with the pool using the provided
1411
+ # configuration.
1412
+ # @return [Types::IdentityCenterConfiguration]
1413
+ #
1414
+ # @!attribute [rw] disassociate
1415
+ # Disassociate Identity Center from the pool. The existing application
1416
+ # is deleted.
1417
+ # @return [Types::Unit]
1418
+ #
1419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/IdentityCenterUpdate AWS API Documentation
1420
+ #
1421
+ class IdentityCenterUpdate < Struct.new(
1422
+ :associate,
1423
+ :disassociate,
1424
+ :unknown)
1425
+ SENSITIVE = []
1426
+ include Aws::Structure
1427
+ include Aws::Structure::Union
1428
+
1429
+ class Associate < IdentityCenterUpdate; end
1430
+ class Disassociate < IdentityCenterUpdate; end
1431
+ class Unknown < IdentityCenterUpdate; end
1432
+ end
1433
+
1434
+ # The request failed because of an unexpected error in the service.
1435
+ # Whether the request took effect is undefined, so for a create or
1436
+ # update, read the resource back before retrying. Retryable: the same
1437
+ # request may succeed later.
1438
+ #
1439
+ # @!attribute [rw] message
1440
+ # @return [String]
1441
+ #
1442
+ # @!attribute [rw] retry_after_seconds
1443
+ # The number of seconds to wait before retrying. If this field is
1444
+ # absent, retry with exponential backoff.
1445
+ # @return [Integer]
1446
+ #
1447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/InternalServerException AWS API Documentation
1448
+ #
1449
+ class InternalServerException < Struct.new(
1450
+ :message,
1451
+ :retry_after_seconds)
1452
+ SENSITIVE = []
1453
+ include Aws::Structure
1454
+ end
1455
+
1456
+ # Settings for a provider that obtains credentials from LinkedIn.
1457
+ # LinkedIn's OAuth endpoints are known to the service, so only client
1458
+ # credentials are required.
1459
+ #
1460
+ # @!attribute [rw] client_authentication_configuration
1461
+ # The OAuth client credentials a provider uses to authenticate to its
1462
+ # authorization server. Supply this when creating a provider; on
1463
+ # update, omit it to leave the existing client unchanged. Any client
1464
+ # secret given here is write-only and is never returned on reads.
1465
+ # @return [Types::ClientAuthenticationConfigurationInput]
1466
+ #
1467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/LinkedinOAuthConfigurationInput AWS API Documentation
1468
+ #
1469
+ class LinkedinOAuthConfigurationInput < Struct.new(
1470
+ :client_authentication_configuration)
1471
+ SENSITIVE = []
1472
+ include Aws::Structure
1473
+ end
1474
+
1475
+ # A LinkedIn provider's stored configuration.
1476
+ #
1477
+ # @!attribute [rw] oauth_discovery
1478
+ # How the authorization server's OAuth endpoints are determined. Set
1479
+ # exactly one member: give a discovery URL and let the service fetch
1480
+ # the endpoints, or state the endpoints yourself. On reads, this
1481
+ # reports the endpoints the service resolved and is using.
1482
+ # @return [Types::OAuthDiscovery]
1483
+ #
1484
+ # @!attribute [rw] client_authentication_configuration
1485
+ # The client credentials this provider uses to authenticate to its
1486
+ # authorization server. The client secret is reported as an AWS
1487
+ # Secrets Manager ARN, never as a value.
1488
+ # @return [Types::ClientAuthenticationConfigurationOutput]
1489
+ #
1490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/LinkedinOAuthConfigurationOutput AWS API Documentation
1491
+ #
1492
+ class LinkedinOAuthConfigurationOutput < Struct.new(
1493
+ :oauth_discovery,
1494
+ :client_authentication_configuration)
1495
+ SENSITIVE = []
1496
+ include Aws::Structure
1497
+ end
1498
+
1499
+ # @!attribute [rw] name_contains
1500
+ # Return only pools whose name contains this substring. Matching is
1501
+ # case-sensitive. Omit to return pools of any name.
1502
+ # @return [String]
1503
+ #
1504
+ # @!attribute [rw] next_token
1505
+ # Continues a previous `ListCredentialProviderPools` call. Set it to
1506
+ # the `nextToken` the previous response returned, passed back
1507
+ # unchanged. Valid only when you received a `nextToken`; there is no
1508
+ # dedicated error for a token that is invalid or no longer current, so
1509
+ # one is rejected as `ValidationException`.
1510
+ # @return [String]
1511
+ #
1512
+ # @!attribute [rw] max_results
1513
+ # The maximum number of pools to return in one page. The service might
1514
+ # return fewer than the number you request even when more results are
1515
+ # available, so check `nextToken` on every response rather than
1516
+ # inferring from the number of items returned.
1517
+ # @return [Integer]
1518
+ #
1519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ListCredentialProviderPoolsRequest AWS API Documentation
1520
+ #
1521
+ class ListCredentialProviderPoolsRequest < Struct.new(
1522
+ :name_contains,
1523
+ :next_token,
1524
+ :max_results)
1525
+ SENSITIVE = []
1526
+ include Aws::Structure
1527
+ end
1528
+
1529
+ # @!attribute [rw] items
1530
+ # A page of credential provider pools, each a summary that omits the
1531
+ # pool's encryption and IAM Identity Center configuration. Empty when
1532
+ # the account has no pools, or none that match the requested filter.
1533
+ # @return [Array<Types::CredentialProviderPoolSummary>]
1534
+ #
1535
+ # @!attribute [rw] next_token
1536
+ # Present when more results are available than this response contains;
1537
+ # absent on the last page. Call `ListCredentialProviderPools` again
1538
+ # with this value to get the next page, and repeat until a response
1539
+ # comes back without a `nextToken`.
1540
+ # @return [String]
1541
+ #
1542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ListCredentialProviderPoolsResponse AWS API Documentation
1543
+ #
1544
+ class ListCredentialProviderPoolsResponse < Struct.new(
1545
+ :items,
1546
+ :next_token)
1547
+ SENSITIVE = []
1548
+ include Aws::Structure
1549
+ end
1550
+
1551
+ # @!attribute [rw] credential_provider_pool_identifier
1552
+ # Parent pool identifier. Accepts an ARN or service-generated ID.
1553
+ # @return [String]
1554
+ #
1555
+ # @!attribute [rw] name_contains
1556
+ # Return only providers whose name contains this substring. Matching
1557
+ # is case-sensitive. Omit to return providers of any name.
1558
+ # @return [String]
1559
+ #
1560
+ # @!attribute [rw] provider_types
1561
+ # Provider types to include. When omitted, all provider types are
1562
+ # returned.
1563
+ # @return [Array<String>]
1564
+ #
1565
+ # @!attribute [rw] max_results
1566
+ # The maximum number of providers to return in one page. The service
1567
+ # might return fewer than the number you request even when more
1568
+ # results are available, so check `nextToken` on every response rather
1569
+ # than inferring from the number of items returned.
1570
+ # @return [Integer]
1571
+ #
1572
+ # @!attribute [rw] next_token
1573
+ # Continues a previous `ListCredentialProviders` call. Set it to the
1574
+ # `nextToken` the previous response returned, passed back unchanged.
1575
+ # Valid only when you received a `nextToken`; there is no dedicated
1576
+ # error for a token that is invalid or no longer current, so one is
1577
+ # rejected as `ValidationException`.
1578
+ # @return [String]
1579
+ #
1580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ListCredentialProvidersRequest AWS API Documentation
1581
+ #
1582
+ class ListCredentialProvidersRequest < Struct.new(
1583
+ :credential_provider_pool_identifier,
1584
+ :name_contains,
1585
+ :provider_types,
1586
+ :max_results,
1587
+ :next_token)
1588
+ SENSITIVE = []
1589
+ include Aws::Structure
1590
+ end
1591
+
1592
+ # @!attribute [rw] items
1593
+ # A page of credential providers, each a summary that omits the
1594
+ # provider's type-specific configuration. Empty when the pool
1595
+ # contains no providers, or none that match the requested filters.
1596
+ # @return [Array<Types::CredentialProviderSummary>]
1597
+ #
1598
+ # @!attribute [rw] next_token
1599
+ # Present when more results are available than this response contains;
1600
+ # absent on the last page. Call `ListCredentialProviders` again with
1601
+ # this value to get the next page, and repeat until a response comes
1602
+ # back without a `nextToken`.
1603
+ # @return [String]
1604
+ #
1605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ListCredentialProvidersResponse AWS API Documentation
1606
+ #
1607
+ class ListCredentialProvidersResponse < Struct.new(
1608
+ :items,
1609
+ :next_token)
1610
+ SENSITIVE = []
1611
+ include Aws::Structure
1612
+ end
1613
+
1614
+ # @!attribute [rw] resource_arn
1615
+ # Amazon Resource Name of a taggable resource, either a credential
1616
+ # provider pool or a credential provider within a pool.
1617
+ # @return [String]
1618
+ #
1619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ListTagsForResourceRequest AWS API Documentation
1620
+ #
1621
+ class ListTagsForResourceRequest < Struct.new(
1622
+ :resource_arn)
1623
+ SENSITIVE = []
1624
+ include Aws::Structure
1625
+ end
1626
+
1627
+ # @!attribute [rw] tags
1628
+ # Tags attached to a resource, as key-value pairs. Keys are unique
1629
+ # within a resource and are case-sensitive. Use tags to categorize
1630
+ # resources and to control access with tag-based IAM policies.
1631
+ # @return [Hash<String,String>]
1632
+ #
1633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ListTagsForResourceResponse AWS API Documentation
1634
+ #
1635
+ class ListTagsForResourceResponse < Struct.new(
1636
+ :tags)
1637
+ SENSITIVE = []
1638
+ include Aws::Structure
1639
+ end
1640
+
1641
+ # Settings for a provider that obtains credentials from Microsoft Entra
1642
+ # ID. Supply `tenantId` to target a specific tenant's endpoints.
1643
+ #
1644
+ # @!attribute [rw] client_authentication_configuration
1645
+ # The OAuth client credentials a provider uses to authenticate to its
1646
+ # authorization server. Supply this when creating a provider; on
1647
+ # update, omit it to leave the existing client unchanged. Any client
1648
+ # secret given here is write-only and is never returned on reads.
1649
+ # @return [Types::ClientAuthenticationConfigurationInput]
1650
+ #
1651
+ # @!attribute [rw] tenant_id
1652
+ # Entra tenant. Resolves into tenant-specific discovery endpoints.
1653
+ # @return [String]
1654
+ #
1655
+ # @!attribute [rw] on_behalf_of_token_exchange_configuration
1656
+ # Configures on-behalf-of token exchange (RFC 8693) for a credential
1657
+ # provider, so the provider can trade a token identifying a user for a
1658
+ # token scoped to another audience while preserving that user's
1659
+ # identity. Supply this to enable the `TOKEN_EXCHANGE` grant; omit it
1660
+ # on update to leave the existing exchange configuration unchanged.
1661
+ # @return [Types::OnBehalfOfTokenExchangeConfigurationInput]
1662
+ #
1663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/MicrosoftOAuthConfigurationInput AWS API Documentation
1664
+ #
1665
+ class MicrosoftOAuthConfigurationInput < Struct.new(
1666
+ :client_authentication_configuration,
1667
+ :tenant_id,
1668
+ :on_behalf_of_token_exchange_configuration)
1669
+ SENSITIVE = []
1670
+ include Aws::Structure
1671
+ end
1672
+
1673
+ # A Microsoft Entra ID provider's stored configuration.
1674
+ #
1675
+ # @!attribute [rw] oauth_discovery
1676
+ # How the authorization server's OAuth endpoints are determined. Set
1677
+ # exactly one member: give a discovery URL and let the service fetch
1678
+ # the endpoints, or state the endpoints yourself. On reads, this
1679
+ # reports the endpoints the service resolved and is using.
1680
+ # @return [Types::OAuthDiscovery]
1681
+ #
1682
+ # @!attribute [rw] client_authentication_configuration
1683
+ # The client credentials this provider uses to authenticate to its
1684
+ # authorization server. The client secret is reported as an AWS
1685
+ # Secrets Manager ARN, never as a value.
1686
+ # @return [Types::ClientAuthenticationConfigurationOutput]
1687
+ #
1688
+ # @!attribute [rw] on_behalf_of_token_exchange_configuration
1689
+ # The provider's on-behalf-of token exchange configuration as stored,
1690
+ # with client secrets reported as Secrets Manager ARNs rather than
1691
+ # values. Present only when the provider is configured for token
1692
+ # exchange.
1693
+ # @return [Types::OnBehalfOfTokenExchangeConfigurationOutput]
1694
+ #
1695
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/MicrosoftOAuthConfigurationOutput AWS API Documentation
1696
+ #
1697
+ class MicrosoftOAuthConfigurationOutput < Struct.new(
1698
+ :oauth_discovery,
1699
+ :client_authentication_configuration,
1700
+ :on_behalf_of_token_exchange_configuration)
1701
+ SENSITIVE = []
1702
+ include Aws::Structure
1703
+ end
1704
+
1705
+ # OAuth credential provider input configuration. On create,
1706
+ # allowedGrantTypes and vendorConfigurationInput are required (enforced
1707
+ # by the service). On update every field is optional; omit a field to
1708
+ # leave it unchanged, and the supplied vendor member must match the
1709
+ # provider's existing vendor type.
1710
+ #
1711
+ # @!attribute [rw] allowed_grant_types
1712
+ # The grant types this provider is allowed to use. Required on create;
1713
+ # omit on update to leave unchanged.
1714
+ # @return [Array<String>]
1715
+ #
1716
+ # @!attribute [rw] vendor_configuration_input
1717
+ # Vendor-specific OAuth configuration (GitHub, Google, custom, and
1718
+ # others). Required on create; omit on update to leave unchanged.
1719
+ # @return [Types::OAuthVendorConfigurationInput]
1720
+ #
1721
+ # @!attribute [rw] allowed_session_binding_urls
1722
+ # Return URLs this provider accepts at the end of a user consent flow.
1723
+ # Required when allowedGrantTypes includes AUTHORIZATION\_CODE.
1724
+ # @return [Array<String>]
1725
+ #
1726
+ # @!attribute [rw] provider_encryption_configuration
1727
+ # Overrides the pool-level customer-managed KMS key. Omit to leave the
1728
+ # current encryption configuration unchanged.
1729
+ # @return [Types::ProviderEncryptionConfiguration]
1730
+ #
1731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/OAuthCredentialProviderConfigurationInput AWS API Documentation
1732
+ #
1733
+ class OAuthCredentialProviderConfigurationInput < Struct.new(
1734
+ :allowed_grant_types,
1735
+ :vendor_configuration_input,
1736
+ :allowed_session_binding_urls,
1737
+ :provider_encryption_configuration)
1738
+ SENSITIVE = []
1739
+ include Aws::Structure
1740
+ end
1741
+
1742
+ # Resolved OAuth configuration with redacted client authentication
1743
+ # details.
1744
+ #
1745
+ # @!attribute [rw] allowed_grant_types
1746
+ # The grant types this credential provider is allowed to use. A token
1747
+ # request naming a grant that is not in this list is rejected.
1748
+ # @return [Array<String>]
1749
+ #
1750
+ # @!attribute [rw] vendor_configuration_output
1751
+ # Resolved discovery and redacted client authentication details.
1752
+ # @return [Types::OAuthVendorConfigurationOutput]
1753
+ #
1754
+ # @!attribute [rw] encryption_configuration
1755
+ # How cached tokens are encrypted at rest. Set exactly one member: a
1756
+ # customer-managed configuration must name a KMS key, and a
1757
+ # service-managed configuration takes no parameters.
1758
+ # @return [Types::EncryptionConfiguration]
1759
+ #
1760
+ # @!attribute [rw] encryption_source
1761
+ # Whether encryptionConfiguration comes from the pool or the provider
1762
+ # override.
1763
+ # @return [String]
1764
+ #
1765
+ # @!attribute [rw] identity_center_application_arn
1766
+ # Amazon Resource Name of the IAM Identity Center application created
1767
+ # for a pool. Service-generated and read-only. It is created when an
1768
+ # Identity Center instance is associated with the pool and deleted
1769
+ # when the association is removed. Because the application belongs to
1770
+ # the pool, every credential provider in that pool reports the same
1771
+ # value.
1772
+ # @return [String]
1773
+ #
1774
+ # @!attribute [rw] idc_instance_arn
1775
+ # Amazon Resource Name of the IAM Identity Center instance to
1776
+ # associate with a pool. The instance must already exist and be in the
1777
+ # same Region as the pool.
1778
+ # @return [String]
1779
+ #
1780
+ # @!attribute [rw] allowed_session_binding_urls
1781
+ # The return URLs this provider accepts at the end of a user consent
1782
+ # flow, as configured at creation. Present only when the provider
1783
+ # allows the AUTHORIZATION\_CODE grant.
1784
+ # @return [Array<String>]
1785
+ #
1786
+ # @!attribute [rw] callback_urls
1787
+ # Redirect URIs to register with the authorization server as allowed
1788
+ # callbacks for this provider. These are the URLs the authorization
1789
+ # server redirects a user to after they complete the authorization
1790
+ # flow. Present only when the provider allows the AUTHORIZATION\_CODE
1791
+ # grant.
1792
+ # @return [Array<String>]
1793
+ #
1794
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/OAuthCredentialProviderConfigurationOutput AWS API Documentation
1795
+ #
1796
+ class OAuthCredentialProviderConfigurationOutput < Struct.new(
1797
+ :allowed_grant_types,
1798
+ :vendor_configuration_output,
1799
+ :encryption_configuration,
1800
+ :encryption_source,
1801
+ :identity_center_application_arn,
1802
+ :idc_instance_arn,
1803
+ :allowed_session_binding_urls,
1804
+ :callback_urls)
1805
+ SENSITIVE = []
1806
+ include Aws::Structure
1807
+ end
1808
+
1809
+ # How the authorization server's OAuth endpoints are determined. Set
1810
+ # exactly one member: give a discovery URL and let the service fetch the
1811
+ # endpoints, or state the endpoints yourself. On reads, this reports the
1812
+ # endpoints the service resolved and is using.
1813
+ #
1814
+ # @note OAuthDiscovery is a union - when making an API calls you must set exactly one of the members.
1815
+ #
1816
+ # @note OAuthDiscovery is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OAuthDiscovery corresponding to the set member.
1817
+ #
1818
+ # @!attribute [rw] discovery_url
1819
+ # URL of the authorization server's discovery document. The service
1820
+ # fetches it and resolves the endpoints from it.
1821
+ # @return [String]
1822
+ #
1823
+ # @!attribute [rw] authorization_server_metadata
1824
+ # The authorization server's endpoints, supplied explicitly instead
1825
+ # of discovered.
1826
+ # @return [Types::AuthorizationServerMetadata]
1827
+ #
1828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/OAuthDiscovery AWS API Documentation
1829
+ #
1830
+ class OAuthDiscovery < Struct.new(
1831
+ :discovery_url,
1832
+ :authorization_server_metadata,
1833
+ :unknown)
1834
+ SENSITIVE = []
1835
+ include Aws::Structure
1836
+ include Aws::Structure::Union
1837
+
1838
+ class DiscoveryUrl < OAuthDiscovery; end
1839
+ class AuthorizationServerMetadata < OAuthDiscovery; end
1840
+ class Unknown < OAuthDiscovery; end
1841
+ end
1842
+
1843
+ # Identifies the authorization server a credential provider talks to,
1844
+ # and carries the settings that server needs. Set exactly one member;
1845
+ # the member you choose fixes the provider's vendor, which cannot be
1846
+ # changed afterwards. Well-known vendors resolve their own OAuth
1847
+ # endpoints, so you supply only client credentials and any
1848
+ # tenant-specific detail. Use `customConfiguration` for any other OAuth
1849
+ # authorization server.
1850
+ #
1851
+ # @note OAuthVendorConfigurationInput is a union - when making an API calls you must set exactly one of the members.
1852
+ #
1853
+ # @!attribute [rw] github_configuration
1854
+ # Configuration for GitHub.
1855
+ # @return [Types::GithubOAuthConfigurationInput]
1856
+ #
1857
+ # @!attribute [rw] google_configuration
1858
+ # Configuration for Google.
1859
+ # @return [Types::GoogleOAuthConfigurationInput]
1860
+ #
1861
+ # @!attribute [rw] cognito_configuration
1862
+ # Configuration for an Amazon Cognito user pool.
1863
+ # @return [Types::CognitoOAuthConfigurationInput]
1864
+ #
1865
+ # @!attribute [rw] microsoft_configuration
1866
+ # Configuration for Microsoft Entra ID.
1867
+ # @return [Types::MicrosoftOAuthConfigurationInput]
1868
+ #
1869
+ # @!attribute [rw] atlassian_configuration
1870
+ # Configuration for Atlassian.
1871
+ # @return [Types::AtlassianOAuthConfigurationInput]
1872
+ #
1873
+ # @!attribute [rw] okta_configuration
1874
+ # Configuration for Okta.
1875
+ # @return [Types::OktaOAuthConfigurationInput]
1876
+ #
1877
+ # @!attribute [rw] slack_configuration
1878
+ # Configuration for Slack.
1879
+ # @return [Types::SlackOAuthConfigurationInput]
1880
+ #
1881
+ # @!attribute [rw] salesforce_configuration
1882
+ # Configuration for Salesforce.
1883
+ # @return [Types::SalesforceOAuthConfigurationInput]
1884
+ #
1885
+ # @!attribute [rw] linkedin_configuration
1886
+ # Configuration for LinkedIn.
1887
+ # @return [Types::LinkedinOAuthConfigurationInput]
1888
+ #
1889
+ # @!attribute [rw] custom_configuration
1890
+ # Configuration for any other OAuth authorization server, whose
1891
+ # endpoints you supply.
1892
+ # @return [Types::CustomOAuthConfigurationInput]
1893
+ #
1894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/OAuthVendorConfigurationInput AWS API Documentation
1895
+ #
1896
+ class OAuthVendorConfigurationInput < Struct.new(
1897
+ :github_configuration,
1898
+ :google_configuration,
1899
+ :cognito_configuration,
1900
+ :microsoft_configuration,
1901
+ :atlassian_configuration,
1902
+ :okta_configuration,
1903
+ :slack_configuration,
1904
+ :salesforce_configuration,
1905
+ :linkedin_configuration,
1906
+ :custom_configuration,
1907
+ :unknown)
1908
+ SENSITIVE = []
1909
+ include Aws::Structure
1910
+ include Aws::Structure::Union
1911
+
1912
+ class GithubConfiguration < OAuthVendorConfigurationInput; end
1913
+ class GoogleConfiguration < OAuthVendorConfigurationInput; end
1914
+ class CognitoConfiguration < OAuthVendorConfigurationInput; end
1915
+ class MicrosoftConfiguration < OAuthVendorConfigurationInput; end
1916
+ class AtlassianConfiguration < OAuthVendorConfigurationInput; end
1917
+ class OktaConfiguration < OAuthVendorConfigurationInput; end
1918
+ class SlackConfiguration < OAuthVendorConfigurationInput; end
1919
+ class SalesforceConfiguration < OAuthVendorConfigurationInput; end
1920
+ class LinkedinConfiguration < OAuthVendorConfigurationInput; end
1921
+ class CustomConfiguration < OAuthVendorConfigurationInput; end
1922
+ class Unknown < OAuthVendorConfigurationInput; end
1923
+ end
1924
+
1925
+ # A provider's vendor configuration as stored. The member that is set
1926
+ # matches the provider's vendor, which is fixed at creation. Each
1927
+ # member reports the OAuth endpoints the service resolved, and reports
1928
+ # client secrets as Secrets Manager ARNs rather than values.
1929
+ #
1930
+ # @note OAuthVendorConfigurationOutput is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OAuthVendorConfigurationOutput corresponding to the set member.
1931
+ #
1932
+ # @!attribute [rw] github_configuration
1933
+ # Configuration of a GitHub provider.
1934
+ # @return [Types::GithubOAuthConfigurationOutput]
1935
+ #
1936
+ # @!attribute [rw] google_configuration
1937
+ # Configuration of a Google provider.
1938
+ # @return [Types::GoogleOAuthConfigurationOutput]
1939
+ #
1940
+ # @!attribute [rw] cognito_configuration
1941
+ # Configuration of an Amazon Cognito provider.
1942
+ # @return [Types::CognitoOAuthConfigurationOutput]
1943
+ #
1944
+ # @!attribute [rw] microsoft_configuration
1945
+ # Configuration of a Microsoft Entra ID provider.
1946
+ # @return [Types::MicrosoftOAuthConfigurationOutput]
1947
+ #
1948
+ # @!attribute [rw] atlassian_configuration
1949
+ # Configuration of an Atlassian provider.
1950
+ # @return [Types::AtlassianOAuthConfigurationOutput]
1951
+ #
1952
+ # @!attribute [rw] okta_configuration
1953
+ # Configuration of an Okta provider.
1954
+ # @return [Types::OktaOAuthConfigurationOutput]
1955
+ #
1956
+ # @!attribute [rw] slack_configuration
1957
+ # Configuration of a Slack provider.
1958
+ # @return [Types::SlackOAuthConfigurationOutput]
1959
+ #
1960
+ # @!attribute [rw] salesforce_configuration
1961
+ # Configuration of a Salesforce provider.
1962
+ # @return [Types::SalesforceOAuthConfigurationOutput]
1963
+ #
1964
+ # @!attribute [rw] linkedin_configuration
1965
+ # Configuration of a LinkedIn provider.
1966
+ # @return [Types::LinkedinOAuthConfigurationOutput]
1967
+ #
1968
+ # @!attribute [rw] custom_configuration
1969
+ # Configuration of a provider for any other OAuth authorization
1970
+ # server.
1971
+ # @return [Types::CustomOAuthConfigurationOutput]
1972
+ #
1973
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/OAuthVendorConfigurationOutput AWS API Documentation
1974
+ #
1975
+ class OAuthVendorConfigurationOutput < Struct.new(
1976
+ :github_configuration,
1977
+ :google_configuration,
1978
+ :cognito_configuration,
1979
+ :microsoft_configuration,
1980
+ :atlassian_configuration,
1981
+ :okta_configuration,
1982
+ :slack_configuration,
1983
+ :salesforce_configuration,
1984
+ :linkedin_configuration,
1985
+ :custom_configuration,
1986
+ :unknown)
1987
+ SENSITIVE = []
1988
+ include Aws::Structure
1989
+ include Aws::Structure::Union
1990
+
1991
+ class GithubConfiguration < OAuthVendorConfigurationOutput; end
1992
+ class GoogleConfiguration < OAuthVendorConfigurationOutput; end
1993
+ class CognitoConfiguration < OAuthVendorConfigurationOutput; end
1994
+ class MicrosoftConfiguration < OAuthVendorConfigurationOutput; end
1995
+ class AtlassianConfiguration < OAuthVendorConfigurationOutput; end
1996
+ class OktaConfiguration < OAuthVendorConfigurationOutput; end
1997
+ class SlackConfiguration < OAuthVendorConfigurationOutput; end
1998
+ class SalesforceConfiguration < OAuthVendorConfigurationOutput; end
1999
+ class LinkedinConfiguration < OAuthVendorConfigurationOutput; end
2000
+ class CustomConfiguration < OAuthVendorConfigurationOutput; end
2001
+ class Unknown < OAuthVendorConfigurationOutput; end
2002
+ end
2003
+
2004
+ # Settings for a provider that obtains credentials from Okta. The Okta
2005
+ # organization's domain determines its endpoints, so `oktaDomain` is
2006
+ # required.
2007
+ #
2008
+ # @!attribute [rw] client_authentication_configuration
2009
+ # The OAuth client credentials a provider uses to authenticate to its
2010
+ # authorization server. Supply this when creating a provider; on
2011
+ # update, omit it to leave the existing client unchanged. Any client
2012
+ # secret given here is write-only and is never returned on reads.
2013
+ # @return [Types::ClientAuthenticationConfigurationInput]
2014
+ #
2015
+ # @!attribute [rw] okta_domain
2016
+ # Okta org domain (e.g. "mycompany.okta.com"). Resolves per-tenant
2017
+ # endpoints.
2018
+ # @return [String]
2019
+ #
2020
+ # @!attribute [rw] on_behalf_of_token_exchange_configuration
2021
+ # Configures on-behalf-of token exchange (RFC 8693) for a credential
2022
+ # provider, so the provider can trade a token identifying a user for a
2023
+ # token scoped to another audience while preserving that user's
2024
+ # identity. Supply this to enable the `TOKEN_EXCHANGE` grant; omit it
2025
+ # on update to leave the existing exchange configuration unchanged.
2026
+ # @return [Types::OnBehalfOfTokenExchangeConfigurationInput]
2027
+ #
2028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/OktaOAuthConfigurationInput AWS API Documentation
2029
+ #
2030
+ class OktaOAuthConfigurationInput < Struct.new(
2031
+ :client_authentication_configuration,
2032
+ :okta_domain,
2033
+ :on_behalf_of_token_exchange_configuration)
2034
+ SENSITIVE = []
2035
+ include Aws::Structure
2036
+ end
2037
+
2038
+ # An Okta provider's stored configuration.
2039
+ #
2040
+ # @!attribute [rw] oauth_discovery
2041
+ # How the authorization server's OAuth endpoints are determined. Set
2042
+ # exactly one member: give a discovery URL and let the service fetch
2043
+ # the endpoints, or state the endpoints yourself. On reads, this
2044
+ # reports the endpoints the service resolved and is using.
2045
+ # @return [Types::OAuthDiscovery]
2046
+ #
2047
+ # @!attribute [rw] client_authentication_configuration
2048
+ # The client credentials this provider uses to authenticate to its
2049
+ # authorization server. The client secret is reported as an AWS
2050
+ # Secrets Manager ARN, never as a value.
2051
+ # @return [Types::ClientAuthenticationConfigurationOutput]
2052
+ #
2053
+ # @!attribute [rw] on_behalf_of_token_exchange_configuration
2054
+ # The provider's on-behalf-of token exchange configuration as stored,
2055
+ # with client secrets reported as Secrets Manager ARNs rather than
2056
+ # values. Present only when the provider is configured for token
2057
+ # exchange.
2058
+ # @return [Types::OnBehalfOfTokenExchangeConfigurationOutput]
2059
+ #
2060
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/OktaOAuthConfigurationOutput AWS API Documentation
2061
+ #
2062
+ class OktaOAuthConfigurationOutput < Struct.new(
2063
+ :oauth_discovery,
2064
+ :client_authentication_configuration,
2065
+ :on_behalf_of_token_exchange_configuration)
2066
+ SENSITIVE = []
2067
+ include Aws::Structure
2068
+ end
2069
+
2070
+ # Configures on-behalf-of token exchange (RFC 8693) for a credential
2071
+ # provider, so the provider can trade a token identifying a user for a
2072
+ # token scoped to another audience while preserving that user's
2073
+ # identity. Supply this to enable the `TOKEN_EXCHANGE` grant; omit it on
2074
+ # update to leave the existing exchange configuration unchanged.
2075
+ #
2076
+ # @!attribute [rw] subject_token_source
2077
+ # Where an on-behalf-of token exchange gets the subject token. The
2078
+ # token identifying the user the exchanged token will represent. Set
2079
+ # exactly one member.
2080
+ # @return [Types::SubjectTokenSourceConfiguration]
2081
+ #
2082
+ # @!attribute [rw] token_exchange_actor_configuration
2083
+ # The actor presented alongside the subject in a token exchange, the
2084
+ # party acting on the user's behalf. Omit to send no actor token.
2085
+ # @return [Types::TokenExchangeActorConfigurationInput]
2086
+ #
2087
+ # @!attribute [rw] token_exchange_requester_configuration
2088
+ # How the provider authenticates to the authorization server when
2089
+ # making the token exchange request. Set exactly one member. This is
2090
+ # separate from the provider's main client, so an exchange can
2091
+ # present a different client than the one used to obtain the subject
2092
+ # token.
2093
+ # @return [Types::TokenExchangeRequesterConfigurationInput]
2094
+ #
2095
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/OnBehalfOfTokenExchangeConfigurationInput AWS API Documentation
2096
+ #
2097
+ class OnBehalfOfTokenExchangeConfigurationInput < Struct.new(
2098
+ :subject_token_source,
2099
+ :token_exchange_actor_configuration,
2100
+ :token_exchange_requester_configuration)
2101
+ SENSITIVE = []
2102
+ include Aws::Structure
2103
+ end
2104
+
2105
+ # The provider's on-behalf-of token exchange configuration as stored,
2106
+ # with client secrets reported as Secrets Manager ARNs rather than
2107
+ # values. Present only when the provider is configured for token
2108
+ # exchange.
2109
+ #
2110
+ # @!attribute [rw] subject_token_source
2111
+ # Where an on-behalf-of token exchange gets the subject token. The
2112
+ # token identifying the user the exchanged token will represent. Set
2113
+ # exactly one member.
2114
+ # @return [Types::SubjectTokenSourceConfiguration]
2115
+ #
2116
+ # @!attribute [rw] token_exchange_actor_configuration
2117
+ # The actor presented alongside the subject in a token exchange, the
2118
+ # party acting on the user's behalf. Omit to send no actor token.
2119
+ # @return [Types::TokenExchangeActorConfigurationOutput]
2120
+ #
2121
+ # @!attribute [rw] token_exchange_requester_configuration
2122
+ # How the provider authenticates to the authorization server when
2123
+ # making the token exchange request. Set exactly one member. This is
2124
+ # separate from the provider's main client, so an exchange can
2125
+ # present a different client than the one used to obtain the subject
2126
+ # token.
2127
+ # @return [Types::TokenExchangeRequesterConfigurationOutput]
2128
+ #
2129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/OnBehalfOfTokenExchangeConfigurationOutput AWS API Documentation
2130
+ #
2131
+ class OnBehalfOfTokenExchangeConfigurationOutput < Struct.new(
2132
+ :subject_token_source,
2133
+ :token_exchange_actor_configuration,
2134
+ :token_exchange_requester_configuration)
2135
+ SENSITIVE = []
2136
+ include Aws::Structure
2137
+ end
2138
+
2139
+ # How a single credential provider's cached tokens are encrypted at
2140
+ # rest. Set exactly one member. A provider either uses its own
2141
+ # customer-managed KMS key or inherits whatever the parent pool uses; it
2142
+ # cannot independently choose service-managed encryption.
2143
+ #
2144
+ # @note ProviderEncryptionConfiguration is a union - when making an API calls you must set exactly one of the members.
2145
+ #
2146
+ # @!attribute [rw] customer_managed
2147
+ # Encrypt this provider's cached tokens with a customer managed key
2148
+ # of its own, instead of the key the parent pool uses. Supply it again
2149
+ # with a different key to rotate.
2150
+ # @return [Types::CustomerManagedEncryption]
2151
+ #
2152
+ # @!attribute [rw] inherit_from_pool
2153
+ # Inherit the parent pool's encryption configuration.
2154
+ # @return [Types::Unit]
2155
+ #
2156
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ProviderEncryptionConfiguration AWS API Documentation
2157
+ #
2158
+ class ProviderEncryptionConfiguration < Struct.new(
2159
+ :customer_managed,
2160
+ :inherit_from_pool,
2161
+ :unknown)
2162
+ SENSITIVE = []
2163
+ include Aws::Structure
2164
+ include Aws::Structure::Union
2165
+
2166
+ class CustomerManaged < ProviderEncryptionConfiguration; end
2167
+ class InheritFromPool < ProviderEncryptionConfiguration; end
2168
+ class Unknown < ProviderEncryptionConfiguration; end
2169
+ end
2170
+
2171
+ # The requested resource does not exist, or the caller is not permitted
2172
+ # to know that it exists. A resource that was deleted, or that is still
2173
+ # being created, can also be reported this way.
2174
+ #
2175
+ # @!attribute [rw] message
2176
+ # @return [String]
2177
+ #
2178
+ # @!attribute [rw] resource_id
2179
+ # The identifier of the resource that could not be found, echoed from
2180
+ # the request.
2181
+ # @return [String]
2182
+ #
2183
+ # @!attribute [rw] resource_type
2184
+ # The type of the resource named by `resourceId`, when present.
2185
+ # @return [String]
2186
+ #
2187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ResourceNotFoundException AWS API Documentation
2188
+ #
2189
+ class ResourceNotFoundException < Struct.new(
2190
+ :message,
2191
+ :resource_id,
2192
+ :resource_type)
2193
+ SENSITIVE = []
2194
+ include Aws::Structure
2195
+ end
2196
+
2197
+ # Settings for a provider that obtains credentials from Salesforce. The
2198
+ # organization's My Domain host determines its endpoints, so
2199
+ # `instanceUrl` is required.
2200
+ #
2201
+ # @!attribute [rw] client_authentication_configuration
2202
+ # The OAuth client credentials a provider uses to authenticate to its
2203
+ # authorization server. Supply this when creating a provider; on
2204
+ # update, omit it to leave the existing client unchanged. Any client
2205
+ # secret given here is write-only and is never returned on reads.
2206
+ # @return [Types::ClientAuthenticationConfigurationInput]
2207
+ #
2208
+ # @!attribute [rw] instance_url
2209
+ # Salesforce My Domain host (e.g. "mycompany.my.salesforce.com").
2210
+ # @return [String]
2211
+ #
2212
+ # @!attribute [rw] on_behalf_of_token_exchange_configuration
2213
+ # Configures on-behalf-of token exchange (RFC 8693) for a credential
2214
+ # provider, so the provider can trade a token identifying a user for a
2215
+ # token scoped to another audience while preserving that user's
2216
+ # identity. Supply this to enable the `TOKEN_EXCHANGE` grant; omit it
2217
+ # on update to leave the existing exchange configuration unchanged.
2218
+ # @return [Types::OnBehalfOfTokenExchangeConfigurationInput]
2219
+ #
2220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/SalesforceOAuthConfigurationInput AWS API Documentation
2221
+ #
2222
+ class SalesforceOAuthConfigurationInput < Struct.new(
2223
+ :client_authentication_configuration,
2224
+ :instance_url,
2225
+ :on_behalf_of_token_exchange_configuration)
2226
+ SENSITIVE = []
2227
+ include Aws::Structure
2228
+ end
2229
+
2230
+ # A Salesforce provider's stored configuration.
2231
+ #
2232
+ # @!attribute [rw] oauth_discovery
2233
+ # How the authorization server's OAuth endpoints are determined. Set
2234
+ # exactly one member: give a discovery URL and let the service fetch
2235
+ # the endpoints, or state the endpoints yourself. On reads, this
2236
+ # reports the endpoints the service resolved and is using.
2237
+ # @return [Types::OAuthDiscovery]
2238
+ #
2239
+ # @!attribute [rw] client_authentication_configuration
2240
+ # The client credentials this provider uses to authenticate to its
2241
+ # authorization server. The client secret is reported as an AWS
2242
+ # Secrets Manager ARN, never as a value.
2243
+ # @return [Types::ClientAuthenticationConfigurationOutput]
2244
+ #
2245
+ # @!attribute [rw] on_behalf_of_token_exchange_configuration
2246
+ # The provider's on-behalf-of token exchange configuration as stored,
2247
+ # with client secrets reported as Secrets Manager ARNs rather than
2248
+ # values. Present only when the provider is configured for token
2249
+ # exchange.
2250
+ # @return [Types::OnBehalfOfTokenExchangeConfigurationOutput]
2251
+ #
2252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/SalesforceOAuthConfigurationOutput AWS API Documentation
2253
+ #
2254
+ class SalesforceOAuthConfigurationOutput < Struct.new(
2255
+ :oauth_discovery,
2256
+ :client_authentication_configuration,
2257
+ :on_behalf_of_token_exchange_configuration)
2258
+ SENSITIVE = []
2259
+ include Aws::Structure
2260
+ end
2261
+
2262
+ # A reference to a credential held in a Secrets Manager secret that you
2263
+ # own and manage. Use this instead of supplying the credential directly,
2264
+ # so the value stays in your own secret.
2265
+ #
2266
+ # @!attribute [rw] secret_id
2267
+ # Name or Amazon Resource Name of a secret in AWS Secrets Manager that
2268
+ # you own. The secret must be in the same Region as the resource that
2269
+ # references it, and its resource policy must allow this service to
2270
+ # read it.
2271
+ # @return [String]
2272
+ #
2273
+ # @!attribute [rw] json_key
2274
+ # Key to read from the secret's JSON payload. The secret value must
2275
+ # be a JSON object, and this key must be present in it; the value
2276
+ # stored under the key is used as the credential.
2277
+ # @return [String]
2278
+ #
2279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/SecretReference AWS API Documentation
2280
+ #
2281
+ class SecretReference < Struct.new(
2282
+ :secret_id,
2283
+ :json_key)
2284
+ SENSITIVE = []
2285
+ include Aws::Structure
2286
+ end
2287
+
2288
+ # The request would exceed a service quota, so it was rejected and
2289
+ # nothing was created or changed. Delete resources that are no longer
2290
+ # needed, or request a quota increase in Service Quotas using
2291
+ # `serviceCode` and `quotaCode`, then retry.
2292
+ #
2293
+ # @!attribute [rw] message
2294
+ # @return [String]
2295
+ #
2296
+ # @!attribute [rw] resource_id
2297
+ # The identifier of the resource whose quota was exceeded, when the
2298
+ # quota applies to a specific resource rather than the account.
2299
+ # @return [String]
2300
+ #
2301
+ # @!attribute [rw] resource_type
2302
+ # The type of the resource named by `resourceId`, when present.
2303
+ # @return [String]
2304
+ #
2305
+ # @!attribute [rw] service_code
2306
+ # The Service Quotas requirement that identifies the originating
2307
+ # service.
2308
+ # @return [String]
2309
+ #
2310
+ # @!attribute [rw] quota_code
2311
+ # The Service Quotas requirement that identifies the originating
2312
+ # quota.
2313
+ # @return [String]
2314
+ #
2315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ServiceQuotaExceededException AWS API Documentation
2316
+ #
2317
+ class ServiceQuotaExceededException < Struct.new(
2318
+ :message,
2319
+ :resource_id,
2320
+ :resource_type,
2321
+ :service_code,
2322
+ :quota_code)
2323
+ SENSITIVE = []
2324
+ include Aws::Structure
2325
+ end
2326
+
2327
+ # Settings for a provider that obtains credentials from Slack. Slack's
2328
+ # OAuth endpoints are known to the service, so only client credentials
2329
+ # are required.
2330
+ #
2331
+ # @!attribute [rw] client_authentication_configuration
2332
+ # The OAuth client credentials a provider uses to authenticate to its
2333
+ # authorization server. Supply this when creating a provider; on
2334
+ # update, omit it to leave the existing client unchanged. Any client
2335
+ # secret given here is write-only and is never returned on reads.
2336
+ # @return [Types::ClientAuthenticationConfigurationInput]
2337
+ #
2338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/SlackOAuthConfigurationInput AWS API Documentation
2339
+ #
2340
+ class SlackOAuthConfigurationInput < Struct.new(
2341
+ :client_authentication_configuration)
2342
+ SENSITIVE = []
2343
+ include Aws::Structure
2344
+ end
2345
+
2346
+ # A Slack provider's stored configuration.
2347
+ #
2348
+ # @!attribute [rw] oauth_discovery
2349
+ # How the authorization server's OAuth endpoints are determined. Set
2350
+ # exactly one member: give a discovery URL and let the service fetch
2351
+ # the endpoints, or state the endpoints yourself. On reads, this
2352
+ # reports the endpoints the service resolved and is using.
2353
+ # @return [Types::OAuthDiscovery]
2354
+ #
2355
+ # @!attribute [rw] client_authentication_configuration
2356
+ # The client credentials this provider uses to authenticate to its
2357
+ # authorization server. The client secret is reported as an AWS
2358
+ # Secrets Manager ARN, never as a value.
2359
+ # @return [Types::ClientAuthenticationConfigurationOutput]
2360
+ #
2361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/SlackOAuthConfigurationOutput AWS API Documentation
2362
+ #
2363
+ class SlackOAuthConfigurationOutput < Struct.new(
2364
+ :oauth_discovery,
2365
+ :client_authentication_configuration)
2366
+ SENSITIVE = []
2367
+ include Aws::Structure
2368
+ end
2369
+
2370
+ # Where an on-behalf-of token exchange gets the subject token. The token
2371
+ # identifying the user the exchanged token will represent. Set exactly
2372
+ # one member.
2373
+ #
2374
+ # @note SubjectTokenSourceConfiguration is a union - when making an API calls you must set exactly one of the members.
2375
+ #
2376
+ # @note SubjectTokenSourceConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SubjectTokenSourceConfiguration corresponding to the set member.
2377
+ #
2378
+ # @!attribute [rw] iam_identity_center
2379
+ # Use the identity in the caller's IAM Identity Center session as the
2380
+ # subject.
2381
+ # @return [Types::Unit]
2382
+ #
2383
+ # @!attribute [rw] credential_provider
2384
+ # Use an end-user token stored by the credential provider named here
2385
+ # as the subject.
2386
+ # @return [String]
2387
+ #
2388
+ # @!attribute [rw] credential_provider_self
2389
+ # Use this provider's own stored end-user token as the subject, so
2390
+ # that the same provider both obtains the user's token and exchanges
2391
+ # it. Requires the provider to allow the `AUTHORIZATION_CODE` grant.
2392
+ # @return [Types::CredentialBrokerSelfSubjectTokenSource]
2393
+ #
2394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/SubjectTokenSourceConfiguration AWS API Documentation
2395
+ #
2396
+ class SubjectTokenSourceConfiguration < Struct.new(
2397
+ :iam_identity_center,
2398
+ :credential_provider,
2399
+ :credential_provider_self,
2400
+ :unknown)
2401
+ SENSITIVE = []
2402
+ include Aws::Structure
2403
+ include Aws::Structure::Union
2404
+
2405
+ class IamIdentityCenter < SubjectTokenSourceConfiguration; end
2406
+ class CredentialProvider < SubjectTokenSourceConfiguration; end
2407
+ class CredentialProviderSelf < SubjectTokenSourceConfiguration; end
2408
+ class Unknown < SubjectTokenSourceConfiguration; end
2409
+ end
2410
+
2411
+ # @!attribute [rw] resource_arn
2412
+ # Amazon Resource Name of a taggable resource, either a credential
2413
+ # provider pool or a credential provider within a pool.
2414
+ # @return [String]
2415
+ #
2416
+ # @!attribute [rw] tags
2417
+ # Tags attached to a resource, as key-value pairs. Keys are unique
2418
+ # within a resource and are case-sensitive. Use tags to categorize
2419
+ # resources and to control access with tag-based IAM policies.
2420
+ # @return [Hash<String,String>]
2421
+ #
2422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/TagResourceRequest AWS API Documentation
2423
+ #
2424
+ class TagResourceRequest < Struct.new(
2425
+ :resource_arn,
2426
+ :tags)
2427
+ SENSITIVE = []
2428
+ include Aws::Structure
2429
+ end
2430
+
2431
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/TagResourceResponse AWS API Documentation
2432
+ #
2433
+ class TagResourceResponse < Aws::EmptyStructure; end
2434
+
2435
+ # The request was denied because the caller exceeded a request rate
2436
+ # limit. Nothing was changed. Retry with exponential backoff, honoring
2437
+ # `retryAfterSeconds` when it is present.
2438
+ #
2439
+ # @!attribute [rw] message
2440
+ # @return [String]
2441
+ #
2442
+ # @!attribute [rw] retry_after_seconds
2443
+ # The number of seconds to wait before retrying. If this field is
2444
+ # absent, retry with exponential backoff.
2445
+ # @return [Integer]
2446
+ #
2447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ThrottlingException AWS API Documentation
2448
+ #
2449
+ class ThrottlingException < Struct.new(
2450
+ :message,
2451
+ :retry_after_seconds)
2452
+ SENSITIVE = []
2453
+ include Aws::Structure
2454
+ end
2455
+
2456
+ # The actor presented alongside the subject in a token exchange, the
2457
+ # party acting on the user's behalf. Omit to send no actor token.
2458
+ #
2459
+ # @!attribute [rw] actor_token_content
2460
+ # What the actor token in an on-behalf-of exchange asserts. The actor
2461
+ # token identifies the party performing the exchange, as distinct from
2462
+ # the user it acts for.
2463
+ # @return [String]
2464
+ #
2465
+ # @!attribute [rw] actor_token_scopes
2466
+ # OAuth scopes to request. The authorization server decides which of
2467
+ # them it grants, so the issued token may carry fewer.
2468
+ # @return [Array<String>]
2469
+ #
2470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/TokenExchangeActorConfigurationInput AWS API Documentation
2471
+ #
2472
+ class TokenExchangeActorConfigurationInput < Struct.new(
2473
+ :actor_token_content,
2474
+ :actor_token_scopes)
2475
+ SENSITIVE = []
2476
+ include Aws::Structure
2477
+ end
2478
+
2479
+ # The actor configuration as stored.
2480
+ #
2481
+ # @!attribute [rw] actor_token_content
2482
+ # What the actor token in an on-behalf-of exchange asserts. The actor
2483
+ # token identifies the party performing the exchange, as distinct from
2484
+ # the user it acts for.
2485
+ # @return [String]
2486
+ #
2487
+ # @!attribute [rw] actor_token_scopes
2488
+ # OAuth scopes to request. The authorization server decides which of
2489
+ # them it grants, so the issued token may carry fewer.
2490
+ # @return [Array<String>]
2491
+ #
2492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/TokenExchangeActorConfigurationOutput AWS API Documentation
2493
+ #
2494
+ class TokenExchangeActorConfigurationOutput < Struct.new(
2495
+ :actor_token_content,
2496
+ :actor_token_scopes)
2497
+ SENSITIVE = []
2498
+ include Aws::Structure
2499
+ end
2500
+
2501
+ # How the provider authenticates to the authorization server when making
2502
+ # the token exchange request. Set exactly one member. This is separate
2503
+ # from the provider's main client, so an exchange can present a
2504
+ # different client than the one used to obtain the subject token.
2505
+ #
2506
+ # @note TokenExchangeRequesterConfigurationInput is a union - when making an API calls you must set exactly one of the members.
2507
+ #
2508
+ # @!attribute [rw] requester_client_authentication_configuration
2509
+ # Authenticate the exchange request with these client credentials.
2510
+ # @return [Types::ClientAuthenticationConfigurationInput]
2511
+ #
2512
+ # @!attribute [rw] no_client
2513
+ # Send no client credentials on the exchange request. Takes no
2514
+ # parameters.
2515
+ # @return [Types::Unit]
2516
+ #
2517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/TokenExchangeRequesterConfigurationInput AWS API Documentation
2518
+ #
2519
+ class TokenExchangeRequesterConfigurationInput < Struct.new(
2520
+ :requester_client_authentication_configuration,
2521
+ :no_client,
2522
+ :unknown)
2523
+ SENSITIVE = []
2524
+ include Aws::Structure
2525
+ include Aws::Structure::Union
2526
+
2527
+ class RequesterClientAuthenticationConfiguration < TokenExchangeRequesterConfigurationInput; end
2528
+ class NoClient < TokenExchangeRequesterConfigurationInput; end
2529
+ class Unknown < TokenExchangeRequesterConfigurationInput; end
2530
+ end
2531
+
2532
+ # The exchange request's client authentication as stored, with any
2533
+ # client secret reported as a Secrets Manager ARN rather than a value.
2534
+ #
2535
+ # @note TokenExchangeRequesterConfigurationOutput is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TokenExchangeRequesterConfigurationOutput corresponding to the set member.
2536
+ #
2537
+ # @!attribute [rw] requester_client_authentication_configuration
2538
+ # The client credentials used to authenticate the exchange request.
2539
+ # @return [Types::ClientAuthenticationConfigurationOutput]
2540
+ #
2541
+ # @!attribute [rw] no_client
2542
+ # No client credentials are sent on the exchange request. Takes no
2543
+ # parameters.
2544
+ # @return [Types::Unit]
2545
+ #
2546
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/TokenExchangeRequesterConfigurationOutput AWS API Documentation
2547
+ #
2548
+ class TokenExchangeRequesterConfigurationOutput < Struct.new(
2549
+ :requester_client_authentication_configuration,
2550
+ :no_client,
2551
+ :unknown)
2552
+ SENSITIVE = []
2553
+ include Aws::Structure
2554
+ include Aws::Structure::Union
2555
+
2556
+ class RequesterClientAuthenticationConfiguration < TokenExchangeRequesterConfigurationOutput; end
2557
+ class NoClient < TokenExchangeRequesterConfigurationOutput; end
2558
+ class Unknown < TokenExchangeRequesterConfigurationOutput; end
2559
+ end
2560
+
2561
+ # @api private
2562
+ #
2563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/Unit AWS API Documentation
2564
+ #
2565
+ class Unit < Aws::EmptyStructure; end
2566
+
2567
+ # @!attribute [rw] resource_arn
2568
+ # Amazon Resource Name of a taggable resource, either a credential
2569
+ # provider pool or a credential provider within a pool.
2570
+ # @return [String]
2571
+ #
2572
+ # @!attribute [rw] tag_keys
2573
+ # A list of tag keys. Keys that are not present on the resource are
2574
+ # ignored.
2575
+ # @return [Array<String>]
2576
+ #
2577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/UntagResourceRequest AWS API Documentation
2578
+ #
2579
+ class UntagResourceRequest < Struct.new(
2580
+ :resource_arn,
2581
+ :tag_keys)
2582
+ SENSITIVE = []
2583
+ include Aws::Structure
2584
+ end
2585
+
2586
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/UntagResourceResponse AWS API Documentation
2587
+ #
2588
+ class UntagResourceResponse < Aws::EmptyStructure; end
2589
+
2590
+ # @!attribute [rw] credential_provider_pool_identifier
2591
+ # Identifies a credential provider pool. Accepts either the pool's
2592
+ # ARN or its service-generated ID; both refer to the same pool.
2593
+ # @return [String]
2594
+ #
2595
+ # @!attribute [rw] name
2596
+ # Rename the pool. If provided, MUST be unique within the account;
2597
+ # omitting leaves the name unchanged.
2598
+ # @return [String]
2599
+ #
2600
+ # @!attribute [rw] encryption_configuration
2601
+ # Changes how cached tokens are encrypted at rest for the providers in
2602
+ # this pool. Use it to move between a customer managed key and a
2603
+ # service-owned key, or to point at a different customer managed key.
2604
+ # Omit to leave the current configuration unchanged. Providers that
2605
+ # override the pool with a key of their own are unaffected.
2606
+ # @return [Types::EncryptionConfiguration]
2607
+ #
2608
+ # @!attribute [rw] identity_center_update
2609
+ # Identity Center update action. Omit to preserve existing binding.
2610
+ # @return [Types::IdentityCenterUpdate]
2611
+ #
2612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/UpdateCredentialProviderPoolRequest AWS API Documentation
2613
+ #
2614
+ class UpdateCredentialProviderPoolRequest < Struct.new(
2615
+ :credential_provider_pool_identifier,
2616
+ :name,
2617
+ :encryption_configuration,
2618
+ :identity_center_update)
2619
+ SENSITIVE = []
2620
+ include Aws::Structure
2621
+ end
2622
+
2623
+ # @!attribute [rw] credential_provider_pool_arn
2624
+ # Amazon Resource Name of a credential provider pool.
2625
+ # Service-generated and stable for the life of the pool. Use it in IAM
2626
+ # policies and anywhere an operation accepts a pool identifier.
2627
+ # @return [String]
2628
+ #
2629
+ # @!attribute [rw] credential_provider_pool_id
2630
+ # Service-generated identifier of a credential provider pool. Opaque
2631
+ # and stable for the life of the pool. Accepted anywhere an operation
2632
+ # takes a pool identifier, in place of the pool's ARN.
2633
+ # @return [String]
2634
+ #
2635
+ # @!attribute [rw] name
2636
+ # The name of a credential provider pool. Must be unique among the
2637
+ # pools that currently exist in your account, and can be changed after
2638
+ # creation with UpdateCredentialProviderPool. A deleted pool's name
2639
+ # becomes available for reuse.
2640
+ # @return [String]
2641
+ #
2642
+ # @!attribute [rw] status
2643
+ # Lifecycle status of a resource. Create, update, and delete are
2644
+ # asynchronous: the operation returns immediately with a transitional
2645
+ # status, and the resource reaches `READY` or `FAILED` on its own.
2646
+ # Poll with the matching `Get` operation to observe the transition.
2647
+ # New values may be added over time, so treat an unrecognized value as
2648
+ # "still settling" rather than an error.
2649
+ # @return [String]
2650
+ #
2651
+ # @!attribute [rw] encryption_configuration
2652
+ # How cached tokens are encrypted at rest. Set exactly one member: a
2653
+ # customer-managed configuration must name a KMS key, and a
2654
+ # service-managed configuration takes no parameters.
2655
+ # @return [Types::EncryptionConfiguration]
2656
+ #
2657
+ # @!attribute [rw] identity_center_configuration
2658
+ # Links a credential provider pool to an IAM Identity Center instance,
2659
+ # so that providers in the pool can issue credentials for the identity
2660
+ # in the caller's Identity Center session. A pool can be associated
2661
+ # with at most one instance. Associating an instance creates an
2662
+ # Identity Center application that the pool owns; every provider in
2663
+ # the pool reports that same application.
2664
+ # @return [Types::IdentityCenterConfiguration]
2665
+ #
2666
+ # @!attribute [rw] identity_center_application_arn
2667
+ # Amazon Resource Name of the IAM Identity Center application created
2668
+ # for a pool. Service-generated and read-only. It is created when an
2669
+ # Identity Center instance is associated with the pool and deleted
2670
+ # when the association is removed. Because the application belongs to
2671
+ # the pool, every credential provider in that pool reports the same
2672
+ # value.
2673
+ # @return [String]
2674
+ #
2675
+ # @!attribute [rw] created_at
2676
+ # When the pool was created.
2677
+ # @return [Time]
2678
+ #
2679
+ # @!attribute [rw] updated_at
2680
+ # When the pool was last modified. Equal to `createdAt` until the
2681
+ # first successful update.
2682
+ # @return [Time]
2683
+ #
2684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/UpdateCredentialProviderPoolResponse AWS API Documentation
2685
+ #
2686
+ class UpdateCredentialProviderPoolResponse < Struct.new(
2687
+ :credential_provider_pool_arn,
2688
+ :credential_provider_pool_id,
2689
+ :name,
2690
+ :status,
2691
+ :encryption_configuration,
2692
+ :identity_center_configuration,
2693
+ :identity_center_application_arn,
2694
+ :created_at,
2695
+ :updated_at)
2696
+ SENSITIVE = []
2697
+ include Aws::Structure
2698
+ end
2699
+
2700
+ # @!attribute [rw] credential_provider_pool_identifier
2701
+ # Identifies a credential provider pool. Accepts either the pool's
2702
+ # ARN or its service-generated ID; both refer to the same pool.
2703
+ # @return [String]
2704
+ #
2705
+ # @!attribute [rw] credential_provider_identifier
2706
+ # Identifies a credential provider. Accepts either the provider's ARN
2707
+ # or its service-generated ID; both refer to the same provider.
2708
+ # @return [String]
2709
+ #
2710
+ # @!attribute [rw] name
2711
+ # Rename the provider. If provided, MUST be unique within the pool;
2712
+ # omitting leaves the name unchanged.
2713
+ # @return [String]
2714
+ #
2715
+ # @!attribute [rw] provider_configuration_input
2716
+ # Type-specific fields to update. Omit to change only the name; within
2717
+ # that member, omit any field to leave it unchanged. The member must
2718
+ # match the provider's existing type.
2719
+ # @return [Types::CredentialProviderConfigurationInput]
2720
+ #
2721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/UpdateCredentialProviderRequest AWS API Documentation
2722
+ #
2723
+ class UpdateCredentialProviderRequest < Struct.new(
2724
+ :credential_provider_pool_identifier,
2725
+ :credential_provider_identifier,
2726
+ :name,
2727
+ :provider_configuration_input)
2728
+ SENSITIVE = []
2729
+ include Aws::Structure
2730
+ end
2731
+
2732
+ # @!attribute [rw] credential_provider_arn
2733
+ # Amazon Resource Name of a credential provider. Service-generated and
2734
+ # stable for the life of the provider. The ARN embeds the parent pool,
2735
+ # so it identifies the provider on its own without a separate pool
2736
+ # identifier. Use it in IAM policies and anywhere an operation accepts
2737
+ # a credential provider identifier.
2738
+ # @return [String]
2739
+ #
2740
+ # @!attribute [rw] credential_provider_id
2741
+ # Service-generated identifier of a credential provider. Opaque and
2742
+ # stable for the life of the provider, and unique within its parent
2743
+ # pool. Accepted anywhere an operation takes a provider identifier, in
2744
+ # place of the provider's ARN.
2745
+ # @return [String]
2746
+ #
2747
+ # @!attribute [rw] credential_provider_pool_id
2748
+ # Service-generated identifier of a credential provider pool. Opaque
2749
+ # and stable for the life of the pool. Accepted anywhere an operation
2750
+ # takes a pool identifier, in place of the pool's ARN.
2751
+ # @return [String]
2752
+ #
2753
+ # @!attribute [rw] name
2754
+ # The name of a credential provider. Must be unique among the
2755
+ # providers that currently exist in the same pool, and can be changed
2756
+ # after creation with UpdateCredentialProvider. A deleted provider's
2757
+ # name becomes available for reuse.
2758
+ # @return [String]
2759
+ #
2760
+ # @!attribute [rw] provider_type
2761
+ # The kind of credential a provider obtains and the configuration it
2762
+ # requires. Fixed when the provider is created and cannot be changed
2763
+ # by a later update. New values may be added over time.
2764
+ # @return [String]
2765
+ #
2766
+ # @!attribute [rw] status
2767
+ # Lifecycle status of a credential provider. Create, update, and
2768
+ # delete are asynchronous: the operation returns immediately with a
2769
+ # transitional status, and the provider reaches `READY` or `FAILED` on
2770
+ # its own. Poll `GetCredentialProvider` to observe the transition. New
2771
+ # values may be added over time, so treat an unrecognized value as
2772
+ # "still settling" rather than an error.
2773
+ # @return [String]
2774
+ #
2775
+ # @!attribute [rw] provider_configuration
2776
+ # Type-specific output configuration. The member that is set matches
2777
+ # the provider type.
2778
+ # @return [Types::CredentialProviderConfigurationOutput]
2779
+ #
2780
+ # @!attribute [rw] status_reason
2781
+ # Explains why a resource is in a non-terminal status (e.g., FAILED,
2782
+ # DELETING).
2783
+ # @return [String]
2784
+ #
2785
+ # @!attribute [rw] created_at
2786
+ # When the credential provider was created.
2787
+ # @return [Time]
2788
+ #
2789
+ # @!attribute [rw] updated_at
2790
+ # When the credential provider was last modified. Equal to `createdAt`
2791
+ # until the first successful update.
2792
+ # @return [Time]
2793
+ #
2794
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/UpdateCredentialProviderResponse AWS API Documentation
2795
+ #
2796
+ class UpdateCredentialProviderResponse < Struct.new(
2797
+ :credential_provider_arn,
2798
+ :credential_provider_id,
2799
+ :credential_provider_pool_id,
2800
+ :name,
2801
+ :provider_type,
2802
+ :status,
2803
+ :provider_configuration,
2804
+ :status_reason,
2805
+ :created_at,
2806
+ :updated_at)
2807
+ SENSITIVE = []
2808
+ include Aws::Structure
2809
+ end
2810
+
2811
+ # The request is not valid. The request was rejected before any change
2812
+ # was made, so it is safe to correct the input and retry. Use `reason`
2813
+ # to branch in code and `message` for the human-readable detail of which
2814
+ # field or combination of fields was at fault.
2815
+ #
2816
+ # @!attribute [rw] message
2817
+ # @return [String]
2818
+ #
2819
+ # @!attribute [rw] reason
2820
+ # Identifies which validation check a request failed. New values may
2821
+ # be added over time, so treat an unrecognized value as a generic
2822
+ # validation failure and rely on `message` for detail.
2823
+ # @return [String]
2824
+ #
2825
+ # @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ValidationException AWS API Documentation
2826
+ #
2827
+ class ValidationException < Struct.new(
2828
+ :message,
2829
+ :reason)
2830
+ SENSITIVE = []
2831
+ include Aws::Structure
2832
+ end
2833
+
2834
+ end
2835
+ end
2836
+