aws-sdk-route53profiles 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,57 @@
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
+ require_relative 'aws-sdk-route53profiles/types'
15
+ require_relative 'aws-sdk-route53profiles/client_api'
16
+ require_relative 'aws-sdk-route53profiles/plugins/endpoints.rb'
17
+ require_relative 'aws-sdk-route53profiles/client'
18
+ require_relative 'aws-sdk-route53profiles/errors'
19
+ require_relative 'aws-sdk-route53profiles/resource'
20
+ require_relative 'aws-sdk-route53profiles/endpoint_parameters'
21
+ require_relative 'aws-sdk-route53profiles/endpoint_provider'
22
+ require_relative 'aws-sdk-route53profiles/endpoints'
23
+ require_relative 'aws-sdk-route53profiles/customizations'
24
+
25
+ # This module provides support for Route 53 Profiles. This module is available in the
26
+ # `aws-sdk-route53profiles` gem.
27
+ #
28
+ # # Client
29
+ #
30
+ # The {Client} class provides one method for each API operation. Operation
31
+ # methods each accept a hash of request parameters and return a response
32
+ # structure.
33
+ #
34
+ # route_53_profiles = Aws::Route53Profiles::Client.new
35
+ # resp = route_53_profiles.associate_profile(params)
36
+ #
37
+ # See {Client} for more information.
38
+ #
39
+ # # Errors
40
+ #
41
+ # Errors returned from Route 53 Profiles are defined in the
42
+ # {Errors} module and all extend {Errors::ServiceError}.
43
+ #
44
+ # begin
45
+ # # do stuff
46
+ # rescue Aws::Route53Profiles::Errors::ServiceError
47
+ # # rescues all Route 53 Profiles API errors
48
+ # end
49
+ #
50
+ # See {Errors} for more information.
51
+ #
52
+ # @!group service
53
+ module Aws::Route53Profiles
54
+
55
+ GEM_VERSION = '1.0.0'
56
+
57
+ end
data/sig/client.rbs ADDED
@@ -0,0 +1,269 @@
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 Route53Profiles
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _AssociateProfileResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateProfileResponse]
77
+ def profile_association: () -> Types::ProfileAssociation
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#associate_profile-instance_method
80
+ def associate_profile: (
81
+ name: ::String,
82
+ profile_id: ::String,
83
+ resource_id: ::String,
84
+ ?tags: Array[
85
+ {
86
+ key: ::String,
87
+ value: ::String
88
+ },
89
+ ]
90
+ ) -> _AssociateProfileResponseSuccess
91
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateProfileResponseSuccess
92
+
93
+ interface _AssociateResourceToProfileResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateResourceToProfileResponse]
95
+ def profile_resource_association: () -> Types::ProfileResourceAssociation
96
+ end
97
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#associate_resource_to_profile-instance_method
98
+ def associate_resource_to_profile: (
99
+ name: ::String,
100
+ profile_id: ::String,
101
+ resource_arn: ::String,
102
+ ?resource_properties: ::String
103
+ ) -> _AssociateResourceToProfileResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateResourceToProfileResponseSuccess
105
+
106
+ interface _CreateProfileResponseSuccess
107
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateProfileResponse]
108
+ def profile: () -> Types::Profile
109
+ end
110
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#create_profile-instance_method
111
+ def create_profile: (
112
+ client_token: ::String,
113
+ name: ::String,
114
+ ?tags: Array[
115
+ {
116
+ key: ::String,
117
+ value: ::String
118
+ },
119
+ ]
120
+ ) -> _CreateProfileResponseSuccess
121
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProfileResponseSuccess
122
+
123
+ interface _DeleteProfileResponseSuccess
124
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProfileResponse]
125
+ def profile: () -> Types::Profile
126
+ end
127
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#delete_profile-instance_method
128
+ def delete_profile: (
129
+ profile_id: ::String
130
+ ) -> _DeleteProfileResponseSuccess
131
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProfileResponseSuccess
132
+
133
+ interface _DisassociateProfileResponseSuccess
134
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateProfileResponse]
135
+ def profile_association: () -> Types::ProfileAssociation
136
+ end
137
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#disassociate_profile-instance_method
138
+ def disassociate_profile: (
139
+ profile_id: ::String,
140
+ resource_id: ::String
141
+ ) -> _DisassociateProfileResponseSuccess
142
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateProfileResponseSuccess
143
+
144
+ interface _DisassociateResourceFromProfileResponseSuccess
145
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateResourceFromProfileResponse]
146
+ def profile_resource_association: () -> Types::ProfileResourceAssociation
147
+ end
148
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#disassociate_resource_from_profile-instance_method
149
+ def disassociate_resource_from_profile: (
150
+ profile_id: ::String,
151
+ resource_arn: ::String
152
+ ) -> _DisassociateResourceFromProfileResponseSuccess
153
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateResourceFromProfileResponseSuccess
154
+
155
+ interface _GetProfileResponseSuccess
156
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetProfileResponse]
157
+ def profile: () -> Types::Profile
158
+ end
159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#get_profile-instance_method
160
+ def get_profile: (
161
+ profile_id: ::String
162
+ ) -> _GetProfileResponseSuccess
163
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProfileResponseSuccess
164
+
165
+ interface _GetProfileAssociationResponseSuccess
166
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetProfileAssociationResponse]
167
+ def profile_association: () -> Types::ProfileAssociation
168
+ end
169
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#get_profile_association-instance_method
170
+ def get_profile_association: (
171
+ profile_association_id: ::String
172
+ ) -> _GetProfileAssociationResponseSuccess
173
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProfileAssociationResponseSuccess
174
+
175
+ interface _GetProfileResourceAssociationResponseSuccess
176
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetProfileResourceAssociationResponse]
177
+ def profile_resource_association: () -> Types::ProfileResourceAssociation
178
+ end
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#get_profile_resource_association-instance_method
180
+ def get_profile_resource_association: (
181
+ profile_resource_association_id: ::String
182
+ ) -> _GetProfileResourceAssociationResponseSuccess
183
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProfileResourceAssociationResponseSuccess
184
+
185
+ interface _ListProfileAssociationsResponseSuccess
186
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProfileAssociationsResponse]
187
+ def next_token: () -> ::String
188
+ def profile_associations: () -> ::Array[Types::ProfileAssociation]
189
+ end
190
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#list_profile_associations-instance_method
191
+ def list_profile_associations: (
192
+ ?max_results: ::Integer,
193
+ ?next_token: ::String,
194
+ ?profile_id: ::String,
195
+ ?resource_id: ::String
196
+ ) -> _ListProfileAssociationsResponseSuccess
197
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProfileAssociationsResponseSuccess
198
+
199
+ interface _ListProfileResourceAssociationsResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProfileResourceAssociationsResponse]
201
+ def next_token: () -> ::String
202
+ def profile_resource_associations: () -> ::Array[Types::ProfileResourceAssociation]
203
+ end
204
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#list_profile_resource_associations-instance_method
205
+ def list_profile_resource_associations: (
206
+ ?max_results: ::Integer,
207
+ ?next_token: ::String,
208
+ profile_id: ::String,
209
+ ?resource_type: ::String
210
+ ) -> _ListProfileResourceAssociationsResponseSuccess
211
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProfileResourceAssociationsResponseSuccess
212
+
213
+ interface _ListProfilesResponseSuccess
214
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProfilesResponse]
215
+ def next_token: () -> ::String
216
+ def profile_summaries: () -> ::Array[Types::ProfileSummary]
217
+ end
218
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#list_profiles-instance_method
219
+ def list_profiles: (
220
+ ?max_results: ::Integer,
221
+ ?next_token: ::String
222
+ ) -> _ListProfilesResponseSuccess
223
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProfilesResponseSuccess
224
+
225
+ interface _ListTagsForResourceResponseSuccess
226
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
227
+ def tags: () -> ::Hash[::String, ::String]
228
+ end
229
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#list_tags_for_resource-instance_method
230
+ def list_tags_for_resource: (
231
+ resource_arn: ::String
232
+ ) -> _ListTagsForResourceResponseSuccess
233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
234
+
235
+ interface _TagResourceResponseSuccess
236
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
237
+ end
238
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#tag_resource-instance_method
239
+ def tag_resource: (
240
+ resource_arn: ::String,
241
+ tags: Hash[::String, ::String]
242
+ ) -> _TagResourceResponseSuccess
243
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
244
+
245
+ interface _UntagResourceResponseSuccess
246
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
247
+ end
248
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#untag_resource-instance_method
249
+ def untag_resource: (
250
+ resource_arn: ::String,
251
+ tag_keys: Array[::String]
252
+ ) -> _UntagResourceResponseSuccess
253
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
254
+
255
+ interface _UpdateProfileResourceAssociationResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProfileResourceAssociationResponse]
257
+ def profile_resource_association: () -> Types::ProfileResourceAssociation
258
+ end
259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Client.html#update_profile_resource_association-instance_method
260
+ def update_profile_resource_association: (
261
+ ?name: ::String,
262
+ profile_resource_association_id: ::String,
263
+ ?resource_properties: ::String
264
+ ) -> _UpdateProfileResourceAssociationResponseSuccess
265
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProfileResourceAssociationResponseSuccess
266
+ end
267
+ end
268
+ end
269
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,50 @@
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 Route53Profiles
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
+ end
20
+ class InternalServiceErrorException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class InvalidNextTokenException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class InvalidParameterException < ::Aws::Errors::ServiceError
27
+ def field_name: () -> ::String
28
+ def message: () -> ::String
29
+ end
30
+ class LimitExceededException < ::Aws::Errors::ServiceError
31
+ def message: () -> ::String
32
+ def resource_type: () -> ::String
33
+ end
34
+ class ResourceExistsException < ::Aws::Errors::ServiceError
35
+ def message: () -> ::String
36
+ def resource_type: () -> ::String
37
+ end
38
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ def resource_type: () -> ::String
41
+ end
42
+ class ThrottlingException < ::Aws::Errors::ServiceError
43
+ def message: () -> ::String
44
+ end
45
+ class ValidationException < ::Aws::Errors::ServiceError
46
+ def message: () -> ::String
47
+ end
48
+ end
49
+ end
50
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
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 Route53Profiles
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53Profiles/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end