aws-sdk-appregistry 1.4.0 → 1.8.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: 76fde4c9e8f8507383f0d417b2f453ecef3c4d4448223ea336d966d01e53bb4e
4
- data.tar.gz: 8ba1d982dd38af83fdc5675f25f3eb483306a3e01fed6e0114705a20e59eb5b6
3
+ metadata.gz: 26ac98f2fdce8e5a07026ff1fcb86dce9c05b4bf19c533f07750682251557191
4
+ data.tar.gz: b0ebfc1ef181b3905165769edff91582624a89d2fdc8272624552570d7834526
5
5
  SHA512:
6
- metadata.gz: 8958437b78938db671ad7fb76c419b9e2a095f0e7cfad354776f28a8637832e113efed9ec139c95c948b425e6b0a23ef210aab57657d6a0e3a9d15464ebdba20
7
- data.tar.gz: fcc89ec2d72026f11da20fb922df772f70fc53b93f475c5640859b2de9ed52524eafb46c09c80f8ff9670d684f219db264768d2d4e89c0ca00417832099c3997
6
+ metadata.gz: fd11aa289e9f6fdbc6972dc2a20e079c9a8ccb09fcdd696aa9502052d14c4e517bf1b6f183182c73a2997e062de908dc6a3077f4410f3af4288f9c34ddbc1270
7
+ data.tar.gz: 28a5b64ee5df8c0a32d5d41cd127b1761c3b40ca93352b1db193900510cda5b6fffa99cb0b6a92897f439bf6b50ba7cb66fc7d1b8cd606502f11145442f6cf05
data/CHANGELOG.md ADDED
@@ -0,0 +1,48 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.8.0 (2021-09-01)
5
+ ------------------
6
+
7
+ * Feature - Introduction of GetAssociatedResource API and GetApplication response extension for Resource Groups support.
8
+
9
+ 1.7.0 (2021-07-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.6.0 (2021-07-28)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.5.0 (2021-03-10)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.4.0 (2021-02-02)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.3.0 (2020-12-21)
30
+ ------------------
31
+
32
+ * Feature - New API `SyncResouce` to update AppRegistry system tags.
33
+
34
+ 1.2.0 (2020-12-07)
35
+ ------------------
36
+
37
+ * Feature - AWS Service Catalog AppRegistry now supports adding, removing, and listing tags on resources after they are created.
38
+
39
+ 1.1.0 (2020-11-20)
40
+ ------------------
41
+
42
+ * Feature - AWS Service Catalog AppRegistry Documentation update
43
+
44
+ 1.0.0 (2020-11-12)
45
+ ------------------
46
+
47
+ * Feature - Initial release of `aws-sdk-appregistry`.
48
+
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.8.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
 
@@ -698,6 +698,7 @@ module Aws::AppRegistry
698
698
  # * {Types::GetApplicationResponse#last_update_time #last_update_time} => Time
699
699
  # * {Types::GetApplicationResponse#associated_resource_count #associated_resource_count} => Integer
700
700
  # * {Types::GetApplicationResponse#tags #tags} => Hash<String,String>
701
+ # * {Types::GetApplicationResponse#integrations #integrations} => Types::Integrations
701
702
  #
702
703
  # @example Request syntax with placeholder values
703
704
  #
@@ -716,6 +717,9 @@ module Aws::AppRegistry
716
717
  # resp.associated_resource_count #=> Integer
717
718
  # resp.tags #=> Hash
718
719
  # resp.tags["TagKey"] #=> String
720
+ # resp.integrations.resource_group.state #=> String, one of "CREATING", "CREATE_COMPLETE", "CREATE_FAILED", "UPDATING", "UPDATE_COMPLETE", "UPDATE_FAILED"
721
+ # resp.integrations.resource_group.arn #=> String
722
+ # resp.integrations.resource_group.error_message #=> String
719
723
  #
720
724
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication AWS API Documentation
721
725
  #
@@ -726,6 +730,47 @@ module Aws::AppRegistry
726
730
  req.send_request(options)
727
731
  end
728
732
 
733
+ # Gets the resource associated with the application.
734
+ #
735
+ # @option params [required, String] :application
736
+ # The name or ID of the application.
737
+ #
738
+ # @option params [required, String] :resource_type
739
+ # The type of resource associated with the application.
740
+ #
741
+ # @option params [required, String] :resource
742
+ # The name or ID of the resource associated with the application.
743
+ #
744
+ # @return [Types::GetAssociatedResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
745
+ #
746
+ # * {Types::GetAssociatedResourceResponse#resource #resource} => Types::Resource
747
+ #
748
+ # @example Request syntax with placeholder values
749
+ #
750
+ # resp = client.get_associated_resource({
751
+ # application: "ApplicationSpecifier", # required
752
+ # resource_type: "CFN_STACK", # required, accepts CFN_STACK
753
+ # resource: "ResourceSpecifier", # required
754
+ # })
755
+ #
756
+ # @example Response structure
757
+ #
758
+ # resp.resource.name #=> String
759
+ # resp.resource.arn #=> String
760
+ # resp.resource.association_time #=> Time
761
+ # resp.resource.integrations.resource_group.state #=> String, one of "CREATING", "CREATE_COMPLETE", "CREATE_FAILED", "UPDATING", "UPDATE_COMPLETE", "UPDATE_FAILED"
762
+ # resp.resource.integrations.resource_group.arn #=> String
763
+ # resp.resource.integrations.resource_group.error_message #=> String
764
+ #
765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource AWS API Documentation
766
+ #
767
+ # @overload get_associated_resource(params = {})
768
+ # @param [Hash] params ({})
769
+ def get_associated_resource(params = {}, options = {})
770
+ req = build_request(:get_associated_resource, params)
771
+ req.send_request(options)
772
+ end
773
+
729
774
  # Retrieves an attribute group, either by its name or its ID. The
730
775
  # attribute group can be specified either by its unique ID or by its
731
776
  # name.
@@ -983,19 +1028,20 @@ module Aws::AppRegistry
983
1028
  req.send_request(options)
984
1029
  end
985
1030
 
986
- # Syncs the resource with what is currently recorded in App registry.
987
- # Specifically, the resource’s App registry system tags are synced with
988
- # its associated application. The resource is removed if it is not
989
- # associated with the application. The caller must have permissions to
990
- # read and update the resource.
1031
+ # Syncs the resource with current AppRegistry records.
1032
+ #
1033
+ # Specifically, the resource’s AppRegistry system tags sync with its
1034
+ # associated application. We remove the resource's AppRegistry system
1035
+ # tags if it does not associate with the application. The caller must
1036
+ # have permissions to read and update the resource.
991
1037
  #
992
1038
  # @option params [required, String] :resource_type
993
1039
  # The type of resource of which the application will be associated.
994
1040
  #
995
1041
  # @option params [required, String] :resource
996
1042
  # An entity you can work with and specify with a name or ID. Examples
997
- # include an Amazon EC2 instance, an AWS CloudFormation stack, or an
998
- # Amazon S3 bucket.
1043
+ # include an Amazon EC2 instance, an Amazon Web Services CloudFormation
1044
+ # stack, or an Amazon S3 bucket.
999
1045
  #
1000
1046
  # @return [Types::SyncResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1001
1047
  #
@@ -1195,7 +1241,7 @@ module Aws::AppRegistry
1195
1241
  params: params,
1196
1242
  config: config)
1197
1243
  context[:gem_name] = 'aws-sdk-appregistry'
1198
- context[:gem_version] = '1.4.0'
1244
+ context[:gem_version] = '1.8.0'
1199
1245
  Seahorse::Client::Request.new(handlers, context)
1200
1246
  end
1201
1247
 
@@ -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
 
@@ -50,8 +50,11 @@ module Aws::AppRegistry
50
50
  DisassociateResourceResponse = Shapes::StructureShape.new(name: 'DisassociateResourceResponse')
51
51
  GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
52
52
  GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse')
53
+ GetAssociatedResourceRequest = Shapes::StructureShape.new(name: 'GetAssociatedResourceRequest')
54
+ GetAssociatedResourceResponse = Shapes::StructureShape.new(name: 'GetAssociatedResourceResponse')
53
55
  GetAttributeGroupRequest = Shapes::StructureShape.new(name: 'GetAttributeGroupRequest')
54
56
  GetAttributeGroupResponse = Shapes::StructureShape.new(name: 'GetAttributeGroupResponse')
57
+ Integrations = Shapes::StructureShape.new(name: 'Integrations')
55
58
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
56
59
  ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
57
60
  ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
@@ -66,7 +69,11 @@ module Aws::AppRegistry
66
69
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
67
70
  Name = Shapes::StringShape.new(name: 'Name')
68
71
  NextToken = Shapes::StringShape.new(name: 'NextToken')
72
+ Resource = Shapes::StructureShape.new(name: 'Resource')
73
+ ResourceGroup = Shapes::StructureShape.new(name: 'ResourceGroup')
74
+ ResourceGroupState = Shapes::StringShape.new(name: 'ResourceGroupState')
69
75
  ResourceInfo = Shapes::StructureShape.new(name: 'ResourceInfo')
76
+ ResourceIntegrations = Shapes::StructureShape.new(name: 'ResourceIntegrations')
70
77
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
71
78
  ResourceSpecifier = Shapes::StringShape.new(name: 'ResourceSpecifier')
72
79
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -211,8 +218,17 @@ module Aws::AppRegistry
211
218
  GetApplicationResponse.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
212
219
  GetApplicationResponse.add_member(:associated_resource_count, Shapes::ShapeRef.new(shape: AssociationCount, location_name: "associatedResourceCount"))
213
220
  GetApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
221
+ GetApplicationResponse.add_member(:integrations, Shapes::ShapeRef.new(shape: Integrations, location_name: "integrations"))
214
222
  GetApplicationResponse.struct_class = Types::GetApplicationResponse
215
223
 
224
+ GetAssociatedResourceRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
225
+ GetAssociatedResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location: "uri", location_name: "resourceType"))
226
+ GetAssociatedResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceSpecifier, required: true, location: "uri", location_name: "resource"))
227
+ GetAssociatedResourceRequest.struct_class = Types::GetAssociatedResourceRequest
228
+
229
+ GetAssociatedResourceResponse.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "resource"))
230
+ GetAssociatedResourceResponse.struct_class = Types::GetAssociatedResourceResponse
231
+
216
232
  GetAttributeGroupRequest.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroupSpecifier, required: true, location: "uri", location_name: "attributeGroup"))
217
233
  GetAttributeGroupRequest.struct_class = Types::GetAttributeGroupRequest
218
234
 
@@ -226,6 +242,9 @@ module Aws::AppRegistry
226
242
  GetAttributeGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
227
243
  GetAttributeGroupResponse.struct_class = Types::GetAttributeGroupResponse
228
244
 
245
+ Integrations.add_member(:resource_group, Shapes::ShapeRef.new(shape: ResourceGroup, location_name: "resourceGroup"))
246
+ Integrations.struct_class = Types::Integrations
247
+
229
248
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
230
249
  InternalServerException.struct_class = Types::InternalServerException
231
250
 
@@ -269,10 +288,24 @@ module Aws::AppRegistry
269
288
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
270
289
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
271
290
 
291
+ Resource.add_member(:name, Shapes::ShapeRef.new(shape: ResourceSpecifier, location_name: "name"))
292
+ Resource.add_member(:arn, Shapes::ShapeRef.new(shape: StackArn, location_name: "arn"))
293
+ Resource.add_member(:association_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "associationTime"))
294
+ Resource.add_member(:integrations, Shapes::ShapeRef.new(shape: ResourceIntegrations, location_name: "integrations"))
295
+ Resource.struct_class = Types::Resource
296
+
297
+ ResourceGroup.add_member(:state, Shapes::ShapeRef.new(shape: ResourceGroupState, location_name: "state"))
298
+ ResourceGroup.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
299
+ ResourceGroup.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
300
+ ResourceGroup.struct_class = Types::ResourceGroup
301
+
272
302
  ResourceInfo.add_member(:name, Shapes::ShapeRef.new(shape: ResourceSpecifier, location_name: "name"))
273
303
  ResourceInfo.add_member(:arn, Shapes::ShapeRef.new(shape: StackArn, location_name: "arn"))
274
304
  ResourceInfo.struct_class = Types::ResourceInfo
275
305
 
306
+ ResourceIntegrations.add_member(:resource_group, Shapes::ShapeRef.new(shape: ResourceGroup, location_name: "resourceGroup"))
307
+ ResourceIntegrations.struct_class = Types::ResourceIntegrations
308
+
276
309
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
277
310
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
278
311
 
@@ -447,6 +480,17 @@ module Aws::AppRegistry
447
480
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
448
481
  end)
449
482
 
483
+ api.add_operation(:get_associated_resource, Seahorse::Model::Operation.new.tap do |o|
484
+ o.name = "GetAssociatedResource"
485
+ o.http_method = "GET"
486
+ o.http_request_uri = "/applications/{application}/resources/{resourceType}/{resource}"
487
+ o.input = Shapes::ShapeRef.new(shape: GetAssociatedResourceRequest)
488
+ o.output = Shapes::ShapeRef.new(shape: GetAssociatedResourceResponse)
489
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
490
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
491
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
492
+ end)
493
+
450
494
  api.add_operation(:get_attribute_group, Seahorse::Model::Operation.new.tap do |o|
451
495
  o.name = "GetAttributeGroup"
452
496
  o.http_method = "GET"
@@ -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,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,15 +3,16 @@
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::AppRegistry
11
11
  module Types
12
12
 
13
- # Represents a Service Catalog AppRegistry application that is the
14
- # top-level node in a hierarchy of related cloud resource abstractions.
13
+ # Represents a Amazon Web Services Service Catalog AppRegistry
14
+ # application that is the top-level node in a hierarchy of related cloud
15
+ # resource abstractions.
15
16
  #
16
17
  # @!attribute [rw] id
17
18
  # The identifier of the application.
@@ -59,7 +60,8 @@ module Aws::AppRegistry
59
60
  include Aws::Structure
60
61
  end
61
62
 
62
- # Summary of a Service Catalog AppRegistry application.
63
+ # Summary of a Amazon Web Services Service Catalog AppRegistry
64
+ # application.
63
65
  #
64
66
  # @!attribute [rw] id
65
67
  # The identifier of the application.
@@ -197,8 +199,9 @@ module Aws::AppRegistry
197
199
  include Aws::Structure
198
200
  end
199
201
 
200
- # Represents a Service Catalog AppRegistry attribute group that is rich
201
- # metadata which describes an application and its components.
202
+ # Represents a Amazon Web Services Service Catalog AppRegistry attribute
203
+ # group that is rich metadata which describes an application and its
204
+ # components.
202
205
  #
203
206
  # @!attribute [rw] id
204
207
  # The globally unique attribute group identifier of the attribute
@@ -247,7 +250,8 @@ module Aws::AppRegistry
247
250
  include Aws::Structure
248
251
  end
249
252
 
250
- # Summary of a Service Catalog AppRegistry attribute group.
253
+ # Summary of a Amazon Web Services Service Catalog AppRegistry attribute
254
+ # group.
251
255
  #
252
256
  # @!attribute [rw] id
253
257
  # The globally unique attribute group identifier of the attribute
@@ -642,6 +646,11 @@ module Aws::AppRegistry
642
646
  # Key-value pairs associated with the application.
643
647
  # @return [Hash<String,String>]
644
648
  #
649
+ # @!attribute [rw] integrations
650
+ # The information about the integration of the application with other
651
+ # services, such as Resource Groups.
652
+ # @return [Types::Integrations]
653
+ #
645
654
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplicationResponse AWS API Documentation
646
655
  #
647
656
  class GetApplicationResponse < Struct.new(
@@ -652,7 +661,51 @@ module Aws::AppRegistry
652
661
  :creation_time,
653
662
  :last_update_time,
654
663
  :associated_resource_count,
655
- :tags)
664
+ :tags,
665
+ :integrations)
666
+ SENSITIVE = []
667
+ include Aws::Structure
668
+ end
669
+
670
+ # @note When making an API call, you may pass GetAssociatedResourceRequest
671
+ # data as a hash:
672
+ #
673
+ # {
674
+ # application: "ApplicationSpecifier", # required
675
+ # resource_type: "CFN_STACK", # required, accepts CFN_STACK
676
+ # resource: "ResourceSpecifier", # required
677
+ # }
678
+ #
679
+ # @!attribute [rw] application
680
+ # The name or ID of the application.
681
+ # @return [String]
682
+ #
683
+ # @!attribute [rw] resource_type
684
+ # The type of resource associated with the application.
685
+ # @return [String]
686
+ #
687
+ # @!attribute [rw] resource
688
+ # The name or ID of the resource associated with the application.
689
+ # @return [String]
690
+ #
691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResourceRequest AWS API Documentation
692
+ #
693
+ class GetAssociatedResourceRequest < Struct.new(
694
+ :application,
695
+ :resource_type,
696
+ :resource)
697
+ SENSITIVE = []
698
+ include Aws::Structure
699
+ end
700
+
701
+ # @!attribute [rw] resource
702
+ # The resource associated with the application.
703
+ # @return [Types::Resource]
704
+ #
705
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResourceResponse AWS API Documentation
706
+ #
707
+ class GetAssociatedResourceResponse < Struct.new(
708
+ :resource)
656
709
  SENSITIVE = []
657
710
  include Aws::Structure
658
711
  end
@@ -730,6 +783,20 @@ module Aws::AppRegistry
730
783
  include Aws::Structure
731
784
  end
732
785
 
786
+ # The information about the service integration.
787
+ #
788
+ # @!attribute [rw] resource_group
789
+ # The information about the resource group integration.
790
+ # @return [Types::ResourceGroup]
791
+ #
792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/Integrations AWS API Documentation
793
+ #
794
+ class Integrations < Struct.new(
795
+ :resource_group)
796
+ SENSITIVE = []
797
+ include Aws::Structure
798
+ end
799
+
733
800
  # The service is experiencing internal problems.
734
801
  #
735
802
  # @!attribute [rw] message
@@ -970,7 +1037,74 @@ module Aws::AppRegistry
970
1037
  include Aws::Structure
971
1038
  end
972
1039
 
973
- # Information about the resource.
1040
+ # The information about the resource.
1041
+ #
1042
+ # @!attribute [rw] name
1043
+ # The name of the resource.
1044
+ # @return [String]
1045
+ #
1046
+ # @!attribute [rw] arn
1047
+ # The Amazon resource name (ARN) of the resource.
1048
+ # @return [String]
1049
+ #
1050
+ # @!attribute [rw] association_time
1051
+ # The time the resource was associated with the application.
1052
+ # @return [Time]
1053
+ #
1054
+ # @!attribute [rw] integrations
1055
+ # The service integration information about the resource.
1056
+ # @return [Types::ResourceIntegrations]
1057
+ #
1058
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/Resource AWS API Documentation
1059
+ #
1060
+ class Resource < Struct.new(
1061
+ :name,
1062
+ :arn,
1063
+ :association_time,
1064
+ :integrations)
1065
+ SENSITIVE = []
1066
+ include Aws::Structure
1067
+ end
1068
+
1069
+ # The information about the resource group integration.
1070
+ #
1071
+ # @!attribute [rw] state
1072
+ # The state of the propagation process for the resource group. The
1073
+ # states includes:
1074
+ #
1075
+ # `CREATING `if the resource group is in the process of being created.
1076
+ #
1077
+ # `CREATE_COMPLETE` if the resource group was created successfully.
1078
+ #
1079
+ # `CREATE_FAILED` if the resource group failed to be created.
1080
+ #
1081
+ # `UPDATING` if the resource group is in the process of being updated.
1082
+ #
1083
+ # `UPDATE_COMPLETE` if the resource group updated successfully.
1084
+ #
1085
+ # `UPDATE_FAILED` if the resource group could not update successfully.
1086
+ # @return [String]
1087
+ #
1088
+ # @!attribute [rw] arn
1089
+ # The Amazon resource name (ARN) of the resource group.
1090
+ # @return [String]
1091
+ #
1092
+ # @!attribute [rw] error_message
1093
+ # The error message that generates when the propagation process for
1094
+ # the resource group fails.
1095
+ # @return [String]
1096
+ #
1097
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ResourceGroup AWS API Documentation
1098
+ #
1099
+ class ResourceGroup < Struct.new(
1100
+ :state,
1101
+ :arn,
1102
+ :error_message)
1103
+ SENSITIVE = []
1104
+ include Aws::Structure
1105
+ end
1106
+
1107
+ # The information about the resource.
974
1108
  #
975
1109
  # @!attribute [rw] name
976
1110
  # The name of the resource.
@@ -990,6 +1124,20 @@ module Aws::AppRegistry
990
1124
  include Aws::Structure
991
1125
  end
992
1126
 
1127
+ # The service integration information about the resource.
1128
+ #
1129
+ # @!attribute [rw] resource_group
1130
+ # The information about the integration of Resource Groups.
1131
+ # @return [Types::ResourceGroup]
1132
+ #
1133
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ResourceIntegrations AWS API Documentation
1134
+ #
1135
+ class ResourceIntegrations < Struct.new(
1136
+ :resource_group)
1137
+ SENSITIVE = []
1138
+ include Aws::Structure
1139
+ end
1140
+
993
1141
  # The specified resource does not exist.
994
1142
  #
995
1143
  # @!attribute [rw] message
@@ -1030,8 +1178,8 @@ module Aws::AppRegistry
1030
1178
  #
1031
1179
  # @!attribute [rw] resource
1032
1180
  # An entity you can work with and specify with a name or ID. Examples
1033
- # include an Amazon EC2 instance, an AWS CloudFormation stack, or an
1034
- # Amazon S3 bucket.
1181
+ # include an Amazon EC2 instance, an Amazon Web Services
1182
+ # CloudFormation stack, or an Amazon S3 bucket.
1035
1183
  # @return [String]
1036
1184
  #
1037
1185
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResourceRequest AWS API Documentation
@@ -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-appregistry/customizations'
48
48
  # @!group service
49
49
  module Aws::AppRegistry
50
50
 
51
- GEM_VERSION = '1.4.0'
51
+ GEM_VERSION = '1.8.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appregistry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.8.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: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-09-01 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.112.0
22
+ version: 3.120.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.112.0
32
+ version: 3.120.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 Service Catalog App Registry (AppRegistry).
48
48
  This gem is part 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-appregistry.rb
56
59
  - lib/aws-sdk-appregistry/client.rb
57
60
  - lib/aws-sdk-appregistry/client_api.rb
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
63
66
  licenses:
64
67
  - Apache-2.0
65
68
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-appregistry
67
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-appregistry/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appregistry
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appregistry/CHANGELOG.md
68
71
  post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
@@ -73,15 +76,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
76
  requirements:
74
77
  - - ">="
75
78
  - !ruby/object:Gem::Version
76
- version: '0'
79
+ version: '2.3'
77
80
  required_rubygems_version: !ruby/object:Gem::Requirement
78
81
  requirements:
79
82
  - - ">="
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
82
85
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: AWS SDK for Ruby - AppRegistry