aws-sdk-freetier 1.22.0 → 1.24.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.
@@ -10,28 +10,92 @@
10
10
  module Aws::FreeTier
11
11
  module Types
12
12
 
13
+ # You don't have sufficient access to perform this action.
14
+ #
15
+ # @!attribute [rw] message
16
+ # @return [String]
17
+ #
18
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/AccessDeniedException AWS API Documentation
19
+ #
20
+ class AccessDeniedException < Struct.new(
21
+ :message)
22
+ SENSITIVE = []
23
+ include Aws::Structure
24
+ end
25
+
26
+ # The summary of the rewards granted as a result of activities
27
+ # completed.
28
+ #
29
+ # @note ActivityReward is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ActivityReward corresponding to the set member.
30
+ #
31
+ # @!attribute [rw] credit
32
+ # The credits gained by activity rewards.
33
+ # @return [Types::MonetaryAmount]
34
+ #
35
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/ActivityReward AWS API Documentation
36
+ #
37
+ class ActivityReward < Struct.new(
38
+ :credit,
39
+ :unknown)
40
+ SENSITIVE = []
41
+ include Aws::Structure
42
+ include Aws::Structure::Union
43
+
44
+ class Credit < ActivityReward; end
45
+ class Unknown < ActivityReward; end
46
+ end
47
+
48
+ # The summary of activities.
49
+ #
50
+ # @!attribute [rw] activity_id
51
+ # A unique identifier that identifies the activity.
52
+ # @return [String]
53
+ #
54
+ # @!attribute [rw] title
55
+ # The title of the activity.
56
+ # @return [String]
57
+ #
58
+ # @!attribute [rw] reward
59
+ # The reward for the activity.
60
+ # @return [Types::ActivityReward]
61
+ #
62
+ # @!attribute [rw] status
63
+ # The current status of the activity.
64
+ # @return [String]
65
+ #
66
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/ActivitySummary AWS API Documentation
67
+ #
68
+ class ActivitySummary < Struct.new(
69
+ :activity_id,
70
+ :title,
71
+ :reward,
72
+ :status)
73
+ SENSITIVE = []
74
+ include Aws::Structure
75
+ end
76
+
13
77
  # Contains the specifications for the filters to use for your request.
14
78
  #
15
79
  # @!attribute [rw] key
16
80
  # The name of the dimension that you want to filter on.
17
81
  # @return [String]
18
82
  #
19
- # @!attribute [rw] match_options
20
- # The match options that you can use to filter your results. You can
21
- # specify only one of these values in the array.
22
- # @return [Array<String>]
23
- #
24
83
  # @!attribute [rw] values
25
84
  # The metadata values you can specify to filter upon, so that the
26
85
  # results all match at least one of the specified values.
27
86
  # @return [Array<String>]
28
87
  #
88
+ # @!attribute [rw] match_options
89
+ # The match options that you can use to filter your results. You can
90
+ # specify only one of these values in the array.
91
+ # @return [Array<String>]
92
+ #
29
93
  # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/DimensionValues AWS API Documentation
30
94
  #
31
95
  class DimensionValues < Struct.new(
32
96
  :key,
33
- :match_options,
34
- :values)
97
+ :values,
98
+ :match_options)
35
99
  SENSITIVE = []
36
100
  include Aws::Structure
37
101
  end
@@ -80,32 +144,32 @@ module Aws::FreeTier
80
144
  # In the following **Contents**, you must specify exactly one of the
81
145
  # following root operators.
82
146
  #
147
+ # @!attribute [rw] or
148
+ # Return results that match any of the `Expressions` that you
149
+ # specified. in the array.
150
+ # @return [Array<Types::Expression>]
151
+ #
83
152
  # @!attribute [rw] and
84
153
  # Return results that match all `Expressions` that you specified in
85
154
  # the array.
86
155
  # @return [Array<Types::Expression>]
87
156
  #
88
- # @!attribute [rw] dimensions
89
- # The specific dimension, values, and match type to filter objects
90
- # with.
91
- # @return [Types::DimensionValues]
92
- #
93
157
  # @!attribute [rw] not
94
158
  # Return results that don’t match the `Expression` that you specified.
95
159
  # @return [Types::Expression]
96
160
  #
97
- # @!attribute [rw] or
98
- # Return results that match any of the `Expressions` that you
99
- # specified. in the array.
100
- # @return [Array<Types::Expression>]
161
+ # @!attribute [rw] dimensions
162
+ # The specific dimension, values, and match type to filter objects
163
+ # with.
164
+ # @return [Types::DimensionValues]
101
165
  #
102
166
  # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/Expression AWS API Documentation
103
167
  #
104
168
  class Expression < Struct.new(
169
+ :or,
105
170
  :and,
106
- :dimensions,
107
171
  :not,
108
- :or)
172
+ :dimensions)
109
173
  SENSITIVE = []
110
174
  include Aws::Structure
111
175
  end
@@ -113,67 +177,186 @@ module Aws::FreeTier
113
177
  # Consists of a Amazon Web Services Free Tier offer’s metadata and your
114
178
  # data usage for the offer.
115
179
  #
180
+ # @!attribute [rw] service
181
+ # The name of the Amazon Web Services service providing the Free Tier
182
+ # offer. For example, this can be Amazon Elastic Compute Cloud.
183
+ # @return [String]
184
+ #
185
+ # @!attribute [rw] operation
186
+ # Describes `usageType` more granularly with the specific Amazon Web
187
+ # Services service API operation. For example, this can be the
188
+ # `RunInstances` API operation for Amazon Elastic Compute Cloud.
189
+ # @return [String]
190
+ #
191
+ # @!attribute [rw] usage_type
192
+ # Describes the usage details of the offer. For example, this might be
193
+ # `Global-BoxUsage:freetrial`.
194
+ # @return [String]
195
+ #
196
+ # @!attribute [rw] region
197
+ # Describes the Amazon Web Services Region for which this offer is
198
+ # applicable
199
+ # @return [String]
200
+ #
116
201
  # @!attribute [rw] actual_usage_amount
117
202
  # Describes the actual usage accrued month-to-day (MTD) that you've
118
203
  # used so far.
119
204
  # @return [Float]
120
205
  #
121
- # @!attribute [rw] description
122
- # The description of the Free Tier offer.
123
- # @return [String]
124
- #
125
206
  # @!attribute [rw] forecasted_usage_amount
126
207
  # Describes the forecasted usage by the month that you're expected to
127
208
  # use.
128
209
  # @return [Float]
129
210
  #
211
+ # @!attribute [rw] limit
212
+ # Describes the maximum usage allowed in Free Tier.
213
+ # @return [Float]
214
+ #
215
+ # @!attribute [rw] unit
216
+ # Describes the unit of the `usageType`, such as `Hrs`.
217
+ # @return [String]
218
+ #
219
+ # @!attribute [rw] description
220
+ # The description of the Free Tier offer.
221
+ # @return [String]
222
+ #
130
223
  # @!attribute [rw] free_tier_type
131
224
  # Describes the type of the Free Tier offer. For example, the offer
132
225
  # can be `"12 Months Free"`, `"Always Free"`, and `"Free Trial"`.
133
226
  # @return [String]
134
227
  #
135
- # @!attribute [rw] limit
136
- # Describes the maximum usage allowed in Free Tier.
137
- # @return [Float]
228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/FreeTierUsage AWS API Documentation
138
229
  #
139
- # @!attribute [rw] operation
140
- # Describes `usageType` more granularly with the specific Amazon Web
141
- # Service API operation. For example, this can be the `RunInstances`
142
- # API operation for Amazon Elastic Compute Cloud.
230
+ class FreeTierUsage < Struct.new(
231
+ :service,
232
+ :operation,
233
+ :usage_type,
234
+ :region,
235
+ :actual_usage_amount,
236
+ :forecasted_usage_amount,
237
+ :limit,
238
+ :unit,
239
+ :description,
240
+ :free_tier_type)
241
+ SENSITIVE = []
242
+ include Aws::Structure
243
+ end
244
+
245
+ # @!attribute [rw] activity_id
246
+ # A unique identifier that identifies the activity.
143
247
  # @return [String]
144
248
  #
145
- # @!attribute [rw] region
146
- # Describes the Amazon Web Services Region for which this offer is
147
- # applicable
249
+ # @!attribute [rw] language_code
250
+ # The language code used to return translated title and description
251
+ # fields.
148
252
  # @return [String]
149
253
  #
150
- # @!attribute [rw] service
151
- # The name of the Amazon Web Service providing the Free Tier offer.
152
- # For example, this can be Amazon Elastic Compute Cloud.
254
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/GetAccountActivityRequest AWS API Documentation
255
+ #
256
+ class GetAccountActivityRequest < Struct.new(
257
+ :activity_id,
258
+ :language_code)
259
+ SENSITIVE = []
260
+ include Aws::Structure
261
+ end
262
+
263
+ # @!attribute [rw] activity_id
264
+ # A unique identifier that identifies the activity.
153
265
  # @return [String]
154
266
  #
155
- # @!attribute [rw] unit
156
- # Describes the unit of the `usageType`, such as `Hrs`.
267
+ # @!attribute [rw] title
268
+ # A short activity title.
157
269
  # @return [String]
158
270
  #
159
- # @!attribute [rw] usage_type
160
- # Describes the usage details of the offer. For example, this might be
161
- # `Global-BoxUsage:freetrial`.
271
+ # @!attribute [rw] description
272
+ # Provides detailed information about the activity and its expected
273
+ # outcomes.
162
274
  # @return [String]
163
275
  #
164
- # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/FreeTierUsage AWS API Documentation
276
+ # @!attribute [rw] status
277
+ # The current activity status.
278
+ # @return [String]
165
279
  #
166
- class FreeTierUsage < Struct.new(
167
- :actual_usage_amount,
280
+ # @!attribute [rw] instructions_url
281
+ # The URL resource that provides guidance on activity requirements and
282
+ # completion.
283
+ # @return [String]
284
+ #
285
+ # @!attribute [rw] reward
286
+ # A reward granted upon activity completion.
287
+ # @return [Types::ActivityReward]
288
+ #
289
+ # @!attribute [rw] estimated_time_to_complete_in_minutes
290
+ # The estimated time to complete the activity. This is the duration in
291
+ # minutes.
292
+ # @return [Integer]
293
+ #
294
+ # @!attribute [rw] expires_at
295
+ # The time by which the activity must be completed to receive a
296
+ # reward.
297
+ # @return [Time]
298
+ #
299
+ # @!attribute [rw] started_at
300
+ # The timestamp when the activity started. This field appears only for
301
+ # activities in the `IN_PROGRESS` or `COMPLETED` states.
302
+ # @return [Time]
303
+ #
304
+ # @!attribute [rw] completed_at
305
+ # The timestamp when the activity is completed. This field appears
306
+ # only for activities in the `COMPLETED` state.
307
+ # @return [Time]
308
+ #
309
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/GetAccountActivityResponse AWS API Documentation
310
+ #
311
+ class GetAccountActivityResponse < Struct.new(
312
+ :activity_id,
313
+ :title,
168
314
  :description,
169
- :forecasted_usage_amount,
170
- :free_tier_type,
171
- :limit,
172
- :operation,
173
- :region,
174
- :service,
175
- :unit,
176
- :usage_type)
315
+ :status,
316
+ :instructions_url,
317
+ :reward,
318
+ :estimated_time_to_complete_in_minutes,
319
+ :expires_at,
320
+ :started_at,
321
+ :completed_at)
322
+ SENSITIVE = []
323
+ include Aws::Structure
324
+ end
325
+
326
+ # @api private
327
+ #
328
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/GetAccountPlanStateRequest AWS API Documentation
329
+ #
330
+ class GetAccountPlanStateRequest < Aws::EmptyStructure; end
331
+
332
+ # @!attribute [rw] account_id
333
+ # A unique identifier that identifies the account.
334
+ # @return [String]
335
+ #
336
+ # @!attribute [rw] account_plan_type
337
+ # The plan type for the account.
338
+ # @return [String]
339
+ #
340
+ # @!attribute [rw] account_plan_status
341
+ # The current status for the account plan.
342
+ # @return [String]
343
+ #
344
+ # @!attribute [rw] account_plan_remaining_credits
345
+ # The amount of credits remaining for the account.
346
+ # @return [Types::MonetaryAmount]
347
+ #
348
+ # @!attribute [rw] account_plan_expiration_date
349
+ # The timestamp for when the current account plan expires.
350
+ # @return [Time]
351
+ #
352
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/GetAccountPlanStateResponse AWS API Documentation
353
+ #
354
+ class GetAccountPlanStateResponse < Struct.new(
355
+ :account_id,
356
+ :account_plan_type,
357
+ :account_plan_status,
358
+ :account_plan_remaining_credits,
359
+ :account_plan_expiration_date)
177
360
  SENSITIVE = []
178
361
  include Aws::Structure
179
362
  end
@@ -236,6 +419,88 @@ module Aws::FreeTier
236
419
  include Aws::Structure
237
420
  end
238
421
 
422
+ # @!attribute [rw] filter_activity_statuses
423
+ # The activity status filter. This field can be used to filter the
424
+ # response by activities status.
425
+ # @return [Array<String>]
426
+ #
427
+ # @!attribute [rw] next_token
428
+ # A token from a previous paginated response. If this is specified,
429
+ # the response includes records beginning from this token (inclusive),
430
+ # up to the number specified by `maxResults`.
431
+ # @return [String]
432
+ #
433
+ # @!attribute [rw] max_results
434
+ # The maximum number of items to return for this request. To get the
435
+ # next page of items, make another request with the token returned in
436
+ # the output.
437
+ # @return [Integer]
438
+ #
439
+ # @!attribute [rw] language_code
440
+ # The language code used to return translated titles.
441
+ # @return [String]
442
+ #
443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/ListAccountActivitiesRequest AWS API Documentation
444
+ #
445
+ class ListAccountActivitiesRequest < Struct.new(
446
+ :filter_activity_statuses,
447
+ :next_token,
448
+ :max_results,
449
+ :language_code)
450
+ SENSITIVE = []
451
+ include Aws::Structure
452
+ end
453
+
454
+ # @!attribute [rw] activities
455
+ # A brief information about the activities.
456
+ # @return [Array<Types::ActivitySummary>]
457
+ #
458
+ # @!attribute [rw] next_token
459
+ # The token to include in another request to get the next page of
460
+ # items. This value is `null` when there are no more items to return.
461
+ # @return [String]
462
+ #
463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/ListAccountActivitiesResponse AWS API Documentation
464
+ #
465
+ class ListAccountActivitiesResponse < Struct.new(
466
+ :activities,
467
+ :next_token)
468
+ SENSITIVE = []
469
+ include Aws::Structure
470
+ end
471
+
472
+ # The monetary amount of the credit.
473
+ #
474
+ # @!attribute [rw] amount
475
+ # The aggregated monetary amount of credits earned.
476
+ # @return [Float]
477
+ #
478
+ # @!attribute [rw] unit
479
+ # The unit that the monetary amount is given in.
480
+ # @return [String]
481
+ #
482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/MonetaryAmount AWS API Documentation
483
+ #
484
+ class MonetaryAmount < Struct.new(
485
+ :amount,
486
+ :unit)
487
+ SENSITIVE = []
488
+ include Aws::Structure
489
+ end
490
+
491
+ # This exception is thrown when the requested resource cannot be found.
492
+ #
493
+ # @!attribute [rw] message
494
+ # @return [String]
495
+ #
496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/ResourceNotFoundException AWS API Documentation
497
+ #
498
+ class ResourceNotFoundException < Struct.new(
499
+ :message)
500
+ SENSITIVE = []
501
+ include Aws::Structure
502
+ end
503
+
239
504
  # The request was denied due to request throttling.
240
505
  #
241
506
  # @!attribute [rw] message
@@ -249,8 +514,44 @@ module Aws::FreeTier
249
514
  include Aws::Structure
250
515
  end
251
516
 
517
+ # @!attribute [rw] account_plan_type
518
+ # The target account plan type. This makes it explicit about the
519
+ # change and latest value of the `accountPlanType`.
520
+ # @return [String]
521
+ #
522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/UpgradeAccountPlanRequest AWS API Documentation
523
+ #
524
+ class UpgradeAccountPlanRequest < Struct.new(
525
+ :account_plan_type)
526
+ SENSITIVE = []
527
+ include Aws::Structure
528
+ end
529
+
530
+ # @!attribute [rw] account_id
531
+ # A unique identifier that identifies the account.
532
+ # @return [String]
533
+ #
534
+ # @!attribute [rw] account_plan_type
535
+ # The type of plan for the account.
536
+ # @return [String]
537
+ #
538
+ # @!attribute [rw] account_plan_status
539
+ # This indicates the latest state of the account plan within its
540
+ # lifecycle.
541
+ # @return [String]
542
+ #
543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/freetier-2023-09-07/UpgradeAccountPlanResponse AWS API Documentation
544
+ #
545
+ class UpgradeAccountPlanResponse < Struct.new(
546
+ :account_id,
547
+ :account_plan_type,
548
+ :account_plan_status)
549
+ SENSITIVE = []
550
+ include Aws::Structure
551
+ end
552
+
252
553
  # The input fails to satisfy the constraints specified by an Amazon Web
253
- # Service.
554
+ # Services service.
254
555
  #
255
556
  # @!attribute [rw] message
256
557
  # @return [String]
@@ -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::FreeTier
13
+ module Waiters
14
+ end
15
+ end
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:freetier)
23
23
  # structure.
24
24
  #
25
25
  # free_tier = Aws::FreeTier::Client.new
26
- # resp = free_tier.get_free_tier_usage(params)
26
+ # resp = free_tier.get_account_activity(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -49,12 +49,13 @@ module Aws::FreeTier
49
49
  end
50
50
  autoload :Client, 'aws-sdk-freetier/client'
51
51
  autoload :Errors, 'aws-sdk-freetier/errors'
52
+ autoload :Waiters, 'aws-sdk-freetier/waiters'
52
53
  autoload :Resource, 'aws-sdk-freetier/resource'
53
54
  autoload :EndpointParameters, 'aws-sdk-freetier/endpoint_parameters'
54
55
  autoload :EndpointProvider, 'aws-sdk-freetier/endpoint_provider'
55
56
  autoload :Endpoints, 'aws-sdk-freetier/endpoints'
56
57
 
57
- GEM_VERSION = '1.22.0'
58
+ GEM_VERSION = '1.24.0'
58
59
 
59
60
  end
60
61
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
@@ -78,6 +79,39 @@ module Aws
78
79
  | (?Hash[Symbol, untyped]) -> instance
79
80
 
80
81
 
82
+ interface _GetAccountActivityResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountActivityResponse]
84
+ def activity_id: () -> ::String
85
+ def title: () -> ::String
86
+ def description: () -> ::String
87
+ def status: () -> ("NOT_STARTED" | "IN_PROGRESS" | "COMPLETED" | "EXPIRING")
88
+ def instructions_url: () -> ::String
89
+ def reward: () -> Types::ActivityReward
90
+ def estimated_time_to_complete_in_minutes: () -> ::Integer
91
+ def expires_at: () -> ::Time
92
+ def started_at: () -> ::Time
93
+ def completed_at: () -> ::Time
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FreeTier/Client.html#get_account_activity-instance_method
96
+ def get_account_activity: (
97
+ activity_id: ::String,
98
+ ?language_code: ("en-US" | "en-GB" | "id-ID" | "de-DE" | "es-ES" | "fr-FR" | "ja-JP" | "it-IT" | "pt-PT" | "ko-KR" | "zh-CN" | "zh-TW" | "tr-TR")
99
+ ) -> _GetAccountActivityResponseSuccess
100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountActivityResponseSuccess
101
+
102
+ interface _GetAccountPlanStateResponseSuccess
103
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountPlanStateResponse]
104
+ def account_id: () -> ::String
105
+ def account_plan_type: () -> ("FREE" | "PAID")
106
+ def account_plan_status: () -> ("NOT_STARTED" | "ACTIVE" | "EXPIRED")
107
+ def account_plan_remaining_credits: () -> Types::MonetaryAmount
108
+ def account_plan_expiration_date: () -> ::Time
109
+ end
110
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FreeTier/Client.html#get_account_plan_state-instance_method
111
+ def get_account_plan_state: (
112
+ ) -> _GetAccountPlanStateResponseSuccess
113
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountPlanStateResponseSuccess
114
+
81
115
  interface _GetFreeTierUsageResponseSuccess
82
116
  include ::Seahorse::Client::_ResponseSuccess[Types::GetFreeTierUsageResponse]
83
117
  def free_tier_usages: () -> ::Array[Types::FreeTierUsage]
@@ -86,23 +120,49 @@ module Aws
86
120
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FreeTier/Client.html#get_free_tier_usage-instance_method
87
121
  def get_free_tier_usage: (
88
122
  ?filter: {
123
+ or: Array[
124
+ untyped,
125
+ ]?,
89
126
  and: Array[
90
127
  untyped,
91
128
  ]?,
129
+ not: untyped?,
92
130
  dimensions: {
93
131
  key: ("SERVICE" | "OPERATION" | "USAGE_TYPE" | "REGION" | "FREE_TIER_TYPE" | "DESCRIPTION" | "USAGE_PERCENTAGE"),
94
- match_options: Array[("EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL")],
95
- values: Array[::String]
96
- }?,
97
- not: untyped?,
98
- or: Array[
99
- untyped,
100
- ]?
132
+ values: Array[::String],
133
+ match_options: Array[("EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL")]
134
+ }?
101
135
  },
102
136
  ?max_results: ::Integer,
103
137
  ?next_token: ::String
104
138
  ) -> _GetFreeTierUsageResponseSuccess
105
139
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFreeTierUsageResponseSuccess
140
+
141
+ interface _ListAccountActivitiesResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAccountActivitiesResponse]
143
+ def activities: () -> ::Array[Types::ActivitySummary]
144
+ def next_token: () -> ::String
145
+ end
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FreeTier/Client.html#list_account_activities-instance_method
147
+ def list_account_activities: (
148
+ ?filter_activity_statuses: Array[("NOT_STARTED" | "IN_PROGRESS" | "COMPLETED" | "EXPIRING")],
149
+ ?next_token: ::String,
150
+ ?max_results: ::Integer,
151
+ ?language_code: ("en-US" | "en-GB" | "id-ID" | "de-DE" | "es-ES" | "fr-FR" | "ja-JP" | "it-IT" | "pt-PT" | "ko-KR" | "zh-CN" | "zh-TW" | "tr-TR")
152
+ ) -> _ListAccountActivitiesResponseSuccess
153
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccountActivitiesResponseSuccess
154
+
155
+ interface _UpgradeAccountPlanResponseSuccess
156
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpgradeAccountPlanResponse]
157
+ def account_id: () -> ::String
158
+ def account_plan_type: () -> ("FREE" | "PAID")
159
+ def account_plan_status: () -> ("NOT_STARTED" | "ACTIVE" | "EXPIRED")
160
+ end
161
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FreeTier/Client.html#upgrade_account_plan-instance_method
162
+ def upgrade_account_plan: (
163
+ account_plan_type: ("FREE" | "PAID")
164
+ ) -> _UpgradeAccountPlanResponseSuccess
165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpgradeAccountPlanResponseSuccess
106
166
  end
107
167
  end
108
168
  end
data/sig/errors.rbs CHANGED
@@ -11,9 +11,15 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
14
17
  class InternalServerException < ::Aws::Errors::ServiceError
15
18
  def message: () -> ::String
16
19
  end
20
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
17
23
  class ThrottlingException < ::Aws::Errors::ServiceError
18
24
  def message: () -> ::String
19
25
  end
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,