aws-sdk-pricingplanmanager 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-pricingplanmanager/client.rb +1384 -0
- data/lib/aws-sdk-pricingplanmanager/client_api.rb +366 -0
- data/lib/aws-sdk-pricingplanmanager/customizations.rb +0 -0
- data/lib/aws-sdk-pricingplanmanager/endpoint_parameters.rb +52 -0
- data/lib/aws-sdk-pricingplanmanager/endpoint_provider.rb +21 -0
- data/lib/aws-sdk-pricingplanmanager/endpoints.rb +20 -0
- data/lib/aws-sdk-pricingplanmanager/errors.rb +165 -0
- data/lib/aws-sdk-pricingplanmanager/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-pricingplanmanager/resource.rb +26 -0
- data/lib/aws-sdk-pricingplanmanager/types.rb +738 -0
- data/lib/aws-sdk-pricingplanmanager.rb +61 -0
- data/sig/client.rbs +203 -0
- data/sig/errors.rbs +40 -0
- data/sig/resource.rbs +85 -0
- data/sig/types.rbs +206 -0
- metadata +95 -0
|
@@ -0,0 +1,61 @@
|
|
|
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(:pricingplanmanager)
|
|
15
|
+
|
|
16
|
+
# This module provides support for PricingPlanManager. This module is available in the
|
|
17
|
+
# `aws-sdk-pricingplanmanager` 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
|
+
# pricing_plan_manager = Aws::PricingPlanManager::Client.new
|
|
26
|
+
# resp = pricing_plan_manager.approve_paid_subscription(params)
|
|
27
|
+
#
|
|
28
|
+
# See {Client} for more information.
|
|
29
|
+
#
|
|
30
|
+
# # Errors
|
|
31
|
+
#
|
|
32
|
+
# Errors returned from PricingPlanManager are defined in the
|
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
|
34
|
+
#
|
|
35
|
+
# begin
|
|
36
|
+
# # do stuff
|
|
37
|
+
# rescue Aws::PricingPlanManager::Errors::ServiceError
|
|
38
|
+
# # rescues all PricingPlanManager API errors
|
|
39
|
+
# end
|
|
40
|
+
#
|
|
41
|
+
# See {Errors} for more information.
|
|
42
|
+
#
|
|
43
|
+
# @!group service
|
|
44
|
+
module Aws::PricingPlanManager
|
|
45
|
+
autoload :Types, 'aws-sdk-pricingplanmanager/types'
|
|
46
|
+
autoload :ClientApi, 'aws-sdk-pricingplanmanager/client_api'
|
|
47
|
+
module Plugins
|
|
48
|
+
autoload :Endpoints, 'aws-sdk-pricingplanmanager/plugins/endpoints.rb'
|
|
49
|
+
end
|
|
50
|
+
autoload :Client, 'aws-sdk-pricingplanmanager/client'
|
|
51
|
+
autoload :Errors, 'aws-sdk-pricingplanmanager/errors'
|
|
52
|
+
autoload :Resource, 'aws-sdk-pricingplanmanager/resource'
|
|
53
|
+
autoload :EndpointParameters, 'aws-sdk-pricingplanmanager/endpoint_parameters'
|
|
54
|
+
autoload :EndpointProvider, 'aws-sdk-pricingplanmanager/endpoint_provider'
|
|
55
|
+
autoload :Endpoints, 'aws-sdk-pricingplanmanager/endpoints'
|
|
56
|
+
|
|
57
|
+
GEM_VERSION = '1.0.0'
|
|
58
|
+
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
require_relative 'aws-sdk-pricingplanmanager/customizations'
|
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
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 PricingPlanManager
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/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 _ApprovePaidSubscriptionResponseSuccess
|
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ApprovePaidSubscriptionOutput]
|
|
83
|
+
def subscription: () -> Types::Subscription
|
|
84
|
+
def e_tag: () -> ::String
|
|
85
|
+
end
|
|
86
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/Client.html#approve_paid_subscription-instance_method
|
|
87
|
+
def approve_paid_subscription: (
|
|
88
|
+
arn: ::String,
|
|
89
|
+
if_match: ::String,
|
|
90
|
+
?client_token: ::String
|
|
91
|
+
) -> _ApprovePaidSubscriptionResponseSuccess
|
|
92
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ApprovePaidSubscriptionResponseSuccess
|
|
93
|
+
|
|
94
|
+
interface _AssociateResourcesToSubscriptionResponseSuccess
|
|
95
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateResourcesToSubscriptionOutput]
|
|
96
|
+
def subscription: () -> Types::Subscription
|
|
97
|
+
def e_tag: () -> ::String
|
|
98
|
+
end
|
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/Client.html#associate_resources_to_subscription-instance_method
|
|
100
|
+
def associate_resources_to_subscription: (
|
|
101
|
+
arn: ::String,
|
|
102
|
+
resource_arns: Array[::String],
|
|
103
|
+
if_match: ::String,
|
|
104
|
+
?client_token: ::String
|
|
105
|
+
) -> _AssociateResourcesToSubscriptionResponseSuccess
|
|
106
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateResourcesToSubscriptionResponseSuccess
|
|
107
|
+
|
|
108
|
+
interface _CancelSubscriptionResponseSuccess
|
|
109
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelSubscriptionOutput]
|
|
110
|
+
def subscription: () -> Types::Subscription
|
|
111
|
+
def e_tag: () -> ::String
|
|
112
|
+
end
|
|
113
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/Client.html#cancel_subscription-instance_method
|
|
114
|
+
def cancel_subscription: (
|
|
115
|
+
arn: ::String,
|
|
116
|
+
if_match: ::String,
|
|
117
|
+
?client_token: ::String
|
|
118
|
+
) -> _CancelSubscriptionResponseSuccess
|
|
119
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelSubscriptionResponseSuccess
|
|
120
|
+
|
|
121
|
+
interface _CancelSubscriptionChangeResponseSuccess
|
|
122
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelSubscriptionChangeOutput]
|
|
123
|
+
def subscription: () -> Types::Subscription
|
|
124
|
+
def e_tag: () -> ::String
|
|
125
|
+
end
|
|
126
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/Client.html#cancel_subscription_change-instance_method
|
|
127
|
+
def cancel_subscription_change: (
|
|
128
|
+
arn: ::String,
|
|
129
|
+
if_match: ::String,
|
|
130
|
+
?client_token: ::String
|
|
131
|
+
) -> _CancelSubscriptionChangeResponseSuccess
|
|
132
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelSubscriptionChangeResponseSuccess
|
|
133
|
+
|
|
134
|
+
interface _CreateSubscriptionResponseSuccess
|
|
135
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSubscriptionOutput]
|
|
136
|
+
def subscription: () -> Types::Subscription
|
|
137
|
+
def e_tag: () -> ::String
|
|
138
|
+
end
|
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/Client.html#create_subscription-instance_method
|
|
140
|
+
def create_subscription: (
|
|
141
|
+
plan_family: ::String,
|
|
142
|
+
plan_tier: ::String,
|
|
143
|
+
?usage_level: ::String,
|
|
144
|
+
resource_arns: Array[::String],
|
|
145
|
+
?approval_mode: ("MANUAL" | "IMMEDIATE"),
|
|
146
|
+
?client_token: ::String
|
|
147
|
+
) -> _CreateSubscriptionResponseSuccess
|
|
148
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSubscriptionResponseSuccess
|
|
149
|
+
|
|
150
|
+
interface _DisassociateResourcesFromSubscriptionResponseSuccess
|
|
151
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateResourcesFromSubscriptionOutput]
|
|
152
|
+
def subscription: () -> Types::Subscription
|
|
153
|
+
def e_tag: () -> ::String
|
|
154
|
+
end
|
|
155
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/Client.html#disassociate_resources_from_subscription-instance_method
|
|
156
|
+
def disassociate_resources_from_subscription: (
|
|
157
|
+
arn: ::String,
|
|
158
|
+
resource_arns: Array[::String],
|
|
159
|
+
if_match: ::String,
|
|
160
|
+
?client_token: ::String
|
|
161
|
+
) -> _DisassociateResourcesFromSubscriptionResponseSuccess
|
|
162
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateResourcesFromSubscriptionResponseSuccess
|
|
163
|
+
|
|
164
|
+
interface _GetSubscriptionResponseSuccess
|
|
165
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSubscriptionOutput]
|
|
166
|
+
def subscription: () -> Types::Subscription
|
|
167
|
+
def e_tag: () -> ::String
|
|
168
|
+
end
|
|
169
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/Client.html#get_subscription-instance_method
|
|
170
|
+
def get_subscription: (
|
|
171
|
+
arn: ::String
|
|
172
|
+
) -> _GetSubscriptionResponseSuccess
|
|
173
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSubscriptionResponseSuccess
|
|
174
|
+
|
|
175
|
+
interface _ListSubscriptionsResponseSuccess
|
|
176
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSubscriptionsOutput]
|
|
177
|
+
def subscription_summaries: () -> ::Array[Types::SubscriptionSummary]
|
|
178
|
+
def next_token: () -> ::String
|
|
179
|
+
end
|
|
180
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/Client.html#list_subscriptions-instance_method
|
|
181
|
+
def list_subscriptions: (
|
|
182
|
+
?next_token: ::String
|
|
183
|
+
) -> _ListSubscriptionsResponseSuccess
|
|
184
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSubscriptionsResponseSuccess
|
|
185
|
+
|
|
186
|
+
interface _UpdateSubscriptionResponseSuccess
|
|
187
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSubscriptionOutput]
|
|
188
|
+
def subscription: () -> Types::Subscription
|
|
189
|
+
def e_tag: () -> ::String
|
|
190
|
+
end
|
|
191
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/Client.html#update_subscription-instance_method
|
|
192
|
+
def update_subscription: (
|
|
193
|
+
arn: ::String,
|
|
194
|
+
plan_tier: ::String,
|
|
195
|
+
?usage_level: ::String,
|
|
196
|
+
if_match: ::String,
|
|
197
|
+
?client_token: ::String
|
|
198
|
+
) -> _UpdateSubscriptionResponseSuccess
|
|
199
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSubscriptionResponseSuccess
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
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 PricingPlanManager
|
|
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
|
+
end
|
|
21
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
|
22
|
+
def message: () -> ::String
|
|
23
|
+
end
|
|
24
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
25
|
+
def message: () -> ::String
|
|
26
|
+
def resource_id: () -> ::String
|
|
27
|
+
end
|
|
28
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
29
|
+
def message: () -> ::String
|
|
30
|
+
end
|
|
31
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
|
32
|
+
def message: () -> ::String
|
|
33
|
+
end
|
|
34
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
|
35
|
+
def message: () -> ::String
|
|
36
|
+
def resource_id: () -> ::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 PricingPlanManager
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PricingPlanManager/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
|
data/sig/types.rbs
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
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::PricingPlanManager
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
class AccessDeniedException
|
|
12
|
+
attr_accessor message: ::String
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
class ApprovePaidSubscriptionInput
|
|
17
|
+
attr_accessor arn: ::String
|
|
18
|
+
attr_accessor if_match: ::String
|
|
19
|
+
attr_accessor client_token: ::String
|
|
20
|
+
SENSITIVE: []
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
class ApprovePaidSubscriptionOutput
|
|
24
|
+
attr_accessor subscription: Types::Subscription
|
|
25
|
+
attr_accessor e_tag: ::String
|
|
26
|
+
SENSITIVE: []
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
class AssociateResourcesToSubscriptionInput
|
|
30
|
+
attr_accessor arn: ::String
|
|
31
|
+
attr_accessor resource_arns: ::Array[::String]
|
|
32
|
+
attr_accessor if_match: ::String
|
|
33
|
+
attr_accessor client_token: ::String
|
|
34
|
+
SENSITIVE: []
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class AssociateResourcesToSubscriptionOutput
|
|
38
|
+
attr_accessor subscription: Types::Subscription
|
|
39
|
+
attr_accessor e_tag: ::String
|
|
40
|
+
SENSITIVE: []
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
class CancelSubscriptionChangeInput
|
|
44
|
+
attr_accessor arn: ::String
|
|
45
|
+
attr_accessor if_match: ::String
|
|
46
|
+
attr_accessor client_token: ::String
|
|
47
|
+
SENSITIVE: []
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
class CancelSubscriptionChangeOutput
|
|
51
|
+
attr_accessor subscription: Types::Subscription
|
|
52
|
+
attr_accessor e_tag: ::String
|
|
53
|
+
SENSITIVE: []
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
class CancelSubscriptionInput
|
|
57
|
+
attr_accessor arn: ::String
|
|
58
|
+
attr_accessor if_match: ::String
|
|
59
|
+
attr_accessor client_token: ::String
|
|
60
|
+
SENSITIVE: []
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
class CancelSubscriptionOutput
|
|
64
|
+
attr_accessor subscription: Types::Subscription
|
|
65
|
+
attr_accessor e_tag: ::String
|
|
66
|
+
SENSITIVE: []
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
class ConflictException
|
|
70
|
+
attr_accessor message: ::String
|
|
71
|
+
attr_accessor resource_id: ::String
|
|
72
|
+
SENSITIVE: []
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
class CreateSubscriptionInput
|
|
76
|
+
attr_accessor plan_family: ::String
|
|
77
|
+
attr_accessor plan_tier: ::String
|
|
78
|
+
attr_accessor usage_level: ::String
|
|
79
|
+
attr_accessor resource_arns: ::Array[::String]
|
|
80
|
+
attr_accessor approval_mode: ("MANUAL" | "IMMEDIATE")
|
|
81
|
+
attr_accessor client_token: ::String
|
|
82
|
+
SENSITIVE: []
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class CreateSubscriptionOutput
|
|
86
|
+
attr_accessor subscription: Types::Subscription
|
|
87
|
+
attr_accessor e_tag: ::String
|
|
88
|
+
SENSITIVE: []
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class DisassociateResourcesFromSubscriptionInput
|
|
92
|
+
attr_accessor arn: ::String
|
|
93
|
+
attr_accessor resource_arns: ::Array[::String]
|
|
94
|
+
attr_accessor if_match: ::String
|
|
95
|
+
attr_accessor client_token: ::String
|
|
96
|
+
SENSITIVE: []
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
class DisassociateResourcesFromSubscriptionOutput
|
|
100
|
+
attr_accessor subscription: Types::Subscription
|
|
101
|
+
attr_accessor e_tag: ::String
|
|
102
|
+
SENSITIVE: []
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
class GetSubscriptionInput
|
|
106
|
+
attr_accessor arn: ::String
|
|
107
|
+
SENSITIVE: []
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
class GetSubscriptionOutput
|
|
111
|
+
attr_accessor subscription: Types::Subscription
|
|
112
|
+
attr_accessor e_tag: ::String
|
|
113
|
+
SENSITIVE: []
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
class InternalServerException
|
|
117
|
+
attr_accessor message: ::String
|
|
118
|
+
SENSITIVE: []
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
class ListSubscriptionsInput
|
|
122
|
+
attr_accessor next_token: ::String
|
|
123
|
+
SENSITIVE: []
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
class ListSubscriptionsOutput
|
|
127
|
+
attr_accessor subscription_summaries: ::Array[Types::SubscriptionSummary]
|
|
128
|
+
attr_accessor next_token: ::String
|
|
129
|
+
SENSITIVE: []
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
class ResourceNotFoundException
|
|
133
|
+
attr_accessor message: ::String
|
|
134
|
+
attr_accessor resource_id: ::String
|
|
135
|
+
SENSITIVE: []
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
class ScheduledChange
|
|
139
|
+
attr_accessor change_type: ("DOWNGRADE" | "CANCELLATION")
|
|
140
|
+
attr_accessor effective_date: ::Time
|
|
141
|
+
attr_accessor plan_tier: ::String
|
|
142
|
+
attr_accessor usage_level: ::String
|
|
143
|
+
SENSITIVE: []
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
class ServiceQuotaExceededException
|
|
147
|
+
attr_accessor message: ::String
|
|
148
|
+
SENSITIVE: []
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
class Subscription
|
|
152
|
+
attr_accessor arn: ::String
|
|
153
|
+
attr_accessor plan_family: ::String
|
|
154
|
+
attr_accessor plan_tier: ::String
|
|
155
|
+
attr_accessor usage_level: ::String
|
|
156
|
+
attr_accessor scheduled_change: Types::ScheduledChange
|
|
157
|
+
attr_accessor status: ("PENDING_APPROVAL" | "ACTIVE" | "SYNC_IN_PROGRESS" | "FAILED")
|
|
158
|
+
attr_accessor status_reason: ::String
|
|
159
|
+
attr_accessor resource_arns: ::Array[::String]
|
|
160
|
+
attr_accessor created_at: ::Time
|
|
161
|
+
attr_accessor updated_at: ::Time
|
|
162
|
+
SENSITIVE: []
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
class SubscriptionSummary
|
|
166
|
+
attr_accessor arn: ::String
|
|
167
|
+
attr_accessor plan_family: ::String
|
|
168
|
+
attr_accessor plan_tier: ::String
|
|
169
|
+
attr_accessor usage_level: ::String
|
|
170
|
+
attr_accessor scheduled_change: Types::ScheduledChange
|
|
171
|
+
attr_accessor status: ("PENDING_APPROVAL" | "ACTIVE" | "SYNC_IN_PROGRESS" | "FAILED")
|
|
172
|
+
attr_accessor status_reason: ::String
|
|
173
|
+
attr_accessor resource_arns: ::Array[::String]
|
|
174
|
+
attr_accessor created_at: ::Time
|
|
175
|
+
attr_accessor updated_at: ::Time
|
|
176
|
+
attr_accessor e_tag: ::String
|
|
177
|
+
SENSITIVE: []
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
class ThrottlingException
|
|
181
|
+
attr_accessor message: ::String
|
|
182
|
+
SENSITIVE: []
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
class UpdateSubscriptionInput
|
|
186
|
+
attr_accessor arn: ::String
|
|
187
|
+
attr_accessor plan_tier: ::String
|
|
188
|
+
attr_accessor usage_level: ::String
|
|
189
|
+
attr_accessor if_match: ::String
|
|
190
|
+
attr_accessor client_token: ::String
|
|
191
|
+
SENSITIVE: []
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
class UpdateSubscriptionOutput
|
|
195
|
+
attr_accessor subscription: Types::Subscription
|
|
196
|
+
attr_accessor e_tag: ::String
|
|
197
|
+
SENSITIVE: []
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
class ValidationException
|
|
201
|
+
attr_accessor message: ::String
|
|
202
|
+
attr_accessor resource_id: ::String
|
|
203
|
+
SENSITIVE: []
|
|
204
|
+
end
|
|
205
|
+
end
|
|
206
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: aws-sdk-pricingplanmanager
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Amazon Web Services
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: aws-sdk-core
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '3'
|
|
19
|
+
- - ">="
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 3.254.0
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
requirements:
|
|
26
|
+
- - "~>"
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
version: '3'
|
|
29
|
+
- - ">="
|
|
30
|
+
- !ruby/object:Gem::Version
|
|
31
|
+
version: 3.254.0
|
|
32
|
+
- !ruby/object:Gem::Dependency
|
|
33
|
+
name: aws-sigv4
|
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
|
35
|
+
requirements:
|
|
36
|
+
- - "~>"
|
|
37
|
+
- !ruby/object:Gem::Version
|
|
38
|
+
version: '1.5'
|
|
39
|
+
type: :runtime
|
|
40
|
+
prerelease: false
|
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
- - "~>"
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '1.5'
|
|
46
|
+
description: Official AWS Ruby gem for PricingPlanManager. This gem is part of the
|
|
47
|
+
AWS SDK for Ruby.
|
|
48
|
+
email:
|
|
49
|
+
- aws-dr-rubygems@amazon.com
|
|
50
|
+
executables: []
|
|
51
|
+
extensions: []
|
|
52
|
+
extra_rdoc_files: []
|
|
53
|
+
files:
|
|
54
|
+
- CHANGELOG.md
|
|
55
|
+
- LICENSE.txt
|
|
56
|
+
- VERSION
|
|
57
|
+
- lib/aws-sdk-pricingplanmanager.rb
|
|
58
|
+
- lib/aws-sdk-pricingplanmanager/client.rb
|
|
59
|
+
- lib/aws-sdk-pricingplanmanager/client_api.rb
|
|
60
|
+
- lib/aws-sdk-pricingplanmanager/customizations.rb
|
|
61
|
+
- lib/aws-sdk-pricingplanmanager/endpoint_parameters.rb
|
|
62
|
+
- lib/aws-sdk-pricingplanmanager/endpoint_provider.rb
|
|
63
|
+
- lib/aws-sdk-pricingplanmanager/endpoints.rb
|
|
64
|
+
- lib/aws-sdk-pricingplanmanager/errors.rb
|
|
65
|
+
- lib/aws-sdk-pricingplanmanager/plugins/endpoints.rb
|
|
66
|
+
- lib/aws-sdk-pricingplanmanager/resource.rb
|
|
67
|
+
- lib/aws-sdk-pricingplanmanager/types.rb
|
|
68
|
+
- sig/client.rbs
|
|
69
|
+
- sig/errors.rbs
|
|
70
|
+
- sig/resource.rbs
|
|
71
|
+
- sig/types.rbs
|
|
72
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
|
73
|
+
licenses:
|
|
74
|
+
- Apache-2.0
|
|
75
|
+
metadata:
|
|
76
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pricingplanmanager
|
|
77
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pricingplanmanager/CHANGELOG.md
|
|
78
|
+
rdoc_options: []
|
|
79
|
+
require_paths:
|
|
80
|
+
- lib
|
|
81
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
|
+
requirements:
|
|
83
|
+
- - ">="
|
|
84
|
+
- !ruby/object:Gem::Version
|
|
85
|
+
version: '2.7'
|
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
- - ">="
|
|
89
|
+
- !ruby/object:Gem::Version
|
|
90
|
+
version: '0'
|
|
91
|
+
requirements: []
|
|
92
|
+
rubygems_version: 3.6.7
|
|
93
|
+
specification_version: 4
|
|
94
|
+
summary: AWS SDK for Ruby - PricingPlanManager
|
|
95
|
+
test_files: []
|