aws-sdk-codestarconnections 1.31.0 → 1.33.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codestarconnections/client.rb +15 -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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b03101f009affcc0f3c81ec98747b7ea1d3acde37383bf58f8be2a4222e36609
|
4
|
+
data.tar.gz: 2e551125b7074e4ee74e53e66c3de41ffdf0d9959ed696579494d3387c2f8114
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caff85c93fd8fbc87e31b1e86a33fc416cc4d92898d329a5203a0fb0e30fae32fb86c8c5de87f083ec67590a834155b3d39e7787c71d98dcc00990a63650e1d1
|
7
|
+
data.tar.gz: 29dbb1c0de641ce54660e80e68fbb48f04363f63290238fab126b1a600b979179556eb5a61ae0fbca460592b4f4f7a2f2358abea7d0fbd6232b5e3844abf577c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.33.0 (2023-09-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.32.0 (2023-07-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - New integration with the Gitlab provider type.
|
13
|
+
|
4
14
|
1.31.0 (2023-07-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.33.0
|
@@ -398,18 +398,17 @@ module Aws::CodeStarconnections
|
|
398
398
|
|
399
399
|
# @!group API Operations
|
400
400
|
|
401
|
-
# Creates a connection that can then be given to other
|
402
|
-
# CodePipeline so that it can access third-party
|
403
|
-
# connection is in pending status until the
|
404
|
-
# 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.
|
405
405
|
#
|
406
406
|
# @option params [String] :provider_type
|
407
407
|
# The name of the external provider where your third-party code
|
408
408
|
# repository is configured.
|
409
409
|
#
|
410
410
|
# @option params [required, String] :connection_name
|
411
|
-
# The name of the connection to be created.
|
412
|
-
# the calling AWS account.
|
411
|
+
# The name of the connection to be created.
|
413
412
|
#
|
414
413
|
# @option params [Array<Types::Tag>] :tags
|
415
414
|
# The key-value pair to use when tagging the resource.
|
@@ -426,7 +425,7 @@ module Aws::CodeStarconnections
|
|
426
425
|
# @example Request syntax with placeholder values
|
427
426
|
#
|
428
427
|
# resp = client.create_connection({
|
429
|
-
# provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
428
|
+
# provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer, GitLab
|
430
429
|
# connection_name: "ConnectionName", # required
|
431
430
|
# tags: [
|
432
431
|
# {
|
@@ -466,8 +465,7 @@ module Aws::CodeStarconnections
|
|
466
465
|
# </note>
|
467
466
|
#
|
468
467
|
# @option params [required, String] :name
|
469
|
-
# The name of the host to be created.
|
470
|
-
# calling AWS account.
|
468
|
+
# The name of the host to be created.
|
471
469
|
#
|
472
470
|
# @option params [required, String] :provider_type
|
473
471
|
# The name of the installed provider to be associated with your
|
@@ -495,7 +493,7 @@ module Aws::CodeStarconnections
|
|
495
493
|
#
|
496
494
|
# resp = client.create_host({
|
497
495
|
# name: "HostName", # required
|
498
|
-
# provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
496
|
+
# provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer, GitLab
|
499
497
|
# provider_endpoint: "Url", # required
|
500
498
|
# vpc_configuration: {
|
501
499
|
# vpc_id: "VpcId", # required
|
@@ -601,7 +599,7 @@ module Aws::CodeStarconnections
|
|
601
599
|
#
|
602
600
|
# resp.connection.connection_name #=> String
|
603
601
|
# resp.connection.connection_arn #=> String
|
604
|
-
# resp.connection.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
602
|
+
# resp.connection.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer", "GitLab"
|
605
603
|
# resp.connection.owner_account_id #=> String
|
606
604
|
# resp.connection.connection_status #=> String, one of "PENDING", "AVAILABLE", "ERROR"
|
607
605
|
# resp.connection.host_arn #=> String
|
@@ -639,7 +637,7 @@ module Aws::CodeStarconnections
|
|
639
637
|
#
|
640
638
|
# resp.name #=> String
|
641
639
|
# resp.status #=> String
|
642
|
-
# resp.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
640
|
+
# resp.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer", "GitLab"
|
643
641
|
# resp.provider_endpoint #=> String
|
644
642
|
# resp.vpc_configuration.vpc_id #=> String
|
645
643
|
# resp.vpc_configuration.subnet_ids #=> Array
|
@@ -686,7 +684,7 @@ module Aws::CodeStarconnections
|
|
686
684
|
# @example Request syntax with placeholder values
|
687
685
|
#
|
688
686
|
# resp = client.list_connections({
|
689
|
-
# provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
687
|
+
# provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer, GitLab
|
690
688
|
# host_arn_filter: "HostArn",
|
691
689
|
# max_results: 1,
|
692
690
|
# next_token: "NextToken",
|
@@ -697,7 +695,7 @@ module Aws::CodeStarconnections
|
|
697
695
|
# resp.connections #=> Array
|
698
696
|
# resp.connections[0].connection_name #=> String
|
699
697
|
# resp.connections[0].connection_arn #=> String
|
700
|
-
# resp.connections[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
698
|
+
# resp.connections[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer", "GitLab"
|
701
699
|
# resp.connections[0].owner_account_id #=> String
|
702
700
|
# resp.connections[0].connection_status #=> String, one of "PENDING", "AVAILABLE", "ERROR"
|
703
701
|
# resp.connections[0].host_arn #=> String
|
@@ -742,7 +740,7 @@ module Aws::CodeStarconnections
|
|
742
740
|
# resp.hosts #=> Array
|
743
741
|
# resp.hosts[0].name #=> String
|
744
742
|
# resp.hosts[0].host_arn #=> String
|
745
|
-
# resp.hosts[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
743
|
+
# resp.hosts[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer", "GitLab"
|
746
744
|
# resp.hosts[0].provider_endpoint #=> String
|
747
745
|
# resp.hosts[0].vpc_configuration.vpc_id #=> String
|
748
746
|
# resp.hosts[0].vpc_configuration.subnet_ids #=> Array
|
@@ -828,7 +826,7 @@ module Aws::CodeStarconnections
|
|
828
826
|
req.send_request(options)
|
829
827
|
end
|
830
828
|
|
831
|
-
# Removes tags from an
|
829
|
+
# Removes tags from an Amazon Web Services resource.
|
832
830
|
#
|
833
831
|
# @option params [required, String] :resource_arn
|
834
832
|
# The Amazon Resource Name (ARN) of the resource to remove tags from.
|
@@ -904,7 +902,7 @@ module Aws::CodeStarconnections
|
|
904
902
|
params: params,
|
905
903
|
config: config)
|
906
904
|
context[:gem_name] = 'aws-sdk-codestarconnections'
|
907
|
-
context[:gem_version] = '1.
|
905
|
+
context[:gem_version] = '1.33.0'
|
908
906
|
Seahorse::Client::Request.new(handlers, context)
|
909
907
|
end
|
910
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.33.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-
|
11
|
+
date: 2023-09-27 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.184.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.184.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|