aws-sdk-bcmdataexports 1.13.0 → 1.15.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6216b2158f3b27379eeb6779896def45516a1568a058578c71bd8f0695ac8656
4
- data.tar.gz: d8af80a33ee774fc2d65bfc9ba716047fe4e1285458cf3147a1504d4be60daa5
3
+ metadata.gz: '001943490abec8743765275d886db05720955ba9fce3fdbd92b8da83cc155764'
4
+ data.tar.gz: 6441a1812c90511067333614b9823cd5cae651ea3c76bc84b70a45fa0ce7bb09
5
5
  SHA512:
6
- metadata.gz: ba9f10d10ae6f15474fe6e26beff2bafed02fedc8fd4f45a2c8d3e75eea3a09470ee46111d320c2150963bac3bdb1c021b67fab9f0c2df522986d65d4da5f03d
7
- data.tar.gz: ceb66bb82feba941db2796dd3de076b84bb7c575b2ba878168a49023b8eacf2373d6edcd6b4bcaef8536f92bf7898935e32b1f6dee98136690e302bca83776b4
6
+ metadata.gz: ce2c4fb21ad64208488fd318361f5a90226753c089b20ca7e8de13dbf4b42706fb8b18e5e281a996c65aff5c3b520a52c6b29d737a8692ca7bf52700711f3823
7
+ data.tar.gz: 9925fa34f645b82584034d28e2a2dc3fa848af31def7807e9a6fbc90431f6fbb19a9b58409ebe037bff80a5589e6d2cdf2401ce55aa17cdf7aa941f12285d317
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.14.0 (2024-09-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.13.0 (2024-09-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.15.0
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
36
36
  require 'aws-sdk-core/plugins/sign.rb'
37
37
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
38
38
 
39
- Aws::Plugins::GlobalConfiguration.add_identifier(:bcmdataexports)
40
-
41
39
  module Aws::BCMDataExports
42
40
  # An API client for BCMDataExports. To construct a client, you need to configure a `:region` and `:credentials`.
43
41
  #
@@ -1041,7 +1039,7 @@ module Aws::BCMDataExports
1041
1039
  tracer: tracer
1042
1040
  )
1043
1041
  context[:gem_name] = 'aws-sdk-bcmdataexports'
1044
- context[:gem_version] = '1.13.0'
1042
+ context[:gem_version] = '1.15.0'
1045
1043
  Seahorse::Client::Request.new(handlers, context)
1046
1044
  end
1047
1045
 
@@ -45,10 +45,15 @@ module Aws::BCMDataExports
45
45
  self[:region] = options[:region]
46
46
  self[:use_fips] = options[:use_fips]
47
47
  self[:use_fips] = false if self[:use_fips].nil?
48
- if self[:use_fips].nil?
49
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
50
- end
51
48
  self[:endpoint] = options[:endpoint]
52
49
  end
50
+
51
+ def self.create(config, options={})
52
+ new({
53
+ region: config.region,
54
+ use_fips: config.use_fips_endpoint,
55
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
56
+ }.merge(options))
57
+ end
53
58
  end
54
59
  end
@@ -12,125 +12,9 @@ module Aws::BCMDataExports
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class CreateExport
16
- def self.build(context)
17
- Aws::BCMDataExports::EndpointParameters.new(
18
- region: context.config.region,
19
- use_fips: context.config.use_fips_endpoint,
20
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
21
- )
22
- end
23
- end
24
-
25
- class DeleteExport
26
- def self.build(context)
27
- Aws::BCMDataExports::EndpointParameters.new(
28
- region: context.config.region,
29
- use_fips: context.config.use_fips_endpoint,
30
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
31
- )
32
- end
33
- end
34
-
35
- class GetExecution
36
- def self.build(context)
37
- Aws::BCMDataExports::EndpointParameters.new(
38
- region: context.config.region,
39
- use_fips: context.config.use_fips_endpoint,
40
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
41
- )
42
- end
43
- end
44
-
45
- class GetExport
46
- def self.build(context)
47
- Aws::BCMDataExports::EndpointParameters.new(
48
- region: context.config.region,
49
- use_fips: context.config.use_fips_endpoint,
50
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
51
- )
52
- end
53
- end
54
-
55
- class GetTable
56
- def self.build(context)
57
- Aws::BCMDataExports::EndpointParameters.new(
58
- region: context.config.region,
59
- use_fips: context.config.use_fips_endpoint,
60
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
61
- )
62
- end
63
- end
64
-
65
- class ListExecutions
66
- def self.build(context)
67
- Aws::BCMDataExports::EndpointParameters.new(
68
- region: context.config.region,
69
- use_fips: context.config.use_fips_endpoint,
70
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
71
- )
72
- end
73
- end
74
15
 
75
- class ListExports
76
- def self.build(context)
77
- Aws::BCMDataExports::EndpointParameters.new(
78
- region: context.config.region,
79
- use_fips: context.config.use_fips_endpoint,
80
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
81
- )
82
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::BCMDataExports::EndpointParameters.create(context.config)
83
18
  end
84
-
85
- class ListTables
86
- def self.build(context)
87
- Aws::BCMDataExports::EndpointParameters.new(
88
- region: context.config.region,
89
- use_fips: context.config.use_fips_endpoint,
90
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
91
- )
92
- end
93
- end
94
-
95
- class ListTagsForResource
96
- def self.build(context)
97
- Aws::BCMDataExports::EndpointParameters.new(
98
- region: context.config.region,
99
- use_fips: context.config.use_fips_endpoint,
100
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
101
- )
102
- end
103
- end
104
-
105
- class TagResource
106
- def self.build(context)
107
- Aws::BCMDataExports::EndpointParameters.new(
108
- region: context.config.region,
109
- use_fips: context.config.use_fips_endpoint,
110
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
111
- )
112
- end
113
- end
114
-
115
- class UntagResource
116
- def self.build(context)
117
- Aws::BCMDataExports::EndpointParameters.new(
118
- region: context.config.region,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class UpdateExport
126
- def self.build(context)
127
- Aws::BCMDataExports::EndpointParameters.new(
128
- region: context.config.region,
129
- use_fips: context.config.use_fips_endpoint,
130
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
131
- )
132
- end
133
- end
134
-
135
19
  end
136
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::BCMDataExports::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,35 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :create_export
74
- Aws::BCMDataExports::Endpoints::CreateExport.build(context)
75
- when :delete_export
76
- Aws::BCMDataExports::Endpoints::DeleteExport.build(context)
77
- when :get_execution
78
- Aws::BCMDataExports::Endpoints::GetExecution.build(context)
79
- when :get_export
80
- Aws::BCMDataExports::Endpoints::GetExport.build(context)
81
- when :get_table
82
- Aws::BCMDataExports::Endpoints::GetTable.build(context)
83
- when :list_executions
84
- Aws::BCMDataExports::Endpoints::ListExecutions.build(context)
85
- when :list_exports
86
- Aws::BCMDataExports::Endpoints::ListExports.build(context)
87
- when :list_tables
88
- Aws::BCMDataExports::Endpoints::ListTables.build(context)
89
- when :list_tags_for_resource
90
- Aws::BCMDataExports::Endpoints::ListTagsForResource.build(context)
91
- when :tag_resource
92
- Aws::BCMDataExports::Endpoints::TagResource.build(context)
93
- when :untag_resource
94
- Aws::BCMDataExports::Endpoints::UntagResource.build(context)
95
- when :update_export
96
- Aws::BCMDataExports::Endpoints::UpdateExport.build(context)
97
- end
98
- end
99
70
  end
100
71
 
101
72
  def add_handlers(handlers, _config)
@@ -11,6 +11,8 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:bcmdataexports)
15
+
14
16
  # This module provides support for AWS Billing and Cost Management Data Exports. This module is available in the
15
17
  # `aws-sdk-bcmdataexports` gem.
16
18
  #
@@ -52,7 +54,7 @@ module Aws::BCMDataExports
52
54
  autoload :EndpointProvider, 'aws-sdk-bcmdataexports/endpoint_provider'
53
55
  autoload :Endpoints, 'aws-sdk-bcmdataexports/endpoints'
54
56
 
55
- GEM_VERSION = '1.13.0'
57
+ GEM_VERSION = '1.15.0'
56
58
 
57
59
  end
58
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bcmdataexports
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.15.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: 2024-09-23 00:00:00.000000000 Z
11
+ date: 2024-10-18 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.207.0
22
+ version: 3.210.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.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement