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,366 @@
|
|
|
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
|
+
module Aws::PricingPlanManager
|
|
12
|
+
# @api private
|
|
13
|
+
module ClientApi
|
|
14
|
+
|
|
15
|
+
include Seahorse::Model
|
|
16
|
+
|
|
17
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
18
|
+
ApprovalMode = Shapes::StringShape.new(name: 'ApprovalMode')
|
|
19
|
+
ApprovePaidSubscriptionInput = Shapes::StructureShape.new(name: 'ApprovePaidSubscriptionInput')
|
|
20
|
+
ApprovePaidSubscriptionOutput = Shapes::StructureShape.new(name: 'ApprovePaidSubscriptionOutput')
|
|
21
|
+
AssociateResourcesToSubscriptionInput = Shapes::StructureShape.new(name: 'AssociateResourcesToSubscriptionInput')
|
|
22
|
+
AssociateResourcesToSubscriptionOutput = Shapes::StructureShape.new(name: 'AssociateResourcesToSubscriptionOutput')
|
|
23
|
+
CancelSubscriptionChangeInput = Shapes::StructureShape.new(name: 'CancelSubscriptionChangeInput')
|
|
24
|
+
CancelSubscriptionChangeOutput = Shapes::StructureShape.new(name: 'CancelSubscriptionChangeOutput')
|
|
25
|
+
CancelSubscriptionInput = Shapes::StructureShape.new(name: 'CancelSubscriptionInput')
|
|
26
|
+
CancelSubscriptionOutput = Shapes::StructureShape.new(name: 'CancelSubscriptionOutput')
|
|
27
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
28
|
+
CreateSubscriptionInput = Shapes::StructureShape.new(name: 'CreateSubscriptionInput')
|
|
29
|
+
CreateSubscriptionOutput = Shapes::StructureShape.new(name: 'CreateSubscriptionOutput')
|
|
30
|
+
DisassociateResourcesFromSubscriptionInput = Shapes::StructureShape.new(name: 'DisassociateResourcesFromSubscriptionInput')
|
|
31
|
+
DisassociateResourcesFromSubscriptionOutput = Shapes::StructureShape.new(name: 'DisassociateResourcesFromSubscriptionOutput')
|
|
32
|
+
GetSubscriptionInput = Shapes::StructureShape.new(name: 'GetSubscriptionInput')
|
|
33
|
+
GetSubscriptionOutput = Shapes::StructureShape.new(name: 'GetSubscriptionOutput')
|
|
34
|
+
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
|
35
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
36
|
+
ListSubscriptionsInput = Shapes::StructureShape.new(name: 'ListSubscriptionsInput')
|
|
37
|
+
ListSubscriptionsOutput = Shapes::StructureShape.new(name: 'ListSubscriptionsOutput')
|
|
38
|
+
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
|
39
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
40
|
+
ScheduledChange = Shapes::StructureShape.new(name: 'ScheduledChange')
|
|
41
|
+
ScheduledChangeType = Shapes::StringShape.new(name: 'ScheduledChangeType')
|
|
42
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
43
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
|
44
|
+
String = Shapes::StringShape.new(name: 'String')
|
|
45
|
+
Subscription = Shapes::StructureShape.new(name: 'Subscription')
|
|
46
|
+
SubscriptionArn = Shapes::StringShape.new(name: 'SubscriptionArn')
|
|
47
|
+
SubscriptionSummary = Shapes::StructureShape.new(name: 'SubscriptionSummary')
|
|
48
|
+
SubscriptionSummaryList = Shapes::ListShape.new(name: 'SubscriptionSummaryList')
|
|
49
|
+
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
|
50
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
51
|
+
UpdateSubscriptionInput = Shapes::StructureShape.new(name: 'UpdateSubscriptionInput')
|
|
52
|
+
UpdateSubscriptionOutput = Shapes::StructureShape.new(name: 'UpdateSubscriptionOutput')
|
|
53
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
54
|
+
|
|
55
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
56
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
57
|
+
|
|
58
|
+
ApprovePaidSubscriptionInput.add_member(:arn, Shapes::ShapeRef.new(shape: SubscriptionArn, required: true, location_name: "arn"))
|
|
59
|
+
ApprovePaidSubscriptionInput.add_member(:if_match, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "If-Match"))
|
|
60
|
+
ApprovePaidSubscriptionInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
61
|
+
ApprovePaidSubscriptionInput.struct_class = Types::ApprovePaidSubscriptionInput
|
|
62
|
+
|
|
63
|
+
ApprovePaidSubscriptionOutput.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, required: true, location_name: "subscription"))
|
|
64
|
+
ApprovePaidSubscriptionOutput.add_member(:e_tag, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "ETag"))
|
|
65
|
+
ApprovePaidSubscriptionOutput.struct_class = Types::ApprovePaidSubscriptionOutput
|
|
66
|
+
ApprovePaidSubscriptionOutput[:payload] = :subscription
|
|
67
|
+
ApprovePaidSubscriptionOutput[:payload_member] = ApprovePaidSubscriptionOutput.member(:subscription)
|
|
68
|
+
|
|
69
|
+
AssociateResourcesToSubscriptionInput.add_member(:arn, Shapes::ShapeRef.new(shape: SubscriptionArn, required: true, location_name: "arn"))
|
|
70
|
+
AssociateResourcesToSubscriptionInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArns, required: true, location_name: "resourceArns"))
|
|
71
|
+
AssociateResourcesToSubscriptionInput.add_member(:if_match, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "If-Match"))
|
|
72
|
+
AssociateResourcesToSubscriptionInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
73
|
+
AssociateResourcesToSubscriptionInput.struct_class = Types::AssociateResourcesToSubscriptionInput
|
|
74
|
+
|
|
75
|
+
AssociateResourcesToSubscriptionOutput.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, required: true, location_name: "subscription"))
|
|
76
|
+
AssociateResourcesToSubscriptionOutput.add_member(:e_tag, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "ETag"))
|
|
77
|
+
AssociateResourcesToSubscriptionOutput.struct_class = Types::AssociateResourcesToSubscriptionOutput
|
|
78
|
+
AssociateResourcesToSubscriptionOutput[:payload] = :subscription
|
|
79
|
+
AssociateResourcesToSubscriptionOutput[:payload_member] = AssociateResourcesToSubscriptionOutput.member(:subscription)
|
|
80
|
+
|
|
81
|
+
CancelSubscriptionChangeInput.add_member(:arn, Shapes::ShapeRef.new(shape: SubscriptionArn, required: true, location_name: "arn"))
|
|
82
|
+
CancelSubscriptionChangeInput.add_member(:if_match, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "If-Match"))
|
|
83
|
+
CancelSubscriptionChangeInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
84
|
+
CancelSubscriptionChangeInput.struct_class = Types::CancelSubscriptionChangeInput
|
|
85
|
+
|
|
86
|
+
CancelSubscriptionChangeOutput.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, required: true, location_name: "subscription"))
|
|
87
|
+
CancelSubscriptionChangeOutput.add_member(:e_tag, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "ETag"))
|
|
88
|
+
CancelSubscriptionChangeOutput.struct_class = Types::CancelSubscriptionChangeOutput
|
|
89
|
+
CancelSubscriptionChangeOutput[:payload] = :subscription
|
|
90
|
+
CancelSubscriptionChangeOutput[:payload_member] = CancelSubscriptionChangeOutput.member(:subscription)
|
|
91
|
+
|
|
92
|
+
CancelSubscriptionInput.add_member(:arn, Shapes::ShapeRef.new(shape: SubscriptionArn, required: true, location_name: "arn"))
|
|
93
|
+
CancelSubscriptionInput.add_member(:if_match, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "If-Match"))
|
|
94
|
+
CancelSubscriptionInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
95
|
+
CancelSubscriptionInput.struct_class = Types::CancelSubscriptionInput
|
|
96
|
+
|
|
97
|
+
CancelSubscriptionOutput.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, required: true, location_name: "subscription"))
|
|
98
|
+
CancelSubscriptionOutput.add_member(:e_tag, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "ETag"))
|
|
99
|
+
CancelSubscriptionOutput.struct_class = Types::CancelSubscriptionOutput
|
|
100
|
+
CancelSubscriptionOutput[:payload] = :subscription
|
|
101
|
+
CancelSubscriptionOutput[:payload_member] = CancelSubscriptionOutput.member(:subscription)
|
|
102
|
+
|
|
103
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
104
|
+
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
|
105
|
+
ConflictException.struct_class = Types::ConflictException
|
|
106
|
+
|
|
107
|
+
CreateSubscriptionInput.add_member(:plan_family, Shapes::ShapeRef.new(shape: String, required: true, location_name: "planFamily"))
|
|
108
|
+
CreateSubscriptionInput.add_member(:plan_tier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "planTier"))
|
|
109
|
+
CreateSubscriptionInput.add_member(:usage_level, Shapes::ShapeRef.new(shape: String, location_name: "usageLevel"))
|
|
110
|
+
CreateSubscriptionInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArns, required: true, location_name: "resourceArns"))
|
|
111
|
+
CreateSubscriptionInput.add_member(:approval_mode, Shapes::ShapeRef.new(shape: ApprovalMode, location_name: "approvalMode"))
|
|
112
|
+
CreateSubscriptionInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
113
|
+
CreateSubscriptionInput.struct_class = Types::CreateSubscriptionInput
|
|
114
|
+
|
|
115
|
+
CreateSubscriptionOutput.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, required: true, location_name: "subscription"))
|
|
116
|
+
CreateSubscriptionOutput.add_member(:e_tag, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "ETag"))
|
|
117
|
+
CreateSubscriptionOutput.struct_class = Types::CreateSubscriptionOutput
|
|
118
|
+
CreateSubscriptionOutput[:payload] = :subscription
|
|
119
|
+
CreateSubscriptionOutput[:payload_member] = CreateSubscriptionOutput.member(:subscription)
|
|
120
|
+
|
|
121
|
+
DisassociateResourcesFromSubscriptionInput.add_member(:arn, Shapes::ShapeRef.new(shape: SubscriptionArn, required: true, location_name: "arn"))
|
|
122
|
+
DisassociateResourcesFromSubscriptionInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArns, required: true, location_name: "resourceArns"))
|
|
123
|
+
DisassociateResourcesFromSubscriptionInput.add_member(:if_match, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "If-Match"))
|
|
124
|
+
DisassociateResourcesFromSubscriptionInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
125
|
+
DisassociateResourcesFromSubscriptionInput.struct_class = Types::DisassociateResourcesFromSubscriptionInput
|
|
126
|
+
|
|
127
|
+
DisassociateResourcesFromSubscriptionOutput.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, required: true, location_name: "subscription"))
|
|
128
|
+
DisassociateResourcesFromSubscriptionOutput.add_member(:e_tag, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "ETag"))
|
|
129
|
+
DisassociateResourcesFromSubscriptionOutput.struct_class = Types::DisassociateResourcesFromSubscriptionOutput
|
|
130
|
+
DisassociateResourcesFromSubscriptionOutput[:payload] = :subscription
|
|
131
|
+
DisassociateResourcesFromSubscriptionOutput[:payload_member] = DisassociateResourcesFromSubscriptionOutput.member(:subscription)
|
|
132
|
+
|
|
133
|
+
GetSubscriptionInput.add_member(:arn, Shapes::ShapeRef.new(shape: SubscriptionArn, required: true, location_name: "arn"))
|
|
134
|
+
GetSubscriptionInput.struct_class = Types::GetSubscriptionInput
|
|
135
|
+
|
|
136
|
+
GetSubscriptionOutput.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, required: true, location_name: "subscription"))
|
|
137
|
+
GetSubscriptionOutput.add_member(:e_tag, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "ETag"))
|
|
138
|
+
GetSubscriptionOutput.struct_class = Types::GetSubscriptionOutput
|
|
139
|
+
GetSubscriptionOutput[:payload] = :subscription
|
|
140
|
+
GetSubscriptionOutput[:payload_member] = GetSubscriptionOutput.member(:subscription)
|
|
141
|
+
|
|
142
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
143
|
+
InternalServerException.struct_class = Types::InternalServerException
|
|
144
|
+
|
|
145
|
+
ListSubscriptionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
146
|
+
ListSubscriptionsInput.struct_class = Types::ListSubscriptionsInput
|
|
147
|
+
|
|
148
|
+
ListSubscriptionsOutput.add_member(:subscription_summaries, Shapes::ShapeRef.new(shape: SubscriptionSummaryList, required: true, location_name: "subscriptionSummaries"))
|
|
149
|
+
ListSubscriptionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
150
|
+
ListSubscriptionsOutput.struct_class = Types::ListSubscriptionsOutput
|
|
151
|
+
|
|
152
|
+
ResourceArns.member = Shapes::ShapeRef.new(shape: String)
|
|
153
|
+
|
|
154
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
155
|
+
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
|
156
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
157
|
+
|
|
158
|
+
ScheduledChange.add_member(:change_type, Shapes::ShapeRef.new(shape: ScheduledChangeType, required: true, location_name: "changeType"))
|
|
159
|
+
ScheduledChange.add_member(:effective_date, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "effectiveDate"))
|
|
160
|
+
ScheduledChange.add_member(:plan_tier, Shapes::ShapeRef.new(shape: String, location_name: "planTier"))
|
|
161
|
+
ScheduledChange.add_member(:usage_level, Shapes::ShapeRef.new(shape: String, location_name: "usageLevel"))
|
|
162
|
+
ScheduledChange.struct_class = Types::ScheduledChange
|
|
163
|
+
|
|
164
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
165
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
166
|
+
|
|
167
|
+
Subscription.add_member(:arn, Shapes::ShapeRef.new(shape: SubscriptionArn, required: true, location_name: "arn"))
|
|
168
|
+
Subscription.add_member(:plan_family, Shapes::ShapeRef.new(shape: String, required: true, location_name: "planFamily"))
|
|
169
|
+
Subscription.add_member(:plan_tier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "planTier"))
|
|
170
|
+
Subscription.add_member(:usage_level, Shapes::ShapeRef.new(shape: String, location_name: "usageLevel"))
|
|
171
|
+
Subscription.add_member(:scheduled_change, Shapes::ShapeRef.new(shape: ScheduledChange, location_name: "scheduledChange"))
|
|
172
|
+
Subscription.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
|
|
173
|
+
Subscription.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
|
174
|
+
Subscription.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArns, required: true, location_name: "resourceArns"))
|
|
175
|
+
Subscription.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
|
|
176
|
+
Subscription.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updatedAt"))
|
|
177
|
+
Subscription.struct_class = Types::Subscription
|
|
178
|
+
|
|
179
|
+
SubscriptionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: SubscriptionArn, required: true, location_name: "arn"))
|
|
180
|
+
SubscriptionSummary.add_member(:plan_family, Shapes::ShapeRef.new(shape: String, required: true, location_name: "planFamily"))
|
|
181
|
+
SubscriptionSummary.add_member(:plan_tier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "planTier"))
|
|
182
|
+
SubscriptionSummary.add_member(:usage_level, Shapes::ShapeRef.new(shape: String, location_name: "usageLevel"))
|
|
183
|
+
SubscriptionSummary.add_member(:scheduled_change, Shapes::ShapeRef.new(shape: ScheduledChange, location_name: "scheduledChange"))
|
|
184
|
+
SubscriptionSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "status"))
|
|
185
|
+
SubscriptionSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
|
186
|
+
SubscriptionSummary.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArns, required: true, location_name: "resourceArns"))
|
|
187
|
+
SubscriptionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
|
|
188
|
+
SubscriptionSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updatedAt"))
|
|
189
|
+
SubscriptionSummary.add_member(:e_tag, Shapes::ShapeRef.new(shape: String, required: true, location_name: "eTag"))
|
|
190
|
+
SubscriptionSummary.struct_class = Types::SubscriptionSummary
|
|
191
|
+
|
|
192
|
+
SubscriptionSummaryList.member = Shapes::ShapeRef.new(shape: SubscriptionSummary)
|
|
193
|
+
|
|
194
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
195
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
|
196
|
+
|
|
197
|
+
UpdateSubscriptionInput.add_member(:arn, Shapes::ShapeRef.new(shape: SubscriptionArn, required: true, location_name: "arn"))
|
|
198
|
+
UpdateSubscriptionInput.add_member(:plan_tier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "planTier"))
|
|
199
|
+
UpdateSubscriptionInput.add_member(:usage_level, Shapes::ShapeRef.new(shape: String, location_name: "usageLevel"))
|
|
200
|
+
UpdateSubscriptionInput.add_member(:if_match, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "If-Match"))
|
|
201
|
+
UpdateSubscriptionInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
202
|
+
UpdateSubscriptionInput.struct_class = Types::UpdateSubscriptionInput
|
|
203
|
+
|
|
204
|
+
UpdateSubscriptionOutput.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, required: true, location_name: "subscription"))
|
|
205
|
+
UpdateSubscriptionOutput.add_member(:e_tag, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "ETag"))
|
|
206
|
+
UpdateSubscriptionOutput.struct_class = Types::UpdateSubscriptionOutput
|
|
207
|
+
UpdateSubscriptionOutput[:payload] = :subscription
|
|
208
|
+
UpdateSubscriptionOutput[:payload_member] = UpdateSubscriptionOutput.member(:subscription)
|
|
209
|
+
|
|
210
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
211
|
+
ValidationException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
|
|
212
|
+
ValidationException.struct_class = Types::ValidationException
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
# @api private
|
|
216
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
|
217
|
+
|
|
218
|
+
api.version = "2025-08-05"
|
|
219
|
+
|
|
220
|
+
api.metadata = {
|
|
221
|
+
"apiVersion" => "2025-08-05",
|
|
222
|
+
"auth" => ["aws.auth#sigv4"],
|
|
223
|
+
"endpointPrefix" => "pricingplanmanager",
|
|
224
|
+
"protocol" => "rest-json",
|
|
225
|
+
"protocols" => ["rest-json"],
|
|
226
|
+
"serviceFullName" => "PricingPlanManager",
|
|
227
|
+
"serviceId" => "Pricing Plan Manager",
|
|
228
|
+
"signatureVersion" => "v4",
|
|
229
|
+
"signingName" => "pricingplanmanager",
|
|
230
|
+
"uid" => "pricing-plan-manager-2025-08-05",
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
api.add_operation(:approve_paid_subscription, Seahorse::Model::Operation.new.tap do |o|
|
|
234
|
+
o.name = "ApprovePaidSubscription"
|
|
235
|
+
o.http_method = "POST"
|
|
236
|
+
o.http_request_uri = "/v1/ApprovePaidSubscription"
|
|
237
|
+
o.input = Shapes::ShapeRef.new(shape: ApprovePaidSubscriptionInput)
|
|
238
|
+
o.output = Shapes::ShapeRef.new(shape: ApprovePaidSubscriptionOutput)
|
|
239
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
240
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
241
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
242
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
243
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
244
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
245
|
+
end)
|
|
246
|
+
|
|
247
|
+
api.add_operation(:associate_resources_to_subscription, Seahorse::Model::Operation.new.tap do |o|
|
|
248
|
+
o.name = "AssociateResourcesToSubscription"
|
|
249
|
+
o.http_method = "POST"
|
|
250
|
+
o.http_request_uri = "/v1/AssociateResourcesToSubscription"
|
|
251
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateResourcesToSubscriptionInput)
|
|
252
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateResourcesToSubscriptionOutput)
|
|
253
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
254
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
255
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
256
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
257
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
258
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
259
|
+
end)
|
|
260
|
+
|
|
261
|
+
api.add_operation(:cancel_subscription, Seahorse::Model::Operation.new.tap do |o|
|
|
262
|
+
o.name = "CancelSubscription"
|
|
263
|
+
o.http_method = "POST"
|
|
264
|
+
o.http_request_uri = "/v1/CancelSubscription"
|
|
265
|
+
o.input = Shapes::ShapeRef.new(shape: CancelSubscriptionInput)
|
|
266
|
+
o.output = Shapes::ShapeRef.new(shape: CancelSubscriptionOutput)
|
|
267
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
268
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
269
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
270
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
271
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
272
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
273
|
+
end)
|
|
274
|
+
|
|
275
|
+
api.add_operation(:cancel_subscription_change, Seahorse::Model::Operation.new.tap do |o|
|
|
276
|
+
o.name = "CancelSubscriptionChange"
|
|
277
|
+
o.http_method = "POST"
|
|
278
|
+
o.http_request_uri = "/v1/CancelSubscriptionChange"
|
|
279
|
+
o.input = Shapes::ShapeRef.new(shape: CancelSubscriptionChangeInput)
|
|
280
|
+
o.output = Shapes::ShapeRef.new(shape: CancelSubscriptionChangeOutput)
|
|
281
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
282
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
283
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
284
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
285
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
286
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
287
|
+
end)
|
|
288
|
+
|
|
289
|
+
api.add_operation(:create_subscription, Seahorse::Model::Operation.new.tap do |o|
|
|
290
|
+
o.name = "CreateSubscription"
|
|
291
|
+
o.http_method = "POST"
|
|
292
|
+
o.http_request_uri = "/v1/CreateSubscription"
|
|
293
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSubscriptionInput)
|
|
294
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSubscriptionOutput)
|
|
295
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
296
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
297
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
298
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
299
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
300
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
301
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
302
|
+
end)
|
|
303
|
+
|
|
304
|
+
api.add_operation(:disassociate_resources_from_subscription, Seahorse::Model::Operation.new.tap do |o|
|
|
305
|
+
o.name = "DisassociateResourcesFromSubscription"
|
|
306
|
+
o.http_method = "POST"
|
|
307
|
+
o.http_request_uri = "/v1/DisassociateResourcesFromSubscription"
|
|
308
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateResourcesFromSubscriptionInput)
|
|
309
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateResourcesFromSubscriptionOutput)
|
|
310
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
311
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
312
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
313
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
314
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
315
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
316
|
+
end)
|
|
317
|
+
|
|
318
|
+
api.add_operation(:get_subscription, Seahorse::Model::Operation.new.tap do |o|
|
|
319
|
+
o.name = "GetSubscription"
|
|
320
|
+
o.http_method = "POST"
|
|
321
|
+
o.http_request_uri = "/v1/GetSubscription"
|
|
322
|
+
o.input = Shapes::ShapeRef.new(shape: GetSubscriptionInput)
|
|
323
|
+
o.output = Shapes::ShapeRef.new(shape: GetSubscriptionOutput)
|
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
326
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
327
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
328
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
329
|
+
end)
|
|
330
|
+
|
|
331
|
+
api.add_operation(:list_subscriptions, Seahorse::Model::Operation.new.tap do |o|
|
|
332
|
+
o.name = "ListSubscriptions"
|
|
333
|
+
o.http_method = "POST"
|
|
334
|
+
o.http_request_uri = "/v1/ListSubscriptions"
|
|
335
|
+
o.input = Shapes::ShapeRef.new(shape: ListSubscriptionsInput)
|
|
336
|
+
o.output = Shapes::ShapeRef.new(shape: ListSubscriptionsOutput)
|
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
339
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
341
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
342
|
+
o[:pager] = Aws::Pager.new(
|
|
343
|
+
tokens: {
|
|
344
|
+
"next_token" => "next_token"
|
|
345
|
+
}
|
|
346
|
+
)
|
|
347
|
+
end)
|
|
348
|
+
|
|
349
|
+
api.add_operation(:update_subscription, Seahorse::Model::Operation.new.tap do |o|
|
|
350
|
+
o.name = "UpdateSubscription"
|
|
351
|
+
o.http_method = "POST"
|
|
352
|
+
o.http_request_uri = "/v1/UpdateSubscription"
|
|
353
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSubscriptionInput)
|
|
354
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSubscriptionOutput)
|
|
355
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
356
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
357
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
362
|
+
end)
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
end
|
|
366
|
+
end
|
|
File without changes
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
module Aws::PricingPlanManager
|
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
|
12
|
+
#
|
|
13
|
+
# @!attribute endpoint
|
|
14
|
+
# Override the endpoint URL
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
#
|
|
18
|
+
# @!attribute region
|
|
19
|
+
# The AWS region
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
#
|
|
23
|
+
EndpointParameters = Struct.new(
|
|
24
|
+
:endpoint,
|
|
25
|
+
:region,
|
|
26
|
+
) do
|
|
27
|
+
include Aws::Structure
|
|
28
|
+
|
|
29
|
+
# @api private
|
|
30
|
+
class << self
|
|
31
|
+
PARAM_MAP = {
|
|
32
|
+
'Endpoint' => :endpoint,
|
|
33
|
+
'Region' => :region,
|
|
34
|
+
}.freeze
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def initialize(options = {})
|
|
38
|
+
self[:endpoint] = options[:endpoint]
|
|
39
|
+
self[:region] = options[:region]
|
|
40
|
+
if self[:region].nil?
|
|
41
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def self.create(config, options={})
|
|
46
|
+
new({
|
|
47
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
|
48
|
+
region: config.region,
|
|
49
|
+
}.merge(options))
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
module Aws::PricingPlanManager
|
|
11
|
+
class EndpointProvider
|
|
12
|
+
def resolve_endpoint(parameters)
|
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
|
14
|
+
return Aws::Endpoints::Endpoint.new(url: "#{parameters.endpoint}", properties: {"authSchemes" => [{"name" => "sigv4", "signingName" => "pricingplanmanager", "signingRegion" => "us-east-1"}]})
|
|
15
|
+
end
|
|
16
|
+
return Aws::Endpoints::Endpoint.new(url: "https://pricingplanmanager.us-east-1.api.aws", properties: {"authSchemes" => [{"name" => "sigv4", "signingName" => "pricingplanmanager", "signingRegion" => "us-east-1"}]})
|
|
17
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
|
18
|
+
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
module Aws::PricingPlanManager
|
|
12
|
+
# @api private
|
|
13
|
+
module Endpoints
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def self.parameters_for_operation(context)
|
|
17
|
+
Aws::PricingPlanManager::EndpointParameters.create(context.config)
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,165 @@
|
|
|
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
|
+
module Aws::PricingPlanManager
|
|
11
|
+
|
|
12
|
+
# When PricingPlanManager returns an error response, the Ruby SDK constructs and raises an error.
|
|
13
|
+
# These errors all extend Aws::PricingPlanManager::Errors::ServiceError < {Aws::Errors::ServiceError}
|
|
14
|
+
#
|
|
15
|
+
# You can rescue all PricingPlanManager errors using ServiceError:
|
|
16
|
+
#
|
|
17
|
+
# begin
|
|
18
|
+
# # do stuff
|
|
19
|
+
# rescue Aws::PricingPlanManager::Errors::ServiceError
|
|
20
|
+
# # rescues all PricingPlanManager API errors
|
|
21
|
+
# end
|
|
22
|
+
#
|
|
23
|
+
#
|
|
24
|
+
# ## Request Context
|
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
|
26
|
+
# information about the request that generated the error.
|
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
|
28
|
+
#
|
|
29
|
+
# ## Error Classes
|
|
30
|
+
# * {AccessDeniedException}
|
|
31
|
+
# * {ConflictException}
|
|
32
|
+
# * {InternalServerException}
|
|
33
|
+
# * {ResourceNotFoundException}
|
|
34
|
+
# * {ServiceQuotaExceededException}
|
|
35
|
+
# * {ThrottlingException}
|
|
36
|
+
# * {ValidationException}
|
|
37
|
+
#
|
|
38
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
|
39
|
+
# if they are not defined above.
|
|
40
|
+
module Errors
|
|
41
|
+
|
|
42
|
+
extend Aws::Errors::DynamicErrors
|
|
43
|
+
|
|
44
|
+
class AccessDeniedException < ServiceError
|
|
45
|
+
|
|
46
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
47
|
+
# @param [String] message
|
|
48
|
+
# @param [Aws::PricingPlanManager::Types::AccessDeniedException] data
|
|
49
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
50
|
+
super(context, message, data)
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# @return [String]
|
|
54
|
+
def message
|
|
55
|
+
@message || @data[:message]
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
class ConflictException < ServiceError
|
|
60
|
+
|
|
61
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
62
|
+
# @param [String] message
|
|
63
|
+
# @param [Aws::PricingPlanManager::Types::ConflictException] data
|
|
64
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
65
|
+
super(context, message, data)
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# @return [String]
|
|
69
|
+
def message
|
|
70
|
+
@message || @data[:message]
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# @return [String]
|
|
74
|
+
def resource_id
|
|
75
|
+
@data[:resource_id]
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class InternalServerException < ServiceError
|
|
80
|
+
|
|
81
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
82
|
+
# @param [String] message
|
|
83
|
+
# @param [Aws::PricingPlanManager::Types::InternalServerException] data
|
|
84
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
85
|
+
super(context, message, data)
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# @return [String]
|
|
89
|
+
def message
|
|
90
|
+
@message || @data[:message]
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
class ResourceNotFoundException < ServiceError
|
|
95
|
+
|
|
96
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
97
|
+
# @param [String] message
|
|
98
|
+
# @param [Aws::PricingPlanManager::Types::ResourceNotFoundException] data
|
|
99
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
100
|
+
super(context, message, data)
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# @return [String]
|
|
104
|
+
def message
|
|
105
|
+
@message || @data[:message]
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# @return [String]
|
|
109
|
+
def resource_id
|
|
110
|
+
@data[:resource_id]
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
class ServiceQuotaExceededException < ServiceError
|
|
115
|
+
|
|
116
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
117
|
+
# @param [String] message
|
|
118
|
+
# @param [Aws::PricingPlanManager::Types::ServiceQuotaExceededException] data
|
|
119
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
120
|
+
super(context, message, data)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# @return [String]
|
|
124
|
+
def message
|
|
125
|
+
@message || @data[:message]
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
class ThrottlingException < ServiceError
|
|
130
|
+
|
|
131
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
132
|
+
# @param [String] message
|
|
133
|
+
# @param [Aws::PricingPlanManager::Types::ThrottlingException] data
|
|
134
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
135
|
+
super(context, message, data)
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# @return [String]
|
|
139
|
+
def message
|
|
140
|
+
@message || @data[:message]
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
class ValidationException < ServiceError
|
|
145
|
+
|
|
146
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
147
|
+
# @param [String] message
|
|
148
|
+
# @param [Aws::PricingPlanManager::Types::ValidationException] data
|
|
149
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
150
|
+
super(context, message, data)
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# @return [String]
|
|
154
|
+
def message
|
|
155
|
+
@message || @data[:message]
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# @return [String]
|
|
159
|
+
def resource_id
|
|
160
|
+
@data[:resource_id]
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
end
|
|
165
|
+
end
|