aws-sdk-supportauthz 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,15 @@
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::SupportAuthZ
13
+ module Waiters
14
+ end
15
+ 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(:supportauthz)
15
+
16
+ # This module provides support for SupportAuthZ. This module is available in the
17
+ # `aws-sdk-supportauthz` 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
+ # support_auth_z = Aws::SupportAuthZ::Client.new
26
+ # resp = support_auth_z.create_support_permit(params)
27
+ #
28
+ # See {Client} for more information.
29
+ #
30
+ # # Errors
31
+ #
32
+ # Errors returned from SupportAuthZ are defined in the
33
+ # {Errors} module and all extend {Errors::ServiceError}.
34
+ #
35
+ # begin
36
+ # # do stuff
37
+ # rescue Aws::SupportAuthZ::Errors::ServiceError
38
+ # # rescues all SupportAuthZ API errors
39
+ # end
40
+ #
41
+ # See {Errors} for more information.
42
+ #
43
+ # @!group service
44
+ module Aws::SupportAuthZ
45
+ autoload :Types, 'aws-sdk-supportauthz/types'
46
+ autoload :ClientApi, 'aws-sdk-supportauthz/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-supportauthz/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-supportauthz/client'
51
+ autoload :Errors, 'aws-sdk-supportauthz/errors'
52
+ autoload :Waiters, 'aws-sdk-supportauthz/waiters'
53
+ autoload :Resource, 'aws-sdk-supportauthz/resource'
54
+ autoload :EndpointParameters, 'aws-sdk-supportauthz/endpoint_parameters'
55
+ autoload :EndpointProvider, 'aws-sdk-supportauthz/endpoint_provider'
56
+ autoload :Endpoints, 'aws-sdk-supportauthz/endpoints'
57
+
58
+ GEM_VERSION = '1.0.0'
59
+
60
+ end
61
+
62
+ require_relative 'aws-sdk-supportauthz/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,252 @@
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 SupportAuthZ
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/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 _CreateSupportPermitResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSupportPermitOutput]
83
+ def name: () -> ::String
84
+ def arn: () -> ::String
85
+ def description: () -> ::String
86
+ def permit: () -> Types::Permit
87
+ def status: () -> ("ACTIVE" | "INACTIVE" | "DELETING")
88
+ def signing_key_info: () -> Types::SigningKeyInfo
89
+ def created_at: () -> ::Time
90
+ def support_case_display_id: () -> ::String
91
+ def tags: () -> ::Hash[::String, ::String]
92
+ end
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#create_support_permit-instance_method
94
+ def create_support_permit: (
95
+ permit: {
96
+ actions: {
97
+ all_actions: {
98
+ }?,
99
+ actions: Array[::String]?
100
+ },
101
+ resources: {
102
+ all_resources_in_region: {
103
+ }?,
104
+ resources: Array[::String]?
105
+ },
106
+ conditions: Array[
107
+ {
108
+ allow_after: ::Time?,
109
+ allow_before: ::Time?
110
+ }
111
+ ]?
112
+ },
113
+ name: ::String,
114
+ ?description: ::String,
115
+ signing_key_info: {
116
+ kms_key: ::String?
117
+ },
118
+ ?support_case_display_id: ::String,
119
+ ?client_token: ::String,
120
+ ?tags: Hash[::String, ::String]
121
+ ) -> _CreateSupportPermitResponseSuccess
122
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSupportPermitResponseSuccess
123
+
124
+ interface _DeleteSupportPermitResponseSuccess
125
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSupportPermitOutput]
126
+ def name: () -> ::String
127
+ def arn: () -> ::String
128
+ def description: () -> ::String
129
+ def permit: () -> Types::Permit
130
+ def status: () -> ("ACTIVE" | "INACTIVE" | "DELETING")
131
+ def signing_key_info: () -> Types::SigningKeyInfo
132
+ def created_at: () -> ::Time
133
+ def support_case_display_id: () -> ::String
134
+ end
135
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#delete_support_permit-instance_method
136
+ def delete_support_permit: (
137
+ support_permit_identifier: ::String
138
+ ) -> _DeleteSupportPermitResponseSuccess
139
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSupportPermitResponseSuccess
140
+
141
+ interface _GetActionResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetActionOutput]
143
+ def action: () -> ::String
144
+ def service: () -> ::String
145
+ def description: () -> ::String
146
+ end
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#get_action-instance_method
148
+ def get_action: (
149
+ action: ::String
150
+ ) -> _GetActionResponseSuccess
151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetActionResponseSuccess
152
+
153
+ interface _GetSupportPermitResponseSuccess
154
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSupportPermitOutput]
155
+ def name: () -> ::String
156
+ def arn: () -> ::String
157
+ def description: () -> ::String
158
+ def permit: () -> Types::Permit
159
+ def status: () -> ("ACTIVE" | "INACTIVE" | "DELETING")
160
+ def signing_key_info: () -> Types::SigningKeyInfo
161
+ def created_at: () -> ::Time
162
+ def support_case_display_id: () -> ::String
163
+ def tags: () -> ::Hash[::String, ::String]
164
+ end
165
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#get_support_permit-instance_method
166
+ def get_support_permit: (
167
+ support_permit_identifier: ::String
168
+ ) -> _GetSupportPermitResponseSuccess
169
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSupportPermitResponseSuccess
170
+
171
+ interface _ListActionsResponseSuccess
172
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListActionsOutput]
173
+ def action_summaries: () -> ::Array[Types::ActionSummary]
174
+ def next_token: () -> ::String
175
+ end
176
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#list_actions-instance_method
177
+ def list_actions: (
178
+ ?next_token: ::String,
179
+ ?max_results: ::Integer,
180
+ service: ::String
181
+ ) -> _ListActionsResponseSuccess
182
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActionsResponseSuccess
183
+
184
+ interface _ListSupportPermitRequestsResponseSuccess
185
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSupportPermitRequestsOutput]
186
+ def support_permit_requests: () -> ::Array[Types::SupportPermitRequest]
187
+ def next_token: () -> ::String
188
+ end
189
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#list_support_permit_requests-instance_method
190
+ def list_support_permit_requests: (
191
+ ?next_token: ::String,
192
+ ?max_results: ::Integer,
193
+ ?support_case_display_id: ::String
194
+ ) -> _ListSupportPermitRequestsResponseSuccess
195
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSupportPermitRequestsResponseSuccess
196
+
197
+ interface _ListSupportPermitsResponseSuccess
198
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSupportPermitsOutput]
199
+ def support_permits: () -> ::Array[Types::SupportPermitSummary]
200
+ def next_token: () -> ::String
201
+ end
202
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#list_support_permits-instance_method
203
+ def list_support_permits: (
204
+ ?next_token: ::String,
205
+ ?max_results: ::Integer,
206
+ ?support_permit_statuses: Array[("ACTIVE" | "INACTIVE" | "DELETING")]
207
+ ) -> _ListSupportPermitsResponseSuccess
208
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSupportPermitsResponseSuccess
209
+
210
+ interface _ListTagsForResourceResponseSuccess
211
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
212
+ def tags: () -> ::Hash[::String, ::String]
213
+ end
214
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#list_tags_for_resource-instance_method
215
+ def list_tags_for_resource: (
216
+ resource_arn: ::String
217
+ ) -> _ListTagsForResourceResponseSuccess
218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
219
+
220
+ interface _RejectSupportPermitRequestResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::RejectSupportPermitRequestOutput]
222
+ def request_arn: () -> ::String
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#reject_support_permit_request-instance_method
225
+ def reject_support_permit_request: (
226
+ request_arn: ::String
227
+ ) -> _RejectSupportPermitRequestResponseSuccess
228
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RejectSupportPermitRequestResponseSuccess
229
+
230
+ interface _TagResourceResponseSuccess
231
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
232
+ end
233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#tag_resource-instance_method
234
+ def tag_resource: (
235
+ resource_arn: ::String,
236
+ tags: Hash[::String, ::String]
237
+ ) -> _TagResourceResponseSuccess
238
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
239
+
240
+ interface _UntagResourceResponseSuccess
241
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Client.html#untag_resource-instance_method
244
+ def untag_resource: (
245
+ resource_arn: ::String,
246
+ tag_keys: Array[::String]
247
+ ) -> _UntagResourceResponseSuccess
248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
249
+ end
250
+ end
251
+ end
252
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,48 @@
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 SupportAuthZ
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 ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ def resource_id: () -> ::String
20
+ def resource_type: () -> ::String
21
+ end
22
+ class InternalServerException < ::Aws::Errors::ServiceError
23
+ def message: () -> ::String
24
+ def retry_after_seconds: () -> ::String
25
+ end
26
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ def resource_id: () -> ::String
29
+ def resource_type: () -> ::String
30
+ end
31
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
32
+ def message: () -> ::String
33
+ def resource_id: () -> ::String
34
+ def resource_type: () -> ::String
35
+ def service_code: () -> ::String
36
+ def quota_code: () -> ::String
37
+ end
38
+ class ThrottlingException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ def retry_after_seconds: () -> ::String
41
+ end
42
+ class ValidationException < ::Aws::Errors::ServiceError
43
+ def message: () -> ::String
44
+ def field_list: () -> ::String
45
+ end
46
+ end
47
+ end
48
+ 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 SupportAuthZ
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SupportAuthZ/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