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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-credentialbrokercontrol/client.rb +2532 -0
- data/lib/aws-sdk-credentialbrokercontrol/client_api.rb +909 -0
- data/lib/aws-sdk-credentialbrokercontrol/customizations.rb +0 -0
- data/lib/aws-sdk-credentialbrokercontrol/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-credentialbrokercontrol/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-credentialbrokercontrol/endpoints.rb +20 -0
- data/lib/aws-sdk-credentialbrokercontrol/errors.rb +227 -0
- data/lib/aws-sdk-credentialbrokercontrol/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-credentialbrokercontrol/resource.rb +26 -0
- data/lib/aws-sdk-credentialbrokercontrol/types.rb +2836 -0
- data/lib/aws-sdk-credentialbrokercontrol/waiters.rb +241 -0
- data/lib/aws-sdk-credentialbrokercontrol.rb +62 -0
- data/sig/client.rbs +337 -0
- data/sig/errors.rbs +50 -0
- data/sig/params.rbs +147 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +760 -0
- data/sig/waiters.rbs +55 -0
- metadata +98 -0
|
@@ -0,0 +1,2532 @@
|
|
|
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
|
+
require 'seahorse/client/plugins/content_length'
|
|
11
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
|
12
|
+
require 'aws-sdk-core/plugins/logging'
|
|
13
|
+
require 'aws-sdk-core/plugins/param_converter'
|
|
14
|
+
require 'aws-sdk-core/plugins/param_validator'
|
|
15
|
+
require 'aws-sdk-core/plugins/user_agent'
|
|
16
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
|
17
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
|
18
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
|
19
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
|
20
|
+
require 'aws-sdk-core/plugins/endpoint_discovery'
|
|
21
|
+
require 'aws-sdk-core/plugins/endpoint_pattern'
|
|
22
|
+
require 'aws-sdk-core/plugins/response_paging'
|
|
23
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
|
24
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
|
26
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
|
27
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin'
|
|
28
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
|
|
29
|
+
require 'aws-sdk-core/plugins/transfer_encoding'
|
|
30
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
|
31
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
|
32
|
+
require 'aws-sdk-core/plugins/request_compression'
|
|
33
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
|
34
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
|
35
|
+
require 'aws-sdk-core/plugins/telemetry'
|
|
36
|
+
require 'aws-sdk-core/plugins/sign'
|
|
37
|
+
require 'aws-sdk-core/plugins/protocols/rest_json'
|
|
38
|
+
|
|
39
|
+
module Aws::CredentialBrokerControl
|
|
40
|
+
# An API client for CredentialBrokerControl. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
41
|
+
#
|
|
42
|
+
# client = Aws::CredentialBrokerControl::Client.new(
|
|
43
|
+
# region: region_name,
|
|
44
|
+
# credentials: credentials,
|
|
45
|
+
# # ...
|
|
46
|
+
# )
|
|
47
|
+
#
|
|
48
|
+
# For details on configuring region and credentials see
|
|
49
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
|
50
|
+
#
|
|
51
|
+
# See {#initialize} for a full list of supported configuration options.
|
|
52
|
+
class Client < Seahorse::Client::Base
|
|
53
|
+
|
|
54
|
+
include Aws::ClientStubs
|
|
55
|
+
|
|
56
|
+
@identifier = :credentialbrokercontrol
|
|
57
|
+
|
|
58
|
+
set_api(ClientApi::API)
|
|
59
|
+
|
|
60
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
|
61
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
|
62
|
+
add_plugin(Aws::Plugins::Logging)
|
|
63
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
|
64
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
|
65
|
+
add_plugin(Aws::Plugins::UserAgent)
|
|
66
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
|
67
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
|
68
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
|
69
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
|
70
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
|
71
|
+
add_plugin(Aws::Plugins::EndpointPattern)
|
|
72
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
|
73
|
+
add_plugin(Aws::Plugins::StubResponses)
|
|
74
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
|
75
|
+
add_plugin(Aws::Plugins::InvocationId)
|
|
76
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
|
77
|
+
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
78
|
+
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
79
|
+
add_plugin(Aws::Plugins::TransferEncoding)
|
|
80
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
|
81
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
|
82
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
|
83
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
|
84
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
|
85
|
+
add_plugin(Aws::Plugins::Telemetry)
|
|
86
|
+
add_plugin(Aws::Plugins::Sign)
|
|
87
|
+
add_plugin(Aws::Plugins::Protocols::RestJson)
|
|
88
|
+
add_plugin(Aws::CredentialBrokerControl::Plugins::Endpoints)
|
|
89
|
+
|
|
90
|
+
# @overload initialize(options)
|
|
91
|
+
# @param [Hash] options
|
|
92
|
+
#
|
|
93
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
|
94
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
|
95
|
+
# class name or an instance of a plugin class.
|
|
96
|
+
#
|
|
97
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
|
98
|
+
# Your AWS credentials used for authentication. This can be any class that includes and implements
|
|
99
|
+
# `Aws::CredentialProvider`, or instance of any one of the following classes:
|
|
100
|
+
#
|
|
101
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
102
|
+
# credentials.
|
|
103
|
+
#
|
|
104
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
|
105
|
+
# shared file, such as `~/.aws/config`.
|
|
106
|
+
#
|
|
107
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
|
108
|
+
#
|
|
109
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
|
110
|
+
# assume a role after providing credentials via the web.
|
|
111
|
+
#
|
|
112
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
|
113
|
+
# access token generated from `aws login`.
|
|
114
|
+
#
|
|
115
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
|
116
|
+
# process that outputs to stdout.
|
|
117
|
+
#
|
|
118
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
119
|
+
# from an EC2 IMDS on an EC2 instance.
|
|
120
|
+
#
|
|
121
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
|
122
|
+
# instances running in ECS.
|
|
123
|
+
#
|
|
124
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
|
125
|
+
# from the Cognito Identity service.
|
|
126
|
+
#
|
|
127
|
+
# When `:credentials` are not configured directly, the following locations will be searched for credentials:
|
|
128
|
+
#
|
|
129
|
+
# * `Aws.config[:credentials]`
|
|
130
|
+
#
|
|
131
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
|
132
|
+
# `:account_id` options.
|
|
133
|
+
#
|
|
134
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
|
135
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
|
136
|
+
#
|
|
137
|
+
# * `~/.aws/credentials`
|
|
138
|
+
#
|
|
139
|
+
# * `~/.aws/config`
|
|
140
|
+
#
|
|
141
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
|
|
142
|
+
# Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
|
143
|
+
# enable retries and extended timeouts. Instance profile credential fetching can be disabled by
|
|
144
|
+
# setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
|
|
145
|
+
#
|
|
146
|
+
# @option options [required, String] :region
|
|
147
|
+
# The AWS region to connect to. The configured `:region` is
|
|
148
|
+
# used to determine the service `:endpoint`. When not passed,
|
|
149
|
+
# a default `:region` is searched for in the following locations:
|
|
150
|
+
#
|
|
151
|
+
# * `Aws.config[:region]`
|
|
152
|
+
# * `ENV['AWS_REGION']`
|
|
153
|
+
# * `ENV['AMAZON_REGION']`
|
|
154
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
|
155
|
+
# * `~/.aws/credentials`
|
|
156
|
+
# * `~/.aws/config`
|
|
157
|
+
#
|
|
158
|
+
# @option options [String] :access_key_id
|
|
159
|
+
#
|
|
160
|
+
# @option options [String] :account_id
|
|
161
|
+
#
|
|
162
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
|
163
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
|
164
|
+
# the background every 60 secs (default). Defaults to `false`.
|
|
165
|
+
#
|
|
166
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
|
167
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
|
168
|
+
# until there is sufficent client side capacity to retry the request.
|
|
169
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
|
170
|
+
# not retry instead of sleeping.
|
|
171
|
+
#
|
|
172
|
+
# @option options [Array<String>] :auth_scheme_preference
|
|
173
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
|
174
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
|
175
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
|
176
|
+
#
|
|
177
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
|
178
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
|
179
|
+
# this client.
|
|
180
|
+
#
|
|
181
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
|
182
|
+
# Allows you to provide an identifier for this client which will be attached to
|
|
183
|
+
# all generated client side metrics. Defaults to an empty string.
|
|
184
|
+
#
|
|
185
|
+
# @option options [String] :client_side_monitoring_host ("127.0.0.1")
|
|
186
|
+
# Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
|
|
187
|
+
# side monitoring agent is running on, where client metrics will be published via UDP.
|
|
188
|
+
#
|
|
189
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
|
190
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
|
191
|
+
# agent is running on, where client metrics will be published via UDP.
|
|
192
|
+
#
|
|
193
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
|
194
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
|
195
|
+
# will use the Client Side Monitoring Agent Publisher.
|
|
196
|
+
#
|
|
197
|
+
# @option options [Boolean] :convert_params (true)
|
|
198
|
+
# When `true`, an attempt is made to coerce request parameters into
|
|
199
|
+
# the required types.
|
|
200
|
+
#
|
|
201
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
205
|
+
#
|
|
206
|
+
# @option options [String] :defaults_mode ("legacy")
|
|
207
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
208
|
+
# accepted modes and the configuration defaults that are included.
|
|
209
|
+
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
216
|
+
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
217
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
218
|
+
#
|
|
219
|
+
# @option options [Boolean] :disable_request_compression (false)
|
|
220
|
+
# When set to 'true' the request body will not be compressed
|
|
221
|
+
# for supported operations.
|
|
222
|
+
#
|
|
223
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
|
224
|
+
# Normally you should not configure the `:endpoint` option
|
|
225
|
+
# directly. This is normally constructed from the `:region`
|
|
226
|
+
# option. Configuring `:endpoint` is normally reserved for
|
|
227
|
+
# connecting to test or custom endpoints. The endpoint should
|
|
228
|
+
# be a URI formatted like:
|
|
229
|
+
#
|
|
230
|
+
# 'http://example.com'
|
|
231
|
+
# 'https://example.com'
|
|
232
|
+
# 'http://example.com:123'
|
|
233
|
+
#
|
|
234
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
235
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
236
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
|
237
|
+
#
|
|
238
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
|
239
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
|
240
|
+
#
|
|
241
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
|
242
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
|
243
|
+
# Use this option to config the time interval in seconds for making
|
|
244
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
|
245
|
+
#
|
|
246
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
|
247
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
248
|
+
#
|
|
249
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
|
250
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
|
251
|
+
# variables and the shared configuration file.
|
|
252
|
+
#
|
|
253
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
254
|
+
# The log formatter.
|
|
255
|
+
#
|
|
256
|
+
# @option options [Symbol] :log_level (:info)
|
|
257
|
+
# The log level to send messages to the `:logger` at.
|
|
258
|
+
#
|
|
259
|
+
# @option options [Logger] :logger
|
|
260
|
+
# The Logger instance to send log messages to. If this option
|
|
261
|
+
# is not set, logging will be disabled.
|
|
262
|
+
#
|
|
263
|
+
# @option options [Integer] :max_attempts (3)
|
|
264
|
+
# An integer representing the maximum number attempts that will be made for
|
|
265
|
+
# a single request, including the initial attempt. For example,
|
|
266
|
+
# setting this value to 5 will result in a request being retried up to
|
|
267
|
+
# 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
|
|
268
|
+
# except for DynamoDB and DynamoDB Streams, which default to 4.
|
|
269
|
+
#
|
|
270
|
+
# @option options [String] :profile ("default")
|
|
271
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
|
272
|
+
# When not specified, 'default' is used.
|
|
273
|
+
#
|
|
274
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
|
275
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
|
276
|
+
#
|
|
277
|
+
# * `when_supported` - (default) When set, a checksum will be
|
|
278
|
+
# calculated for all request payloads of operations modeled with the
|
|
279
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
|
280
|
+
# `requestAlgorithmMember` is modeled.
|
|
281
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
|
282
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
|
283
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
|
284
|
+
# is modeled and supplied.
|
|
285
|
+
#
|
|
286
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
|
287
|
+
# The minimum size in bytes that triggers compression for request
|
|
288
|
+
# bodies. The value must be non-negative integer value between 0
|
|
289
|
+
# and 10485780 bytes inclusive.
|
|
290
|
+
#
|
|
291
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
|
292
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
|
293
|
+
#
|
|
294
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
|
295
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
|
296
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
|
297
|
+
# are supported.
|
|
298
|
+
# * `when_required` - When set, checksum validation is not performed on
|
|
299
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
|
300
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
|
301
|
+
#
|
|
302
|
+
# @option options [Proc] :retry_backoff
|
|
303
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
|
304
|
+
# This option is only used in the `legacy` retry mode.
|
|
305
|
+
#
|
|
306
|
+
# @option options [Float] :retry_base_delay (0.3)
|
|
307
|
+
# The base delay in seconds used by the default backoff function. This option
|
|
308
|
+
# is only used in the `legacy` retry mode.
|
|
309
|
+
#
|
|
310
|
+
# @option options [Symbol] :retry_jitter (:none)
|
|
311
|
+
# A delay randomiser function used by the default backoff function.
|
|
312
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
|
313
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
|
314
|
+
# in the `legacy` retry mode.
|
|
315
|
+
#
|
|
316
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
|
317
|
+
#
|
|
318
|
+
# @option options [Integer] :retry_limit (3)
|
|
319
|
+
# The maximum number of times to retry failed requests. Only
|
|
320
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
|
321
|
+
# are retried. Generally, these are throttling errors, data
|
|
322
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
|
323
|
+
# endpoint discovery, and errors from expired credentials.
|
|
324
|
+
# This option is only used in the `legacy` retry mode.
|
|
325
|
+
#
|
|
326
|
+
# @option options [Integer] :retry_max_delay (0)
|
|
327
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
|
328
|
+
# used by the default backoff function. This option is only used in the
|
|
329
|
+
# `legacy` retry mode.
|
|
330
|
+
#
|
|
331
|
+
# @option options [String] :retry_mode ("standard")
|
|
332
|
+
# Specifies which retry algorithm to use. Values are:
|
|
333
|
+
#
|
|
334
|
+
# * `legacy` - The pre-existing retry behavior.
|
|
335
|
+
#
|
|
336
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
337
|
+
# This includes support for retry quotas, which limit the number of
|
|
338
|
+
# unsuccessful retries a client can make. This is the default value
|
|
339
|
+
# if no retry mode is provided.
|
|
340
|
+
#
|
|
341
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
342
|
+
# `standard` mode along with automatic client side throttling.
|
|
343
|
+
#
|
|
344
|
+
# @option options [String] :sdk_ua_app_id
|
|
345
|
+
# A unique and opaque application ID that is appended to the
|
|
346
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
|
347
|
+
# maximum length of 50. This variable is sourced from environment
|
|
348
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
|
349
|
+
#
|
|
350
|
+
# @option options [String] :secret_access_key
|
|
351
|
+
#
|
|
352
|
+
# @option options [String] :session_token
|
|
353
|
+
#
|
|
354
|
+
# @option options [Array] :sigv4a_signing_region_set
|
|
355
|
+
# A list of regions that should be signed with SigV4a signing. When
|
|
356
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
|
357
|
+
# in the following locations:
|
|
358
|
+
#
|
|
359
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
|
360
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
|
361
|
+
# * `~/.aws/config`
|
|
362
|
+
#
|
|
363
|
+
# @option options [Boolean] :stub_responses (false)
|
|
364
|
+
# Causes the client to return stubbed responses. By default
|
|
365
|
+
# fake responses are generated and returned. You can specify
|
|
366
|
+
# the response data to return or errors to raise by calling
|
|
367
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
|
368
|
+
#
|
|
369
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
370
|
+
# requests are made, and retries are disabled.
|
|
371
|
+
#
|
|
372
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
|
373
|
+
# Allows you to provide a telemetry provider, which is used to
|
|
374
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
|
375
|
+
# will not record or emit any telemetry data. The SDK supports the
|
|
376
|
+
# following telemetry providers:
|
|
377
|
+
#
|
|
378
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
|
379
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
|
380
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
|
381
|
+
#
|
|
382
|
+
# @option options [Aws::TokenProvider] :token_provider
|
|
383
|
+
# Your Bearer token used for authentication. This can be any class that includes and implements
|
|
384
|
+
# `Aws::TokenProvider`, or instance of any one of the following classes:
|
|
385
|
+
#
|
|
386
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
|
387
|
+
# tokens.
|
|
388
|
+
#
|
|
389
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
|
390
|
+
# access token generated from `aws login`.
|
|
391
|
+
#
|
|
392
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
|
393
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
|
394
|
+
#
|
|
395
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
|
396
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
397
|
+
# will be used if available.
|
|
398
|
+
#
|
|
399
|
+
# @option options [Boolean] :use_fips_endpoint
|
|
400
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
|
401
|
+
# When a `fips` region is used, the region is normalized and this config
|
|
402
|
+
# is set to `true`.
|
|
403
|
+
#
|
|
404
|
+
# @option options [Boolean] :validate_params (true)
|
|
405
|
+
# When `true`, request parameters are validated before
|
|
406
|
+
# sending the request.
|
|
407
|
+
#
|
|
408
|
+
# @option options [Aws::CredentialBrokerControl::EndpointProvider] :endpoint_provider
|
|
409
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
|
410
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
|
411
|
+
# `Aws::CredentialBrokerControl::EndpointParameters`.
|
|
412
|
+
#
|
|
413
|
+
# @option options [Float] :http_continue_timeout (1)
|
|
414
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
|
415
|
+
# request body. This option has no effect unless the request has "Expect"
|
|
416
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
|
417
|
+
# behaviour. This value can safely be set per request on the session.
|
|
418
|
+
#
|
|
419
|
+
# @option options [Float] :http_idle_timeout (5)
|
|
420
|
+
# The number of seconds a connection is allowed to sit idle before it
|
|
421
|
+
# is considered stale. Stale connections are closed and removed from the
|
|
422
|
+
# pool before making a request.
|
|
423
|
+
#
|
|
424
|
+
# @option options [Float] :http_open_timeout (15)
|
|
425
|
+
# The default number of seconds to wait for response data.
|
|
426
|
+
# This value can safely be set per-request on the session.
|
|
427
|
+
#
|
|
428
|
+
# @option options [URI::HTTP,String] :http_proxy
|
|
429
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
|
430
|
+
#
|
|
431
|
+
# @option options [Float] :http_read_timeout (60)
|
|
432
|
+
# The default number of seconds to wait for response data.
|
|
433
|
+
# This value can safely be set per-request on the session.
|
|
434
|
+
#
|
|
435
|
+
# @option options [Boolean] :http_wire_trace (false)
|
|
436
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
|
437
|
+
#
|
|
438
|
+
# @option options [Proc] :on_chunk_received
|
|
439
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
440
|
+
# of the response body is received. It provides three arguments: the chunk,
|
|
441
|
+
# the number of bytes received, and the total number of
|
|
442
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
|
443
|
+
#
|
|
444
|
+
# @option options [Proc] :on_chunk_sent
|
|
445
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
446
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
|
447
|
+
# the number of bytes read from the body, and the total number of
|
|
448
|
+
# bytes in the body.
|
|
449
|
+
#
|
|
450
|
+
# @option options [Boolean] :raise_response_errors (true)
|
|
451
|
+
# When `true`, response errors are raised.
|
|
452
|
+
#
|
|
453
|
+
# @option options [String] :ssl_ca_bundle
|
|
454
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
|
455
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
|
456
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
|
457
|
+
#
|
|
458
|
+
# @option options [String] :ssl_ca_directory
|
|
459
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
|
460
|
+
# authority files for verifying peer certificates. If you do
|
|
461
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
|
462
|
+
# default will be used if available.
|
|
463
|
+
#
|
|
464
|
+
# @option options [String] :ssl_ca_store
|
|
465
|
+
# Sets the X509::Store to verify peer certificate.
|
|
466
|
+
#
|
|
467
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
|
468
|
+
# Sets a client certificate when creating http connections.
|
|
469
|
+
#
|
|
470
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
|
471
|
+
# Sets a client key when creating http connections.
|
|
472
|
+
#
|
|
473
|
+
# @option options [Float] :ssl_timeout
|
|
474
|
+
# Sets the SSL timeout in seconds
|
|
475
|
+
#
|
|
476
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
|
477
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
|
478
|
+
#
|
|
479
|
+
def initialize(*args)
|
|
480
|
+
super
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
# @!group API Operations
|
|
484
|
+
|
|
485
|
+
# Creates a CredentialProvider under a parent CredentialProviderPool.
|
|
486
|
+
# The provider type is determined by which member of
|
|
487
|
+
# `providerConfigurationInput` you set: `oauthConfiguration` creates an
|
|
488
|
+
# `OAUTH` provider, `apiKeyConfiguration` an `API_KEY` provider. Set
|
|
489
|
+
# exactly one. The operation always returns 202 Accepted.
|
|
490
|
+
#
|
|
491
|
+
# Creation is asynchronous. The provider is returned with a transitional
|
|
492
|
+
# `status` and reaches `READY` or `FAILED` on its own; poll
|
|
493
|
+
# `GetCredentialProvider` to observe the transition.
|
|
494
|
+
#
|
|
495
|
+
# Credentials this provider caches are encrypted under the parent
|
|
496
|
+
# pool's encryption configuration unless the provider overrides it.
|
|
497
|
+
# Within `oauthConfiguration`, set `providerEncryptionConfiguration` to
|
|
498
|
+
# a customer managed key to use that key in place of the pool's, or to
|
|
499
|
+
# `inheritFromPool` to follow the pool. A provider cannot select
|
|
500
|
+
# service-managed encryption on its own, the only way to use the
|
|
501
|
+
# service-owned key is to inherit it from a pool configured that way. An
|
|
502
|
+
# OAuth provider's response reports which applies in
|
|
503
|
+
# `encryptionSource`, as `INHERITED` or `PROVIDER_OVERRIDE`, alongside
|
|
504
|
+
# the resolved `encryptionConfiguration`.
|
|
505
|
+
#
|
|
506
|
+
# **Required permissions:** in addition to permission for this
|
|
507
|
+
# operation, the service performs these actions on your behalf, each
|
|
508
|
+
# only when the request calls for it: `secretsmanager:GetSecretValue`
|
|
509
|
+
# and `secretsmanager:DescribeSecret` when the provider references a
|
|
510
|
+
# secret you own; `secretsmanager:CreateSecret` when you supply the
|
|
511
|
+
# credential value instead, so that the service stores it in a secret it
|
|
512
|
+
# creates; and `kms:CreateGrant`, `kms:DescribeKey`,
|
|
513
|
+
# `kms:GenerateDataKeyWithoutPlaintext`, `kms:ReEncryptFrom`,
|
|
514
|
+
# `kms:ReEncryptTo`, `kms:Encrypt`, and `kms:Decrypt` when a customer
|
|
515
|
+
# managed KMS key is in use.
|
|
516
|
+
#
|
|
517
|
+
# @option params [required, String] :credential_provider_pool_identifier
|
|
518
|
+
# Identifies a credential provider pool. Accepts either the pool's ARN
|
|
519
|
+
# or its service-generated ID; both refer to the same pool.
|
|
520
|
+
#
|
|
521
|
+
# @option params [required, String] :name
|
|
522
|
+
# The name for the credential provider. Must be unique among the
|
|
523
|
+
# providers that currently exist in the same pool. You can change it
|
|
524
|
+
# later with UpdateCredentialProvider.
|
|
525
|
+
#
|
|
526
|
+
# @option params [String] :client_token
|
|
527
|
+
# SDK-populated idempotency token for safe retries.
|
|
528
|
+
#
|
|
529
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
530
|
+
# not need to pass this option.**
|
|
531
|
+
#
|
|
532
|
+
# @option params [required, Types::CredentialProviderConfigurationInput] :provider_configuration_input
|
|
533
|
+
# Type-specific input configuration. Exactly one member must be set.
|
|
534
|
+
#
|
|
535
|
+
# @option params [Hash<String,String>] :tags
|
|
536
|
+
# Tags attached to a resource, as key-value pairs. Keys are unique
|
|
537
|
+
# within a resource and are case-sensitive. Use tags to categorize
|
|
538
|
+
# resources and to control access with tag-based IAM policies.
|
|
539
|
+
#
|
|
540
|
+
# @return [Types::CreateCredentialProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
541
|
+
#
|
|
542
|
+
# * {Types::CreateCredentialProviderResponse#credential_provider_arn #credential_provider_arn} => String
|
|
543
|
+
# * {Types::CreateCredentialProviderResponse#credential_provider_id #credential_provider_id} => String
|
|
544
|
+
# * {Types::CreateCredentialProviderResponse#credential_provider_pool_id #credential_provider_pool_id} => String
|
|
545
|
+
# * {Types::CreateCredentialProviderResponse#name #name} => String
|
|
546
|
+
# * {Types::CreateCredentialProviderResponse#provider_type #provider_type} => String
|
|
547
|
+
# * {Types::CreateCredentialProviderResponse#status #status} => String
|
|
548
|
+
# * {Types::CreateCredentialProviderResponse#provider_configuration #provider_configuration} => Types::CredentialProviderConfigurationOutput
|
|
549
|
+
# * {Types::CreateCredentialProviderResponse#status_reason #status_reason} => String
|
|
550
|
+
# * {Types::CreateCredentialProviderResponse#created_at #created_at} => Time
|
|
551
|
+
# * {Types::CreateCredentialProviderResponse#updated_at #updated_at} => Time
|
|
552
|
+
# * {Types::CreateCredentialProviderResponse#tags #tags} => Hash<String,String>
|
|
553
|
+
#
|
|
554
|
+
# @example Request syntax with placeholder values
|
|
555
|
+
#
|
|
556
|
+
# resp = client.create_credential_provider({
|
|
557
|
+
# credential_provider_pool_identifier: "CredentialProviderPoolIdentifier", # required
|
|
558
|
+
# name: "ProviderName", # required
|
|
559
|
+
# client_token: "ClientToken",
|
|
560
|
+
# provider_configuration_input: { # required
|
|
561
|
+
# oauth_configuration: {
|
|
562
|
+
# allowed_grant_types: ["CLIENT_CREDENTIALS"], # accepts CLIENT_CREDENTIALS, TOKEN_EXCHANGE, JWT_AUTHORIZATION_GRANT, AUTHORIZATION_CODE
|
|
563
|
+
# vendor_configuration_input: {
|
|
564
|
+
# github_configuration: {
|
|
565
|
+
# client_authentication_configuration: {
|
|
566
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
567
|
+
# client_id: "ClientId", # required
|
|
568
|
+
# client_secret: {
|
|
569
|
+
# client_secret: "ClientSecret",
|
|
570
|
+
# client_secret_reference: {
|
|
571
|
+
# secret_id: "SecretId", # required
|
|
572
|
+
# json_key: "SecretJsonKey", # required
|
|
573
|
+
# },
|
|
574
|
+
# },
|
|
575
|
+
# },
|
|
576
|
+
# },
|
|
577
|
+
# google_configuration: {
|
|
578
|
+
# client_authentication_configuration: {
|
|
579
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
580
|
+
# client_id: "ClientId", # required
|
|
581
|
+
# client_secret: {
|
|
582
|
+
# client_secret: "ClientSecret",
|
|
583
|
+
# client_secret_reference: {
|
|
584
|
+
# secret_id: "SecretId", # required
|
|
585
|
+
# json_key: "SecretJsonKey", # required
|
|
586
|
+
# },
|
|
587
|
+
# },
|
|
588
|
+
# },
|
|
589
|
+
# },
|
|
590
|
+
# cognito_configuration: {
|
|
591
|
+
# client_authentication_configuration: {
|
|
592
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
593
|
+
# client_id: "ClientId", # required
|
|
594
|
+
# client_secret: {
|
|
595
|
+
# client_secret: "ClientSecret",
|
|
596
|
+
# client_secret_reference: {
|
|
597
|
+
# secret_id: "SecretId", # required
|
|
598
|
+
# json_key: "SecretJsonKey", # required
|
|
599
|
+
# },
|
|
600
|
+
# },
|
|
601
|
+
# },
|
|
602
|
+
# user_pool_id: "UserPoolId", # required
|
|
603
|
+
# cognito_region: "CognitoRegion",
|
|
604
|
+
# on_behalf_of_token_exchange_configuration: {
|
|
605
|
+
# subject_token_source: { # required
|
|
606
|
+
# iam_identity_center: {
|
|
607
|
+
# },
|
|
608
|
+
# credential_provider: "CredentialProviderArn",
|
|
609
|
+
# credential_provider_self: {
|
|
610
|
+
# },
|
|
611
|
+
# },
|
|
612
|
+
# token_exchange_actor_configuration: {
|
|
613
|
+
# actor_token_content: "NONE", # required, accepts NONE, M2M
|
|
614
|
+
# actor_token_scopes: ["ScopeType"],
|
|
615
|
+
# },
|
|
616
|
+
# token_exchange_requester_configuration: {
|
|
617
|
+
# requester_client_authentication_configuration: {
|
|
618
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
619
|
+
# client_id: "ClientId", # required
|
|
620
|
+
# client_secret: {
|
|
621
|
+
# client_secret: "ClientSecret",
|
|
622
|
+
# client_secret_reference: {
|
|
623
|
+
# secret_id: "SecretId", # required
|
|
624
|
+
# json_key: "SecretJsonKey", # required
|
|
625
|
+
# },
|
|
626
|
+
# },
|
|
627
|
+
# },
|
|
628
|
+
# no_client: {
|
|
629
|
+
# },
|
|
630
|
+
# },
|
|
631
|
+
# },
|
|
632
|
+
# },
|
|
633
|
+
# microsoft_configuration: {
|
|
634
|
+
# client_authentication_configuration: {
|
|
635
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
636
|
+
# client_id: "ClientId", # required
|
|
637
|
+
# client_secret: {
|
|
638
|
+
# client_secret: "ClientSecret",
|
|
639
|
+
# client_secret_reference: {
|
|
640
|
+
# secret_id: "SecretId", # required
|
|
641
|
+
# json_key: "SecretJsonKey", # required
|
|
642
|
+
# },
|
|
643
|
+
# },
|
|
644
|
+
# },
|
|
645
|
+
# tenant_id: "TenantId",
|
|
646
|
+
# on_behalf_of_token_exchange_configuration: {
|
|
647
|
+
# subject_token_source: { # required
|
|
648
|
+
# iam_identity_center: {
|
|
649
|
+
# },
|
|
650
|
+
# credential_provider: "CredentialProviderArn",
|
|
651
|
+
# credential_provider_self: {
|
|
652
|
+
# },
|
|
653
|
+
# },
|
|
654
|
+
# token_exchange_actor_configuration: {
|
|
655
|
+
# actor_token_content: "NONE", # required, accepts NONE, M2M
|
|
656
|
+
# actor_token_scopes: ["ScopeType"],
|
|
657
|
+
# },
|
|
658
|
+
# token_exchange_requester_configuration: {
|
|
659
|
+
# requester_client_authentication_configuration: {
|
|
660
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
661
|
+
# client_id: "ClientId", # required
|
|
662
|
+
# client_secret: {
|
|
663
|
+
# client_secret: "ClientSecret",
|
|
664
|
+
# client_secret_reference: {
|
|
665
|
+
# secret_id: "SecretId", # required
|
|
666
|
+
# json_key: "SecretJsonKey", # required
|
|
667
|
+
# },
|
|
668
|
+
# },
|
|
669
|
+
# },
|
|
670
|
+
# no_client: {
|
|
671
|
+
# },
|
|
672
|
+
# },
|
|
673
|
+
# },
|
|
674
|
+
# },
|
|
675
|
+
# atlassian_configuration: {
|
|
676
|
+
# client_authentication_configuration: {
|
|
677
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
678
|
+
# client_id: "ClientId", # required
|
|
679
|
+
# client_secret: {
|
|
680
|
+
# client_secret: "ClientSecret",
|
|
681
|
+
# client_secret_reference: {
|
|
682
|
+
# secret_id: "SecretId", # required
|
|
683
|
+
# json_key: "SecretJsonKey", # required
|
|
684
|
+
# },
|
|
685
|
+
# },
|
|
686
|
+
# },
|
|
687
|
+
# },
|
|
688
|
+
# okta_configuration: {
|
|
689
|
+
# client_authentication_configuration: {
|
|
690
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
691
|
+
# client_id: "ClientId", # required
|
|
692
|
+
# client_secret: {
|
|
693
|
+
# client_secret: "ClientSecret",
|
|
694
|
+
# client_secret_reference: {
|
|
695
|
+
# secret_id: "SecretId", # required
|
|
696
|
+
# json_key: "SecretJsonKey", # required
|
|
697
|
+
# },
|
|
698
|
+
# },
|
|
699
|
+
# },
|
|
700
|
+
# okta_domain: "OktaDomain", # required
|
|
701
|
+
# on_behalf_of_token_exchange_configuration: {
|
|
702
|
+
# subject_token_source: { # required
|
|
703
|
+
# iam_identity_center: {
|
|
704
|
+
# },
|
|
705
|
+
# credential_provider: "CredentialProviderArn",
|
|
706
|
+
# credential_provider_self: {
|
|
707
|
+
# },
|
|
708
|
+
# },
|
|
709
|
+
# token_exchange_actor_configuration: {
|
|
710
|
+
# actor_token_content: "NONE", # required, accepts NONE, M2M
|
|
711
|
+
# actor_token_scopes: ["ScopeType"],
|
|
712
|
+
# },
|
|
713
|
+
# token_exchange_requester_configuration: {
|
|
714
|
+
# requester_client_authentication_configuration: {
|
|
715
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
716
|
+
# client_id: "ClientId", # required
|
|
717
|
+
# client_secret: {
|
|
718
|
+
# client_secret: "ClientSecret",
|
|
719
|
+
# client_secret_reference: {
|
|
720
|
+
# secret_id: "SecretId", # required
|
|
721
|
+
# json_key: "SecretJsonKey", # required
|
|
722
|
+
# },
|
|
723
|
+
# },
|
|
724
|
+
# },
|
|
725
|
+
# no_client: {
|
|
726
|
+
# },
|
|
727
|
+
# },
|
|
728
|
+
# },
|
|
729
|
+
# },
|
|
730
|
+
# slack_configuration: {
|
|
731
|
+
# client_authentication_configuration: {
|
|
732
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
733
|
+
# client_id: "ClientId", # required
|
|
734
|
+
# client_secret: {
|
|
735
|
+
# client_secret: "ClientSecret",
|
|
736
|
+
# client_secret_reference: {
|
|
737
|
+
# secret_id: "SecretId", # required
|
|
738
|
+
# json_key: "SecretJsonKey", # required
|
|
739
|
+
# },
|
|
740
|
+
# },
|
|
741
|
+
# },
|
|
742
|
+
# },
|
|
743
|
+
# salesforce_configuration: {
|
|
744
|
+
# client_authentication_configuration: {
|
|
745
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
746
|
+
# client_id: "ClientId", # required
|
|
747
|
+
# client_secret: {
|
|
748
|
+
# client_secret: "ClientSecret",
|
|
749
|
+
# client_secret_reference: {
|
|
750
|
+
# secret_id: "SecretId", # required
|
|
751
|
+
# json_key: "SecretJsonKey", # required
|
|
752
|
+
# },
|
|
753
|
+
# },
|
|
754
|
+
# },
|
|
755
|
+
# instance_url: "InstanceUrl", # required
|
|
756
|
+
# on_behalf_of_token_exchange_configuration: {
|
|
757
|
+
# subject_token_source: { # required
|
|
758
|
+
# iam_identity_center: {
|
|
759
|
+
# },
|
|
760
|
+
# credential_provider: "CredentialProviderArn",
|
|
761
|
+
# credential_provider_self: {
|
|
762
|
+
# },
|
|
763
|
+
# },
|
|
764
|
+
# token_exchange_actor_configuration: {
|
|
765
|
+
# actor_token_content: "NONE", # required, accepts NONE, M2M
|
|
766
|
+
# actor_token_scopes: ["ScopeType"],
|
|
767
|
+
# },
|
|
768
|
+
# token_exchange_requester_configuration: {
|
|
769
|
+
# requester_client_authentication_configuration: {
|
|
770
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
771
|
+
# client_id: "ClientId", # required
|
|
772
|
+
# client_secret: {
|
|
773
|
+
# client_secret: "ClientSecret",
|
|
774
|
+
# client_secret_reference: {
|
|
775
|
+
# secret_id: "SecretId", # required
|
|
776
|
+
# json_key: "SecretJsonKey", # required
|
|
777
|
+
# },
|
|
778
|
+
# },
|
|
779
|
+
# },
|
|
780
|
+
# no_client: {
|
|
781
|
+
# },
|
|
782
|
+
# },
|
|
783
|
+
# },
|
|
784
|
+
# },
|
|
785
|
+
# linkedin_configuration: {
|
|
786
|
+
# client_authentication_configuration: {
|
|
787
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
788
|
+
# client_id: "ClientId", # required
|
|
789
|
+
# client_secret: {
|
|
790
|
+
# client_secret: "ClientSecret",
|
|
791
|
+
# client_secret_reference: {
|
|
792
|
+
# secret_id: "SecretId", # required
|
|
793
|
+
# json_key: "SecretJsonKey", # required
|
|
794
|
+
# },
|
|
795
|
+
# },
|
|
796
|
+
# },
|
|
797
|
+
# },
|
|
798
|
+
# custom_configuration: {
|
|
799
|
+
# client_authentication_configuration: {
|
|
800
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
801
|
+
# client_id: "ClientId", # required
|
|
802
|
+
# client_secret: {
|
|
803
|
+
# client_secret: "ClientSecret",
|
|
804
|
+
# client_secret_reference: {
|
|
805
|
+
# secret_id: "SecretId", # required
|
|
806
|
+
# json_key: "SecretJsonKey", # required
|
|
807
|
+
# },
|
|
808
|
+
# },
|
|
809
|
+
# },
|
|
810
|
+
# oauth_discovery: { # required
|
|
811
|
+
# discovery_url: "DiscoveryUrl",
|
|
812
|
+
# authorization_server_metadata: {
|
|
813
|
+
# issuer: "AuthorizationServerUrl", # required
|
|
814
|
+
# token_endpoint: "AuthorizationServerUrl", # required
|
|
815
|
+
# authorization_endpoint: "AuthorizationServerUrl",
|
|
816
|
+
# },
|
|
817
|
+
# },
|
|
818
|
+
# on_behalf_of_token_exchange_configuration: {
|
|
819
|
+
# subject_token_source: { # required
|
|
820
|
+
# iam_identity_center: {
|
|
821
|
+
# },
|
|
822
|
+
# credential_provider: "CredentialProviderArn",
|
|
823
|
+
# credential_provider_self: {
|
|
824
|
+
# },
|
|
825
|
+
# },
|
|
826
|
+
# token_exchange_actor_configuration: {
|
|
827
|
+
# actor_token_content: "NONE", # required, accepts NONE, M2M
|
|
828
|
+
# actor_token_scopes: ["ScopeType"],
|
|
829
|
+
# },
|
|
830
|
+
# token_exchange_requester_configuration: {
|
|
831
|
+
# requester_client_authentication_configuration: {
|
|
832
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
833
|
+
# client_id: "ClientId", # required
|
|
834
|
+
# client_secret: {
|
|
835
|
+
# client_secret: "ClientSecret",
|
|
836
|
+
# client_secret_reference: {
|
|
837
|
+
# secret_id: "SecretId", # required
|
|
838
|
+
# json_key: "SecretJsonKey", # required
|
|
839
|
+
# },
|
|
840
|
+
# },
|
|
841
|
+
# },
|
|
842
|
+
# no_client: {
|
|
843
|
+
# },
|
|
844
|
+
# },
|
|
845
|
+
# },
|
|
846
|
+
# },
|
|
847
|
+
# },
|
|
848
|
+
# allowed_session_binding_urls: ["SessionBindingUrl"],
|
|
849
|
+
# provider_encryption_configuration: {
|
|
850
|
+
# customer_managed: {
|
|
851
|
+
# kms_key_identifier: "KmsKeyIdentifier", # required
|
|
852
|
+
# },
|
|
853
|
+
# inherit_from_pool: {
|
|
854
|
+
# },
|
|
855
|
+
# },
|
|
856
|
+
# },
|
|
857
|
+
# api_key_configuration: {
|
|
858
|
+
# api_key_secret_input: {
|
|
859
|
+
# api_key: "ApiKey",
|
|
860
|
+
# api_key_secret_reference: {
|
|
861
|
+
# secret_id: "SecretId", # required
|
|
862
|
+
# json_key: "SecretJsonKey", # required
|
|
863
|
+
# },
|
|
864
|
+
# },
|
|
865
|
+
# },
|
|
866
|
+
# },
|
|
867
|
+
# tags: {
|
|
868
|
+
# "TagKey" => "TagValue",
|
|
869
|
+
# },
|
|
870
|
+
# })
|
|
871
|
+
#
|
|
872
|
+
# @example Response structure
|
|
873
|
+
#
|
|
874
|
+
# resp.credential_provider_arn #=> String
|
|
875
|
+
# resp.credential_provider_id #=> String
|
|
876
|
+
# resp.credential_provider_pool_id #=> String
|
|
877
|
+
# resp.name #=> String
|
|
878
|
+
# resp.provider_type #=> String, one of "OAUTH", "API_KEY"
|
|
879
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "FAILED"
|
|
880
|
+
# resp.provider_configuration.oauth_configuration.allowed_grant_types #=> Array
|
|
881
|
+
# resp.provider_configuration.oauth_configuration.allowed_grant_types[0] #=> String, one of "CLIENT_CREDENTIALS", "TOKEN_EXCHANGE", "JWT_AUTHORIZATION_GRANT", "AUTHORIZATION_CODE"
|
|
882
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.discovery_url #=> String
|
|
883
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
884
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
885
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
886
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
887
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_id #=> String
|
|
888
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
889
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
890
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
891
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.discovery_url #=> String
|
|
892
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
893
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
894
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
895
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
896
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_id #=> String
|
|
897
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
898
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
899
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
900
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.discovery_url #=> String
|
|
901
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
902
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
903
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
904
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
905
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_id #=> String
|
|
906
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
907
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
908
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
909
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
910
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
911
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
912
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
913
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
914
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
915
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
916
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
917
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
918
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.discovery_url #=> String
|
|
919
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
920
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
921
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
922
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
923
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_id #=> String
|
|
924
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
925
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
926
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
927
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
928
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
929
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
930
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
931
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
932
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
933
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
934
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
935
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
936
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.discovery_url #=> String
|
|
937
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
938
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
939
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
940
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
941
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_id #=> String
|
|
942
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
943
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
944
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
945
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.discovery_url #=> String
|
|
946
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
947
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
948
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
949
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
950
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_id #=> String
|
|
951
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
952
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
953
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
954
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
955
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
956
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
957
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
958
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
959
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
960
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
961
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
962
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
963
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.discovery_url #=> String
|
|
964
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
965
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
966
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
967
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
968
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_id #=> String
|
|
969
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
970
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
971
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
972
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.discovery_url #=> String
|
|
973
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
974
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
975
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
976
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
977
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_id #=> String
|
|
978
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
979
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
980
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
981
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
982
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
983
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
984
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
985
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
986
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
987
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
988
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
989
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
990
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.discovery_url #=> String
|
|
991
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
992
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
993
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
994
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
995
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_id #=> String
|
|
996
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
997
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
998
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
999
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.discovery_url #=> String
|
|
1000
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1001
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1002
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1003
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1004
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_id #=> String
|
|
1005
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1006
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1007
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1008
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
1009
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
1010
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
1011
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
1012
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1013
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
1014
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
1015
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
1016
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1017
|
+
# resp.provider_configuration.oauth_configuration.encryption_configuration.customer_managed.kms_key_identifier #=> String
|
|
1018
|
+
# resp.provider_configuration.oauth_configuration.encryption_source #=> String, one of "INHERITED", "PROVIDER_OVERRIDE"
|
|
1019
|
+
# resp.provider_configuration.oauth_configuration.identity_center_application_arn #=> String
|
|
1020
|
+
# resp.provider_configuration.oauth_configuration.idc_instance_arn #=> String
|
|
1021
|
+
# resp.provider_configuration.oauth_configuration.allowed_session_binding_urls #=> Array
|
|
1022
|
+
# resp.provider_configuration.oauth_configuration.allowed_session_binding_urls[0] #=> String
|
|
1023
|
+
# resp.provider_configuration.oauth_configuration.callback_urls #=> Array
|
|
1024
|
+
# resp.provider_configuration.oauth_configuration.callback_urls[0] #=> String
|
|
1025
|
+
# resp.provider_configuration.api_key_configuration.api_key_secret_output.api_key_secret_arn #=> String
|
|
1026
|
+
# resp.provider_configuration.api_key_configuration.api_key_secret_output.api_key_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1027
|
+
# resp.provider_configuration.api_key_configuration.api_key_secret_output.api_key_secret_json_key #=> String
|
|
1028
|
+
# resp.status_reason #=> String
|
|
1029
|
+
# resp.created_at #=> Time
|
|
1030
|
+
# resp.updated_at #=> Time
|
|
1031
|
+
# resp.tags #=> Hash
|
|
1032
|
+
# resp.tags["TagKey"] #=> String
|
|
1033
|
+
#
|
|
1034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CreateCredentialProvider AWS API Documentation
|
|
1035
|
+
#
|
|
1036
|
+
# @overload create_credential_provider(params = {})
|
|
1037
|
+
# @param [Hash] params ({})
|
|
1038
|
+
def create_credential_provider(params = {}, options = {})
|
|
1039
|
+
req = build_request(:create_credential_provider, params)
|
|
1040
|
+
req.send_request(options)
|
|
1041
|
+
end
|
|
1042
|
+
|
|
1043
|
+
# Creates a CredentialProviderPool. The customer provides the pool name;
|
|
1044
|
+
# the service generates the pool id and ARN.
|
|
1045
|
+
#
|
|
1046
|
+
# Creation is asynchronous. The operation returns the pool with a
|
|
1047
|
+
# transitional `status`, and the pool reaches `READY` or `FAILED` on its
|
|
1048
|
+
# own; poll `GetCredentialProviderPool` to observe the transition.
|
|
1049
|
+
#
|
|
1050
|
+
# The encryption configuration you set here governs every credential
|
|
1051
|
+
# provider in the pool: a provider encrypts the credentials it caches
|
|
1052
|
+
# under the pool's configuration unless it overrides that with a
|
|
1053
|
+
# customer managed key of its own. A provider that inherits follows the
|
|
1054
|
+
# pool, so setting or changing the pool's key later moves those
|
|
1055
|
+
# providers onto the new key, while a provider that set its own key is
|
|
1056
|
+
# unaffected.
|
|
1057
|
+
#
|
|
1058
|
+
# **Required permissions:** this operation needs additional permissions
|
|
1059
|
+
# depending on how you configure the pool. If you associate an IAM
|
|
1060
|
+
# Identity Center instance, you also need `sso:CreateApplication`,
|
|
1061
|
+
# `sso:PutApplicationAuthenticationMethod`, `sso:PutApplicationGrant`,
|
|
1062
|
+
# and `sso:PutApplicationAssignmentConfiguration`. If you encrypt with a
|
|
1063
|
+
# customer managed KMS key, you also need `kms:CreateGrant` and
|
|
1064
|
+
# `kms:DescribeKey` on that key.
|
|
1065
|
+
#
|
|
1066
|
+
# @option params [required, String] :name
|
|
1067
|
+
# The name for the credential provider pool. Must be unique among the
|
|
1068
|
+
# pools that currently exist in your account. You can change it later
|
|
1069
|
+
# with UpdateCredentialProviderPool.
|
|
1070
|
+
#
|
|
1071
|
+
# @option params [String] :client_token
|
|
1072
|
+
# SDK auto-populates; enables safe retries.
|
|
1073
|
+
#
|
|
1074
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1075
|
+
# not need to pass this option.**
|
|
1076
|
+
#
|
|
1077
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
1078
|
+
# How cached tokens are encrypted at rest for the providers in this
|
|
1079
|
+
# pool. Omit to encrypt with a service-owned key. Each provider in the
|
|
1080
|
+
# pool uses this configuration unless it overrides it with a customer
|
|
1081
|
+
# managed key of its own.
|
|
1082
|
+
#
|
|
1083
|
+
# @option params [Types::IdentityCenterConfiguration] :identity_center_configuration
|
|
1084
|
+
# Links a credential provider pool to an IAM Identity Center instance,
|
|
1085
|
+
# so that providers in the pool can issue credentials for the identity
|
|
1086
|
+
# in the caller's Identity Center session. A pool can be associated
|
|
1087
|
+
# with at most one instance. Associating an instance creates an Identity
|
|
1088
|
+
# Center application that the pool owns; every provider in the pool
|
|
1089
|
+
# reports that same application.
|
|
1090
|
+
#
|
|
1091
|
+
# @option params [Hash<String,String>] :tags
|
|
1092
|
+
# Tags attached to a resource, as key-value pairs. Keys are unique
|
|
1093
|
+
# within a resource and are case-sensitive. Use tags to categorize
|
|
1094
|
+
# resources and to control access with tag-based IAM policies.
|
|
1095
|
+
#
|
|
1096
|
+
# @return [Types::CreateCredentialProviderPoolResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1097
|
+
#
|
|
1098
|
+
# * {Types::CreateCredentialProviderPoolResponse#credential_provider_pool_arn #credential_provider_pool_arn} => String
|
|
1099
|
+
# * {Types::CreateCredentialProviderPoolResponse#credential_provider_pool_id #credential_provider_pool_id} => String
|
|
1100
|
+
# * {Types::CreateCredentialProviderPoolResponse#name #name} => String
|
|
1101
|
+
# * {Types::CreateCredentialProviderPoolResponse#status #status} => String
|
|
1102
|
+
# * {Types::CreateCredentialProviderPoolResponse#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
|
|
1103
|
+
# * {Types::CreateCredentialProviderPoolResponse#identity_center_configuration #identity_center_configuration} => Types::IdentityCenterConfiguration
|
|
1104
|
+
# * {Types::CreateCredentialProviderPoolResponse#identity_center_application_arn #identity_center_application_arn} => String
|
|
1105
|
+
# * {Types::CreateCredentialProviderPoolResponse#created_at #created_at} => Time
|
|
1106
|
+
# * {Types::CreateCredentialProviderPoolResponse#updated_at #updated_at} => Time
|
|
1107
|
+
#
|
|
1108
|
+
# @example Request syntax with placeholder values
|
|
1109
|
+
#
|
|
1110
|
+
# resp = client.create_credential_provider_pool({
|
|
1111
|
+
# name: "PoolName", # required
|
|
1112
|
+
# client_token: "ClientToken",
|
|
1113
|
+
# encryption_configuration: {
|
|
1114
|
+
# customer_managed: {
|
|
1115
|
+
# kms_key_identifier: "KmsKeyIdentifier", # required
|
|
1116
|
+
# },
|
|
1117
|
+
# service_managed: {
|
|
1118
|
+
# },
|
|
1119
|
+
# },
|
|
1120
|
+
# identity_center_configuration: {
|
|
1121
|
+
# idc_instance_arn: "IdcInstanceArn", # required
|
|
1122
|
+
# },
|
|
1123
|
+
# tags: {
|
|
1124
|
+
# "TagKey" => "TagValue",
|
|
1125
|
+
# },
|
|
1126
|
+
# })
|
|
1127
|
+
#
|
|
1128
|
+
# @example Response structure
|
|
1129
|
+
#
|
|
1130
|
+
# resp.credential_provider_pool_arn #=> String
|
|
1131
|
+
# resp.credential_provider_pool_id #=> String
|
|
1132
|
+
# resp.name #=> String
|
|
1133
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "FAILED"
|
|
1134
|
+
# resp.encryption_configuration.customer_managed.kms_key_identifier #=> String
|
|
1135
|
+
# resp.identity_center_configuration.idc_instance_arn #=> String
|
|
1136
|
+
# resp.identity_center_application_arn #=> String
|
|
1137
|
+
# resp.created_at #=> Time
|
|
1138
|
+
# resp.updated_at #=> Time
|
|
1139
|
+
#
|
|
1140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/CreateCredentialProviderPool AWS API Documentation
|
|
1141
|
+
#
|
|
1142
|
+
# @overload create_credential_provider_pool(params = {})
|
|
1143
|
+
# @param [Hash] params ({})
|
|
1144
|
+
def create_credential_provider_pool(params = {}, options = {})
|
|
1145
|
+
req = build_request(:create_credential_provider_pool, params)
|
|
1146
|
+
req.send_request(options)
|
|
1147
|
+
end
|
|
1148
|
+
|
|
1149
|
+
# Accepts an asynchronous request to delete a CredentialProvider of any
|
|
1150
|
+
# provider type.
|
|
1151
|
+
#
|
|
1152
|
+
# The operation is idempotent. Poll `GetCredentialProvider` until it
|
|
1153
|
+
# returns a resource-not-found error to observe that deletion has
|
|
1154
|
+
# finished.
|
|
1155
|
+
#
|
|
1156
|
+
# **Required permissions:** in addition to permission for this
|
|
1157
|
+
# operation, the service performs `secretsmanager:DeleteSecret` on your
|
|
1158
|
+
# behalf, but only when the provider's credential is held in a secret
|
|
1159
|
+
# the service created. A provider that references a secret you own
|
|
1160
|
+
# leaves that secret untouched.
|
|
1161
|
+
#
|
|
1162
|
+
# @option params [required, String] :credential_provider_pool_identifier
|
|
1163
|
+
# Identifies a credential provider pool. Accepts either the pool's ARN
|
|
1164
|
+
# or its service-generated ID; both refer to the same pool.
|
|
1165
|
+
#
|
|
1166
|
+
# @option params [required, String] :credential_provider_identifier
|
|
1167
|
+
# Identifies a credential provider. Accepts either the provider's ARN
|
|
1168
|
+
# or its service-generated ID; both refer to the same provider.
|
|
1169
|
+
#
|
|
1170
|
+
# @return [Types::DeleteCredentialProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1171
|
+
#
|
|
1172
|
+
# * {Types::DeleteCredentialProviderResponse#credential_provider_arn #credential_provider_arn} => String
|
|
1173
|
+
# * {Types::DeleteCredentialProviderResponse#credential_provider_id #credential_provider_id} => String
|
|
1174
|
+
# * {Types::DeleteCredentialProviderResponse#credential_provider_pool_id #credential_provider_pool_id} => String
|
|
1175
|
+
# * {Types::DeleteCredentialProviderResponse#provider_type #provider_type} => String
|
|
1176
|
+
# * {Types::DeleteCredentialProviderResponse#status #status} => String
|
|
1177
|
+
#
|
|
1178
|
+
# @example Request syntax with placeholder values
|
|
1179
|
+
#
|
|
1180
|
+
# resp = client.delete_credential_provider({
|
|
1181
|
+
# credential_provider_pool_identifier: "CredentialProviderPoolIdentifier", # required
|
|
1182
|
+
# credential_provider_identifier: "CredentialProviderIdentifier", # required
|
|
1183
|
+
# })
|
|
1184
|
+
#
|
|
1185
|
+
# @example Response structure
|
|
1186
|
+
#
|
|
1187
|
+
# resp.credential_provider_arn #=> String
|
|
1188
|
+
# resp.credential_provider_id #=> String
|
|
1189
|
+
# resp.credential_provider_pool_id #=> String
|
|
1190
|
+
# resp.provider_type #=> String, one of "OAUTH", "API_KEY"
|
|
1191
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "FAILED"
|
|
1192
|
+
#
|
|
1193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/DeleteCredentialProvider AWS API Documentation
|
|
1194
|
+
#
|
|
1195
|
+
# @overload delete_credential_provider(params = {})
|
|
1196
|
+
# @param [Hash] params ({})
|
|
1197
|
+
def delete_credential_provider(params = {}, options = {})
|
|
1198
|
+
req = build_request(:delete_credential_provider, params)
|
|
1199
|
+
req.send_request(options)
|
|
1200
|
+
end
|
|
1201
|
+
|
|
1202
|
+
# Deletes a CredentialProviderPool. Deletion is asynchronous; the pool
|
|
1203
|
+
# transitions to DELETING.
|
|
1204
|
+
#
|
|
1205
|
+
# The operation is idempotent. Poll `GetCredentialProviderPool` until it
|
|
1206
|
+
# returns a resource-not-found error to observe that deletion has
|
|
1207
|
+
# finished.
|
|
1208
|
+
#
|
|
1209
|
+
# **Required permissions:** in addition to permission for this
|
|
1210
|
+
# operation, the service performs `sso:DeleteApplication` on your
|
|
1211
|
+
# behalf, but only when the pool is associated with an IAM Identity
|
|
1212
|
+
# Center instance.
|
|
1213
|
+
#
|
|
1214
|
+
# @option params [required, String] :credential_provider_pool_identifier
|
|
1215
|
+
# Identifies a credential provider pool. Accepts either the pool's ARN
|
|
1216
|
+
# or its service-generated ID; both refer to the same pool.
|
|
1217
|
+
#
|
|
1218
|
+
# @return [Types::DeleteCredentialProviderPoolResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1219
|
+
#
|
|
1220
|
+
# * {Types::DeleteCredentialProviderPoolResponse#credential_provider_pool_arn #credential_provider_pool_arn} => String
|
|
1221
|
+
# * {Types::DeleteCredentialProviderPoolResponse#credential_provider_pool_id #credential_provider_pool_id} => String
|
|
1222
|
+
# * {Types::DeleteCredentialProviderPoolResponse#status #status} => String
|
|
1223
|
+
#
|
|
1224
|
+
# @example Request syntax with placeholder values
|
|
1225
|
+
#
|
|
1226
|
+
# resp = client.delete_credential_provider_pool({
|
|
1227
|
+
# credential_provider_pool_identifier: "CredentialProviderPoolIdentifier", # required
|
|
1228
|
+
# })
|
|
1229
|
+
#
|
|
1230
|
+
# @example Response structure
|
|
1231
|
+
#
|
|
1232
|
+
# resp.credential_provider_pool_arn #=> String
|
|
1233
|
+
# resp.credential_provider_pool_id #=> String
|
|
1234
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "FAILED"
|
|
1235
|
+
#
|
|
1236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/DeleteCredentialProviderPool AWS API Documentation
|
|
1237
|
+
#
|
|
1238
|
+
# @overload delete_credential_provider_pool(params = {})
|
|
1239
|
+
# @param [Hash] params ({})
|
|
1240
|
+
def delete_credential_provider_pool(params = {}, options = {})
|
|
1241
|
+
req = build_request(:delete_credential_provider_pool, params)
|
|
1242
|
+
req.send_request(options)
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
# Retrieves a CredentialProvider of any provider type. Credential
|
|
1246
|
+
# material is never returned: the response reports the Amazon Resource
|
|
1247
|
+
# Name of the secret holding each credential, not its value. Nor does
|
|
1248
|
+
# the response include the provider's tags; call `ListTagsForResource`
|
|
1249
|
+
# for those.
|
|
1250
|
+
#
|
|
1251
|
+
# This is also the operation to poll while an asynchronous create,
|
|
1252
|
+
# update, or delete settles: `status` reports the transition. Once a
|
|
1253
|
+
# delete finishes the provider no longer exists, so this operation
|
|
1254
|
+
# returns `ResourceNotFoundException` rather than a deleted status.
|
|
1255
|
+
#
|
|
1256
|
+
# @option params [required, String] :credential_provider_pool_identifier
|
|
1257
|
+
# Identifies a credential provider pool. Accepts either the pool's ARN
|
|
1258
|
+
# or its service-generated ID; both refer to the same pool.
|
|
1259
|
+
#
|
|
1260
|
+
# @option params [required, String] :credential_provider_identifier
|
|
1261
|
+
# Identifies a credential provider. Accepts either the provider's ARN
|
|
1262
|
+
# or its service-generated ID; both refer to the same provider.
|
|
1263
|
+
#
|
|
1264
|
+
# @return [Types::GetCredentialProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1265
|
+
#
|
|
1266
|
+
# * {Types::GetCredentialProviderResponse#credential_provider_arn #credential_provider_arn} => String
|
|
1267
|
+
# * {Types::GetCredentialProviderResponse#credential_provider_id #credential_provider_id} => String
|
|
1268
|
+
# * {Types::GetCredentialProviderResponse#credential_provider_pool_id #credential_provider_pool_id} => String
|
|
1269
|
+
# * {Types::GetCredentialProviderResponse#name #name} => String
|
|
1270
|
+
# * {Types::GetCredentialProviderResponse#provider_type #provider_type} => String
|
|
1271
|
+
# * {Types::GetCredentialProviderResponse#status #status} => String
|
|
1272
|
+
# * {Types::GetCredentialProviderResponse#provider_configuration #provider_configuration} => Types::CredentialProviderConfigurationOutput
|
|
1273
|
+
# * {Types::GetCredentialProviderResponse#status_reason #status_reason} => String
|
|
1274
|
+
# * {Types::GetCredentialProviderResponse#created_at #created_at} => Time
|
|
1275
|
+
# * {Types::GetCredentialProviderResponse#updated_at #updated_at} => Time
|
|
1276
|
+
#
|
|
1277
|
+
# @example Request syntax with placeholder values
|
|
1278
|
+
#
|
|
1279
|
+
# resp = client.get_credential_provider({
|
|
1280
|
+
# credential_provider_pool_identifier: "CredentialProviderPoolIdentifier", # required
|
|
1281
|
+
# credential_provider_identifier: "CredentialProviderIdentifier", # required
|
|
1282
|
+
# })
|
|
1283
|
+
#
|
|
1284
|
+
# @example Response structure
|
|
1285
|
+
#
|
|
1286
|
+
# resp.credential_provider_arn #=> String
|
|
1287
|
+
# resp.credential_provider_id #=> String
|
|
1288
|
+
# resp.credential_provider_pool_id #=> String
|
|
1289
|
+
# resp.name #=> String
|
|
1290
|
+
# resp.provider_type #=> String, one of "OAUTH", "API_KEY"
|
|
1291
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "FAILED"
|
|
1292
|
+
# resp.provider_configuration.oauth_configuration.allowed_grant_types #=> Array
|
|
1293
|
+
# resp.provider_configuration.oauth_configuration.allowed_grant_types[0] #=> String, one of "CLIENT_CREDENTIALS", "TOKEN_EXCHANGE", "JWT_AUTHORIZATION_GRANT", "AUTHORIZATION_CODE"
|
|
1294
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.discovery_url #=> String
|
|
1295
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1296
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1297
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1298
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1299
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_id #=> String
|
|
1300
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1301
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1302
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1303
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.discovery_url #=> String
|
|
1304
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1305
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1306
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1307
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1308
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_id #=> String
|
|
1309
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1310
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1311
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1312
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.discovery_url #=> String
|
|
1313
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1314
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1315
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1316
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1317
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_id #=> String
|
|
1318
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1319
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1320
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1321
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
1322
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
1323
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
1324
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
1325
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1326
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
1327
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
1328
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
1329
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1330
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.discovery_url #=> String
|
|
1331
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1332
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1333
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1334
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1335
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_id #=> String
|
|
1336
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1337
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1338
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1339
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
1340
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
1341
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
1342
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
1343
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1344
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
1345
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
1346
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
1347
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1348
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.discovery_url #=> String
|
|
1349
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1350
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1351
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1352
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1353
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_id #=> String
|
|
1354
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1355
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1356
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1357
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.discovery_url #=> String
|
|
1358
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1359
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1360
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1361
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1362
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_id #=> String
|
|
1363
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1364
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1365
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1366
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
1367
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
1368
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
1369
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
1370
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1371
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
1372
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
1373
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
1374
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1375
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.discovery_url #=> String
|
|
1376
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1377
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1378
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1379
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1380
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_id #=> String
|
|
1381
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1382
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1383
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1384
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.discovery_url #=> String
|
|
1385
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1386
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1387
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1388
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1389
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_id #=> String
|
|
1390
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1391
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1392
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1393
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
1394
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
1395
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
1396
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
1397
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1398
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
1399
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
1400
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
1401
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1402
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.discovery_url #=> String
|
|
1403
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1404
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1405
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1406
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1407
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_id #=> String
|
|
1408
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1409
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1410
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1411
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.discovery_url #=> String
|
|
1412
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
1413
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
1414
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
1415
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1416
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_id #=> String
|
|
1417
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
1418
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
1419
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1420
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
1421
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
1422
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
1423
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
1424
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
1425
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
1426
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
1427
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
1428
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1429
|
+
# resp.provider_configuration.oauth_configuration.encryption_configuration.customer_managed.kms_key_identifier #=> String
|
|
1430
|
+
# resp.provider_configuration.oauth_configuration.encryption_source #=> String, one of "INHERITED", "PROVIDER_OVERRIDE"
|
|
1431
|
+
# resp.provider_configuration.oauth_configuration.identity_center_application_arn #=> String
|
|
1432
|
+
# resp.provider_configuration.oauth_configuration.idc_instance_arn #=> String
|
|
1433
|
+
# resp.provider_configuration.oauth_configuration.allowed_session_binding_urls #=> Array
|
|
1434
|
+
# resp.provider_configuration.oauth_configuration.allowed_session_binding_urls[0] #=> String
|
|
1435
|
+
# resp.provider_configuration.oauth_configuration.callback_urls #=> Array
|
|
1436
|
+
# resp.provider_configuration.oauth_configuration.callback_urls[0] #=> String
|
|
1437
|
+
# resp.provider_configuration.api_key_configuration.api_key_secret_output.api_key_secret_arn #=> String
|
|
1438
|
+
# resp.provider_configuration.api_key_configuration.api_key_secret_output.api_key_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
1439
|
+
# resp.provider_configuration.api_key_configuration.api_key_secret_output.api_key_secret_json_key #=> String
|
|
1440
|
+
# resp.status_reason #=> String
|
|
1441
|
+
# resp.created_at #=> Time
|
|
1442
|
+
# resp.updated_at #=> Time
|
|
1443
|
+
#
|
|
1444
|
+
#
|
|
1445
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
1446
|
+
#
|
|
1447
|
+
# * credential_provider_deleted
|
|
1448
|
+
# * credential_provider_ready
|
|
1449
|
+
#
|
|
1450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/GetCredentialProvider AWS API Documentation
|
|
1451
|
+
#
|
|
1452
|
+
# @overload get_credential_provider(params = {})
|
|
1453
|
+
# @param [Hash] params ({})
|
|
1454
|
+
def get_credential_provider(params = {}, options = {})
|
|
1455
|
+
req = build_request(:get_credential_provider, params)
|
|
1456
|
+
req.send_request(options)
|
|
1457
|
+
end
|
|
1458
|
+
|
|
1459
|
+
# Retrieves a CredentialProviderPool by identifier. The response does
|
|
1460
|
+
# not include the pool's tags; call `ListTagsForResource` for those.
|
|
1461
|
+
#
|
|
1462
|
+
# This is also the operation to poll while an asynchronous create,
|
|
1463
|
+
# update, or delete settles: `status` reports the transition. Once a
|
|
1464
|
+
# delete finishes the pool no longer exists, so this operation returns
|
|
1465
|
+
# `ResourceNotFoundException` rather than a deleted status.
|
|
1466
|
+
#
|
|
1467
|
+
# @option params [required, String] :credential_provider_pool_identifier
|
|
1468
|
+
# Identifies a credential provider pool. Accepts either the pool's ARN
|
|
1469
|
+
# or its service-generated ID; both refer to the same pool.
|
|
1470
|
+
#
|
|
1471
|
+
# @return [Types::GetCredentialProviderPoolResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1472
|
+
#
|
|
1473
|
+
# * {Types::GetCredentialProviderPoolResponse#credential_provider_pool_arn #credential_provider_pool_arn} => String
|
|
1474
|
+
# * {Types::GetCredentialProviderPoolResponse#credential_provider_pool_id #credential_provider_pool_id} => String
|
|
1475
|
+
# * {Types::GetCredentialProviderPoolResponse#name #name} => String
|
|
1476
|
+
# * {Types::GetCredentialProviderPoolResponse#status #status} => String
|
|
1477
|
+
# * {Types::GetCredentialProviderPoolResponse#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
|
|
1478
|
+
# * {Types::GetCredentialProviderPoolResponse#identity_center_configuration #identity_center_configuration} => Types::IdentityCenterConfiguration
|
|
1479
|
+
# * {Types::GetCredentialProviderPoolResponse#identity_center_application_arn #identity_center_application_arn} => String
|
|
1480
|
+
# * {Types::GetCredentialProviderPoolResponse#status_reason #status_reason} => String
|
|
1481
|
+
# * {Types::GetCredentialProviderPoolResponse#created_at #created_at} => Time
|
|
1482
|
+
# * {Types::GetCredentialProviderPoolResponse#updated_at #updated_at} => Time
|
|
1483
|
+
#
|
|
1484
|
+
# @example Request syntax with placeholder values
|
|
1485
|
+
#
|
|
1486
|
+
# resp = client.get_credential_provider_pool({
|
|
1487
|
+
# credential_provider_pool_identifier: "CredentialProviderPoolIdentifier", # required
|
|
1488
|
+
# })
|
|
1489
|
+
#
|
|
1490
|
+
# @example Response structure
|
|
1491
|
+
#
|
|
1492
|
+
# resp.credential_provider_pool_arn #=> String
|
|
1493
|
+
# resp.credential_provider_pool_id #=> String
|
|
1494
|
+
# resp.name #=> String
|
|
1495
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "FAILED"
|
|
1496
|
+
# resp.encryption_configuration.customer_managed.kms_key_identifier #=> String
|
|
1497
|
+
# resp.identity_center_configuration.idc_instance_arn #=> String
|
|
1498
|
+
# resp.identity_center_application_arn #=> String
|
|
1499
|
+
# resp.status_reason #=> String
|
|
1500
|
+
# resp.created_at #=> Time
|
|
1501
|
+
# resp.updated_at #=> Time
|
|
1502
|
+
#
|
|
1503
|
+
#
|
|
1504
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
1505
|
+
#
|
|
1506
|
+
# * credential_provider_pool_deleted
|
|
1507
|
+
# * credential_provider_pool_ready
|
|
1508
|
+
#
|
|
1509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/GetCredentialProviderPool AWS API Documentation
|
|
1510
|
+
#
|
|
1511
|
+
# @overload get_credential_provider_pool(params = {})
|
|
1512
|
+
# @param [Hash] params ({})
|
|
1513
|
+
def get_credential_provider_pool(params = {}, options = {})
|
|
1514
|
+
req = build_request(:get_credential_provider_pool, params)
|
|
1515
|
+
req.send_request(options)
|
|
1516
|
+
end
|
|
1517
|
+
|
|
1518
|
+
# Lists the CredentialProviderPools in your account, optionally filtered
|
|
1519
|
+
# by name substring. Each entry is a summary that omits the pool's
|
|
1520
|
+
# encryption and IAM Identity Center configuration; call
|
|
1521
|
+
# `GetCredentialProviderPool` for a single pool's full detail.
|
|
1522
|
+
#
|
|
1523
|
+
# @option params [String] :name_contains
|
|
1524
|
+
# Return only pools whose name contains this substring. Matching is
|
|
1525
|
+
# case-sensitive. Omit to return pools of any name.
|
|
1526
|
+
#
|
|
1527
|
+
# @option params [String] :next_token
|
|
1528
|
+
# Continues a previous `ListCredentialProviderPools` call. Set it to the
|
|
1529
|
+
# `nextToken` the previous response returned, passed back unchanged.
|
|
1530
|
+
# Valid only when you received a `nextToken`; there is no dedicated
|
|
1531
|
+
# error for a token that is invalid or no longer current, so one is
|
|
1532
|
+
# rejected as `ValidationException`.
|
|
1533
|
+
#
|
|
1534
|
+
# @option params [Integer] :max_results
|
|
1535
|
+
# The maximum number of pools to return in one page. The service might
|
|
1536
|
+
# return fewer than the number you request even when more results are
|
|
1537
|
+
# available, so check `nextToken` on every response rather than
|
|
1538
|
+
# inferring from the number of items returned.
|
|
1539
|
+
#
|
|
1540
|
+
# @return [Types::ListCredentialProviderPoolsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1541
|
+
#
|
|
1542
|
+
# * {Types::ListCredentialProviderPoolsResponse#items #items} => Array<Types::CredentialProviderPoolSummary>
|
|
1543
|
+
# * {Types::ListCredentialProviderPoolsResponse#next_token #next_token} => String
|
|
1544
|
+
#
|
|
1545
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1546
|
+
#
|
|
1547
|
+
# @example Request syntax with placeholder values
|
|
1548
|
+
#
|
|
1549
|
+
# resp = client.list_credential_provider_pools({
|
|
1550
|
+
# name_contains: "NameFilter",
|
|
1551
|
+
# next_token: "PaginationToken",
|
|
1552
|
+
# max_results: 1,
|
|
1553
|
+
# })
|
|
1554
|
+
#
|
|
1555
|
+
# @example Response structure
|
|
1556
|
+
#
|
|
1557
|
+
# resp.items #=> Array
|
|
1558
|
+
# resp.items[0].credential_provider_pool_arn #=> String
|
|
1559
|
+
# resp.items[0].credential_provider_pool_id #=> String
|
|
1560
|
+
# resp.items[0].name #=> String
|
|
1561
|
+
# resp.items[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "FAILED"
|
|
1562
|
+
# resp.items[0].created_at #=> Time
|
|
1563
|
+
# resp.items[0].updated_at #=> Time
|
|
1564
|
+
# resp.next_token #=> String
|
|
1565
|
+
#
|
|
1566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ListCredentialProviderPools AWS API Documentation
|
|
1567
|
+
#
|
|
1568
|
+
# @overload list_credential_provider_pools(params = {})
|
|
1569
|
+
# @param [Hash] params ({})
|
|
1570
|
+
def list_credential_provider_pools(params = {}, options = {})
|
|
1571
|
+
req = build_request(:list_credential_provider_pools, params)
|
|
1572
|
+
req.send_request(options)
|
|
1573
|
+
end
|
|
1574
|
+
|
|
1575
|
+
# Lists the CredentialProviders in a pool, optionally filtered by name
|
|
1576
|
+
# substring and provider type. Each entry is a summary that omits the
|
|
1577
|
+
# provider's type-specific configuration; call `GetCredentialProvider`
|
|
1578
|
+
# for a single provider's full detail.
|
|
1579
|
+
#
|
|
1580
|
+
# Results are returned in no particular order, and the order may change
|
|
1581
|
+
# between calls. Do not rely on it.
|
|
1582
|
+
#
|
|
1583
|
+
# @option params [required, String] :credential_provider_pool_identifier
|
|
1584
|
+
# Parent pool identifier. Accepts an ARN or service-generated ID.
|
|
1585
|
+
#
|
|
1586
|
+
# @option params [String] :name_contains
|
|
1587
|
+
# Return only providers whose name contains this substring. Matching is
|
|
1588
|
+
# case-sensitive. Omit to return providers of any name.
|
|
1589
|
+
#
|
|
1590
|
+
# @option params [Array<String>] :provider_types
|
|
1591
|
+
# Provider types to include. When omitted, all provider types are
|
|
1592
|
+
# returned.
|
|
1593
|
+
#
|
|
1594
|
+
# @option params [Integer] :max_results
|
|
1595
|
+
# The maximum number of providers to return in one page. The service
|
|
1596
|
+
# might return fewer than the number you request even when more results
|
|
1597
|
+
# are available, so check `nextToken` on every response rather than
|
|
1598
|
+
# inferring from the number of items returned.
|
|
1599
|
+
#
|
|
1600
|
+
# @option params [String] :next_token
|
|
1601
|
+
# Continues a previous `ListCredentialProviders` call. Set it to the
|
|
1602
|
+
# `nextToken` the previous response returned, passed back unchanged.
|
|
1603
|
+
# Valid only when you received a `nextToken`; there is no dedicated
|
|
1604
|
+
# error for a token that is invalid or no longer current, so one is
|
|
1605
|
+
# rejected as `ValidationException`.
|
|
1606
|
+
#
|
|
1607
|
+
# @return [Types::ListCredentialProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1608
|
+
#
|
|
1609
|
+
# * {Types::ListCredentialProvidersResponse#items #items} => Array<Types::CredentialProviderSummary>
|
|
1610
|
+
# * {Types::ListCredentialProvidersResponse#next_token #next_token} => String
|
|
1611
|
+
#
|
|
1612
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1613
|
+
#
|
|
1614
|
+
# @example Request syntax with placeholder values
|
|
1615
|
+
#
|
|
1616
|
+
# resp = client.list_credential_providers({
|
|
1617
|
+
# credential_provider_pool_identifier: "CredentialProviderPoolIdentifier", # required
|
|
1618
|
+
# name_contains: "NameFilter",
|
|
1619
|
+
# provider_types: ["OAUTH"], # accepts OAUTH, API_KEY
|
|
1620
|
+
# max_results: 1,
|
|
1621
|
+
# next_token: "PaginationToken",
|
|
1622
|
+
# })
|
|
1623
|
+
#
|
|
1624
|
+
# @example Response structure
|
|
1625
|
+
#
|
|
1626
|
+
# resp.items #=> Array
|
|
1627
|
+
# resp.items[0].credential_provider_arn #=> String
|
|
1628
|
+
# resp.items[0].credential_provider_id #=> String
|
|
1629
|
+
# resp.items[0].credential_provider_pool_id #=> String
|
|
1630
|
+
# resp.items[0].name #=> String
|
|
1631
|
+
# resp.items[0].provider_type #=> String, one of "OAUTH", "API_KEY"
|
|
1632
|
+
# resp.items[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "FAILED"
|
|
1633
|
+
# resp.items[0].status_reason #=> String
|
|
1634
|
+
# resp.items[0].created_at #=> Time
|
|
1635
|
+
# resp.items[0].updated_at #=> Time
|
|
1636
|
+
# resp.next_token #=> String
|
|
1637
|
+
#
|
|
1638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ListCredentialProviders AWS API Documentation
|
|
1639
|
+
#
|
|
1640
|
+
# @overload list_credential_providers(params = {})
|
|
1641
|
+
# @param [Hash] params ({})
|
|
1642
|
+
def list_credential_providers(params = {}, options = {})
|
|
1643
|
+
req = build_request(:list_credential_providers, params)
|
|
1644
|
+
req.send_request(options)
|
|
1645
|
+
end
|
|
1646
|
+
|
|
1647
|
+
# Lists the tags attached to a credential provider pool or a credential
|
|
1648
|
+
# provider. Returns an empty map when the resource has no tags.
|
|
1649
|
+
#
|
|
1650
|
+
# @option params [required, String] :resource_arn
|
|
1651
|
+
# Amazon Resource Name of a taggable resource, either a credential
|
|
1652
|
+
# provider pool or a credential provider within a pool.
|
|
1653
|
+
#
|
|
1654
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1655
|
+
#
|
|
1656
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
|
1657
|
+
#
|
|
1658
|
+
# @example Request syntax with placeholder values
|
|
1659
|
+
#
|
|
1660
|
+
# resp = client.list_tags_for_resource({
|
|
1661
|
+
# resource_arn: "ResourceArn", # required
|
|
1662
|
+
# })
|
|
1663
|
+
#
|
|
1664
|
+
# @example Response structure
|
|
1665
|
+
#
|
|
1666
|
+
# resp.tags #=> Hash
|
|
1667
|
+
# resp.tags["TagKey"] #=> String
|
|
1668
|
+
#
|
|
1669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/ListTagsForResource AWS API Documentation
|
|
1670
|
+
#
|
|
1671
|
+
# @overload list_tags_for_resource(params = {})
|
|
1672
|
+
# @param [Hash] params ({})
|
|
1673
|
+
def list_tags_for_resource(params = {}, options = {})
|
|
1674
|
+
req = build_request(:list_tags_for_resource, params)
|
|
1675
|
+
req.send_request(options)
|
|
1676
|
+
end
|
|
1677
|
+
|
|
1678
|
+
# Adds or replaces tags on a credential provider pool or a credential
|
|
1679
|
+
# provider. A key that is already present on the resource has its value
|
|
1680
|
+
# overwritten; keys that are not named are left alone. Takes effect
|
|
1681
|
+
# immediately.
|
|
1682
|
+
#
|
|
1683
|
+
# The operation is idempotent.
|
|
1684
|
+
#
|
|
1685
|
+
# @option params [required, String] :resource_arn
|
|
1686
|
+
# Amazon Resource Name of a taggable resource, either a credential
|
|
1687
|
+
# provider pool or a credential provider within a pool.
|
|
1688
|
+
#
|
|
1689
|
+
# @option params [required, Hash<String,String>] :tags
|
|
1690
|
+
# Tags attached to a resource, as key-value pairs. Keys are unique
|
|
1691
|
+
# within a resource and are case-sensitive. Use tags to categorize
|
|
1692
|
+
# resources and to control access with tag-based IAM policies.
|
|
1693
|
+
#
|
|
1694
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1695
|
+
#
|
|
1696
|
+
# @example Request syntax with placeholder values
|
|
1697
|
+
#
|
|
1698
|
+
# resp = client.tag_resource({
|
|
1699
|
+
# resource_arn: "ResourceArn", # required
|
|
1700
|
+
# tags: { # required
|
|
1701
|
+
# "TagKey" => "TagValue",
|
|
1702
|
+
# },
|
|
1703
|
+
# })
|
|
1704
|
+
#
|
|
1705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/TagResource AWS API Documentation
|
|
1706
|
+
#
|
|
1707
|
+
# @overload tag_resource(params = {})
|
|
1708
|
+
# @param [Hash] params ({})
|
|
1709
|
+
def tag_resource(params = {}, options = {})
|
|
1710
|
+
req = build_request(:tag_resource, params)
|
|
1711
|
+
req.send_request(options)
|
|
1712
|
+
end
|
|
1713
|
+
|
|
1714
|
+
# Removes tags from a credential provider pool or a credential provider.
|
|
1715
|
+
# Keys that are not present on the resource are ignored, so removing the
|
|
1716
|
+
# same keys twice succeeds. Takes effect immediately.
|
|
1717
|
+
#
|
|
1718
|
+
# The operation is idempotent.
|
|
1719
|
+
#
|
|
1720
|
+
# @option params [required, String] :resource_arn
|
|
1721
|
+
# Amazon Resource Name of a taggable resource, either a credential
|
|
1722
|
+
# provider pool or a credential provider within a pool.
|
|
1723
|
+
#
|
|
1724
|
+
# @option params [required, Array<String>] :tag_keys
|
|
1725
|
+
# A list of tag keys. Keys that are not present on the resource are
|
|
1726
|
+
# ignored.
|
|
1727
|
+
#
|
|
1728
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1729
|
+
#
|
|
1730
|
+
# @example Request syntax with placeholder values
|
|
1731
|
+
#
|
|
1732
|
+
# resp = client.untag_resource({
|
|
1733
|
+
# resource_arn: "ResourceArn", # required
|
|
1734
|
+
# tag_keys: ["TagKey"], # required
|
|
1735
|
+
# })
|
|
1736
|
+
#
|
|
1737
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/UntagResource AWS API Documentation
|
|
1738
|
+
#
|
|
1739
|
+
# @overload untag_resource(params = {})
|
|
1740
|
+
# @param [Hash] params ({})
|
|
1741
|
+
def untag_resource(params = {}, options = {})
|
|
1742
|
+
req = build_request(:untag_resource, params)
|
|
1743
|
+
req.send_request(options)
|
|
1744
|
+
end
|
|
1745
|
+
|
|
1746
|
+
# Updates a CredentialProvider asynchronously. Supply only the fields to
|
|
1747
|
+
# change; omitted fields are left unchanged (partial update). The
|
|
1748
|
+
# configuration member you set must match the provider's existing type
|
|
1749
|
+
# — an update cannot change the provider type.
|
|
1750
|
+
#
|
|
1751
|
+
# The operation is idempotent. It returns the provider with a
|
|
1752
|
+
# transitional `status`; poll `GetCredentialProvider` to observe the
|
|
1753
|
+
# transition.
|
|
1754
|
+
#
|
|
1755
|
+
# **Required permissions:** in addition to permission for this
|
|
1756
|
+
# operation, the service performs these actions on your behalf, each
|
|
1757
|
+
# only when the request calls for it: `secretsmanager:GetSecretValue`
|
|
1758
|
+
# and `secretsmanager:DescribeSecret` when the provider references a
|
|
1759
|
+
# secret you own; `secretsmanager:CreateSecret` and
|
|
1760
|
+
# `secretsmanager:PutSecretValue` when you supply the credential value
|
|
1761
|
+
# instead, so that the service stores it in a secret it creates or
|
|
1762
|
+
# updates; `secretsmanager:DeleteSecret` when an update leaves a
|
|
1763
|
+
# service-created secret no longer needed; and `kms:CreateGrant`,
|
|
1764
|
+
# `kms:DescribeKey`, `kms:GenerateDataKeyWithoutPlaintext`,
|
|
1765
|
+
# `kms:ReEncryptFrom`, `kms:ReEncryptTo`, `kms:Encrypt`, and
|
|
1766
|
+
# `kms:Decrypt` when a customer managed KMS key is in use.
|
|
1767
|
+
#
|
|
1768
|
+
# @option params [required, String] :credential_provider_pool_identifier
|
|
1769
|
+
# Identifies a credential provider pool. Accepts either the pool's ARN
|
|
1770
|
+
# or its service-generated ID; both refer to the same pool.
|
|
1771
|
+
#
|
|
1772
|
+
# @option params [required, String] :credential_provider_identifier
|
|
1773
|
+
# Identifies a credential provider. Accepts either the provider's ARN
|
|
1774
|
+
# or its service-generated ID; both refer to the same provider.
|
|
1775
|
+
#
|
|
1776
|
+
# @option params [String] :name
|
|
1777
|
+
# Rename the provider. If provided, MUST be unique within the pool;
|
|
1778
|
+
# omitting leaves the name unchanged.
|
|
1779
|
+
#
|
|
1780
|
+
# @option params [Types::CredentialProviderConfigurationInput] :provider_configuration_input
|
|
1781
|
+
# Type-specific fields to update. Omit to change only the name; within
|
|
1782
|
+
# that member, omit any field to leave it unchanged. The member must
|
|
1783
|
+
# match the provider's existing type.
|
|
1784
|
+
#
|
|
1785
|
+
# @return [Types::UpdateCredentialProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1786
|
+
#
|
|
1787
|
+
# * {Types::UpdateCredentialProviderResponse#credential_provider_arn #credential_provider_arn} => String
|
|
1788
|
+
# * {Types::UpdateCredentialProviderResponse#credential_provider_id #credential_provider_id} => String
|
|
1789
|
+
# * {Types::UpdateCredentialProviderResponse#credential_provider_pool_id #credential_provider_pool_id} => String
|
|
1790
|
+
# * {Types::UpdateCredentialProviderResponse#name #name} => String
|
|
1791
|
+
# * {Types::UpdateCredentialProviderResponse#provider_type #provider_type} => String
|
|
1792
|
+
# * {Types::UpdateCredentialProviderResponse#status #status} => String
|
|
1793
|
+
# * {Types::UpdateCredentialProviderResponse#provider_configuration #provider_configuration} => Types::CredentialProviderConfigurationOutput
|
|
1794
|
+
# * {Types::UpdateCredentialProviderResponse#status_reason #status_reason} => String
|
|
1795
|
+
# * {Types::UpdateCredentialProviderResponse#created_at #created_at} => Time
|
|
1796
|
+
# * {Types::UpdateCredentialProviderResponse#updated_at #updated_at} => Time
|
|
1797
|
+
#
|
|
1798
|
+
# @example Request syntax with placeholder values
|
|
1799
|
+
#
|
|
1800
|
+
# resp = client.update_credential_provider({
|
|
1801
|
+
# credential_provider_pool_identifier: "CredentialProviderPoolIdentifier", # required
|
|
1802
|
+
# credential_provider_identifier: "CredentialProviderIdentifier", # required
|
|
1803
|
+
# name: "ProviderName",
|
|
1804
|
+
# provider_configuration_input: {
|
|
1805
|
+
# oauth_configuration: {
|
|
1806
|
+
# allowed_grant_types: ["CLIENT_CREDENTIALS"], # accepts CLIENT_CREDENTIALS, TOKEN_EXCHANGE, JWT_AUTHORIZATION_GRANT, AUTHORIZATION_CODE
|
|
1807
|
+
# vendor_configuration_input: {
|
|
1808
|
+
# github_configuration: {
|
|
1809
|
+
# client_authentication_configuration: {
|
|
1810
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1811
|
+
# client_id: "ClientId", # required
|
|
1812
|
+
# client_secret: {
|
|
1813
|
+
# client_secret: "ClientSecret",
|
|
1814
|
+
# client_secret_reference: {
|
|
1815
|
+
# secret_id: "SecretId", # required
|
|
1816
|
+
# json_key: "SecretJsonKey", # required
|
|
1817
|
+
# },
|
|
1818
|
+
# },
|
|
1819
|
+
# },
|
|
1820
|
+
# },
|
|
1821
|
+
# google_configuration: {
|
|
1822
|
+
# client_authentication_configuration: {
|
|
1823
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1824
|
+
# client_id: "ClientId", # required
|
|
1825
|
+
# client_secret: {
|
|
1826
|
+
# client_secret: "ClientSecret",
|
|
1827
|
+
# client_secret_reference: {
|
|
1828
|
+
# secret_id: "SecretId", # required
|
|
1829
|
+
# json_key: "SecretJsonKey", # required
|
|
1830
|
+
# },
|
|
1831
|
+
# },
|
|
1832
|
+
# },
|
|
1833
|
+
# },
|
|
1834
|
+
# cognito_configuration: {
|
|
1835
|
+
# client_authentication_configuration: {
|
|
1836
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1837
|
+
# client_id: "ClientId", # required
|
|
1838
|
+
# client_secret: {
|
|
1839
|
+
# client_secret: "ClientSecret",
|
|
1840
|
+
# client_secret_reference: {
|
|
1841
|
+
# secret_id: "SecretId", # required
|
|
1842
|
+
# json_key: "SecretJsonKey", # required
|
|
1843
|
+
# },
|
|
1844
|
+
# },
|
|
1845
|
+
# },
|
|
1846
|
+
# user_pool_id: "UserPoolId", # required
|
|
1847
|
+
# cognito_region: "CognitoRegion",
|
|
1848
|
+
# on_behalf_of_token_exchange_configuration: {
|
|
1849
|
+
# subject_token_source: { # required
|
|
1850
|
+
# iam_identity_center: {
|
|
1851
|
+
# },
|
|
1852
|
+
# credential_provider: "CredentialProviderArn",
|
|
1853
|
+
# credential_provider_self: {
|
|
1854
|
+
# },
|
|
1855
|
+
# },
|
|
1856
|
+
# token_exchange_actor_configuration: {
|
|
1857
|
+
# actor_token_content: "NONE", # required, accepts NONE, M2M
|
|
1858
|
+
# actor_token_scopes: ["ScopeType"],
|
|
1859
|
+
# },
|
|
1860
|
+
# token_exchange_requester_configuration: {
|
|
1861
|
+
# requester_client_authentication_configuration: {
|
|
1862
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1863
|
+
# client_id: "ClientId", # required
|
|
1864
|
+
# client_secret: {
|
|
1865
|
+
# client_secret: "ClientSecret",
|
|
1866
|
+
# client_secret_reference: {
|
|
1867
|
+
# secret_id: "SecretId", # required
|
|
1868
|
+
# json_key: "SecretJsonKey", # required
|
|
1869
|
+
# },
|
|
1870
|
+
# },
|
|
1871
|
+
# },
|
|
1872
|
+
# no_client: {
|
|
1873
|
+
# },
|
|
1874
|
+
# },
|
|
1875
|
+
# },
|
|
1876
|
+
# },
|
|
1877
|
+
# microsoft_configuration: {
|
|
1878
|
+
# client_authentication_configuration: {
|
|
1879
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1880
|
+
# client_id: "ClientId", # required
|
|
1881
|
+
# client_secret: {
|
|
1882
|
+
# client_secret: "ClientSecret",
|
|
1883
|
+
# client_secret_reference: {
|
|
1884
|
+
# secret_id: "SecretId", # required
|
|
1885
|
+
# json_key: "SecretJsonKey", # required
|
|
1886
|
+
# },
|
|
1887
|
+
# },
|
|
1888
|
+
# },
|
|
1889
|
+
# tenant_id: "TenantId",
|
|
1890
|
+
# on_behalf_of_token_exchange_configuration: {
|
|
1891
|
+
# subject_token_source: { # required
|
|
1892
|
+
# iam_identity_center: {
|
|
1893
|
+
# },
|
|
1894
|
+
# credential_provider: "CredentialProviderArn",
|
|
1895
|
+
# credential_provider_self: {
|
|
1896
|
+
# },
|
|
1897
|
+
# },
|
|
1898
|
+
# token_exchange_actor_configuration: {
|
|
1899
|
+
# actor_token_content: "NONE", # required, accepts NONE, M2M
|
|
1900
|
+
# actor_token_scopes: ["ScopeType"],
|
|
1901
|
+
# },
|
|
1902
|
+
# token_exchange_requester_configuration: {
|
|
1903
|
+
# requester_client_authentication_configuration: {
|
|
1904
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1905
|
+
# client_id: "ClientId", # required
|
|
1906
|
+
# client_secret: {
|
|
1907
|
+
# client_secret: "ClientSecret",
|
|
1908
|
+
# client_secret_reference: {
|
|
1909
|
+
# secret_id: "SecretId", # required
|
|
1910
|
+
# json_key: "SecretJsonKey", # required
|
|
1911
|
+
# },
|
|
1912
|
+
# },
|
|
1913
|
+
# },
|
|
1914
|
+
# no_client: {
|
|
1915
|
+
# },
|
|
1916
|
+
# },
|
|
1917
|
+
# },
|
|
1918
|
+
# },
|
|
1919
|
+
# atlassian_configuration: {
|
|
1920
|
+
# client_authentication_configuration: {
|
|
1921
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1922
|
+
# client_id: "ClientId", # required
|
|
1923
|
+
# client_secret: {
|
|
1924
|
+
# client_secret: "ClientSecret",
|
|
1925
|
+
# client_secret_reference: {
|
|
1926
|
+
# secret_id: "SecretId", # required
|
|
1927
|
+
# json_key: "SecretJsonKey", # required
|
|
1928
|
+
# },
|
|
1929
|
+
# },
|
|
1930
|
+
# },
|
|
1931
|
+
# },
|
|
1932
|
+
# okta_configuration: {
|
|
1933
|
+
# client_authentication_configuration: {
|
|
1934
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1935
|
+
# client_id: "ClientId", # required
|
|
1936
|
+
# client_secret: {
|
|
1937
|
+
# client_secret: "ClientSecret",
|
|
1938
|
+
# client_secret_reference: {
|
|
1939
|
+
# secret_id: "SecretId", # required
|
|
1940
|
+
# json_key: "SecretJsonKey", # required
|
|
1941
|
+
# },
|
|
1942
|
+
# },
|
|
1943
|
+
# },
|
|
1944
|
+
# okta_domain: "OktaDomain", # required
|
|
1945
|
+
# on_behalf_of_token_exchange_configuration: {
|
|
1946
|
+
# subject_token_source: { # required
|
|
1947
|
+
# iam_identity_center: {
|
|
1948
|
+
# },
|
|
1949
|
+
# credential_provider: "CredentialProviderArn",
|
|
1950
|
+
# credential_provider_self: {
|
|
1951
|
+
# },
|
|
1952
|
+
# },
|
|
1953
|
+
# token_exchange_actor_configuration: {
|
|
1954
|
+
# actor_token_content: "NONE", # required, accepts NONE, M2M
|
|
1955
|
+
# actor_token_scopes: ["ScopeType"],
|
|
1956
|
+
# },
|
|
1957
|
+
# token_exchange_requester_configuration: {
|
|
1958
|
+
# requester_client_authentication_configuration: {
|
|
1959
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1960
|
+
# client_id: "ClientId", # required
|
|
1961
|
+
# client_secret: {
|
|
1962
|
+
# client_secret: "ClientSecret",
|
|
1963
|
+
# client_secret_reference: {
|
|
1964
|
+
# secret_id: "SecretId", # required
|
|
1965
|
+
# json_key: "SecretJsonKey", # required
|
|
1966
|
+
# },
|
|
1967
|
+
# },
|
|
1968
|
+
# },
|
|
1969
|
+
# no_client: {
|
|
1970
|
+
# },
|
|
1971
|
+
# },
|
|
1972
|
+
# },
|
|
1973
|
+
# },
|
|
1974
|
+
# slack_configuration: {
|
|
1975
|
+
# client_authentication_configuration: {
|
|
1976
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1977
|
+
# client_id: "ClientId", # required
|
|
1978
|
+
# client_secret: {
|
|
1979
|
+
# client_secret: "ClientSecret",
|
|
1980
|
+
# client_secret_reference: {
|
|
1981
|
+
# secret_id: "SecretId", # required
|
|
1982
|
+
# json_key: "SecretJsonKey", # required
|
|
1983
|
+
# },
|
|
1984
|
+
# },
|
|
1985
|
+
# },
|
|
1986
|
+
# },
|
|
1987
|
+
# salesforce_configuration: {
|
|
1988
|
+
# client_authentication_configuration: {
|
|
1989
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
1990
|
+
# client_id: "ClientId", # required
|
|
1991
|
+
# client_secret: {
|
|
1992
|
+
# client_secret: "ClientSecret",
|
|
1993
|
+
# client_secret_reference: {
|
|
1994
|
+
# secret_id: "SecretId", # required
|
|
1995
|
+
# json_key: "SecretJsonKey", # required
|
|
1996
|
+
# },
|
|
1997
|
+
# },
|
|
1998
|
+
# },
|
|
1999
|
+
# instance_url: "InstanceUrl", # required
|
|
2000
|
+
# on_behalf_of_token_exchange_configuration: {
|
|
2001
|
+
# subject_token_source: { # required
|
|
2002
|
+
# iam_identity_center: {
|
|
2003
|
+
# },
|
|
2004
|
+
# credential_provider: "CredentialProviderArn",
|
|
2005
|
+
# credential_provider_self: {
|
|
2006
|
+
# },
|
|
2007
|
+
# },
|
|
2008
|
+
# token_exchange_actor_configuration: {
|
|
2009
|
+
# actor_token_content: "NONE", # required, accepts NONE, M2M
|
|
2010
|
+
# actor_token_scopes: ["ScopeType"],
|
|
2011
|
+
# },
|
|
2012
|
+
# token_exchange_requester_configuration: {
|
|
2013
|
+
# requester_client_authentication_configuration: {
|
|
2014
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
2015
|
+
# client_id: "ClientId", # required
|
|
2016
|
+
# client_secret: {
|
|
2017
|
+
# client_secret: "ClientSecret",
|
|
2018
|
+
# client_secret_reference: {
|
|
2019
|
+
# secret_id: "SecretId", # required
|
|
2020
|
+
# json_key: "SecretJsonKey", # required
|
|
2021
|
+
# },
|
|
2022
|
+
# },
|
|
2023
|
+
# },
|
|
2024
|
+
# no_client: {
|
|
2025
|
+
# },
|
|
2026
|
+
# },
|
|
2027
|
+
# },
|
|
2028
|
+
# },
|
|
2029
|
+
# linkedin_configuration: {
|
|
2030
|
+
# client_authentication_configuration: {
|
|
2031
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
2032
|
+
# client_id: "ClientId", # required
|
|
2033
|
+
# client_secret: {
|
|
2034
|
+
# client_secret: "ClientSecret",
|
|
2035
|
+
# client_secret_reference: {
|
|
2036
|
+
# secret_id: "SecretId", # required
|
|
2037
|
+
# json_key: "SecretJsonKey", # required
|
|
2038
|
+
# },
|
|
2039
|
+
# },
|
|
2040
|
+
# },
|
|
2041
|
+
# },
|
|
2042
|
+
# custom_configuration: {
|
|
2043
|
+
# client_authentication_configuration: {
|
|
2044
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
2045
|
+
# client_id: "ClientId", # required
|
|
2046
|
+
# client_secret: {
|
|
2047
|
+
# client_secret: "ClientSecret",
|
|
2048
|
+
# client_secret_reference: {
|
|
2049
|
+
# secret_id: "SecretId", # required
|
|
2050
|
+
# json_key: "SecretJsonKey", # required
|
|
2051
|
+
# },
|
|
2052
|
+
# },
|
|
2053
|
+
# },
|
|
2054
|
+
# oauth_discovery: { # required
|
|
2055
|
+
# discovery_url: "DiscoveryUrl",
|
|
2056
|
+
# authorization_server_metadata: {
|
|
2057
|
+
# issuer: "AuthorizationServerUrl", # required
|
|
2058
|
+
# token_endpoint: "AuthorizationServerUrl", # required
|
|
2059
|
+
# authorization_endpoint: "AuthorizationServerUrl",
|
|
2060
|
+
# },
|
|
2061
|
+
# },
|
|
2062
|
+
# on_behalf_of_token_exchange_configuration: {
|
|
2063
|
+
# subject_token_source: { # required
|
|
2064
|
+
# iam_identity_center: {
|
|
2065
|
+
# },
|
|
2066
|
+
# credential_provider: "CredentialProviderArn",
|
|
2067
|
+
# credential_provider_self: {
|
|
2068
|
+
# },
|
|
2069
|
+
# },
|
|
2070
|
+
# token_exchange_actor_configuration: {
|
|
2071
|
+
# actor_token_content: "NONE", # required, accepts NONE, M2M
|
|
2072
|
+
# actor_token_scopes: ["ScopeType"],
|
|
2073
|
+
# },
|
|
2074
|
+
# token_exchange_requester_configuration: {
|
|
2075
|
+
# requester_client_authentication_configuration: {
|
|
2076
|
+
# client_authentication_method: "CLIENT_SECRET_BASIC", # accepts CLIENT_SECRET_BASIC, CLIENT_SECRET_POST, NONE
|
|
2077
|
+
# client_id: "ClientId", # required
|
|
2078
|
+
# client_secret: {
|
|
2079
|
+
# client_secret: "ClientSecret",
|
|
2080
|
+
# client_secret_reference: {
|
|
2081
|
+
# secret_id: "SecretId", # required
|
|
2082
|
+
# json_key: "SecretJsonKey", # required
|
|
2083
|
+
# },
|
|
2084
|
+
# },
|
|
2085
|
+
# },
|
|
2086
|
+
# no_client: {
|
|
2087
|
+
# },
|
|
2088
|
+
# },
|
|
2089
|
+
# },
|
|
2090
|
+
# },
|
|
2091
|
+
# },
|
|
2092
|
+
# allowed_session_binding_urls: ["SessionBindingUrl"],
|
|
2093
|
+
# provider_encryption_configuration: {
|
|
2094
|
+
# customer_managed: {
|
|
2095
|
+
# kms_key_identifier: "KmsKeyIdentifier", # required
|
|
2096
|
+
# },
|
|
2097
|
+
# inherit_from_pool: {
|
|
2098
|
+
# },
|
|
2099
|
+
# },
|
|
2100
|
+
# },
|
|
2101
|
+
# api_key_configuration: {
|
|
2102
|
+
# api_key_secret_input: {
|
|
2103
|
+
# api_key: "ApiKey",
|
|
2104
|
+
# api_key_secret_reference: {
|
|
2105
|
+
# secret_id: "SecretId", # required
|
|
2106
|
+
# json_key: "SecretJsonKey", # required
|
|
2107
|
+
# },
|
|
2108
|
+
# },
|
|
2109
|
+
# },
|
|
2110
|
+
# },
|
|
2111
|
+
# })
|
|
2112
|
+
#
|
|
2113
|
+
# @example Response structure
|
|
2114
|
+
#
|
|
2115
|
+
# resp.credential_provider_arn #=> String
|
|
2116
|
+
# resp.credential_provider_id #=> String
|
|
2117
|
+
# resp.credential_provider_pool_id #=> String
|
|
2118
|
+
# resp.name #=> String
|
|
2119
|
+
# resp.provider_type #=> String, one of "OAUTH", "API_KEY"
|
|
2120
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "FAILED"
|
|
2121
|
+
# resp.provider_configuration.oauth_configuration.allowed_grant_types #=> Array
|
|
2122
|
+
# resp.provider_configuration.oauth_configuration.allowed_grant_types[0] #=> String, one of "CLIENT_CREDENTIALS", "TOKEN_EXCHANGE", "JWT_AUTHORIZATION_GRANT", "AUTHORIZATION_CODE"
|
|
2123
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.discovery_url #=> String
|
|
2124
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
2125
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
2126
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
2127
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2128
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_id #=> String
|
|
2129
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
2130
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
2131
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.github_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2132
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.discovery_url #=> String
|
|
2133
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
2134
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
2135
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
2136
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2137
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_id #=> String
|
|
2138
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
2139
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
2140
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.google_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2141
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.discovery_url #=> String
|
|
2142
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
2143
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
2144
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
2145
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2146
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_id #=> String
|
|
2147
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
2148
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
2149
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2150
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
2151
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
2152
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
2153
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
2154
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2155
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
2156
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
2157
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
2158
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.cognito_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2159
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.discovery_url #=> String
|
|
2160
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
2161
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
2162
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
2163
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2164
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_id #=> String
|
|
2165
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
2166
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
2167
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2168
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
2169
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
2170
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
2171
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
2172
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2173
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
2174
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
2175
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
2176
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.microsoft_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2177
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.discovery_url #=> String
|
|
2178
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
2179
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
2180
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
2181
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2182
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_id #=> String
|
|
2183
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
2184
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
2185
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.atlassian_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2186
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.discovery_url #=> String
|
|
2187
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
2188
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
2189
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
2190
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2191
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_id #=> String
|
|
2192
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
2193
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
2194
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2195
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
2196
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
2197
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
2198
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
2199
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2200
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
2201
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
2202
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
2203
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.okta_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2204
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.discovery_url #=> String
|
|
2205
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
2206
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
2207
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
2208
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2209
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_id #=> String
|
|
2210
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
2211
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
2212
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.slack_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2213
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.discovery_url #=> String
|
|
2214
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
2215
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
2216
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
2217
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2218
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_id #=> String
|
|
2219
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
2220
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
2221
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2222
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
2223
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
2224
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
2225
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
2226
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2227
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
2228
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
2229
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
2230
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.salesforce_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2231
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.discovery_url #=> String
|
|
2232
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
2233
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
2234
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
2235
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2236
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_id #=> String
|
|
2237
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
2238
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
2239
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.linkedin_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2240
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.discovery_url #=> String
|
|
2241
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.authorization_server_metadata.issuer #=> String
|
|
2242
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.authorization_server_metadata.token_endpoint #=> String
|
|
2243
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.oauth_discovery.authorization_server_metadata.authorization_endpoint #=> String
|
|
2244
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2245
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_id #=> String
|
|
2246
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_secret_arn #=> String
|
|
2247
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_secret_json_key #=> String
|
|
2248
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2249
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.subject_token_source.credential_provider #=> String
|
|
2250
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_content #=> String, one of "NONE", "M2M"
|
|
2251
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes #=> Array
|
|
2252
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_actor_configuration.actor_token_scopes[0] #=> String
|
|
2253
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_authentication_method #=> String, one of "CLIENT_SECRET_BASIC", "CLIENT_SECRET_POST", "NONE"
|
|
2254
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_id #=> String
|
|
2255
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_arn #=> String
|
|
2256
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_json_key #=> String
|
|
2257
|
+
# resp.provider_configuration.oauth_configuration.vendor_configuration_output.custom_configuration.on_behalf_of_token_exchange_configuration.token_exchange_requester_configuration.requester_client_authentication_configuration.client_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2258
|
+
# resp.provider_configuration.oauth_configuration.encryption_configuration.customer_managed.kms_key_identifier #=> String
|
|
2259
|
+
# resp.provider_configuration.oauth_configuration.encryption_source #=> String, one of "INHERITED", "PROVIDER_OVERRIDE"
|
|
2260
|
+
# resp.provider_configuration.oauth_configuration.identity_center_application_arn #=> String
|
|
2261
|
+
# resp.provider_configuration.oauth_configuration.idc_instance_arn #=> String
|
|
2262
|
+
# resp.provider_configuration.oauth_configuration.allowed_session_binding_urls #=> Array
|
|
2263
|
+
# resp.provider_configuration.oauth_configuration.allowed_session_binding_urls[0] #=> String
|
|
2264
|
+
# resp.provider_configuration.oauth_configuration.callback_urls #=> Array
|
|
2265
|
+
# resp.provider_configuration.oauth_configuration.callback_urls[0] #=> String
|
|
2266
|
+
# resp.provider_configuration.api_key_configuration.api_key_secret_output.api_key_secret_arn #=> String
|
|
2267
|
+
# resp.provider_configuration.api_key_configuration.api_key_secret_output.api_key_secret_source #=> String, one of "MANAGED", "EXTERNAL"
|
|
2268
|
+
# resp.provider_configuration.api_key_configuration.api_key_secret_output.api_key_secret_json_key #=> String
|
|
2269
|
+
# resp.status_reason #=> String
|
|
2270
|
+
# resp.created_at #=> Time
|
|
2271
|
+
# resp.updated_at #=> Time
|
|
2272
|
+
#
|
|
2273
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/UpdateCredentialProvider AWS API Documentation
|
|
2274
|
+
#
|
|
2275
|
+
# @overload update_credential_provider(params = {})
|
|
2276
|
+
# @param [Hash] params ({})
|
|
2277
|
+
def update_credential_provider(params = {}, options = {})
|
|
2278
|
+
req = build_request(:update_credential_provider, params)
|
|
2279
|
+
req.send_request(options)
|
|
2280
|
+
end
|
|
2281
|
+
|
|
2282
|
+
# Updates a CredentialProviderPool. Partial update, only provided fields
|
|
2283
|
+
# are modified; omitted fields are left unchanged.
|
|
2284
|
+
#
|
|
2285
|
+
# The update is applied asynchronously and the operation is idempotent.
|
|
2286
|
+
# The operation returns the pool with a transitional `status`; poll
|
|
2287
|
+
# `GetCredentialProviderPool` to observe the transition.
|
|
2288
|
+
#
|
|
2289
|
+
# **Required permissions:** in addition to permission for this
|
|
2290
|
+
# operation, the service performs these actions on your behalf, each
|
|
2291
|
+
# only when the request calls for it: `sso:CreateApplication`,
|
|
2292
|
+
# `sso:PutApplicationAuthenticationMethod`, `sso:PutApplicationGrant`,
|
|
2293
|
+
# and `sso:PutApplicationAssignmentConfiguration` when the request
|
|
2294
|
+
# associates an IAM Identity Center instance; `sso:DeleteApplication`
|
|
2295
|
+
# when it disassociates one; and `kms:CreateGrant`, `kms:DescribeKey`,
|
|
2296
|
+
# `kms:GenerateDataKeyWithoutPlaintext`, `kms:ReEncryptFrom`,
|
|
2297
|
+
# `kms:ReEncryptTo`, `kms:Encrypt`, and `kms:Decrypt` when it sets or
|
|
2298
|
+
# changes a customer managed KMS key, which re-encrypts the pool's
|
|
2299
|
+
# stored credentials under that key.
|
|
2300
|
+
#
|
|
2301
|
+
# @option params [required, String] :credential_provider_pool_identifier
|
|
2302
|
+
# Identifies a credential provider pool. Accepts either the pool's ARN
|
|
2303
|
+
# or its service-generated ID; both refer to the same pool.
|
|
2304
|
+
#
|
|
2305
|
+
# @option params [String] :name
|
|
2306
|
+
# Rename the pool. If provided, MUST be unique within the account;
|
|
2307
|
+
# omitting leaves the name unchanged.
|
|
2308
|
+
#
|
|
2309
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
2310
|
+
# Changes how cached tokens are encrypted at rest for the providers in
|
|
2311
|
+
# this pool. Use it to move between a customer managed key and a
|
|
2312
|
+
# service-owned key, or to point at a different customer managed key.
|
|
2313
|
+
# Omit to leave the current configuration unchanged. Providers that
|
|
2314
|
+
# override the pool with a key of their own are unaffected.
|
|
2315
|
+
#
|
|
2316
|
+
# @option params [Types::IdentityCenterUpdate] :identity_center_update
|
|
2317
|
+
# Identity Center update action. Omit to preserve existing binding.
|
|
2318
|
+
#
|
|
2319
|
+
# @return [Types::UpdateCredentialProviderPoolResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2320
|
+
#
|
|
2321
|
+
# * {Types::UpdateCredentialProviderPoolResponse#credential_provider_pool_arn #credential_provider_pool_arn} => String
|
|
2322
|
+
# * {Types::UpdateCredentialProviderPoolResponse#credential_provider_pool_id #credential_provider_pool_id} => String
|
|
2323
|
+
# * {Types::UpdateCredentialProviderPoolResponse#name #name} => String
|
|
2324
|
+
# * {Types::UpdateCredentialProviderPoolResponse#status #status} => String
|
|
2325
|
+
# * {Types::UpdateCredentialProviderPoolResponse#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
|
|
2326
|
+
# * {Types::UpdateCredentialProviderPoolResponse#identity_center_configuration #identity_center_configuration} => Types::IdentityCenterConfiguration
|
|
2327
|
+
# * {Types::UpdateCredentialProviderPoolResponse#identity_center_application_arn #identity_center_application_arn} => String
|
|
2328
|
+
# * {Types::UpdateCredentialProviderPoolResponse#created_at #created_at} => Time
|
|
2329
|
+
# * {Types::UpdateCredentialProviderPoolResponse#updated_at #updated_at} => Time
|
|
2330
|
+
#
|
|
2331
|
+
# @example Request syntax with placeholder values
|
|
2332
|
+
#
|
|
2333
|
+
# resp = client.update_credential_provider_pool({
|
|
2334
|
+
# credential_provider_pool_identifier: "CredentialProviderPoolIdentifier", # required
|
|
2335
|
+
# name: "PoolName",
|
|
2336
|
+
# encryption_configuration: {
|
|
2337
|
+
# customer_managed: {
|
|
2338
|
+
# kms_key_identifier: "KmsKeyIdentifier", # required
|
|
2339
|
+
# },
|
|
2340
|
+
# service_managed: {
|
|
2341
|
+
# },
|
|
2342
|
+
# },
|
|
2343
|
+
# identity_center_update: {
|
|
2344
|
+
# associate: {
|
|
2345
|
+
# idc_instance_arn: "IdcInstanceArn", # required
|
|
2346
|
+
# },
|
|
2347
|
+
# disassociate: {
|
|
2348
|
+
# },
|
|
2349
|
+
# },
|
|
2350
|
+
# })
|
|
2351
|
+
#
|
|
2352
|
+
# @example Response structure
|
|
2353
|
+
#
|
|
2354
|
+
# resp.credential_provider_pool_arn #=> String
|
|
2355
|
+
# resp.credential_provider_pool_id #=> String
|
|
2356
|
+
# resp.name #=> String
|
|
2357
|
+
# resp.status #=> String, one of "CREATING", "UPDATING", "DELETING", "READY", "FAILED"
|
|
2358
|
+
# resp.encryption_configuration.customer_managed.kms_key_identifier #=> String
|
|
2359
|
+
# resp.identity_center_configuration.idc_instance_arn #=> String
|
|
2360
|
+
# resp.identity_center_application_arn #=> String
|
|
2361
|
+
# resp.created_at #=> Time
|
|
2362
|
+
# resp.updated_at #=> Time
|
|
2363
|
+
#
|
|
2364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-control-2026-09-30/UpdateCredentialProviderPool AWS API Documentation
|
|
2365
|
+
#
|
|
2366
|
+
# @overload update_credential_provider_pool(params = {})
|
|
2367
|
+
# @param [Hash] params ({})
|
|
2368
|
+
def update_credential_provider_pool(params = {}, options = {})
|
|
2369
|
+
req = build_request(:update_credential_provider_pool, params)
|
|
2370
|
+
req.send_request(options)
|
|
2371
|
+
end
|
|
2372
|
+
|
|
2373
|
+
# @!endgroup
|
|
2374
|
+
|
|
2375
|
+
# @param params ({})
|
|
2376
|
+
# @api private
|
|
2377
|
+
def build_request(operation_name, params = {})
|
|
2378
|
+
handlers = @handlers.for(operation_name)
|
|
2379
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
|
2380
|
+
Aws::Telemetry.module_to_tracer_name('Aws::CredentialBrokerControl')
|
|
2381
|
+
)
|
|
2382
|
+
context = Seahorse::Client::RequestContext.new(
|
|
2383
|
+
operation_name: operation_name,
|
|
2384
|
+
operation: config.api.operation(operation_name),
|
|
2385
|
+
client: self,
|
|
2386
|
+
params: params,
|
|
2387
|
+
config: config,
|
|
2388
|
+
tracer: tracer
|
|
2389
|
+
)
|
|
2390
|
+
context[:gem_name] = 'aws-sdk-credentialbrokercontrol'
|
|
2391
|
+
context[:gem_version] = '1.0.0'
|
|
2392
|
+
Seahorse::Client::Request.new(handlers, context)
|
|
2393
|
+
end
|
|
2394
|
+
|
|
2395
|
+
# Polls an API operation until a resource enters a desired state.
|
|
2396
|
+
#
|
|
2397
|
+
# ## Basic Usage
|
|
2398
|
+
#
|
|
2399
|
+
# A waiter will call an API operation until:
|
|
2400
|
+
#
|
|
2401
|
+
# * It is successful
|
|
2402
|
+
# * It enters a terminal state
|
|
2403
|
+
# * It makes the maximum number of attempts
|
|
2404
|
+
#
|
|
2405
|
+
# In between attempts, the waiter will sleep.
|
|
2406
|
+
#
|
|
2407
|
+
# # polls in a loop, sleeping between attempts
|
|
2408
|
+
# client.wait_until(waiter_name, params)
|
|
2409
|
+
#
|
|
2410
|
+
# ## Configuration
|
|
2411
|
+
#
|
|
2412
|
+
# You can configure the maximum number of polling attempts, and the
|
|
2413
|
+
# delay (in seconds) between each polling attempt. You can pass
|
|
2414
|
+
# configuration as the final arguments hash.
|
|
2415
|
+
#
|
|
2416
|
+
# # poll for ~25 seconds
|
|
2417
|
+
# client.wait_until(waiter_name, params, {
|
|
2418
|
+
# max_attempts: 5,
|
|
2419
|
+
# delay: 5,
|
|
2420
|
+
# })
|
|
2421
|
+
#
|
|
2422
|
+
# ## Callbacks
|
|
2423
|
+
#
|
|
2424
|
+
# You can be notified before each polling attempt and before each
|
|
2425
|
+
# delay. If you throw `:success` or `:failure` from these callbacks,
|
|
2426
|
+
# it will terminate the waiter.
|
|
2427
|
+
#
|
|
2428
|
+
# started_at = Time.now
|
|
2429
|
+
# client.wait_until(waiter_name, params, {
|
|
2430
|
+
#
|
|
2431
|
+
# # disable max attempts
|
|
2432
|
+
# max_attempts: nil,
|
|
2433
|
+
#
|
|
2434
|
+
# # poll for 1 hour, instead of a number of attempts
|
|
2435
|
+
# before_wait: -> (attempts, response) do
|
|
2436
|
+
# throw :failure if Time.now - started_at > 3600
|
|
2437
|
+
# end
|
|
2438
|
+
# })
|
|
2439
|
+
#
|
|
2440
|
+
# ## Handling Errors
|
|
2441
|
+
#
|
|
2442
|
+
# When a waiter is unsuccessful, it will raise an error.
|
|
2443
|
+
# All of the failure errors extend from
|
|
2444
|
+
# {Aws::Waiters::Errors::WaiterFailed}.
|
|
2445
|
+
#
|
|
2446
|
+
# begin
|
|
2447
|
+
# client.wait_until(...)
|
|
2448
|
+
# rescue Aws::Waiters::Errors::WaiterFailed
|
|
2449
|
+
# # resource did not enter the desired state in time
|
|
2450
|
+
# end
|
|
2451
|
+
#
|
|
2452
|
+
# ## Valid Waiters
|
|
2453
|
+
#
|
|
2454
|
+
# The following table lists the valid waiter names, the operations they call,
|
|
2455
|
+
# and the default `:delay` and `:max_attempts` values.
|
|
2456
|
+
#
|
|
2457
|
+
# | waiter_name | params | :delay | :max_attempts |
|
|
2458
|
+
# | -------------------------------- | ------------------------------------- | -------- | ------------- |
|
|
2459
|
+
# | credential_provider_deleted | {Client#get_credential_provider} | 2 | 60 |
|
|
2460
|
+
# | credential_provider_pool_deleted | {Client#get_credential_provider_pool} | 2 | 60 |
|
|
2461
|
+
# | credential_provider_pool_ready | {Client#get_credential_provider_pool} | 2 | 60 |
|
|
2462
|
+
# | credential_provider_ready | {Client#get_credential_provider} | 2 | 60 |
|
|
2463
|
+
#
|
|
2464
|
+
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
|
2465
|
+
# because the waiter has entered a state that it will not transition
|
|
2466
|
+
# out of, preventing success.
|
|
2467
|
+
#
|
|
2468
|
+
# @raise [Errors::TooManyAttemptsError] Raised when the configured
|
|
2469
|
+
# maximum number of attempts have been made, and the waiter is not
|
|
2470
|
+
# yet successful.
|
|
2471
|
+
#
|
|
2472
|
+
# @raise [Errors::UnexpectedError] Raised when an error is encounted
|
|
2473
|
+
# while polling for a resource that is not expected.
|
|
2474
|
+
#
|
|
2475
|
+
# @raise [Errors::NoSuchWaiterError] Raised when you request to wait
|
|
2476
|
+
# for an unknown state.
|
|
2477
|
+
#
|
|
2478
|
+
# @return [Boolean] Returns `true` if the waiter was successful.
|
|
2479
|
+
# @param [Symbol] waiter_name
|
|
2480
|
+
# @param [Hash] params ({})
|
|
2481
|
+
# @param [Hash] options ({})
|
|
2482
|
+
# @option options [Integer] :max_attempts
|
|
2483
|
+
# @option options [Integer] :delay
|
|
2484
|
+
# @option options [Proc] :before_attempt
|
|
2485
|
+
# @option options [Proc] :before_wait
|
|
2486
|
+
def wait_until(waiter_name, params = {}, options = {})
|
|
2487
|
+
w = waiter(waiter_name, options)
|
|
2488
|
+
yield(w.waiter) if block_given? # deprecated
|
|
2489
|
+
w.wait(params)
|
|
2490
|
+
end
|
|
2491
|
+
|
|
2492
|
+
# @api private
|
|
2493
|
+
# @deprecated
|
|
2494
|
+
def waiter_names
|
|
2495
|
+
waiters.keys
|
|
2496
|
+
end
|
|
2497
|
+
|
|
2498
|
+
private
|
|
2499
|
+
|
|
2500
|
+
# @param [Symbol] waiter_name
|
|
2501
|
+
# @param [Hash] options ({})
|
|
2502
|
+
def waiter(waiter_name, options = {})
|
|
2503
|
+
waiter_class = waiters[waiter_name]
|
|
2504
|
+
if waiter_class
|
|
2505
|
+
waiter_class.new(options.merge(client: self))
|
|
2506
|
+
else
|
|
2507
|
+
raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
|
|
2508
|
+
end
|
|
2509
|
+
end
|
|
2510
|
+
|
|
2511
|
+
def waiters
|
|
2512
|
+
{
|
|
2513
|
+
credential_provider_deleted: Waiters::CredentialProviderDeleted,
|
|
2514
|
+
credential_provider_pool_deleted: Waiters::CredentialProviderPoolDeleted,
|
|
2515
|
+
credential_provider_pool_ready: Waiters::CredentialProviderPoolReady,
|
|
2516
|
+
credential_provider_ready: Waiters::CredentialProviderReady
|
|
2517
|
+
}
|
|
2518
|
+
end
|
|
2519
|
+
|
|
2520
|
+
class << self
|
|
2521
|
+
|
|
2522
|
+
# @api private
|
|
2523
|
+
attr_reader :identifier
|
|
2524
|
+
|
|
2525
|
+
# @api private
|
|
2526
|
+
def errors_module
|
|
2527
|
+
Errors
|
|
2528
|
+
end
|
|
2529
|
+
|
|
2530
|
+
end
|
|
2531
|
+
end
|
|
2532
|
+
end
|