aws-sdk-codestarconnections 1.30.0 → 1.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codestarconnections/client.rb +19 -17
- data/lib/aws-sdk-codestarconnections/client_api.rb +1 -0
- data/lib/aws-sdk-codestarconnections/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-codestarconnections/types.rb +9 -10
- data/lib/aws-sdk-codestarconnections.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bdde4f419df29c158324f1027cc471601a78ff4d83575ac701aba9efc7bc7e9
|
4
|
+
data.tar.gz: 7e6dd681c0cd4eea6c224e84c78d4947bb0184e8405fd39e3778d773a0e05da4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c598c6b4360ae65f5a741d97a49b4f9761a86c91fccce85fc717cf6360d285cb6f246e8498d6a646e7f3996db12889e0ebf11add8001307345c24fc611714523
|
7
|
+
data.tar.gz: 54ae0d2844fb10a4a967134f8ced805c87893359f5de11e4f02a69bab1f1c2e3c6bfe0530ea95fcbdf6bab02a85afaa334f58006539a3fe4cc1e56abaf45e1bf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.32.0 (2023-07-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - New integration with the Gitlab provider type.
|
8
|
+
|
9
|
+
1.31.0 (2023-07-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.30.0 (2023-07-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.32.0
|
@@ -216,6 +216,10 @@ module Aws::CodeStarconnections
|
|
216
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
217
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
218
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
219
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
220
224
|
# The log formatter.
|
221
225
|
#
|
@@ -394,18 +398,17 @@ module Aws::CodeStarconnections
|
|
394
398
|
|
395
399
|
# @!group API Operations
|
396
400
|
|
397
|
-
# Creates a connection that can then be given to other
|
398
|
-
# CodePipeline so that it can access third-party
|
399
|
-
# connection is in pending status until the
|
400
|
-
# handshake is completed from the console.
|
401
|
+
# Creates a connection that can then be given to other Amazon Web
|
402
|
+
# Services services like CodePipeline so that it can access third-party
|
403
|
+
# code repositories. The connection is in pending status until the
|
404
|
+
# third-party connection handshake is completed from the console.
|
401
405
|
#
|
402
406
|
# @option params [String] :provider_type
|
403
407
|
# The name of the external provider where your third-party code
|
404
408
|
# repository is configured.
|
405
409
|
#
|
406
410
|
# @option params [required, String] :connection_name
|
407
|
-
# The name of the connection to be created.
|
408
|
-
# the calling AWS account.
|
411
|
+
# The name of the connection to be created.
|
409
412
|
#
|
410
413
|
# @option params [Array<Types::Tag>] :tags
|
411
414
|
# The key-value pair to use when tagging the resource.
|
@@ -422,7 +425,7 @@ module Aws::CodeStarconnections
|
|
422
425
|
# @example Request syntax with placeholder values
|
423
426
|
#
|
424
427
|
# resp = client.create_connection({
|
425
|
-
# provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
428
|
+
# provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer, GitLab
|
426
429
|
# connection_name: "ConnectionName", # required
|
427
430
|
# tags: [
|
428
431
|
# {
|
@@ -462,8 +465,7 @@ module Aws::CodeStarconnections
|
|
462
465
|
# </note>
|
463
466
|
#
|
464
467
|
# @option params [required, String] :name
|
465
|
-
# The name of the host to be created.
|
466
|
-
# calling AWS account.
|
468
|
+
# The name of the host to be created.
|
467
469
|
#
|
468
470
|
# @option params [required, String] :provider_type
|
469
471
|
# The name of the installed provider to be associated with your
|
@@ -491,7 +493,7 @@ module Aws::CodeStarconnections
|
|
491
493
|
#
|
492
494
|
# resp = client.create_host({
|
493
495
|
# name: "HostName", # required
|
494
|
-
# provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
496
|
+
# provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer, GitLab
|
495
497
|
# provider_endpoint: "Url", # required
|
496
498
|
# vpc_configuration: {
|
497
499
|
# vpc_id: "VpcId", # required
|
@@ -597,7 +599,7 @@ module Aws::CodeStarconnections
|
|
597
599
|
#
|
598
600
|
# resp.connection.connection_name #=> String
|
599
601
|
# resp.connection.connection_arn #=> String
|
600
|
-
# resp.connection.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
602
|
+
# resp.connection.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer", "GitLab"
|
601
603
|
# resp.connection.owner_account_id #=> String
|
602
604
|
# resp.connection.connection_status #=> String, one of "PENDING", "AVAILABLE", "ERROR"
|
603
605
|
# resp.connection.host_arn #=> String
|
@@ -635,7 +637,7 @@ module Aws::CodeStarconnections
|
|
635
637
|
#
|
636
638
|
# resp.name #=> String
|
637
639
|
# resp.status #=> String
|
638
|
-
# resp.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
640
|
+
# resp.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer", "GitLab"
|
639
641
|
# resp.provider_endpoint #=> String
|
640
642
|
# resp.vpc_configuration.vpc_id #=> String
|
641
643
|
# resp.vpc_configuration.subnet_ids #=> Array
|
@@ -682,7 +684,7 @@ module Aws::CodeStarconnections
|
|
682
684
|
# @example Request syntax with placeholder values
|
683
685
|
#
|
684
686
|
# resp = client.list_connections({
|
685
|
-
# provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
687
|
+
# provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer, GitLab
|
686
688
|
# host_arn_filter: "HostArn",
|
687
689
|
# max_results: 1,
|
688
690
|
# next_token: "NextToken",
|
@@ -693,7 +695,7 @@ module Aws::CodeStarconnections
|
|
693
695
|
# resp.connections #=> Array
|
694
696
|
# resp.connections[0].connection_name #=> String
|
695
697
|
# resp.connections[0].connection_arn #=> String
|
696
|
-
# resp.connections[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
698
|
+
# resp.connections[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer", "GitLab"
|
697
699
|
# resp.connections[0].owner_account_id #=> String
|
698
700
|
# resp.connections[0].connection_status #=> String, one of "PENDING", "AVAILABLE", "ERROR"
|
699
701
|
# resp.connections[0].host_arn #=> String
|
@@ -738,7 +740,7 @@ module Aws::CodeStarconnections
|
|
738
740
|
# resp.hosts #=> Array
|
739
741
|
# resp.hosts[0].name #=> String
|
740
742
|
# resp.hosts[0].host_arn #=> String
|
741
|
-
# resp.hosts[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
743
|
+
# resp.hosts[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer", "GitLab"
|
742
744
|
# resp.hosts[0].provider_endpoint #=> String
|
743
745
|
# resp.hosts[0].vpc_configuration.vpc_id #=> String
|
744
746
|
# resp.hosts[0].vpc_configuration.subnet_ids #=> Array
|
@@ -824,7 +826,7 @@ module Aws::CodeStarconnections
|
|
824
826
|
req.send_request(options)
|
825
827
|
end
|
826
828
|
|
827
|
-
# Removes tags from an
|
829
|
+
# Removes tags from an Amazon Web Services resource.
|
828
830
|
#
|
829
831
|
# @option params [required, String] :resource_arn
|
830
832
|
# The Amazon Resource Name (ARN) of the resource to remove tags from.
|
@@ -900,7 +902,7 @@ module Aws::CodeStarconnections
|
|
900
902
|
params: params,
|
901
903
|
config: config)
|
902
904
|
context[:gem_name] = 'aws-sdk-codestarconnections'
|
903
|
-
context[:gem_version] = '1.
|
905
|
+
context[:gem_version] = '1.32.0'
|
904
906
|
Seahorse::Client::Request.new(handlers, context)
|
905
907
|
end
|
906
908
|
|
@@ -301,6 +301,7 @@ module Aws::CodeStarconnections
|
|
301
301
|
o.http_request_uri = "/"
|
302
302
|
o.input = Shapes::ShapeRef.new(shape: ListConnectionsInput)
|
303
303
|
o.output = Shapes::ShapeRef.new(shape: ListConnectionsOutput)
|
304
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
304
305
|
o[:pager] = Aws::Pager.new(
|
305
306
|
limit_key: "max_results",
|
306
307
|
tokens: {
|
@@ -14,36 +14,39 @@ module Aws::CodeStarconnections
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
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
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
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"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
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"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codestar-connections-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codestar-connections-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codestar-connections.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codestar-connections.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://codestar-connections.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -24,7 +24,7 @@ module Aws::CodeStarconnections
|
|
24
24
|
end
|
25
25
|
|
26
26
|
# A resource that is used to connect third-party source providers with
|
27
|
-
# services like
|
27
|
+
# services like CodePipeline.
|
28
28
|
#
|
29
29
|
# Note: A connection created through CloudFormation, the CLI, or the SDK
|
30
30
|
# is in `PENDING` status by default. You can make its status
|
@@ -32,13 +32,13 @@ module Aws::CodeStarconnections
|
|
32
32
|
#
|
33
33
|
# @!attribute [rw] connection_name
|
34
34
|
# The name of the connection. Connection names must be unique in an
|
35
|
-
#
|
35
|
+
# Amazon Web Services account.
|
36
36
|
# @return [String]
|
37
37
|
#
|
38
38
|
# @!attribute [rw] connection_arn
|
39
39
|
# The Amazon Resource Name (ARN) of the connection. The ARN is used as
|
40
|
-
# the connection reference when the connection is shared between
|
41
|
-
#
|
40
|
+
# the connection reference when the connection is shared between
|
41
|
+
# Amazon Web Services.
|
42
42
|
#
|
43
43
|
# <note markdown="1"> The ARN is never reused if the connection is deleted.
|
44
44
|
#
|
@@ -84,8 +84,7 @@ module Aws::CodeStarconnections
|
|
84
84
|
# @return [String]
|
85
85
|
#
|
86
86
|
# @!attribute [rw] connection_name
|
87
|
-
# The name of the connection to be created.
|
88
|
-
# the calling AWS account.
|
87
|
+
# The name of the connection to be created.
|
89
88
|
# @return [String]
|
90
89
|
#
|
91
90
|
# @!attribute [rw] tags
|
@@ -111,7 +110,7 @@ module Aws::CodeStarconnections
|
|
111
110
|
# @!attribute [rw] connection_arn
|
112
111
|
# The Amazon Resource Name (ARN) of the connection to be created. The
|
113
112
|
# ARN is used as the connection reference when the connection is
|
114
|
-
# shared between
|
113
|
+
# shared between Amazon Web Services services.
|
115
114
|
#
|
116
115
|
# <note markdown="1"> The ARN is never reused if the connection is deleted.
|
117
116
|
#
|
@@ -132,8 +131,7 @@ module Aws::CodeStarconnections
|
|
132
131
|
end
|
133
132
|
|
134
133
|
# @!attribute [rw] name
|
135
|
-
# The name of the host to be created.
|
136
|
-
# calling AWS account.
|
134
|
+
# The name of the host to be created.
|
137
135
|
# @return [String]
|
138
136
|
#
|
139
137
|
# @!attribute [rw] provider_type
|
@@ -511,7 +509,8 @@ module Aws::CodeStarconnections
|
|
511
509
|
|
512
510
|
# A tag is a key-value pair that is used to manage the resource.
|
513
511
|
#
|
514
|
-
# This tag is available for use by
|
512
|
+
# This tag is available for use by Amazon Web Services services that
|
513
|
+
# support tags.
|
515
514
|
#
|
516
515
|
# @!attribute [rw] key
|
517
516
|
# The tag's key.
|
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.
|
4
|
+
version: 1.32.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: 2023-07-
|
11
|
+
date: 2023-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|