aws-sdk-codestarconnections 1.9.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0527eee6998688fec1b755a83ef349668c8597f08a2e55bdff992deb258b3d0e
4
- data.tar.gz: 79355a14d281ae49bec9bf5076b5a1f85315e7bdccf620c5d6f414a2dbe360bf
3
+ metadata.gz: e0dc34d8a0d3e3607f7a6fb8fa9851dcede28f4b0185859dd42cbafce82fc5b2
4
+ data.tar.gz: 60a008cc072d8e0c70f32e8a1e2598239042e14f7a252b7bd881cfde709c2128
5
5
  SHA512:
6
- metadata.gz: 74bfbbe78539a9d445764e7e0023d37e3ece35739a59eae4d4d3e3739f1a99e6db2342ffd71a5ee1fce31e4af2423c053f1e55c74ad881fdb3fd3644d3099a31
7
- data.tar.gz: 407c1ac41e644fcfab1f237aa49005e95a9755421bac9c24d7fc85d840ea1a9e084aab35431bb7c9c307b6d40bbef1c406762c6a77065191f9e6f9439fa17d92
6
+ metadata.gz: 7b985ddaf0132142eb13643ef9fffe01d14e4118c6c589af85543962bc7e532a2e41e3087f24dc9fc8b9c44df2f8d82df86cb371cd0765b6d2494b644975f26c
7
+ data.tar.gz: d12d4aac436e5fe80ee13f58e0c65ce25b0de38c324a14e7cc5e2e0fb9ba14ad27afa851efeea7bf361a17f7ed679694e1cc34e0542222b500fc99eaab9e124d
data/CHANGELOG.md ADDED
@@ -0,0 +1,83 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.14.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.13.0 (2021-02-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.12.0 (2020-11-23)
15
+ ------------------
16
+
17
+ * Feature - Added support for the UpdateHost API.
18
+
19
+ 1.11.0 (2020-09-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.10.0 (2020-09-18)
25
+ ------------------
26
+
27
+ * Feature - New integration with the GitHub provider type.
28
+
29
+ 1.9.0 (2020-09-15)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.8.0 (2020-08-25)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.7.0 (2020-06-29)
40
+ ------------------
41
+
42
+ * Feature - Updated and new APIs in support of hosts for connections to installed provider types. New integration with the GitHub Enterprise Server provider type.
43
+
44
+ 1.6.0 (2020-06-23)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.5.1 (2020-06-11)
50
+ ------------------
51
+
52
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
53
+
54
+ 1.5.0 (2020-06-10)
55
+ ------------------
56
+
57
+ * Issue - This version has been yanked. (#2327).
58
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
59
+
60
+ 1.4.0 (2020-05-28)
61
+ ------------------
62
+
63
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
64
+
65
+ 1.3.0 (2020-05-07)
66
+ ------------------
67
+
68
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
69
+
70
+ 1.2.0 (2020-05-06)
71
+ ------------------
72
+
73
+ * Feature - Added support for tagging resources in AWS CodeStar Connections
74
+
75
+ 1.1.0 (2020-03-09)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.0.0 (2019-12-19)
81
+ ------------------
82
+
83
+ * Feature - Initial release of `aws-sdk-codestarconnections`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.14.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-codestarconnections/customizations'
48
48
  # @!group service
49
49
  module Aws::CodeStarconnections
50
50
 
51
- GEM_VERSION = '1.9.0'
51
+ GEM_VERSION = '1.14.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -344,7 +344,7 @@ module Aws::CodeStarconnections
344
344
  #
345
345
  # @option params [String] :provider_type
346
346
  # The name of the external provider where your third-party code
347
- # repository is configured. The valid provider type is Bitbucket.
347
+ # repository is configured.
348
348
  #
349
349
  # @option params [required, String] :connection_name
350
350
  # The name of the connection to be created. The name must be unique in
@@ -365,7 +365,7 @@ module Aws::CodeStarconnections
365
365
  # @example Request syntax with placeholder values
366
366
  #
367
367
  # resp = client.create_connection({
368
- # provider_type: "Bitbucket", # accepts Bitbucket, GitHubEnterpriseServer
368
+ # provider_type: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
369
369
  # connection_name: "ConnectionName", # required
370
370
  # tags: [
371
371
  # {
@@ -431,7 +431,7 @@ module Aws::CodeStarconnections
431
431
  #
432
432
  # resp = client.create_host({
433
433
  # name: "HostName", # required
434
- # provider_type: "Bitbucket", # required, accepts Bitbucket, GitHubEnterpriseServer
434
+ # provider_type: "Bitbucket", # required, accepts Bitbucket, GitHub, GitHubEnterpriseServer
435
435
  # provider_endpoint: "Url", # required
436
436
  # vpc_configuration: {
437
437
  # vpc_id: "VpcId", # required
@@ -528,7 +528,7 @@ module Aws::CodeStarconnections
528
528
  #
529
529
  # resp.connection.connection_name #=> String
530
530
  # resp.connection.connection_arn #=> String
531
- # resp.connection.provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
531
+ # resp.connection.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
532
532
  # resp.connection.owner_account_id #=> String
533
533
  # resp.connection.connection_status #=> String, one of "PENDING", "AVAILABLE", "ERROR"
534
534
  # resp.connection.host_arn #=> String
@@ -566,7 +566,7 @@ module Aws::CodeStarconnections
566
566
  #
567
567
  # resp.name #=> String
568
568
  # resp.status #=> String
569
- # resp.provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
569
+ # resp.provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
570
570
  # resp.provider_endpoint #=> String
571
571
  # resp.vpc_configuration.vpc_id #=> String
572
572
  # resp.vpc_configuration.subnet_ids #=> Array
@@ -613,7 +613,7 @@ module Aws::CodeStarconnections
613
613
  # @example Request syntax with placeholder values
614
614
  #
615
615
  # resp = client.list_connections({
616
- # provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHubEnterpriseServer
616
+ # provider_type_filter: "Bitbucket", # accepts Bitbucket, GitHub, GitHubEnterpriseServer
617
617
  # host_arn_filter: "HostArn",
618
618
  # max_results: 1,
619
619
  # next_token: "NextToken",
@@ -624,7 +624,7 @@ module Aws::CodeStarconnections
624
624
  # resp.connections #=> Array
625
625
  # resp.connections[0].connection_name #=> String
626
626
  # resp.connections[0].connection_arn #=> String
627
- # resp.connections[0].provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
627
+ # resp.connections[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
628
628
  # resp.connections[0].owner_account_id #=> String
629
629
  # resp.connections[0].connection_status #=> String, one of "PENDING", "AVAILABLE", "ERROR"
630
630
  # resp.connections[0].host_arn #=> String
@@ -669,7 +669,7 @@ module Aws::CodeStarconnections
669
669
  # resp.hosts #=> Array
670
670
  # resp.hosts[0].name #=> String
671
671
  # resp.hosts[0].host_arn #=> String
672
- # resp.hosts[0].provider_type #=> String, one of "Bitbucket", "GitHubEnterpriseServer"
672
+ # resp.hosts[0].provider_type #=> String, one of "Bitbucket", "GitHub", "GitHubEnterpriseServer"
673
673
  # resp.hosts[0].provider_endpoint #=> String
674
674
  # resp.hosts[0].vpc_configuration.vpc_id #=> String
675
675
  # resp.hosts[0].vpc_configuration.subnet_ids #=> Array
@@ -781,6 +781,43 @@ module Aws::CodeStarconnections
781
781
  req.send_request(options)
782
782
  end
783
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
+
784
821
  # @!endgroup
785
822
 
786
823
  # @param params ({})
@@ -794,7 +831,7 @@ module Aws::CodeStarconnections
794
831
  params: params,
795
832
  config: config)
796
833
  context[:gem_name] = 'aws-sdk-codestarconnections'
797
- context[:gem_version] = '1.9.0'
834
+ context[:gem_version] = '1.14.0'
798
835
  Seahorse::Client::Request.new(handlers, context)
799
836
  end
800
837
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,13 +3,26 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
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. The valid provider type is Bitbucket.
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. The valid provider type is Bitbucket.
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.9.0
4
+ version: 1.14.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-09-15 00:00:00.000000000 Z
11
+ date: 2021-03-10 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.99.0
22
+ version: 3.112.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.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for AWS CodeStar connections. This gem is part
48
48
  of the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-codestarconnections.rb
56
59
  - lib/aws-sdk-codestarconnections/client.rb
57
60
  - lib/aws-sdk-codestarconnections/client_api.rb