aws-sdk-codestarconnections 1.24.0 → 1.26.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: 0fe9e2cd1f116f8fcd81154168334be67c978db2bfc3d2dab2c95426cdae4b13
4
- data.tar.gz: 89c2bb55371bebb50f3cebe5e0fd049bc609f9e2e54a559c42f1992bfbc42a92
3
+ metadata.gz: 55c83ed7ff16838fbc9c8d3a19dd806cbde028b943dbefd206a9c24ff7a128b4
4
+ data.tar.gz: 3b0868b2155cc0beba0b2d9bb32188935542e8aa17e151e286553fb54d9238a2
5
5
  SHA512:
6
- metadata.gz: 87394a869857ace07a488349817bb1757f5f438e9e7ecc971ac6ea2ca69fe097921eb275fac21b9b7c389d0bf89ca8d59d6278d8354f03bd68cf484e949ef4e7
7
- data.tar.gz: 2609bf0e484295b86f2674556d3ea1cba3874d58c4a4191dfb5a28059b8d06b1bda42caa9ebb6579c3eb7a9991c2d0289e480e4e4203504b56641a3935840f5d
6
+ metadata.gz: 1f9c14839378342626bb043c515abc09485da3883e463e7ed33befbd49c1aa2f411b718cb86e7868dca44dd46ac89ca30c94e5e6e28a21558ea80b6f4a8cf81d
7
+ data.tar.gz: a8e4d887ada17a0057623f701a4c2a0d5659b9e7d055bb5f4ec922dc6933b899bb971778a0d4ef36748392292cb388ce4bf4345c0c12b1c9df11304ecd1c0550
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.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.25.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.24.0 (2022-02-24)
5
17
  ------------------
6
18
 
@@ -130,4 +142,4 @@ Unreleased Changes
130
142
  1.0.0 (2019-12-19)
131
143
  ------------------
132
144
 
133
- * Feature - Initial release of `aws-sdk-codestarconnections`.
145
+ * Feature - Initial release of `aws-sdk-codestarconnections`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.26.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/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:codestarconnections)
@@ -79,8 +79,9 @@ module Aws::CodeStarconnections
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::JsonRpc)
84
+ add_plugin(Aws::CodeStarconnections::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::CodeStarconnections
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::CodeStarconnections
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::CodeStarconnections::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CodeStarconnections::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -867,7 +884,7 @@ module Aws::CodeStarconnections
867
884
  params: params,
868
885
  config: config)
869
886
  context[:gem_name] = 'aws-sdk-codestarconnections'
870
- context[:gem_version] = '1.24.0'
887
+ context[:gem_version] = '1.26.0'
871
888
  Seahorse::Client::Request.new(handlers, context)
872
889
  end
873
890
 
@@ -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::CodeStarconnections
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::CodeStarconnections
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://codestar-connections-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://codestar-connections-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://codestar-connections.#{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://codestar-connections.#{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,183 @@
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::CodeStarconnections
12
+ module Endpoints
13
+
14
+ class CreateConnection
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::CodeStarconnections::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 CreateHost
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::CodeStarconnections::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 DeleteConnection
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::CodeStarconnections::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 DeleteHost
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::CodeStarconnections::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 GetConnection
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::CodeStarconnections::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 GetHost
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::CodeStarconnections::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 ListConnections
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::CodeStarconnections::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 ListHosts
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::CodeStarconnections::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 ListTagsForResource
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::CodeStarconnections::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 TagResource
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::CodeStarconnections::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 UntagResource
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::CodeStarconnections::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 UpdateHost
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::CodeStarconnections::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
+ end
183
+ end
@@ -0,0 +1,92 @@
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::CodeStarconnections
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::CodeStarconnections::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::CodeStarconnections::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::CodeStarconnections::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_connection
60
+ Aws::CodeStarconnections::Endpoints::CreateConnection.build(context)
61
+ when :create_host
62
+ Aws::CodeStarconnections::Endpoints::CreateHost.build(context)
63
+ when :delete_connection
64
+ Aws::CodeStarconnections::Endpoints::DeleteConnection.build(context)
65
+ when :delete_host
66
+ Aws::CodeStarconnections::Endpoints::DeleteHost.build(context)
67
+ when :get_connection
68
+ Aws::CodeStarconnections::Endpoints::GetConnection.build(context)
69
+ when :get_host
70
+ Aws::CodeStarconnections::Endpoints::GetHost.build(context)
71
+ when :list_connections
72
+ Aws::CodeStarconnections::Endpoints::ListConnections.build(context)
73
+ when :list_hosts
74
+ Aws::CodeStarconnections::Endpoints::ListHosts.build(context)
75
+ when :list_tags_for_resource
76
+ Aws::CodeStarconnections::Endpoints::ListTagsForResource.build(context)
77
+ when :tag_resource
78
+ Aws::CodeStarconnections::Endpoints::TagResource.build(context)
79
+ when :untag_resource
80
+ Aws::CodeStarconnections::Endpoints::UntagResource.build(context)
81
+ when :update_host
82
+ Aws::CodeStarconnections::Endpoints::UpdateHost.build(context)
83
+ end
84
+ end
85
+ end
86
+
87
+ def add_handlers(handlers, _config)
88
+ handlers.add(Handler, step: :build, priority: 75)
89
+ end
90
+ end
91
+ end
92
+ end
@@ -78,21 +78,6 @@ module Aws::CodeStarconnections
78
78
  include Aws::Structure
79
79
  end
80
80
 
81
- # @note When making an API call, you may pass CreateConnectionInput
82
- # data as a hash:
83
- #
84
- # {
85
- # provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
86
- # connection_name: "ConnectionName", # required
87
- # tags: [
88
- # {
89
- # key: "TagKey", # required
90
- # value: "TagValue", # required
91
- # },
92
- # ],
93
- # host_arn: "HostArn",
94
- # }
95
- #
96
81
  # @!attribute [rw] provider_type
97
82
  # The name of the external provider where your third-party code
98
83
  # repository is configured.
@@ -146,27 +131,6 @@ module Aws::CodeStarconnections
146
131
  include Aws::Structure
147
132
  end
148
133
 
149
- # @note When making an API call, you may pass CreateHostInput
150
- # data as a hash:
151
- #
152
- # {
153
- # name: "HostName", # required
154
- # provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer
155
- # provider_endpoint: "Url", # required
156
- # vpc_configuration: {
157
- # vpc_id: "VpcId", # required
158
- # subnet_ids: ["SubnetId"], # required
159
- # security_group_ids: ["SecurityGroupId"], # required
160
- # tls_certificate: "TlsCertificate",
161
- # },
162
- # tags: [
163
- # {
164
- # key: "TagKey", # required
165
- # value: "TagValue", # required
166
- # },
167
- # ],
168
- # }
169
- #
170
134
  # @!attribute [rw] name
171
135
  # The name of the host to be created. The name must be unique in the
172
136
  # calling AWS account.
@@ -221,13 +185,6 @@ module Aws::CodeStarconnections
221
185
  include Aws::Structure
222
186
  end
223
187
 
224
- # @note When making an API call, you may pass DeleteConnectionInput
225
- # data as a hash:
226
- #
227
- # {
228
- # connection_arn: "ConnectionArn", # required
229
- # }
230
- #
231
188
  # @!attribute [rw] connection_arn
232
189
  # The Amazon Resource Name (ARN) of the connection to be deleted.
233
190
  #
@@ -248,13 +205,6 @@ module Aws::CodeStarconnections
248
205
  #
249
206
  class DeleteConnectionOutput < Aws::EmptyStructure; end
250
207
 
251
- # @note When making an API call, you may pass DeleteHostInput
252
- # data as a hash:
253
- #
254
- # {
255
- # host_arn: "HostArn", # required
256
- # }
257
- #
258
208
  # @!attribute [rw] host_arn
259
209
  # The Amazon Resource Name (ARN) of the host to be deleted.
260
210
  # @return [String]
@@ -271,13 +221,6 @@ module Aws::CodeStarconnections
271
221
  #
272
222
  class DeleteHostOutput < Aws::EmptyStructure; end
273
223
 
274
- # @note When making an API call, you may pass GetConnectionInput
275
- # data as a hash:
276
- #
277
- # {
278
- # connection_arn: "ConnectionArn", # required
279
- # }
280
- #
281
224
  # @!attribute [rw] connection_arn
282
225
  # The Amazon Resource Name (ARN) of a connection.
283
226
  # @return [String]
@@ -302,13 +245,6 @@ module Aws::CodeStarconnections
302
245
  include Aws::Structure
303
246
  end
304
247
 
305
- # @note When making an API call, you may pass GetHostInput
306
- # data as a hash:
307
- #
308
- # {
309
- # host_arn: "HostArn", # required
310
- # }
311
- #
312
248
  # @!attribute [rw] host_arn
313
249
  # The Amazon Resource Name (ARN) of the requested host.
314
250
  # @return [String]
@@ -427,16 +363,6 @@ module Aws::CodeStarconnections
427
363
  include Aws::Structure
428
364
  end
429
365
 
430
- # @note When making an API call, you may pass ListConnectionsInput
431
- # data as a hash:
432
- #
433
- # {
434
- # provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
435
- # host_arn_filter: "HostArn",
436
- # max_results: 1,
437
- # next_token: "NextToken",
438
- # }
439
- #
440
366
  # @!attribute [rw] provider_type_filter
441
367
  # Filters the list of connections to those associated with a specified
442
368
  # provider, such as Bitbucket.
@@ -490,14 +416,6 @@ module Aws::CodeStarconnections
490
416
  include Aws::Structure
491
417
  end
492
418
 
493
- # @note When making an API call, you may pass ListHostsInput
494
- # data as a hash:
495
- #
496
- # {
497
- # max_results: 1,
498
- # next_token: "NextToken",
499
- # }
500
- #
501
419
  # @!attribute [rw] max_results
502
420
  # The maximum number of results to return in a single call. To
503
421
  # retrieve the remaining results, make another call with the returned
@@ -538,13 +456,6 @@ module Aws::CodeStarconnections
538
456
  include Aws::Structure
539
457
  end
540
458
 
541
- # @note When making an API call, you may pass ListTagsForResourceInput
542
- # data as a hash:
543
- #
544
- # {
545
- # resource_arn: "AmazonResourceName", # required
546
- # }
547
- #
548
459
  # @!attribute [rw] resource_arn
549
460
  # The Amazon Resource Name (ARN) of the resource for which you want to
550
461
  # get information about tags, if any.
@@ -602,14 +513,6 @@ module Aws::CodeStarconnections
602
513
  #
603
514
  # This tag is available for use by AWS services that support tags.
604
515
  #
605
- # @note When making an API call, you may pass Tag
606
- # data as a hash:
607
- #
608
- # {
609
- # key: "TagKey", # required
610
- # value: "TagValue", # required
611
- # }
612
- #
613
516
  # @!attribute [rw] key
614
517
  # The tag's key.
615
518
  # @return [String]
@@ -627,19 +530,6 @@ module Aws::CodeStarconnections
627
530
  include Aws::Structure
628
531
  end
629
532
 
630
- # @note When making an API call, you may pass TagResourceInput
631
- # data as a hash:
632
- #
633
- # {
634
- # resource_arn: "AmazonResourceName", # required
635
- # tags: [ # required
636
- # {
637
- # key: "TagKey", # required
638
- # value: "TagValue", # required
639
- # },
640
- # ],
641
- # }
642
- #
643
533
  # @!attribute [rw] resource_arn
644
534
  # The Amazon Resource Name (ARN) of the resource to which you want to
645
535
  # add or update tags.
@@ -676,14 +566,6 @@ module Aws::CodeStarconnections
676
566
  include Aws::Structure
677
567
  end
678
568
 
679
- # @note When making an API call, you may pass UntagResourceInput
680
- # data as a hash:
681
- #
682
- # {
683
- # resource_arn: "AmazonResourceName", # required
684
- # tag_keys: ["TagKey"], # required
685
- # }
686
- #
687
569
  # @!attribute [rw] resource_arn
688
570
  # The Amazon Resource Name (ARN) of the resource to remove tags from.
689
571
  # @return [String]
@@ -705,20 +587,6 @@ module Aws::CodeStarconnections
705
587
  #
706
588
  class UntagResourceOutput < Aws::EmptyStructure; end
707
589
 
708
- # @note When making an API call, you may pass UpdateHostInput
709
- # data as a hash:
710
- #
711
- # {
712
- # host_arn: "HostArn", # required
713
- # provider_endpoint: "Url",
714
- # vpc_configuration: {
715
- # vpc_id: "VpcId", # required
716
- # subnet_ids: ["SubnetId"], # required
717
- # security_group_ids: ["SecurityGroupId"], # required
718
- # tls_certificate: "TlsCertificate",
719
- # },
720
- # }
721
- #
722
590
  # @!attribute [rw] host_arn
723
591
  # The Amazon Resource Name (ARN) of the host to be updated.
724
592
  # @return [String]
@@ -749,16 +617,6 @@ module Aws::CodeStarconnections
749
617
 
750
618
  # The VPC configuration provisioned for the host.
751
619
  #
752
- # @note When making an API call, you may pass VpcConfiguration
753
- # data as a hash:
754
- #
755
- # {
756
- # vpc_id: "VpcId", # required
757
- # subnet_ids: ["SubnetId"], # required
758
- # security_group_ids: ["SecurityGroupId"], # required
759
- # tls_certificate: "TlsCertificate",
760
- # }
761
- #
762
620
  # @!attribute [rw] vpc_id
763
621
  # The ID of the Amazon VPC connected to the infrastructure where your
764
622
  # provider type is installed.
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-codestarconnections/types'
15
15
  require_relative 'aws-sdk-codestarconnections/client_api'
16
+ require_relative 'aws-sdk-codestarconnections/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-codestarconnections/client'
17
18
  require_relative 'aws-sdk-codestarconnections/errors'
18
19
  require_relative 'aws-sdk-codestarconnections/resource'
20
+ require_relative 'aws-sdk-codestarconnections/endpoint_parameters'
21
+ require_relative 'aws-sdk-codestarconnections/endpoint_provider'
22
+ require_relative 'aws-sdk-codestarconnections/endpoints'
19
23
  require_relative 'aws-sdk-codestarconnections/customizations'
20
24
 
21
25
  # This module provides support for AWS CodeStar connections. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-codestarconnections/customizations'
48
52
  # @!group service
49
53
  module Aws::CodeStarconnections
50
54
 
51
- GEM_VERSION = '1.24.0'
55
+ GEM_VERSION = '1.26.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codestarconnections
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.0
4
+ version: 1.26.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-codestarconnections/client.rb
60
60
  - lib/aws-sdk-codestarconnections/client_api.rb
61
61
  - lib/aws-sdk-codestarconnections/customizations.rb
62
+ - lib/aws-sdk-codestarconnections/endpoint_parameters.rb
63
+ - lib/aws-sdk-codestarconnections/endpoint_provider.rb
64
+ - lib/aws-sdk-codestarconnections/endpoints.rb
62
65
  - lib/aws-sdk-codestarconnections/errors.rb
66
+ - lib/aws-sdk-codestarconnections/plugins/endpoints.rb
63
67
  - lib/aws-sdk-codestarconnections/resource.rb
64
68
  - lib/aws-sdk-codestarconnections/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby