aws-sdk-freetier 1.22.0 → 1.23.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.
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/types.rbs CHANGED
@@ -8,32 +8,88 @@
8
8
  module Aws::FreeTier
9
9
  module Types
10
10
 
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class ActivityReward
17
+ attr_accessor credit: Types::MonetaryAmount
18
+ attr_accessor unknown: untyped
19
+ SENSITIVE: []
20
+
21
+ class Credit < ActivityReward
22
+ end
23
+ class Unknown < ActivityReward
24
+ end
25
+ end
26
+
27
+ class ActivitySummary
28
+ attr_accessor activity_id: ::String
29
+ attr_accessor title: ::String
30
+ attr_accessor reward: Types::ActivityReward
31
+ attr_accessor status: ("NOT_STARTED" | "IN_PROGRESS" | "COMPLETED" | "EXPIRING")
32
+ SENSITIVE: []
33
+ end
34
+
11
35
  class DimensionValues
12
36
  attr_accessor key: ("SERVICE" | "OPERATION" | "USAGE_TYPE" | "REGION" | "FREE_TIER_TYPE" | "DESCRIPTION" | "USAGE_PERCENTAGE")
13
- attr_accessor match_options: ::Array[("EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL")]
14
37
  attr_accessor values: ::Array[::String]
38
+ attr_accessor match_options: ::Array[("EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL")]
15
39
  SENSITIVE: []
16
40
  end
17
41
 
18
42
  class Expression
43
+ attr_accessor or: ::Array[Types::Expression]
19
44
  attr_accessor and: ::Array[Types::Expression]
20
- attr_accessor dimensions: Types::DimensionValues
21
45
  attr_accessor not: Types::Expression
22
- attr_accessor or: ::Array[Types::Expression]
46
+ attr_accessor dimensions: Types::DimensionValues
23
47
  SENSITIVE: []
24
48
  end
25
49
 
26
50
  class FreeTierUsage
51
+ attr_accessor service: ::String
52
+ attr_accessor operation: ::String
53
+ attr_accessor usage_type: ::String
54
+ attr_accessor region: ::String
27
55
  attr_accessor actual_usage_amount: ::Float
28
- attr_accessor description: ::String
29
56
  attr_accessor forecasted_usage_amount: ::Float
30
- attr_accessor free_tier_type: ::String
31
57
  attr_accessor limit: ::Float
32
- attr_accessor operation: ::String
33
- attr_accessor region: ::String
34
- attr_accessor service: ::String
35
58
  attr_accessor unit: ::String
36
- attr_accessor usage_type: ::String
59
+ attr_accessor description: ::String
60
+ attr_accessor free_tier_type: ::String
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class GetAccountActivityRequest
65
+ attr_accessor activity_id: ::String
66
+ attr_accessor 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")
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class GetAccountActivityResponse
71
+ attr_accessor activity_id: ::String
72
+ attr_accessor title: ::String
73
+ attr_accessor description: ::String
74
+ attr_accessor status: ("NOT_STARTED" | "IN_PROGRESS" | "COMPLETED" | "EXPIRING")
75
+ attr_accessor instructions_url: ::String
76
+ attr_accessor reward: Types::ActivityReward
77
+ attr_accessor estimated_time_to_complete_in_minutes: ::Integer
78
+ attr_accessor expires_at: ::Time
79
+ attr_accessor started_at: ::Time
80
+ attr_accessor completed_at: ::Time
81
+ SENSITIVE: []
82
+ end
83
+
84
+ class GetAccountPlanStateRequest < Aws::EmptyStructure
85
+ end
86
+
87
+ class GetAccountPlanStateResponse
88
+ attr_accessor account_id: ::String
89
+ attr_accessor account_plan_type: ("FREE" | "PAID")
90
+ attr_accessor account_plan_status: ("NOT_STARTED" | "ACTIVE" | "EXPIRED")
91
+ attr_accessor account_plan_remaining_credits: Types::MonetaryAmount
92
+ attr_accessor account_plan_expiration_date: ::Time
37
93
  SENSITIVE: []
38
94
  end
39
95
 
@@ -55,11 +111,48 @@ module Aws::FreeTier
55
111
  SENSITIVE: []
56
112
  end
57
113
 
114
+ class ListAccountActivitiesRequest
115
+ attr_accessor filter_activity_statuses: ::Array[("NOT_STARTED" | "IN_PROGRESS" | "COMPLETED" | "EXPIRING")]
116
+ attr_accessor next_token: ::String
117
+ attr_accessor max_results: ::Integer
118
+ attr_accessor 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")
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class ListAccountActivitiesResponse
123
+ attr_accessor activities: ::Array[Types::ActivitySummary]
124
+ attr_accessor next_token: ::String
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class MonetaryAmount
129
+ attr_accessor amount: ::Float
130
+ attr_accessor unit: ("USD")
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class ResourceNotFoundException
135
+ attr_accessor message: ::String
136
+ SENSITIVE: []
137
+ end
138
+
58
139
  class ThrottlingException
59
140
  attr_accessor message: ::String
60
141
  SENSITIVE: []
61
142
  end
62
143
 
144
+ class UpgradeAccountPlanRequest
145
+ attr_accessor account_plan_type: ("FREE" | "PAID")
146
+ SENSITIVE: []
147
+ end
148
+
149
+ class UpgradeAccountPlanResponse
150
+ attr_accessor account_id: ::String
151
+ attr_accessor account_plan_type: ("FREE" | "PAID")
152
+ attr_accessor account_plan_status: ("NOT_STARTED" | "ACTIVE" | "EXPIRED")
153
+ SENSITIVE: []
154
+ end
155
+
63
156
  class ValidationException
64
157
  attr_accessor message: ::String
65
158
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-freetier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -35,14 +35,14 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: '1.1'
38
+ version: '1.5'
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: '1.1'
45
+ version: '1.5'
46
46
  description: Official AWS Ruby gem for AWS Free Tier. This gem is part of the AWS
47
47
  SDK for Ruby.
48
48
  email:
@@ -65,6 +65,7 @@ files:
65
65
  - lib/aws-sdk-freetier/plugins/endpoints.rb
66
66
  - lib/aws-sdk-freetier/resource.rb
67
67
  - lib/aws-sdk-freetier/types.rb
68
+ - lib/aws-sdk-freetier/waiters.rb
68
69
  - sig/client.rbs
69
70
  - sig/errors.rbs
70
71
  - sig/resource.rbs