aws-sdk-savingsplans 1.5.0 → 1.10.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 +4 -4
- data/lib/aws-sdk-savingsplans.rb +5 -2
- data/lib/aws-sdk-savingsplans/client.rb +31 -12
- 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 +2 -0
- data/lib/aws-sdk-savingsplans/types.rb +33 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1e3af7658bbcf7f4adf97979d91371681a41c15b7b7e5a76ebe16748b6d2bf6
|
4
|
+
data.tar.gz: 3dc185b3968745a6143dcdef31f79a7478e87344e82f323770e53789c9e471b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0771f886e0ac70ccea137a1170d6c003a09fb8653aa4e2deec4d74e3e78e21c11ac3e30c9f6093172263f35bb1795efd1af6db60f91afcb61120188a3452c02c
|
7
|
+
data.tar.gz: 68f4f453a4551b01f688d79384fa8f914352e4a391acc32e6bf0f116e832fb40fa7c2727a77bd19e9c11dd395c76280d2036427159de580f0eee326c38e8614b
|
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:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-savingsplans/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::SavingsPlans
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.10.0'
|
49
52
|
|
50
53
|
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
|
|
@@ -81,13 +85,28 @@ module Aws::SavingsPlans
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::SavingsPlans
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::SavingsPlans
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -406,7 +425,7 @@ module Aws::SavingsPlans
|
|
406
425
|
# resp.search_results[0].currency #=> String, one of "CNY", "USD"
|
407
426
|
# resp.search_results[0].unit #=> String, one of "Hrs", "Lambda-GB-Second", "Request"
|
408
427
|
# resp.search_results[0].product_type #=> String, one of "EC2", "Fargate", "Lambda"
|
409
|
-
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AWSLambda"
|
428
|
+
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AmazonEKS", "AWSLambda"
|
410
429
|
# resp.search_results[0].usage_type #=> String
|
411
430
|
# resp.search_results[0].operation #=> String
|
412
431
|
# resp.search_results[0].properties #=> Array
|
@@ -546,7 +565,7 @@ module Aws::SavingsPlans
|
|
546
565
|
# savings_plan_payment_options: ["All Upfront"], # accepts All Upfront, Partial Upfront, No Upfront
|
547
566
|
# savings_plan_types: ["Compute"], # accepts Compute, EC2Instance
|
548
567
|
# products: ["EC2"], # accepts EC2, Fargate, Lambda
|
549
|
-
# service_codes: ["AmazonEC2"], # accepts AmazonEC2, AmazonECS, AWSLambda
|
568
|
+
# service_codes: ["AmazonEC2"], # accepts AmazonEC2, AmazonECS, AmazonEKS, AWSLambda
|
550
569
|
# usage_types: ["SavingsPlanRateUsageType"],
|
551
570
|
# operations: ["SavingsPlanRateOperation"],
|
552
571
|
# filters: [
|
@@ -571,7 +590,7 @@ module Aws::SavingsPlans
|
|
571
590
|
# resp.search_results[0].rate #=> String
|
572
591
|
# resp.search_results[0].unit #=> String, one of "Hrs", "Lambda-GB-Second", "Request"
|
573
592
|
# resp.search_results[0].product_type #=> String, one of "EC2", "Fargate", "Lambda"
|
574
|
-
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AWSLambda"
|
593
|
+
# resp.search_results[0].service_code #=> String, one of "AmazonEC2", "AmazonECS", "AmazonEKS", "AWSLambda"
|
575
594
|
# resp.search_results[0].usage_type #=> String
|
576
595
|
# resp.search_results[0].operation #=> String
|
577
596
|
# resp.search_results[0].properties #=> Array
|
@@ -784,7 +803,7 @@ module Aws::SavingsPlans
|
|
784
803
|
params: params,
|
785
804
|
config: config)
|
786
805
|
context[:gem_name] = 'aws-sdk-savingsplans'
|
787
|
-
context[:gem_version] = '1.
|
806
|
+
context[:gem_version] = '1.10.0'
|
788
807
|
Seahorse::Client::Request.new(handlers, context)
|
789
808
|
end
|
790
809
|
|
@@ -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.10.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-09-15 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
|