aws-sdk-serverlessapplicationrepository 1.43.0 → 1.45.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: 8e0cbe5e43906a1ba4f94826b9654440ec410763b24e6e267ae4ba8dc3c1df4a
4
- data.tar.gz: 7a66f042e7f0ec0f565ea45f341cb07363250d8284eecb756c3d856baeaa60d9
3
+ metadata.gz: af85466afd7b9e5499dbd8a50627cbabfc64d5a27a31b81c9459efa4aa3082f5
4
+ data.tar.gz: a85246a4e9632c0aefbef0be46c2ff42ace2a6f569c10f61b2b4a74cbd01c77a
5
5
  SHA512:
6
- metadata.gz: 4bf62566d58a903f3cfbe94a7d0e7789842dfa3e7c1c7561db50074dda58ec5970474f6b2593f32aec73c21855a84695d48a6ae85ef2aac5ce213a2754c5411c
7
- data.tar.gz: 060f4e69e487b6ef67aa094f16baf81bb9a3c862098cf8b0aedbb29fe8b653ae51b07914ddc894fdf2643bf379ebd796ab517da33b186f167288489440661ecd
6
+ metadata.gz: fa5ede974ef4ed0a5387fa2675e264ce9efd31d5a0b8e0c1172627668383c86e5aa1f424f93c1a167b298bf85a6833a3746f427679553d4b408d1f2100fb5a7a
7
+ data.tar.gz: fed6b049ebea971d319e2a1550f40b2f4ac50f7ce071a5c2e3fb26f3416f2afdc472a34b562e63c89da9e6c753456da5cfef358a5df9c3bf5e3cc764db2684cc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.44.0 (2022-10-25)
12
+ ------------------
13
+
14
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
15
+
4
16
  1.43.0 (2022-02-24)
5
17
  ------------------
6
18
 
@@ -225,4 +237,4 @@ Unreleased Changes
225
237
  1.0.0 (2017-11-30)
226
238
  ------------------
227
239
 
228
- * Feature - Initial release of `aws-sdk-serverlessapplicationrepository`.
240
+ * Feature - Initial release of `aws-sdk-serverlessapplicationrepository`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.45.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:serverlessapplicationrepository)
@@ -79,8 +79,9 @@ module Aws::ServerlessApplicationRepository
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::ServerlessApplicationRepository::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::ServerlessApplicationRepository
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::ServerlessApplicationRepository
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::ServerlessApplicationRepository::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ServerlessApplicationRepository::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -1162,7 +1179,7 @@ module Aws::ServerlessApplicationRepository
1162
1179
  params: params,
1163
1180
  config: config)
1164
1181
  context[:gem_name] = 'aws-sdk-serverlessapplicationrepository'
1165
- context[:gem_version] = '1.43.0'
1182
+ context[:gem_version] = '1.45.0'
1166
1183
  Seahorse::Client::Request.new(handlers, context)
1167
1184
  end
1168
1185
 
@@ -0,0 +1,66 @@
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
+ module Aws::ServerlessApplicationRepository
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,51 @@
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
+ module Aws::ServerlessApplicationRepository
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://serverlessrepo-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://serverlessrepo-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://serverlessrepo.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://serverlessrepo.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, 'No endpoint could be resolved'
48
+
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,211 @@
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
+
11
+ module Aws::ServerlessApplicationRepository
12
+ module Endpoints
13
+
14
+ class CreateApplication
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class CreateApplicationVersion
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class CreateCloudFormationChangeSet
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class CreateCloudFormationTemplate
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DeleteApplication
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class GetApplication
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class GetApplicationPolicy
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class GetCloudFormationTemplate
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class ListApplicationDependencies
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class ListApplicationVersions
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class ListApplications
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class PutApplicationPolicy
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class UnshareApplication
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class UpdateApplication
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::ServerlessApplicationRepository::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ end
211
+ end
@@ -0,0 +1,96 @@
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
+
11
+ module Aws::ServerlessApplicationRepository
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::ServerlessApplicationRepository::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::ServerlessApplicationRepository::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::ServerlessApplicationRepository::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_application
60
+ Aws::ServerlessApplicationRepository::Endpoints::CreateApplication.build(context)
61
+ when :create_application_version
62
+ Aws::ServerlessApplicationRepository::Endpoints::CreateApplicationVersion.build(context)
63
+ when :create_cloud_formation_change_set
64
+ Aws::ServerlessApplicationRepository::Endpoints::CreateCloudFormationChangeSet.build(context)
65
+ when :create_cloud_formation_template
66
+ Aws::ServerlessApplicationRepository::Endpoints::CreateCloudFormationTemplate.build(context)
67
+ when :delete_application
68
+ Aws::ServerlessApplicationRepository::Endpoints::DeleteApplication.build(context)
69
+ when :get_application
70
+ Aws::ServerlessApplicationRepository::Endpoints::GetApplication.build(context)
71
+ when :get_application_policy
72
+ Aws::ServerlessApplicationRepository::Endpoints::GetApplicationPolicy.build(context)
73
+ when :get_cloud_formation_template
74
+ Aws::ServerlessApplicationRepository::Endpoints::GetCloudFormationTemplate.build(context)
75
+ when :list_application_dependencies
76
+ Aws::ServerlessApplicationRepository::Endpoints::ListApplicationDependencies.build(context)
77
+ when :list_application_versions
78
+ Aws::ServerlessApplicationRepository::Endpoints::ListApplicationVersions.build(context)
79
+ when :list_applications
80
+ Aws::ServerlessApplicationRepository::Endpoints::ListApplications.build(context)
81
+ when :put_application_policy
82
+ Aws::ServerlessApplicationRepository::Endpoints::PutApplicationPolicy.build(context)
83
+ when :unshare_application
84
+ Aws::ServerlessApplicationRepository::Endpoints::UnshareApplication.build(context)
85
+ when :update_application
86
+ Aws::ServerlessApplicationRepository::Endpoints::UpdateApplication.build(context)
87
+ end
88
+ end
89
+ end
90
+
91
+ def add_handlers(handlers, _config)
92
+ handlers.add(Handler, step: :build, priority: 75)
93
+ end
94
+ end
95
+ end
96
+ end
@@ -183,16 +183,6 @@ module Aws::ServerlessApplicationRepository
183
183
 
184
184
  # Policy statement applied to the application.
185
185
  #
186
- # @note When making an API call, you may pass ApplicationPolicyStatement
187
- # data as a hash:
188
- #
189
- # {
190
- # actions: ["__string"], # required
191
- # principal_org_i_ds: ["__string"],
192
- # principals: ["__string"], # required
193
- # statement_id: "__string",
194
- # }
195
- #
196
186
  # @!attribute [rw] actions
197
187
  # For the list of actions supported for this operation, see
198
188
  # [Application Permissions][1].
@@ -541,27 +531,6 @@ module Aws::ServerlessApplicationRepository
541
531
  include Aws::Structure
542
532
  end
543
533
 
544
- # @note When making an API call, you may pass CreateApplicationRequest
545
- # data as a hash:
546
- #
547
- # {
548
- # author: "__string", # required
549
- # description: "__string", # required
550
- # home_page_url: "__string",
551
- # labels: ["__string"],
552
- # license_body: "__string",
553
- # license_url: "__string",
554
- # name: "__string", # required
555
- # readme_body: "__string",
556
- # readme_url: "__string",
557
- # semantic_version: "__string",
558
- # source_code_archive_url: "__string",
559
- # source_code_url: "__string",
560
- # spdx_license_id: "__string",
561
- # template_body: "__string",
562
- # template_url: "__string",
563
- # }
564
- #
565
534
  # @!attribute [rw] author
566
535
  # @return [String]
567
536
  #
@@ -722,18 +691,6 @@ module Aws::ServerlessApplicationRepository
722
691
  include Aws::Structure
723
692
  end
724
693
 
725
- # @note When making an API call, you may pass CreateApplicationVersionRequest
726
- # data as a hash:
727
- #
728
- # {
729
- # application_id: "__string", # required
730
- # semantic_version: "__string", # required
731
- # source_code_archive_url: "__string",
732
- # source_code_url: "__string",
733
- # template_body: "__string",
734
- # template_url: "__string",
735
- # }
736
- #
737
694
  # @!attribute [rw] application_id
738
695
  # @return [String]
739
696
  #
@@ -953,43 +910,6 @@ module Aws::ServerlessApplicationRepository
953
910
  include Aws::Structure
954
911
  end
955
912
 
956
- # @note When making an API call, you may pass CreateCloudFormationChangeSetRequest
957
- # data as a hash:
958
- #
959
- # {
960
- # application_id: "__string", # required
961
- # capabilities: ["__string"],
962
- # change_set_name: "__string",
963
- # client_token: "__string",
964
- # description: "__string",
965
- # notification_arns: ["__string"],
966
- # parameter_overrides: [
967
- # {
968
- # name: "__string", # required
969
- # value: "__string", # required
970
- # },
971
- # ],
972
- # resource_types: ["__string"],
973
- # rollback_configuration: {
974
- # monitoring_time_in_minutes: 1,
975
- # rollback_triggers: [
976
- # {
977
- # arn: "__string", # required
978
- # type: "__string", # required
979
- # },
980
- # ],
981
- # },
982
- # semantic_version: "__string",
983
- # stack_name: "__string", # required
984
- # tags: [
985
- # {
986
- # key: "__string", # required
987
- # value: "__string", # required
988
- # },
989
- # ],
990
- # template_id: "__string",
991
- # }
992
- #
993
913
  # @!attribute [rw] application_id
994
914
  # @return [String]
995
915
  #
@@ -1075,14 +995,6 @@ module Aws::ServerlessApplicationRepository
1075
995
  include Aws::Structure
1076
996
  end
1077
997
 
1078
- # @note When making an API call, you may pass CreateCloudFormationTemplateRequest
1079
- # data as a hash:
1080
- #
1081
- # {
1082
- # application_id: "__string", # required
1083
- # semantic_version: "__string",
1084
- # }
1085
- #
1086
998
  # @!attribute [rw] application_id
1087
999
  # @return [String]
1088
1000
  #
@@ -1133,13 +1045,6 @@ module Aws::ServerlessApplicationRepository
1133
1045
  include Aws::Structure
1134
1046
  end
1135
1047
 
1136
- # @note When making an API call, you may pass DeleteApplicationRequest
1137
- # data as a hash:
1138
- #
1139
- # {
1140
- # application_id: "__string", # required
1141
- # }
1142
- #
1143
1048
  # @!attribute [rw] application_id
1144
1049
  # @return [String]
1145
1050
  #
@@ -1170,13 +1075,6 @@ module Aws::ServerlessApplicationRepository
1170
1075
  include Aws::Structure
1171
1076
  end
1172
1077
 
1173
- # @note When making an API call, you may pass GetApplicationPolicyRequest
1174
- # data as a hash:
1175
- #
1176
- # {
1177
- # application_id: "__string", # required
1178
- # }
1179
- #
1180
1078
  # @!attribute [rw] application_id
1181
1079
  # @return [String]
1182
1080
  #
@@ -1199,14 +1097,6 @@ module Aws::ServerlessApplicationRepository
1199
1097
  include Aws::Structure
1200
1098
  end
1201
1099
 
1202
- # @note When making an API call, you may pass GetApplicationRequest
1203
- # data as a hash:
1204
- #
1205
- # {
1206
- # application_id: "__string", # required
1207
- # semantic_version: "__string",
1208
- # }
1209
- #
1210
1100
  # @!attribute [rw] application_id
1211
1101
  # @return [String]
1212
1102
  #
@@ -1282,14 +1172,6 @@ module Aws::ServerlessApplicationRepository
1282
1172
  include Aws::Structure
1283
1173
  end
1284
1174
 
1285
- # @note When making an API call, you may pass GetCloudFormationTemplateRequest
1286
- # data as a hash:
1287
- #
1288
- # {
1289
- # application_id: "__string", # required
1290
- # template_id: "__string", # required
1291
- # }
1292
- #
1293
1175
  # @!attribute [rw] application_id
1294
1176
  # @return [String]
1295
1177
  #
@@ -1361,16 +1243,6 @@ module Aws::ServerlessApplicationRepository
1361
1243
  include Aws::Structure
1362
1244
  end
1363
1245
 
1364
- # @note When making an API call, you may pass ListApplicationDependenciesRequest
1365
- # data as a hash:
1366
- #
1367
- # {
1368
- # application_id: "__string", # required
1369
- # max_items: 1,
1370
- # next_token: "__string",
1371
- # semantic_version: "__string",
1372
- # }
1373
- #
1374
1246
  # @!attribute [rw] application_id
1375
1247
  # @return [String]
1376
1248
  #
@@ -1409,15 +1281,6 @@ module Aws::ServerlessApplicationRepository
1409
1281
  include Aws::Structure
1410
1282
  end
1411
1283
 
1412
- # @note When making an API call, you may pass ListApplicationVersionsRequest
1413
- # data as a hash:
1414
- #
1415
- # {
1416
- # application_id: "__string", # required
1417
- # max_items: 1,
1418
- # next_token: "__string",
1419
- # }
1420
- #
1421
1284
  # @!attribute [rw] application_id
1422
1285
  # @return [String]
1423
1286
  #
@@ -1452,14 +1315,6 @@ module Aws::ServerlessApplicationRepository
1452
1315
  include Aws::Structure
1453
1316
  end
1454
1317
 
1455
- # @note When making an API call, you may pass ListApplicationsRequest
1456
- # data as a hash:
1457
- #
1458
- # {
1459
- # max_items: 1,
1460
- # next_token: "__string",
1461
- # }
1462
- #
1463
1318
  # @!attribute [rw] max_items
1464
1319
  # @return [Integer]
1465
1320
  #
@@ -1640,14 +1495,6 @@ module Aws::ServerlessApplicationRepository
1640
1495
 
1641
1496
  # Parameter value of the application.
1642
1497
  #
1643
- # @note When making an API call, you may pass ParameterValue
1644
- # data as a hash:
1645
- #
1646
- # {
1647
- # name: "__string", # required
1648
- # value: "__string", # required
1649
- # }
1650
- #
1651
1498
  # @!attribute [rw] name
1652
1499
  # The key associated with the parameter. If you don't specify a key
1653
1500
  # and value for a particular parameter, AWS CloudFormation uses the
@@ -1667,21 +1514,6 @@ module Aws::ServerlessApplicationRepository
1667
1514
  include Aws::Structure
1668
1515
  end
1669
1516
 
1670
- # @note When making an API call, you may pass PutApplicationPolicyRequest
1671
- # data as a hash:
1672
- #
1673
- # {
1674
- # application_id: "__string", # required
1675
- # statements: [ # required
1676
- # {
1677
- # actions: ["__string"], # required
1678
- # principal_org_i_ds: ["__string"],
1679
- # principals: ["__string"], # required
1680
- # statement_id: "__string",
1681
- # },
1682
- # ],
1683
- # }
1684
- #
1685
1517
  # @!attribute [rw] application_id
1686
1518
  # @return [String]
1687
1519
  #
@@ -1712,19 +1544,6 @@ module Aws::ServerlessApplicationRepository
1712
1544
  # href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration">RollbackConfiguration</a>
1713
1545
  # </i> Data Type.
1714
1546
  #
1715
- # @note When making an API call, you may pass RollbackConfiguration
1716
- # data as a hash:
1717
- #
1718
- # {
1719
- # monitoring_time_in_minutes: 1,
1720
- # rollback_triggers: [
1721
- # {
1722
- # arn: "__string", # required
1723
- # type: "__string", # required
1724
- # },
1725
- # ],
1726
- # }
1727
- #
1728
1547
  # @!attribute [rw] monitoring_time_in_minutes
1729
1548
  # This property corresponds to the content of the same name for the
1730
1549
  # <i>AWS CloudFormation <a
@@ -1752,14 +1571,6 @@ module Aws::ServerlessApplicationRepository
1752
1571
  # href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a>
1753
1572
  # </i> Data Type.
1754
1573
  #
1755
- # @note When making an API call, you may pass RollbackTrigger
1756
- # data as a hash:
1757
- #
1758
- # {
1759
- # arn: "__string", # required
1760
- # type: "__string", # required
1761
- # }
1762
- #
1763
1574
  # @!attribute [rw] arn
1764
1575
  # This property corresponds to the content of the same name for the
1765
1576
  # <i>AWS CloudFormation <a
@@ -1787,14 +1598,6 @@ module Aws::ServerlessApplicationRepository
1787
1598
  # href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag">Tag</a>
1788
1599
  # </i> Data Type.
1789
1600
  #
1790
- # @note When making an API call, you may pass Tag
1791
- # data as a hash:
1792
- #
1793
- # {
1794
- # key: "__string", # required
1795
- # value: "__string", # required
1796
- # }
1797
- #
1798
1601
  # @!attribute [rw] key
1799
1602
  # This property corresponds to the content of the same name for the
1800
1603
  # <i>AWS CloudFormation <a
@@ -1910,14 +1713,6 @@ module Aws::ServerlessApplicationRepository
1910
1713
  include Aws::Structure
1911
1714
  end
1912
1715
 
1913
- # @note When making an API call, you may pass UnshareApplicationRequest
1914
- # data as a hash:
1915
- #
1916
- # {
1917
- # application_id: "__string", # required
1918
- # organization_id: "__string", # required
1919
- # }
1920
- #
1921
1716
  # @!attribute [rw] application_id
1922
1717
  # @return [String]
1923
1718
  #
@@ -1989,19 +1784,6 @@ module Aws::ServerlessApplicationRepository
1989
1784
  include Aws::Structure
1990
1785
  end
1991
1786
 
1992
- # @note When making an API call, you may pass UpdateApplicationRequest
1993
- # data as a hash:
1994
- #
1995
- # {
1996
- # application_id: "__string", # required
1997
- # author: "__string",
1998
- # description: "__string",
1999
- # home_page_url: "__string",
2000
- # labels: ["__string"],
2001
- # readme_body: "__string",
2002
- # readme_url: "__string",
2003
- # }
2004
- #
2005
1787
  # @!attribute [rw] application_id
2006
1788
  # @return [String]
2007
1789
  #
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-serverlessapplicationrepository/types'
15
15
  require_relative 'aws-sdk-serverlessapplicationrepository/client_api'
16
+ require_relative 'aws-sdk-serverlessapplicationrepository/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-serverlessapplicationrepository/client'
17
18
  require_relative 'aws-sdk-serverlessapplicationrepository/errors'
18
19
  require_relative 'aws-sdk-serverlessapplicationrepository/resource'
20
+ require_relative 'aws-sdk-serverlessapplicationrepository/endpoint_parameters'
21
+ require_relative 'aws-sdk-serverlessapplicationrepository/endpoint_provider'
22
+ require_relative 'aws-sdk-serverlessapplicationrepository/endpoints'
19
23
  require_relative 'aws-sdk-serverlessapplicationrepository/customizations'
20
24
 
21
25
  # This module provides support for AWSServerlessApplicationRepository. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-serverlessapplicationrepository/customizations'
48
52
  # @!group service
49
53
  module Aws::ServerlessApplicationRepository
50
54
 
51
- GEM_VERSION = '1.43.0'
55
+ GEM_VERSION = '1.45.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-serverlessapplicationrepository
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.43.0
4
+ version: 1.45.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2023-01-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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-serverlessapplicationrepository/client.rb
60
60
  - lib/aws-sdk-serverlessapplicationrepository/client_api.rb
61
61
  - lib/aws-sdk-serverlessapplicationrepository/customizations.rb
62
+ - lib/aws-sdk-serverlessapplicationrepository/endpoint_parameters.rb
63
+ - lib/aws-sdk-serverlessapplicationrepository/endpoint_provider.rb
64
+ - lib/aws-sdk-serverlessapplicationrepository/endpoints.rb
62
65
  - lib/aws-sdk-serverlessapplicationrepository/errors.rb
66
+ - lib/aws-sdk-serverlessapplicationrepository/plugins/endpoints.rb
63
67
  - lib/aws-sdk-serverlessapplicationrepository/resource.rb
64
68
  - lib/aws-sdk-serverlessapplicationrepository/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby