aws-sdk-savingsplans 1.3.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-savingsplans.rb +3 -1
- data/lib/aws-sdk-savingsplans/client.rb +13 -10
- data/lib/aws-sdk-savingsplans/client_api.rb +2 -0
- data/lib/aws-sdk-savingsplans/errors.rb +2 -0
- data/lib/aws-sdk-savingsplans/resource.rb +3 -7
- data/lib/aws-sdk-savingsplans/types.rb +33 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 173750e4c694ac3300473f4bd89739f2148e364337f418f77da672c332cce3ce
|
4
|
+
data.tar.gz: 8fa6a2e62b70cbc3f80edbef284eb9906780d8b5718c46b76e14175e5683dc1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f28ce320be0ebfb0a501f52a3047d8c491c9f8894a39b627f0ace4cc711d3b5d0e3fa7fac7ea4bab1efb2c6cba2a121a11c26a6b96c99f1a0a38f89c54db391
|
7
|
+
data.tar.gz: 320922418d170388d5c7748d9d3a37b7dbe1bbadc930b22b3760bf413dfc91bba609dd41434901b51979a162bc9b0efb88f1a1f68fbeb1c9d8f24c54b2ccc4a5
|
data/lib/aws-sdk-savingsplans.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-savingsplans/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::SavingsPlans
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.8.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::SavingsPlans
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::SavingsPlans
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::SavingsPlans
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::SavingsPlans
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -269,8 +273,7 @@ module Aws::SavingsPlans
|
|
269
273
|
#
|
270
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
271
275
|
# number of seconds to wait for response data. This value can
|
272
|
-
# safely be set
|
273
|
-
# per-request on the session yielded by {#session_for}.
|
276
|
+
# safely be set per-request on the session.
|
274
277
|
#
|
275
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
276
279
|
# seconds a connection is allowed to sit idle before it is
|
@@ -282,7 +285,7 @@ module Aws::SavingsPlans
|
|
282
285
|
# request body. This option has no effect unless the request has
|
283
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
284
287
|
# disables this behaviour. This value can safely be set per
|
285
|
-
# request on the session
|
288
|
+
# request on the session.
|
286
289
|
#
|
287
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
288
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -407,7 +410,7 @@ module Aws::SavingsPlans
|
|
407
410
|
# resp.search_results[0].currency #=> String, one of "CNY", "USD"
|
408
411
|
# resp.search_results[0].unit #=> String, one of "Hrs", "Lambda-GB-Second", "Request"
|
409
412
|
# resp.search_results[0].product_type #=> String, one of "EC2", "Fargate", "Lambda"
|
410
|
-
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AWSLambda"
|
413
|
+
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AmazonEKS", "AWSLambda"
|
411
414
|
# resp.search_results[0].usage_type #=> String
|
412
415
|
# resp.search_results[0].operation #=> String
|
413
416
|
# resp.search_results[0].properties #=> Array
|
@@ -547,7 +550,7 @@ module Aws::SavingsPlans
|
|
547
550
|
# savings_plan_payment_options: ["All Upfront"], # accepts All Upfront, Partial Upfront, No Upfront
|
548
551
|
# savings_plan_types: ["Compute"], # accepts Compute, EC2Instance
|
549
552
|
# products: ["EC2"], # accepts EC2, Fargate, Lambda
|
550
|
-
# service_codes: ["AmazonEC2"], # accepts AmazonEC2, AmazonECS, AWSLambda
|
553
|
+
# service_codes: ["AmazonEC2"], # accepts AmazonEC2, AmazonECS, AmazonEKS, AWSLambda
|
551
554
|
# usage_types: ["SavingsPlanRateUsageType"],
|
552
555
|
# operations: ["SavingsPlanRateOperation"],
|
553
556
|
# filters: [
|
@@ -572,7 +575,7 @@ module Aws::SavingsPlans
|
|
572
575
|
# resp.search_results[0].rate #=> String
|
573
576
|
# resp.search_results[0].unit #=> String, one of "Hrs", "Lambda-GB-Second", "Request"
|
574
577
|
# resp.search_results[0].product_type #=> String, one of "EC2", "Fargate", "Lambda"
|
575
|
-
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AWSLambda"
|
578
|
+
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AmazonEKS", "AWSLambda"
|
576
579
|
# resp.search_results[0].usage_type #=> String
|
577
580
|
# resp.search_results[0].operation #=> String
|
578
581
|
# resp.search_results[0].properties #=> Array
|
@@ -785,7 +788,7 @@ module Aws::SavingsPlans
|
|
785
788
|
params: params,
|
786
789
|
config: config)
|
787
790
|
context[:gem_name] = 'aws-sdk-savingsplans'
|
788
|
-
context[:gem_version] = '1.
|
791
|
+
context[:gem_version] = '1.8.0'
|
789
792
|
Seahorse::Client::Request.new(handlers, context)
|
790
793
|
end
|
791
794
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::SavingsPlans
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::SavingsPlans::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::SavingsPlans::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::SavingsPlans::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -57,6 +59,7 @@ module Aws::SavingsPlans
|
|
57
59
|
:upfront_payment_amount,
|
58
60
|
:client_token,
|
59
61
|
:tags)
|
62
|
+
SENSITIVE = []
|
60
63
|
include Aws::Structure
|
61
64
|
end
|
62
65
|
|
@@ -68,6 +71,7 @@ module Aws::SavingsPlans
|
|
68
71
|
#
|
69
72
|
class CreateSavingsPlanResponse < Struct.new(
|
70
73
|
:savings_plan_id)
|
74
|
+
SENSITIVE = []
|
71
75
|
include Aws::Structure
|
72
76
|
end
|
73
77
|
|
@@ -111,6 +115,7 @@ module Aws::SavingsPlans
|
|
111
115
|
:filters,
|
112
116
|
:next_token,
|
113
117
|
:max_results)
|
118
|
+
SENSITIVE = []
|
114
119
|
include Aws::Structure
|
115
120
|
end
|
116
121
|
|
@@ -133,6 +138,7 @@ module Aws::SavingsPlans
|
|
133
138
|
:savings_plan_id,
|
134
139
|
:search_results,
|
135
140
|
:next_token)
|
141
|
+
SENSITIVE = []
|
136
142
|
include Aws::Structure
|
137
143
|
end
|
138
144
|
|
@@ -144,7 +150,7 @@ module Aws::SavingsPlans
|
|
144
150
|
# savings_plan_payment_options: ["All Upfront"], # accepts All Upfront, Partial Upfront, No Upfront
|
145
151
|
# savings_plan_types: ["Compute"], # accepts Compute, EC2Instance
|
146
152
|
# products: ["EC2"], # accepts EC2, Fargate, Lambda
|
147
|
-
# service_codes: ["AmazonEC2"], # accepts AmazonEC2, AmazonECS, AWSLambda
|
153
|
+
# service_codes: ["AmazonEC2"], # accepts AmazonEC2, AmazonECS, AmazonEKS, AWSLambda
|
148
154
|
# usage_types: ["SavingsPlanRateUsageType"],
|
149
155
|
# operations: ["SavingsPlanRateOperation"],
|
150
156
|
# filters: [
|
@@ -212,6 +218,7 @@ module Aws::SavingsPlans
|
|
212
218
|
:filters,
|
213
219
|
:next_token,
|
214
220
|
:max_results)
|
221
|
+
SENSITIVE = []
|
215
222
|
include Aws::Structure
|
216
223
|
end
|
217
224
|
|
@@ -229,6 +236,7 @@ module Aws::SavingsPlans
|
|
229
236
|
class DescribeSavingsPlansOfferingRatesResponse < Struct.new(
|
230
237
|
:search_results,
|
231
238
|
:next_token)
|
239
|
+
SENSITIVE = []
|
232
240
|
include Aws::Structure
|
233
241
|
end
|
234
242
|
|
@@ -326,6 +334,7 @@ module Aws::SavingsPlans
|
|
326
334
|
:filters,
|
327
335
|
:next_token,
|
328
336
|
:max_results)
|
337
|
+
SENSITIVE = []
|
329
338
|
include Aws::Structure
|
330
339
|
end
|
331
340
|
|
@@ -343,6 +352,7 @@ module Aws::SavingsPlans
|
|
343
352
|
class DescribeSavingsPlansOfferingsResponse < Struct.new(
|
344
353
|
:search_results,
|
345
354
|
:next_token)
|
355
|
+
SENSITIVE = []
|
346
356
|
include Aws::Structure
|
347
357
|
end
|
348
358
|
|
@@ -398,6 +408,7 @@ module Aws::SavingsPlans
|
|
398
408
|
:max_results,
|
399
409
|
:states,
|
400
410
|
:filters)
|
411
|
+
SENSITIVE = []
|
401
412
|
include Aws::Structure
|
402
413
|
end
|
403
414
|
|
@@ -415,6 +426,7 @@ module Aws::SavingsPlans
|
|
415
426
|
class DescribeSavingsPlansResponse < Struct.new(
|
416
427
|
:savings_plans,
|
417
428
|
:next_token)
|
429
|
+
SENSITIVE = []
|
418
430
|
include Aws::Structure
|
419
431
|
end
|
420
432
|
|
@@ -427,6 +439,7 @@ module Aws::SavingsPlans
|
|
427
439
|
#
|
428
440
|
class InternalServerException < Struct.new(
|
429
441
|
:message)
|
442
|
+
SENSITIVE = []
|
430
443
|
include Aws::Structure
|
431
444
|
end
|
432
445
|
|
@@ -445,6 +458,7 @@ module Aws::SavingsPlans
|
|
445
458
|
#
|
446
459
|
class ListTagsForResourceRequest < Struct.new(
|
447
460
|
:resource_arn)
|
461
|
+
SENSITIVE = []
|
448
462
|
include Aws::Structure
|
449
463
|
end
|
450
464
|
|
@@ -456,6 +470,7 @@ module Aws::SavingsPlans
|
|
456
470
|
#
|
457
471
|
class ListTagsForResourceResponse < Struct.new(
|
458
472
|
:tags)
|
473
|
+
SENSITIVE = []
|
459
474
|
include Aws::Structure
|
460
475
|
end
|
461
476
|
|
@@ -494,6 +509,7 @@ module Aws::SavingsPlans
|
|
494
509
|
:duration_seconds,
|
495
510
|
:currency,
|
496
511
|
:plan_description)
|
512
|
+
SENSITIVE = []
|
497
513
|
include Aws::Structure
|
498
514
|
end
|
499
515
|
|
@@ -506,6 +522,7 @@ module Aws::SavingsPlans
|
|
506
522
|
#
|
507
523
|
class ResourceNotFoundException < Struct.new(
|
508
524
|
:message)
|
525
|
+
SENSITIVE = []
|
509
526
|
include Aws::Structure
|
510
527
|
end
|
511
528
|
|
@@ -604,6 +621,7 @@ module Aws::SavingsPlans
|
|
604
621
|
:recurring_payment_amount,
|
605
622
|
:term_duration_in_seconds,
|
606
623
|
:tags)
|
624
|
+
SENSITIVE = []
|
607
625
|
include Aws::Structure
|
608
626
|
end
|
609
627
|
|
@@ -630,6 +648,7 @@ module Aws::SavingsPlans
|
|
630
648
|
class SavingsPlanFilter < Struct.new(
|
631
649
|
:name,
|
632
650
|
:values)
|
651
|
+
SENSITIVE = []
|
633
652
|
include Aws::Structure
|
634
653
|
end
|
635
654
|
|
@@ -693,6 +712,7 @@ module Aws::SavingsPlans
|
|
693
712
|
:usage_type,
|
694
713
|
:operation,
|
695
714
|
:properties)
|
715
|
+
SENSITIVE = []
|
696
716
|
include Aws::Structure
|
697
717
|
end
|
698
718
|
|
@@ -719,6 +739,7 @@ module Aws::SavingsPlans
|
|
719
739
|
class SavingsPlanOfferingFilterElement < Struct.new(
|
720
740
|
:name,
|
721
741
|
:values)
|
742
|
+
SENSITIVE = []
|
722
743
|
include Aws::Structure
|
723
744
|
end
|
724
745
|
|
@@ -737,6 +758,7 @@ module Aws::SavingsPlans
|
|
737
758
|
class SavingsPlanOfferingProperty < Struct.new(
|
738
759
|
:name,
|
739
760
|
:value)
|
761
|
+
SENSITIVE = []
|
740
762
|
include Aws::Structure
|
741
763
|
end
|
742
764
|
|
@@ -785,6 +807,7 @@ module Aws::SavingsPlans
|
|
785
807
|
:usage_type,
|
786
808
|
:operation,
|
787
809
|
:properties)
|
810
|
+
SENSITIVE = []
|
788
811
|
include Aws::Structure
|
789
812
|
end
|
790
813
|
|
@@ -811,6 +834,7 @@ module Aws::SavingsPlans
|
|
811
834
|
class SavingsPlanOfferingRateFilterElement < Struct.new(
|
812
835
|
:name,
|
813
836
|
:values)
|
837
|
+
SENSITIVE = []
|
814
838
|
include Aws::Structure
|
815
839
|
end
|
816
840
|
|
@@ -829,6 +853,7 @@ module Aws::SavingsPlans
|
|
829
853
|
class SavingsPlanOfferingRateProperty < Struct.new(
|
830
854
|
:name,
|
831
855
|
:value)
|
856
|
+
SENSITIVE = []
|
832
857
|
include Aws::Structure
|
833
858
|
end
|
834
859
|
|
@@ -877,6 +902,7 @@ module Aws::SavingsPlans
|
|
877
902
|
:usage_type,
|
878
903
|
:operation,
|
879
904
|
:properties)
|
905
|
+
SENSITIVE = []
|
880
906
|
include Aws::Structure
|
881
907
|
end
|
882
908
|
|
@@ -903,6 +929,7 @@ module Aws::SavingsPlans
|
|
903
929
|
class SavingsPlanRateFilter < Struct.new(
|
904
930
|
:name,
|
905
931
|
:values)
|
932
|
+
SENSITIVE = []
|
906
933
|
include Aws::Structure
|
907
934
|
end
|
908
935
|
|
@@ -921,6 +948,7 @@ module Aws::SavingsPlans
|
|
921
948
|
class SavingsPlanRateProperty < Struct.new(
|
922
949
|
:name,
|
923
950
|
:value)
|
951
|
+
SENSITIVE = []
|
924
952
|
include Aws::Structure
|
925
953
|
end
|
926
954
|
|
@@ -933,6 +961,7 @@ module Aws::SavingsPlans
|
|
933
961
|
#
|
934
962
|
class ServiceQuotaExceededException < Struct.new(
|
935
963
|
:message)
|
964
|
+
SENSITIVE = []
|
936
965
|
include Aws::Structure
|
937
966
|
end
|
938
967
|
|
@@ -960,6 +989,7 @@ module Aws::SavingsPlans
|
|
960
989
|
class TagResourceRequest < Struct.new(
|
961
990
|
:resource_arn,
|
962
991
|
:tags)
|
992
|
+
SENSITIVE = []
|
963
993
|
include Aws::Structure
|
964
994
|
end
|
965
995
|
|
@@ -988,6 +1018,7 @@ module Aws::SavingsPlans
|
|
988
1018
|
class UntagResourceRequest < Struct.new(
|
989
1019
|
:resource_arn,
|
990
1020
|
:tag_keys)
|
1021
|
+
SENSITIVE = []
|
991
1022
|
include Aws::Structure
|
992
1023
|
end
|
993
1024
|
|
@@ -1004,6 +1035,7 @@ module Aws::SavingsPlans
|
|
1004
1035
|
#
|
1005
1036
|
class ValidationException < Struct.new(
|
1006
1037
|
:message)
|
1038
|
+
SENSITIVE = []
|
1007
1039
|
include Aws::Structure
|
1008
1040
|
end
|
1009
1041
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-savingsplans
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.7.6.2
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: AWS SDK for Ruby - AWSSavingsPlans
|