aws-sdk-credentialbrokercontrol 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,241 @@
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 'aws-sdk-core/waiters'
11
+
12
+ module Aws::CredentialBrokerControl
13
+ # Waiters are utility methods that poll for a particular state to occur
14
+ # on a client. Waiters can fail after a number of attempts at a polling
15
+ # interval defined for the service client.
16
+ #
17
+ # For a list of operations that can be waited for and the
18
+ # client methods called for each operation, see the table below or the
19
+ # {Client#wait_until} field documentation for the {Client}.
20
+ #
21
+ # # Invoking a Waiter
22
+ # To invoke a waiter, call #wait_until on a {Client}. The first parameter
23
+ # is the waiter name, which is specific to the service client and indicates
24
+ # which operation is being waited for. The second parameter is a hash of
25
+ # parameters that are passed to the client method called by the waiter,
26
+ # which varies according to the waiter name.
27
+ #
28
+ # # Wait Failures
29
+ # To catch errors in a waiter, use WaiterFailed,
30
+ # as shown in the following example.
31
+ #
32
+ # rescue rescue Aws::Waiters::Errors::WaiterFailed => error
33
+ # puts "failed waiting for instance running: #{error.message}
34
+ # end
35
+ #
36
+ # # Configuring a Waiter
37
+ # Each waiter has a default polling interval and a maximum number of
38
+ # attempts it will make before returning control to your program.
39
+ # To set these values, use the `max_attempts` and `delay` parameters
40
+ # in your `#wait_until` call.
41
+ # The following example waits for up to 25 seconds, polling every five seconds.
42
+ #
43
+ # client.wait_until(...) do |w|
44
+ # w.max_attempts = 5
45
+ # w.delay = 5
46
+ # end
47
+ #
48
+ # To disable wait failures, set the value of either of these parameters
49
+ # to `nil`.
50
+ #
51
+ # # Extending a Waiter
52
+ # To modify the behavior of waiters, you can register callbacks that are
53
+ # triggered before each polling attempt and before waiting.
54
+ #
55
+ # The following example implements an exponential backoff in a waiter
56
+ # by doubling the amount of time to wait on every attempt.
57
+ #
58
+ # client.wait_until(...) do |w|
59
+ # w.interval = 0 # disable normal sleep
60
+ # w.before_wait do |n, resp|
61
+ # sleep(n ** 2)
62
+ # end
63
+ # end
64
+ #
65
+ # # Available Waiters
66
+ #
67
+ # The following table lists the valid waiter names, the operations they call,
68
+ # and the default `:delay` and `:max_attempts` values.
69
+ #
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | -------------------------------- | ------------------------------------- | -------- | ------------- |
72
+ # | credential_provider_deleted | {Client#get_credential_provider} | 2 | 60 |
73
+ # | credential_provider_pool_deleted | {Client#get_credential_provider_pool} | 2 | 60 |
74
+ # | credential_provider_pool_ready | {Client#get_credential_provider_pool} | 2 | 60 |
75
+ # | credential_provider_ready | {Client#get_credential_provider} | 2 | 60 |
76
+ #
77
+ module Waiters
78
+
79
+ # Poll until an async delete removes the provider.
80
+ class CredentialProviderDeleted
81
+
82
+ # @param [Hash] options
83
+ # @option options [required, Client] :client
84
+ # @option options [Integer] :max_attempts (60)
85
+ # @option options [Integer] :delay (2)
86
+ # @option options [Proc] :before_attempt
87
+ # @option options [Proc] :before_wait
88
+ def initialize(options)
89
+ @client = options.fetch(:client)
90
+ @waiter = Aws::Waiters::Waiter.new({
91
+ max_attempts: 60,
92
+ delay: 2,
93
+ poller: Aws::Waiters::Poller.new(
94
+ operation_name: :get_credential_provider,
95
+ acceptors: [{
96
+ "matcher" => "error",
97
+ "state" => "success",
98
+ "expected" => "ResourceNotFoundException"
99
+ }]
100
+ )
101
+ }.merge(options))
102
+ end
103
+
104
+ # @option (see Client#get_credential_provider)
105
+ # @return (see Client#get_credential_provider)
106
+ def wait(params = {})
107
+ @waiter.wait(client: @client, params: params)
108
+ end
109
+
110
+ # @api private
111
+ attr_reader :waiter
112
+
113
+ end
114
+
115
+ # Poll until an async delete removes the pool.
116
+ class CredentialProviderPoolDeleted
117
+
118
+ # @param [Hash] options
119
+ # @option options [required, Client] :client
120
+ # @option options [Integer] :max_attempts (60)
121
+ # @option options [Integer] :delay (2)
122
+ # @option options [Proc] :before_attempt
123
+ # @option options [Proc] :before_wait
124
+ def initialize(options)
125
+ @client = options.fetch(:client)
126
+ @waiter = Aws::Waiters::Waiter.new({
127
+ max_attempts: 60,
128
+ delay: 2,
129
+ poller: Aws::Waiters::Poller.new(
130
+ operation_name: :get_credential_provider_pool,
131
+ acceptors: [{
132
+ "matcher" => "error",
133
+ "state" => "success",
134
+ "expected" => "ResourceNotFoundException"
135
+ }]
136
+ )
137
+ }.merge(options))
138
+ end
139
+
140
+ # @option (see Client#get_credential_provider_pool)
141
+ # @return (see Client#get_credential_provider_pool)
142
+ def wait(params = {})
143
+ @waiter.wait(client: @client, params: params)
144
+ end
145
+
146
+ # @api private
147
+ attr_reader :waiter
148
+
149
+ end
150
+
151
+ # Poll until an async create or update reaches a terminal lifecycle state.
152
+ class CredentialProviderPoolReady
153
+
154
+ # @param [Hash] options
155
+ # @option options [required, Client] :client
156
+ # @option options [Integer] :max_attempts (60)
157
+ # @option options [Integer] :delay (2)
158
+ # @option options [Proc] :before_attempt
159
+ # @option options [Proc] :before_wait
160
+ def initialize(options)
161
+ @client = options.fetch(:client)
162
+ @waiter = Aws::Waiters::Waiter.new({
163
+ max_attempts: 60,
164
+ delay: 2,
165
+ poller: Aws::Waiters::Poller.new(
166
+ operation_name: :get_credential_provider_pool,
167
+ acceptors: [
168
+ {
169
+ "matcher" => "path",
170
+ "argument" => "status",
171
+ "state" => "success",
172
+ "expected" => "READY"
173
+ },
174
+ {
175
+ "matcher" => "path",
176
+ "argument" => "status",
177
+ "state" => "failure",
178
+ "expected" => "FAILED"
179
+ }
180
+ ]
181
+ )
182
+ }.merge(options))
183
+ end
184
+
185
+ # @option (see Client#get_credential_provider_pool)
186
+ # @return (see Client#get_credential_provider_pool)
187
+ def wait(params = {})
188
+ @waiter.wait(client: @client, params: params)
189
+ end
190
+
191
+ # @api private
192
+ attr_reader :waiter
193
+
194
+ end
195
+
196
+ # Poll until an async create or update reaches a terminal lifecycle state.
197
+ class CredentialProviderReady
198
+
199
+ # @param [Hash] options
200
+ # @option options [required, Client] :client
201
+ # @option options [Integer] :max_attempts (60)
202
+ # @option options [Integer] :delay (2)
203
+ # @option options [Proc] :before_attempt
204
+ # @option options [Proc] :before_wait
205
+ def initialize(options)
206
+ @client = options.fetch(:client)
207
+ @waiter = Aws::Waiters::Waiter.new({
208
+ max_attempts: 60,
209
+ delay: 2,
210
+ poller: Aws::Waiters::Poller.new(
211
+ operation_name: :get_credential_provider,
212
+ acceptors: [
213
+ {
214
+ "matcher" => "path",
215
+ "argument" => "status",
216
+ "state" => "success",
217
+ "expected" => "READY"
218
+ },
219
+ {
220
+ "matcher" => "path",
221
+ "argument" => "status",
222
+ "state" => "failure",
223
+ "expected" => "FAILED"
224
+ }
225
+ ]
226
+ )
227
+ }.merge(options))
228
+ end
229
+
230
+ # @option (see Client#get_credential_provider)
231
+ # @return (see Client#get_credential_provider)
232
+ def wait(params = {})
233
+ @waiter.wait(client: @client, params: params)
234
+ end
235
+
236
+ # @api private
237
+ attr_reader :waiter
238
+
239
+ end
240
+ end
241
+ end
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:credentialbrokercontrol)
15
+
16
+ # This module provides support for AWS IAM CredentialBroker Control. This module is available in the
17
+ # `aws-sdk-credentialbrokercontrol` gem.
18
+ #
19
+ # # Client
20
+ #
21
+ # The {Client} class provides one method for each API operation. Operation
22
+ # methods each accept a hash of request parameters and return a response
23
+ # structure.
24
+ #
25
+ # credential_broker_control = Aws::CredentialBrokerControl::Client.new
26
+ # resp = credential_broker_control.create_credential_provider(params)
27
+ #
28
+ # See {Client} for more information.
29
+ #
30
+ # # Errors
31
+ #
32
+ # Errors returned from AWS IAM CredentialBroker Control are defined in the
33
+ # {Errors} module and all extend {Errors::ServiceError}.
34
+ #
35
+ # begin
36
+ # # do stuff
37
+ # rescue Aws::CredentialBrokerControl::Errors::ServiceError
38
+ # # rescues all AWS IAM CredentialBroker Control API errors
39
+ # end
40
+ #
41
+ # See {Errors} for more information.
42
+ #
43
+ # @!group service
44
+ module Aws::CredentialBrokerControl
45
+ autoload :Types, 'aws-sdk-credentialbrokercontrol/types'
46
+ autoload :ClientApi, 'aws-sdk-credentialbrokercontrol/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-credentialbrokercontrol/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-credentialbrokercontrol/client'
51
+ autoload :Errors, 'aws-sdk-credentialbrokercontrol/errors'
52
+ autoload :Waiters, 'aws-sdk-credentialbrokercontrol/waiters'
53
+ autoload :Resource, 'aws-sdk-credentialbrokercontrol/resource'
54
+ autoload :EndpointParameters, 'aws-sdk-credentialbrokercontrol/endpoint_parameters'
55
+ autoload :EndpointProvider, 'aws-sdk-credentialbrokercontrol/endpoint_provider'
56
+ autoload :Endpoints, 'aws-sdk-credentialbrokercontrol/endpoints'
57
+
58
+ GEM_VERSION = '1.0.0'
59
+
60
+ end
61
+
62
+ require_relative 'aws-sdk-credentialbrokercontrol/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,337 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CredentialBrokerControl
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
31
+ ?disable_host_prefix_injection: bool,
32
+ ?disable_request_compression: bool,
33
+ ?endpoint: String,
34
+ ?endpoint_cache_max_entries: Integer,
35
+ ?endpoint_cache_max_threads: Integer,
36
+ ?endpoint_cache_poll_interval: Integer,
37
+ ?endpoint_discovery: bool,
38
+ ?ignore_configured_endpoint_urls: bool,
39
+ ?log_formatter: untyped,
40
+ ?log_level: Symbol,
41
+ ?logger: untyped,
42
+ ?max_attempts: Integer,
43
+ ?profile: String,
44
+ ?request_checksum_calculation: String,
45
+ ?request_min_compression_size_bytes: Integer,
46
+ ?response_checksum_validation: String,
47
+ ?retry_backoff: Proc,
48
+ ?retry_base_delay: Float,
49
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
50
+ ?retry_limit: Integer,
51
+ ?retry_max_delay: Integer,
52
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
53
+ ?sdk_ua_app_id: String,
54
+ ?secret_access_key: String,
55
+ ?session_token: String,
56
+ ?sigv4a_signing_region_set: Array[String],
57
+ ?stub_responses: untyped,
58
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
59
+ ?token_provider: untyped,
60
+ ?use_dualstack_endpoint: bool,
61
+ ?use_fips_endpoint: bool,
62
+ ?validate_params: bool,
63
+ ?endpoint_provider: untyped,
64
+ ?http_proxy: String,
65
+ ?http_open_timeout: (Float | Integer),
66
+ ?http_read_timeout: (Float | Integer),
67
+ ?http_idle_timeout: (Float | Integer),
68
+ ?http_continue_timeout: (Float | Integer),
69
+ ?ssl_timeout: (Float | Integer | nil),
70
+ ?http_wire_trace: bool,
71
+ ?ssl_verify_peer: bool,
72
+ ?ssl_ca_bundle: String,
73
+ ?ssl_ca_directory: String,
74
+ ?ssl_ca_store: String,
75
+ ?on_chunk_received: Proc,
76
+ ?on_chunk_sent: Proc,
77
+ ?raise_response_errors: bool
78
+ ) -> instance
79
+ | (?Hash[Symbol, untyped]) -> instance
80
+
81
+
82
+ interface _CreateCredentialProviderResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCredentialProviderResponse]
84
+ def credential_provider_arn: () -> ::String
85
+ def credential_provider_id: () -> ::String
86
+ def credential_provider_pool_id: () -> ::String
87
+ def name: () -> ::String
88
+ def provider_type: () -> ("OAUTH" | "API_KEY")
89
+ def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "FAILED")
90
+ def provider_configuration: () -> Types::CredentialProviderConfigurationOutput
91
+ def status_reason: () -> ::String
92
+ def created_at: () -> ::Time
93
+ def updated_at: () -> ::Time
94
+ def tags: () -> ::Hash[::String, ::String]
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#create_credential_provider-instance_method
97
+ def create_credential_provider: (
98
+ credential_provider_pool_identifier: ::String,
99
+ name: ::String,
100
+ ?client_token: ::String,
101
+ provider_configuration_input: Params::credential_provider_configuration_input,
102
+ ?tags: Hash[::String, ::String]
103
+ ) -> _CreateCredentialProviderResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCredentialProviderResponseSuccess
105
+
106
+ interface _CreateCredentialProviderPoolResponseSuccess
107
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCredentialProviderPoolResponse]
108
+ def credential_provider_pool_arn: () -> ::String
109
+ def credential_provider_pool_id: () -> ::String
110
+ def name: () -> ::String
111
+ def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "FAILED")
112
+ def encryption_configuration: () -> Types::EncryptionConfiguration
113
+ def identity_center_configuration: () -> Types::IdentityCenterConfiguration
114
+ def identity_center_application_arn: () -> ::String
115
+ def created_at: () -> ::Time
116
+ def updated_at: () -> ::Time
117
+ end
118
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#create_credential_provider_pool-instance_method
119
+ def create_credential_provider_pool: (
120
+ name: ::String,
121
+ ?client_token: ::String,
122
+ ?encryption_configuration: {
123
+ customer_managed: {
124
+ kms_key_identifier: ::String
125
+ }?,
126
+ service_managed: {
127
+ }?
128
+ },
129
+ ?identity_center_configuration: {
130
+ idc_instance_arn: ::String
131
+ },
132
+ ?tags: Hash[::String, ::String]
133
+ ) -> _CreateCredentialProviderPoolResponseSuccess
134
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCredentialProviderPoolResponseSuccess
135
+
136
+ interface _DeleteCredentialProviderResponseSuccess
137
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCredentialProviderResponse]
138
+ def credential_provider_arn: () -> ::String
139
+ def credential_provider_id: () -> ::String
140
+ def credential_provider_pool_id: () -> ::String
141
+ def provider_type: () -> ("OAUTH" | "API_KEY")
142
+ def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "FAILED")
143
+ end
144
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#delete_credential_provider-instance_method
145
+ def delete_credential_provider: (
146
+ credential_provider_pool_identifier: ::String,
147
+ credential_provider_identifier: ::String
148
+ ) -> _DeleteCredentialProviderResponseSuccess
149
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCredentialProviderResponseSuccess
150
+
151
+ interface _DeleteCredentialProviderPoolResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCredentialProviderPoolResponse]
153
+ def credential_provider_pool_arn: () -> ::String
154
+ def credential_provider_pool_id: () -> ::String
155
+ def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "FAILED")
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#delete_credential_provider_pool-instance_method
158
+ def delete_credential_provider_pool: (
159
+ credential_provider_pool_identifier: ::String
160
+ ) -> _DeleteCredentialProviderPoolResponseSuccess
161
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCredentialProviderPoolResponseSuccess
162
+
163
+ interface _GetCredentialProviderResponseSuccess
164
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCredentialProviderResponse]
165
+ def credential_provider_arn: () -> ::String
166
+ def credential_provider_id: () -> ::String
167
+ def credential_provider_pool_id: () -> ::String
168
+ def name: () -> ::String
169
+ def provider_type: () -> ("OAUTH" | "API_KEY")
170
+ def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "FAILED")
171
+ def provider_configuration: () -> Types::CredentialProviderConfigurationOutput
172
+ def status_reason: () -> ::String
173
+ def created_at: () -> ::Time
174
+ def updated_at: () -> ::Time
175
+ end
176
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#get_credential_provider-instance_method
177
+ def get_credential_provider: (
178
+ credential_provider_pool_identifier: ::String,
179
+ credential_provider_identifier: ::String
180
+ ) -> _GetCredentialProviderResponseSuccess
181
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCredentialProviderResponseSuccess
182
+
183
+ interface _GetCredentialProviderPoolResponseSuccess
184
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCredentialProviderPoolResponse]
185
+ def credential_provider_pool_arn: () -> ::String
186
+ def credential_provider_pool_id: () -> ::String
187
+ def name: () -> ::String
188
+ def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "FAILED")
189
+ def encryption_configuration: () -> Types::EncryptionConfiguration
190
+ def identity_center_configuration: () -> Types::IdentityCenterConfiguration
191
+ def identity_center_application_arn: () -> ::String
192
+ def status_reason: () -> ::String
193
+ def created_at: () -> ::Time
194
+ def updated_at: () -> ::Time
195
+ end
196
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#get_credential_provider_pool-instance_method
197
+ def get_credential_provider_pool: (
198
+ credential_provider_pool_identifier: ::String
199
+ ) -> _GetCredentialProviderPoolResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCredentialProviderPoolResponseSuccess
201
+
202
+ interface _ListCredentialProviderPoolsResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCredentialProviderPoolsResponse]
204
+ def items: () -> ::Array[Types::CredentialProviderPoolSummary]
205
+ def next_token: () -> ::String
206
+ end
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#list_credential_provider_pools-instance_method
208
+ def list_credential_provider_pools: (
209
+ ?name_contains: ::String,
210
+ ?next_token: ::String,
211
+ ?max_results: ::Integer
212
+ ) -> _ListCredentialProviderPoolsResponseSuccess
213
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCredentialProviderPoolsResponseSuccess
214
+
215
+ interface _ListCredentialProvidersResponseSuccess
216
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCredentialProvidersResponse]
217
+ def items: () -> ::Array[Types::CredentialProviderSummary]
218
+ def next_token: () -> ::String
219
+ end
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#list_credential_providers-instance_method
221
+ def list_credential_providers: (
222
+ credential_provider_pool_identifier: ::String,
223
+ ?name_contains: ::String,
224
+ ?provider_types: Array[("OAUTH" | "API_KEY")],
225
+ ?max_results: ::Integer,
226
+ ?next_token: ::String
227
+ ) -> _ListCredentialProvidersResponseSuccess
228
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCredentialProvidersResponseSuccess
229
+
230
+ interface _ListTagsForResourceResponseSuccess
231
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
232
+ def tags: () -> ::Hash[::String, ::String]
233
+ end
234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#list_tags_for_resource-instance_method
235
+ def list_tags_for_resource: (
236
+ resource_arn: ::String
237
+ ) -> _ListTagsForResourceResponseSuccess
238
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
239
+
240
+ interface _TagResourceResponseSuccess
241
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#tag_resource-instance_method
244
+ def tag_resource: (
245
+ resource_arn: ::String,
246
+ tags: Hash[::String, ::String]
247
+ ) -> _TagResourceResponseSuccess
248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
249
+
250
+ interface _UntagResourceResponseSuccess
251
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
252
+ end
253
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#untag_resource-instance_method
254
+ def untag_resource: (
255
+ resource_arn: ::String,
256
+ tag_keys: Array[::String]
257
+ ) -> _UntagResourceResponseSuccess
258
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
259
+
260
+ interface _UpdateCredentialProviderResponseSuccess
261
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCredentialProviderResponse]
262
+ def credential_provider_arn: () -> ::String
263
+ def credential_provider_id: () -> ::String
264
+ def credential_provider_pool_id: () -> ::String
265
+ def name: () -> ::String
266
+ def provider_type: () -> ("OAUTH" | "API_KEY")
267
+ def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "FAILED")
268
+ def provider_configuration: () -> Types::CredentialProviderConfigurationOutput
269
+ def status_reason: () -> ::String
270
+ def created_at: () -> ::Time
271
+ def updated_at: () -> ::Time
272
+ end
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#update_credential_provider-instance_method
274
+ def update_credential_provider: (
275
+ credential_provider_pool_identifier: ::String,
276
+ credential_provider_identifier: ::String,
277
+ ?name: ::String,
278
+ ?provider_configuration_input: Params::credential_provider_configuration_input
279
+ ) -> _UpdateCredentialProviderResponseSuccess
280
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCredentialProviderResponseSuccess
281
+
282
+ interface _UpdateCredentialProviderPoolResponseSuccess
283
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCredentialProviderPoolResponse]
284
+ def credential_provider_pool_arn: () -> ::String
285
+ def credential_provider_pool_id: () -> ::String
286
+ def name: () -> ::String
287
+ def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "READY" | "FAILED")
288
+ def encryption_configuration: () -> Types::EncryptionConfiguration
289
+ def identity_center_configuration: () -> Types::IdentityCenterConfiguration
290
+ def identity_center_application_arn: () -> ::String
291
+ def created_at: () -> ::Time
292
+ def updated_at: () -> ::Time
293
+ end
294
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#update_credential_provider_pool-instance_method
295
+ def update_credential_provider_pool: (
296
+ credential_provider_pool_identifier: ::String,
297
+ ?name: ::String,
298
+ ?encryption_configuration: {
299
+ customer_managed: {
300
+ kms_key_identifier: ::String
301
+ }?,
302
+ service_managed: {
303
+ }?
304
+ },
305
+ ?identity_center_update: {
306
+ associate: {
307
+ idc_instance_arn: ::String
308
+ }?,
309
+ disassociate: {
310
+ }?
311
+ }
312
+ ) -> _UpdateCredentialProviderPoolResponseSuccess
313
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCredentialProviderPoolResponseSuccess
314
+
315
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CredentialBrokerControl/Client.html#wait_until-instance_method
316
+ def wait_until: (:credential_provider_deleted waiter_name,
317
+ credential_provider_pool_identifier: ::String,
318
+ credential_provider_identifier: ::String
319
+ ) -> Client::_GetCredentialProviderResponseSuccess
320
+ | (:credential_provider_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetCredentialProviderResponseSuccess
321
+ | (:credential_provider_pool_deleted waiter_name,
322
+ credential_provider_pool_identifier: ::String
323
+ ) -> Client::_GetCredentialProviderPoolResponseSuccess
324
+ | (:credential_provider_pool_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetCredentialProviderPoolResponseSuccess
325
+ | (:credential_provider_pool_ready waiter_name,
326
+ credential_provider_pool_identifier: ::String
327
+ ) -> Client::_GetCredentialProviderPoolResponseSuccess
328
+ | (:credential_provider_pool_ready waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetCredentialProviderPoolResponseSuccess
329
+ | (:credential_provider_ready waiter_name,
330
+ credential_provider_pool_identifier: ::String,
331
+ credential_provider_identifier: ::String
332
+ ) -> Client::_GetCredentialProviderResponseSuccess
333
+ | (:credential_provider_ready waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetCredentialProviderResponseSuccess
334
+ end
335
+ end
336
+ end
337
+