aws-sdk-codestarconnections 1.7.0 → 1.12.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/lib/aws-sdk-codestarconnections.rb +3 -2
- data/lib/aws-sdk-codestarconnections/client.rb +68 -16
- data/lib/aws-sdk-codestarconnections/client_api.rb +30 -0
- data/lib/aws-sdk-codestarconnections/errors.rb +32 -0
- data/lib/aws-sdk-codestarconnections/types.rb +74 -5
- 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: 0e2ba8e436a92f014fe24a00248387f2f3bd8e47fec4f7f6bba9650d2bdf997b
|
4
|
+
data.tar.gz: 9e4fdceb2827ca107a1f0f8f8bc05d7bdc1bb9a2f3a50480752648eb5a5eb2cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a5b43ede63d06f33492e52a7cb17b5808bcaedce3c96ec671a13180e2b24c924dd8b03826ef5b4450edb64d4bbea3316a74a9d1f40231d0b7330a28fc5a994e
|
7
|
+
data.tar.gz: e2a203fbb5e683cacfdf5d425a0d7f8dc26047aa536dc5c8eca28e3b5679f8d38974c4fb4fea6b90eb0b53529dd3a18bed5833d081e190098522930268d4f7bd
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-codestarconnections/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::CodeStarconnections
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.12.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::CodeStarconnections
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::CodeStarconnections
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -329,7 +344,7 @@ module Aws::CodeStarconnections
|
|
329
344
|
#
|
330
345
|
# @option params [String] :provider_type
|
331
346
|
# The name of the external provider where your third-party code
|
332
|
-
# repository is configured.
|
347
|
+
# repository is configured.
|
333
348
|
#
|
334
349
|
# @option params [required, String] :connection_name
|
335
350
|
# The name of the connection to be created. The name must be unique in
|
@@ -350,7 +365,7 @@ module Aws::CodeStarconnections
|
|
350
365
|
# @example Request syntax with placeholder values
|
351
366
|
#
|
352
367
|
# resp = client.create_connection({
|
353
|
-
# provider_type: "Bitbucket", # accepts Bitbucket, GitHubEnterpriseServer
|
368
|
+
# provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
354
369
|
# connection_name: "ConnectionName", # required
|
355
370
|
# tags: [
|
356
371
|
# {
|
@@ -416,7 +431,7 @@ module Aws::CodeStarconnections
|
|
416
431
|
#
|
417
432
|
# resp = client.create_host({
|
418
433
|
# name: "HostName", # required
|
419
|
-
# provider_type: "Bitbucket", # required, accepts Bitbucket, GitHubEnterpriseServer
|
434
|
+
# provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
420
435
|
# provider_endpoint: "Url", # required
|
421
436
|
# vpc_configuration: {
|
422
437
|
# vpc_id: "VpcId", # required
|
@@ -513,7 +528,7 @@ module Aws::CodeStarconnections
|
|
513
528
|
#
|
514
529
|
# resp.connection.connection_name #=> String
|
515
530
|
# resp.connection.connection_arn #=> String
|
516
|
-
# resp.connection.provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
|
531
|
+
# resp.connection.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
517
532
|
# resp.connection.owner_account_id #=> String
|
518
533
|
# resp.connection.connection_status #=> String, one of "PENDING", "AVAILABLE", "ERROR"
|
519
534
|
# resp.connection.host_arn #=> String
|
@@ -551,7 +566,7 @@ module Aws::CodeStarconnections
|
|
551
566
|
#
|
552
567
|
# resp.name #=> String
|
553
568
|
# resp.status #=> String
|
554
|
-
# resp.provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
|
569
|
+
# resp.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
555
570
|
# resp.provider_endpoint #=> String
|
556
571
|
# resp.vpc_configuration.vpc_id #=> String
|
557
572
|
# resp.vpc_configuration.subnet_ids #=> Array
|
@@ -598,7 +613,7 @@ module Aws::CodeStarconnections
|
|
598
613
|
# @example Request syntax with placeholder values
|
599
614
|
#
|
600
615
|
# resp = client.list_connections({
|
601
|
-
# provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHubEnterpriseServer
|
616
|
+
# provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
602
617
|
# host_arn_filter: "HostArn",
|
603
618
|
# max_results: 1,
|
604
619
|
# next_token: "NextToken",
|
@@ -609,7 +624,7 @@ module Aws::CodeStarconnections
|
|
609
624
|
# resp.connections #=> Array
|
610
625
|
# resp.connections[0].connection_name #=> String
|
611
626
|
# resp.connections[0].connection_arn #=> String
|
612
|
-
# resp.connections[0].provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
|
627
|
+
# resp.connections[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
613
628
|
# resp.connections[0].owner_account_id #=> String
|
614
629
|
# resp.connections[0].connection_status #=> String, one of "PENDING", "AVAILABLE", "ERROR"
|
615
630
|
# resp.connections[0].host_arn #=> String
|
@@ -654,7 +669,7 @@ module Aws::CodeStarconnections
|
|
654
669
|
# resp.hosts #=> Array
|
655
670
|
# resp.hosts[0].name #=> String
|
656
671
|
# resp.hosts[0].host_arn #=> String
|
657
|
-
# resp.hosts[0].provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
|
672
|
+
# resp.hosts[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
|
658
673
|
# resp.hosts[0].provider_endpoint #=> String
|
659
674
|
# resp.hosts[0].vpc_configuration.vpc_id #=> String
|
660
675
|
# resp.hosts[0].vpc_configuration.subnet_ids #=> Array
|
@@ -766,6 +781,43 @@ module Aws::CodeStarconnections
|
|
766
781
|
req.send_request(options)
|
767
782
|
end
|
768
783
|
|
784
|
+
# Updates a specified host with the provided configurations.
|
785
|
+
#
|
786
|
+
# @option params [required, String] :host_arn
|
787
|
+
# The Amazon Resource Name (ARN) of the host to be updated.
|
788
|
+
#
|
789
|
+
# @option params [String] :provider_endpoint
|
790
|
+
# The URL or endpoint of the host to be updated.
|
791
|
+
#
|
792
|
+
# @option params [Types::VpcConfiguration] :vpc_configuration
|
793
|
+
# The VPC configuration of the host to be updated. A VPC must be
|
794
|
+
# configured and the infrastructure to be represented by the host must
|
795
|
+
# already be connected to the VPC.
|
796
|
+
#
|
797
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
798
|
+
#
|
799
|
+
# @example Request syntax with placeholder values
|
800
|
+
#
|
801
|
+
# resp = client.update_host({
|
802
|
+
# host_arn: "HostArn", # required
|
803
|
+
# provider_endpoint: "Url",
|
804
|
+
# vpc_configuration: {
|
805
|
+
# vpc_id: "VpcId", # required
|
806
|
+
# subnet_ids: ["SubnetId"], # required
|
807
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
808
|
+
# tls_certificate: "TlsCertificate",
|
809
|
+
# },
|
810
|
+
# })
|
811
|
+
#
|
812
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateHost AWS API Documentation
|
813
|
+
#
|
814
|
+
# @overload update_host(params = {})
|
815
|
+
# @param [Hash] params ({})
|
816
|
+
def update_host(params = {}, options = {})
|
817
|
+
req = build_request(:update_host, params)
|
818
|
+
req.send_request(options)
|
819
|
+
end
|
820
|
+
|
769
821
|
# @!endgroup
|
770
822
|
|
771
823
|
# @param params ({})
|
@@ -779,7 +831,7 @@ module Aws::CodeStarconnections
|
|
779
831
|
params: params,
|
780
832
|
config: config)
|
781
833
|
context[:gem_name] = 'aws-sdk-codestarconnections'
|
782
|
-
context[:gem_version] = '1.
|
834
|
+
context[:gem_version] = '1.12.0'
|
783
835
|
Seahorse::Client::Request.new(handlers, context)
|
784
836
|
end
|
785
837
|
|
@@ -15,6 +15,7 @@ module Aws::CodeStarconnections
|
|
15
15
|
|
16
16
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
17
17
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
18
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
18
19
|
Connection = Shapes::StructureShape.new(name: 'Connection')
|
19
20
|
ConnectionArn = Shapes::StringShape.new(name: 'ConnectionArn')
|
20
21
|
ConnectionList = Shapes::ListShape.new(name: 'ConnectionList')
|
@@ -63,12 +64,18 @@ module Aws::CodeStarconnections
|
|
63
64
|
TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
|
64
65
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
65
66
|
TlsCertificate = Shapes::StringShape.new(name: 'TlsCertificate')
|
67
|
+
UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
|
66
68
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
67
69
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
70
|
+
UpdateHostInput = Shapes::StructureShape.new(name: 'UpdateHostInput')
|
71
|
+
UpdateHostOutput = Shapes::StructureShape.new(name: 'UpdateHostOutput')
|
68
72
|
Url = Shapes::StringShape.new(name: 'Url')
|
69
73
|
VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
|
70
74
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
71
75
|
|
76
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
77
|
+
ConflictException.struct_class = Types::ConflictException
|
78
|
+
|
72
79
|
Connection.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
|
73
80
|
Connection.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn"))
|
74
81
|
Connection.add_member(:provider_type, Shapes::ShapeRef.new(shape: ProviderType, location_name: "ProviderType"))
|
@@ -186,12 +193,22 @@ module Aws::CodeStarconnections
|
|
186
193
|
|
187
194
|
TagResourceOutput.struct_class = Types::TagResourceOutput
|
188
195
|
|
196
|
+
UnsupportedOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
197
|
+
UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
|
198
|
+
|
189
199
|
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceArn"))
|
190
200
|
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
191
201
|
UntagResourceInput.struct_class = Types::UntagResourceInput
|
192
202
|
|
193
203
|
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
194
204
|
|
205
|
+
UpdateHostInput.add_member(:host_arn, Shapes::ShapeRef.new(shape: HostArn, required: true, location_name: "HostArn"))
|
206
|
+
UpdateHostInput.add_member(:provider_endpoint, Shapes::ShapeRef.new(shape: Url, location_name: "ProviderEndpoint"))
|
207
|
+
UpdateHostInput.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "VpcConfiguration"))
|
208
|
+
UpdateHostInput.struct_class = Types::UpdateHostInput
|
209
|
+
|
210
|
+
UpdateHostOutput.struct_class = Types::UpdateHostOutput
|
211
|
+
|
195
212
|
VpcConfiguration.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
196
213
|
VpcConfiguration.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
|
197
214
|
VpcConfiguration.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
|
@@ -273,6 +290,7 @@ module Aws::CodeStarconnections
|
|
273
290
|
o.input = Shapes::ShapeRef.new(shape: GetHostInput)
|
274
291
|
o.output = Shapes::ShapeRef.new(shape: GetHostOutput)
|
275
292
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
293
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
276
294
|
end)
|
277
295
|
|
278
296
|
api.add_operation(:list_connections, Seahorse::Model::Operation.new.tap do |o|
|
@@ -330,6 +348,18 @@ module Aws::CodeStarconnections
|
|
330
348
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
|
331
349
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
332
350
|
end)
|
351
|
+
|
352
|
+
api.add_operation(:update_host, Seahorse::Model::Operation.new.tap do |o|
|
353
|
+
o.name = "UpdateHost"
|
354
|
+
o.http_method = "POST"
|
355
|
+
o.http_request_uri = "/"
|
356
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateHostInput)
|
357
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateHostOutput)
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
|
362
|
+
end)
|
333
363
|
end
|
334
364
|
|
335
365
|
end
|
@@ -27,9 +27,11 @@ module Aws::CodeStarconnections
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {ConflictException}
|
30
31
|
# * {LimitExceededException}
|
31
32
|
# * {ResourceNotFoundException}
|
32
33
|
# * {ResourceUnavailableException}
|
34
|
+
# * {UnsupportedOperationException}
|
33
35
|
#
|
34
36
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
35
37
|
# if they are not defined above.
|
@@ -37,6 +39,21 @@ module Aws::CodeStarconnections
|
|
37
39
|
|
38
40
|
extend Aws::Errors::DynamicErrors
|
39
41
|
|
42
|
+
class ConflictException < ServiceError
|
43
|
+
|
44
|
+
# @param [Seahorse::Client::RequestContext] context
|
45
|
+
# @param [String] message
|
46
|
+
# @param [Aws::CodeStarconnections::Types::ConflictException] data
|
47
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
48
|
+
super(context, message, data)
|
49
|
+
end
|
50
|
+
|
51
|
+
# @return [String]
|
52
|
+
def message
|
53
|
+
@message || @data[:message]
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
40
57
|
class LimitExceededException < ServiceError
|
41
58
|
|
42
59
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -82,5 +99,20 @@ module Aws::CodeStarconnections
|
|
82
99
|
end
|
83
100
|
end
|
84
101
|
|
102
|
+
class UnsupportedOperationException < ServiceError
|
103
|
+
|
104
|
+
# @param [Seahorse::Client::RequestContext] context
|
105
|
+
# @param [String] message
|
106
|
+
# @param [Aws::CodeStarconnections::Types::UnsupportedOperationException] data
|
107
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
108
|
+
super(context, message, data)
|
109
|
+
end
|
110
|
+
|
111
|
+
# @return [String]
|
112
|
+
def message
|
113
|
+
@message || @data[:message]
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
85
117
|
end
|
86
118
|
end
|
@@ -10,6 +10,19 @@
|
|
10
10
|
module Aws::CodeStarconnections
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Two conflicting operations have been made on the same resource.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ConflictException AWS API Documentation
|
19
|
+
#
|
20
|
+
class ConflictException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
13
26
|
# A resource that is used to connect third-party source providers with
|
14
27
|
# services like AWS CodePipeline.
|
15
28
|
#
|
@@ -34,7 +47,7 @@ module Aws::CodeStarconnections
|
|
34
47
|
#
|
35
48
|
# @!attribute [rw] provider_type
|
36
49
|
# The name of the external provider where your third-party code
|
37
|
-
# repository is configured.
|
50
|
+
# repository is configured.
|
38
51
|
# @return [String]
|
39
52
|
#
|
40
53
|
# @!attribute [rw] owner_account_id
|
@@ -69,7 +82,7 @@ module Aws::CodeStarconnections
|
|
69
82
|
# data as a hash:
|
70
83
|
#
|
71
84
|
# {
|
72
|
-
# provider_type: "Bitbucket", # accepts Bitbucket, GitHubEnterpriseServer
|
85
|
+
# provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
73
86
|
# connection_name: "ConnectionName", # required
|
74
87
|
# tags: [
|
75
88
|
# {
|
@@ -82,7 +95,7 @@ module Aws::CodeStarconnections
|
|
82
95
|
#
|
83
96
|
# @!attribute [rw] provider_type
|
84
97
|
# The name of the external provider where your third-party code
|
85
|
-
# repository is configured.
|
98
|
+
# repository is configured.
|
86
99
|
# @return [String]
|
87
100
|
#
|
88
101
|
# @!attribute [rw] connection_name
|
@@ -138,7 +151,7 @@ module Aws::CodeStarconnections
|
|
138
151
|
#
|
139
152
|
# {
|
140
153
|
# name: "HostName", # required
|
141
|
-
# provider_type: "Bitbucket", # required, accepts Bitbucket, GitHubEnterpriseServer
|
154
|
+
# provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
142
155
|
# provider_endpoint: "Url", # required
|
143
156
|
# vpc_configuration: {
|
144
157
|
# vpc_id: "VpcId", # required
|
@@ -404,7 +417,7 @@ module Aws::CodeStarconnections
|
|
404
417
|
# data as a hash:
|
405
418
|
#
|
406
419
|
# {
|
407
|
-
# provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHubEnterpriseServer
|
420
|
+
# provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
|
408
421
|
# host_arn_filter: "HostArn",
|
409
422
|
# max_results: 1,
|
410
423
|
# next_token: "NextToken",
|
@@ -635,6 +648,20 @@ module Aws::CodeStarconnections
|
|
635
648
|
#
|
636
649
|
class TagResourceOutput < Aws::EmptyStructure; end
|
637
650
|
|
651
|
+
# The operation is not supported. Check the connection status and try
|
652
|
+
# again.
|
653
|
+
#
|
654
|
+
# @!attribute [rw] message
|
655
|
+
# @return [String]
|
656
|
+
#
|
657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UnsupportedOperationException AWS API Documentation
|
658
|
+
#
|
659
|
+
class UnsupportedOperationException < Struct.new(
|
660
|
+
:message)
|
661
|
+
SENSITIVE = []
|
662
|
+
include Aws::Structure
|
663
|
+
end
|
664
|
+
|
638
665
|
# @note When making an API call, you may pass UntagResourceInput
|
639
666
|
# data as a hash:
|
640
667
|
#
|
@@ -664,6 +691,48 @@ module Aws::CodeStarconnections
|
|
664
691
|
#
|
665
692
|
class UntagResourceOutput < Aws::EmptyStructure; end
|
666
693
|
|
694
|
+
# @note When making an API call, you may pass UpdateHostInput
|
695
|
+
# data as a hash:
|
696
|
+
#
|
697
|
+
# {
|
698
|
+
# host_arn: "HostArn", # required
|
699
|
+
# provider_endpoint: "Url",
|
700
|
+
# vpc_configuration: {
|
701
|
+
# vpc_id: "VpcId", # required
|
702
|
+
# subnet_ids: ["SubnetId"], # required
|
703
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
704
|
+
# tls_certificate: "TlsCertificate",
|
705
|
+
# },
|
706
|
+
# }
|
707
|
+
#
|
708
|
+
# @!attribute [rw] host_arn
|
709
|
+
# The Amazon Resource Name (ARN) of the host to be updated.
|
710
|
+
# @return [String]
|
711
|
+
#
|
712
|
+
# @!attribute [rw] provider_endpoint
|
713
|
+
# The URL or endpoint of the host to be updated.
|
714
|
+
# @return [String]
|
715
|
+
#
|
716
|
+
# @!attribute [rw] vpc_configuration
|
717
|
+
# The VPC configuration of the host to be updated. A VPC must be
|
718
|
+
# configured and the infrastructure to be represented by the host must
|
719
|
+
# already be connected to the VPC.
|
720
|
+
# @return [Types::VpcConfiguration]
|
721
|
+
#
|
722
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateHostInput AWS API Documentation
|
723
|
+
#
|
724
|
+
class UpdateHostInput < Struct.new(
|
725
|
+
:host_arn,
|
726
|
+
:provider_endpoint,
|
727
|
+
:vpc_configuration)
|
728
|
+
SENSITIVE = []
|
729
|
+
include Aws::Structure
|
730
|
+
end
|
731
|
+
|
732
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateHostOutput AWS API Documentation
|
733
|
+
#
|
734
|
+
class UpdateHostOutput < Aws::EmptyStructure; end
|
735
|
+
|
667
736
|
# The VPC configuration provisioned for the host.
|
668
737
|
#
|
669
738
|
# @note When making an API call, you may pass VpcConfiguration
|
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.12.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: 2020-
|
11
|
+
date: 2020-11-23 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|