aws-sdk-accountaccess 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,126 @@
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::AccountAccess
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
+ # | application_active | {Client#get_application} | 5 | 24 |
73
+ #
74
+ module Waiters
75
+
76
+ class ApplicationActive
77
+
78
+ # @param [Hash] options
79
+ # @option options [required, Client] :client
80
+ # @option options [Integer] :max_attempts (24)
81
+ # @option options [Integer] :delay (5)
82
+ # @option options [Proc] :before_attempt
83
+ # @option options [Proc] :before_wait
84
+ def initialize(options)
85
+ @client = options.fetch(:client)
86
+ @waiter = Aws::Waiters::Waiter.new({
87
+ max_attempts: 24,
88
+ delay: 5,
89
+ poller: Aws::Waiters::Poller.new(
90
+ operation_name: :get_application,
91
+ acceptors: [
92
+ {
93
+ "matcher" => "path",
94
+ "argument" => "status",
95
+ "state" => "success",
96
+ "expected" => "ACTIVE"
97
+ },
98
+ {
99
+ "matcher" => "path",
100
+ "argument" => "status",
101
+ "state" => "failure",
102
+ "expected" => "CREATE_FAILED"
103
+ },
104
+ {
105
+ "matcher" => "path",
106
+ "argument" => "status",
107
+ "state" => "failure",
108
+ "expected" => "DELETE_FAILED"
109
+ }
110
+ ]
111
+ )
112
+ }.merge(options))
113
+ end
114
+
115
+ # @option (see Client#get_application)
116
+ # @return (see Client#get_application)
117
+ def wait(params = {})
118
+ @waiter.wait(client: @client, params: params)
119
+ end
120
+
121
+ # @api private
122
+ attr_reader :waiter
123
+
124
+ end
125
+ end
126
+ 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(:accountaccess)
15
+
16
+ # This module provides support for Account Access. This module is available in the
17
+ # `aws-sdk-accountaccess` 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
+ # account_access = Aws::AccountAccess::Client.new
26
+ # resp = account_access.create_application(params)
27
+ #
28
+ # See {Client} for more information.
29
+ #
30
+ # # Errors
31
+ #
32
+ # Errors returned from Account Access are defined in the
33
+ # {Errors} module and all extend {Errors::ServiceError}.
34
+ #
35
+ # begin
36
+ # # do stuff
37
+ # rescue Aws::AccountAccess::Errors::ServiceError
38
+ # # rescues all Account Access API errors
39
+ # end
40
+ #
41
+ # See {Errors} for more information.
42
+ #
43
+ # @!group service
44
+ module Aws::AccountAccess
45
+ autoload :Types, 'aws-sdk-accountaccess/types'
46
+ autoload :ClientApi, 'aws-sdk-accountaccess/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-accountaccess/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-accountaccess/client'
51
+ autoload :Errors, 'aws-sdk-accountaccess/errors'
52
+ autoload :Waiters, 'aws-sdk-accountaccess/waiters'
53
+ autoload :Resource, 'aws-sdk-accountaccess/resource'
54
+ autoload :EndpointParameters, 'aws-sdk-accountaccess/endpoint_parameters'
55
+ autoload :EndpointProvider, 'aws-sdk-accountaccess/endpoint_provider'
56
+ autoload :Endpoints, 'aws-sdk-accountaccess/endpoints'
57
+
58
+ GEM_VERSION = '1.0.0'
59
+
60
+ end
61
+
62
+ require_relative 'aws-sdk-accountaccess/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,240 @@
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 AccountAccess
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/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_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> instance
78
+ | (?Hash[Symbol, untyped]) -> instance
79
+
80
+
81
+ interface _CreateApplicationResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateApplicationResponse]
83
+ def application_arn: () -> ::String
84
+ end
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#create_application-instance_method
86
+ def create_application: (
87
+ identity_source: {
88
+ identity_center: {
89
+ instance_arn: ::String
90
+ }?
91
+ },
92
+ ?tags: Hash[::String, ::String]
93
+ ) -> _CreateApplicationResponseSuccess
94
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
95
+
96
+ interface _CreateEntitlementResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateEntitlementResponse]
98
+ def entitlement_id: () -> ::String
99
+ end
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#create_entitlement-instance_method
101
+ def create_entitlement: (
102
+ application_arn: ::String,
103
+ entitlement: {
104
+ principal_role: {
105
+ principal: {
106
+ identity_center: {
107
+ user_id: ::String?,
108
+ group_id: ::String?
109
+ }?
110
+ },
111
+ role_arn: ::String
112
+ }?
113
+ }
114
+ ) -> _CreateEntitlementResponseSuccess
115
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEntitlementResponseSuccess
116
+
117
+ interface _DeleteApplicationResponseSuccess
118
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApplicationResponse]
119
+ end
120
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#delete_application-instance_method
121
+ def delete_application: (
122
+ application_arn: ::String
123
+ ) -> _DeleteApplicationResponseSuccess
124
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApplicationResponseSuccess
125
+
126
+ interface _DeleteEntitlementResponseSuccess
127
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEntitlementResponse]
128
+ end
129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#delete_entitlement-instance_method
130
+ def delete_entitlement: (
131
+ application_arn: ::String,
132
+ entitlement_id: ::String
133
+ ) -> _DeleteEntitlementResponseSuccess
134
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEntitlementResponseSuccess
135
+
136
+ interface _GetApplicationResponseSuccess
137
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationResponse]
138
+ def identity_source: () -> Types::IdentitySourceDetails
139
+ def status: () -> ("CREATE_IN_PROGRESS" | "ACTIVE" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_FAILED")
140
+ def tenant_id: () -> ::String
141
+ def created_at: () -> ::Time
142
+ def updated_at: () -> ::Time
143
+ def tags: () -> ::Hash[::String, ::String]
144
+ end
145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#get_application-instance_method
146
+ def get_application: (
147
+ application_arn: ::String
148
+ ) -> _GetApplicationResponseSuccess
149
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationResponseSuccess
150
+
151
+ interface _GetEntitlementResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEntitlementResponse]
153
+ def application_arn: () -> ::String
154
+ def entitlement_id: () -> ::String
155
+ def entitlement: () -> Types::EntitlementDetails
156
+ def created_at: () -> ::Time
157
+ end
158
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#get_entitlement-instance_method
159
+ def get_entitlement: (
160
+ application_arn: ::String,
161
+ entitlement_id: ::String
162
+ ) -> _GetEntitlementResponseSuccess
163
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEntitlementResponseSuccess
164
+
165
+ interface _ListApplicationsResponseSuccess
166
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationsResponse]
167
+ def applications: () -> ::Array[Types::ApplicationSummary]
168
+ def next_token: () -> ::String
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#list_applications-instance_method
171
+ def list_applications: (
172
+ ?max_results: ::Integer,
173
+ ?next_token: ::String
174
+ ) -> _ListApplicationsResponseSuccess
175
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationsResponseSuccess
176
+
177
+ interface _ListEntitlementsResponseSuccess
178
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEntitlementsResponse]
179
+ def entitlements: () -> ::Array[Types::EntitlementsListMember]
180
+ def next_token: () -> ::String
181
+ end
182
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#list_entitlements-instance_method
183
+ def list_entitlements: (
184
+ application_arn: ::String,
185
+ filter: {
186
+ principal_role: {
187
+ principal: {
188
+ identity_center: {
189
+ user_id: ::String?,
190
+ group_id: ::String?
191
+ }?
192
+ }?,
193
+ role_arn: ::String?,
194
+ account: ::String?
195
+ }?
196
+ },
197
+ ?next_token: ::String,
198
+ ?max_results: ::Integer
199
+ ) -> _ListEntitlementsResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEntitlementsResponseSuccess
201
+
202
+ interface _ListTagsForResourceResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
204
+ def tags: () -> ::Hash[::String, ::String]
205
+ end
206
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#list_tags_for_resource-instance_method
207
+ def list_tags_for_resource: (
208
+ resource_arn: ::String
209
+ ) -> _ListTagsForResourceResponseSuccess
210
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
211
+
212
+ interface _TagResourceResponseSuccess
213
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
214
+ end
215
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#tag_resource-instance_method
216
+ def tag_resource: (
217
+ resource_arn: ::String,
218
+ tags: Hash[::String, ::String]
219
+ ) -> _TagResourceResponseSuccess
220
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
221
+
222
+ interface _UntagResourceResponseSuccess
223
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
224
+ end
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#untag_resource-instance_method
226
+ def untag_resource: (
227
+ resource_arn: ::String,
228
+ tag_keys: Array[::String]
229
+ ) -> _UntagResourceResponseSuccess
230
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
231
+
232
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Client.html#wait_until-instance_method
233
+ def wait_until: (:application_active waiter_name,
234
+ application_arn: ::String
235
+ ) -> Client::_GetApplicationResponseSuccess
236
+ | (:application_active waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetApplicationResponseSuccess
237
+ end
238
+ end
239
+ end
240
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,40 @@
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 AccountAccess
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class AlreadyCreatedException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ConflictException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class InternalServerException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ThrottlingException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class ValidationException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ end
39
+ end
40
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,85 @@
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 AccountAccess
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccess/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
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_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> void
78
+ | (?Hash[Symbol, untyped]) -> void
79
+
80
+ def client: () -> Client
81
+
82
+
83
+ end
84
+ end
85
+ end