aws-sdk-appregistry 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appregistry/client.rb +61 -7
- data/lib/aws-sdk-appregistry/client_api.rb +46 -3
- data/lib/aws-sdk-appregistry/endpoint_provider.rb +38 -103
- data/lib/aws-sdk-appregistry/endpoints.rb +28 -0
- data/lib/aws-sdk-appregistry/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-appregistry/types.rb +82 -191
- data/lib/aws-sdk-appregistry.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 575ee9d400fa192c16b210d9c0948e32ff94cd960cd665564316a3d55739cea7
|
4
|
+
data.tar.gz: 279a825a34592bb525b6cc45b4cbf170dbffee25a9eb21fd32dd70f2f9344448
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a727db0cccda89d71599908c54e898cbe283048072758436ec944bf69dbab8327cb1b32e39e29214bd190fc1d2a54ae39d02b1dc334a5269aaf5140393ed78e
|
7
|
+
data.tar.gz: 72473760de684020d20c1bd53b4b7b2dc1b8bcc1ed6524d17b95f1cd87358c8a80ea4e25e482e08d00c1d1666c6dc8a18e223640e6367bc46ad8479497811285
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.18.0 (2022-11-17)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - This release adds support for tagged resource associations, which allows you to associate a group of resources with a defined resource tag key and value to the application.
|
15
|
+
|
4
16
|
1.17.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -428,7 +428,7 @@ module Aws::AppRegistry
|
|
428
428
|
#
|
429
429
|
# resp = client.associate_resource({
|
430
430
|
# application: "ApplicationSpecifier", # required
|
431
|
-
# resource_type: "CFN_STACK", # required, accepts CFN_STACK
|
431
|
+
# resource_type: "CFN_STACK", # required, accepts CFN_STACK, RESOURCE_TAG_VALUE
|
432
432
|
# resource: "ResourceSpecifier", # required
|
433
433
|
# })
|
434
434
|
#
|
@@ -700,7 +700,7 @@ module Aws::AppRegistry
|
|
700
700
|
#
|
701
701
|
# resp = client.disassociate_resource({
|
702
702
|
# application: "ApplicationSpecifier", # required
|
703
|
-
# resource_type: "CFN_STACK", # required, accepts CFN_STACK
|
703
|
+
# resource_type: "CFN_STACK", # required, accepts CFN_STACK, RESOURCE_TAG_VALUE
|
704
704
|
# resource: "ResourceSpecifier", # required
|
705
705
|
# })
|
706
706
|
#
|
@@ -790,7 +790,7 @@ module Aws::AppRegistry
|
|
790
790
|
#
|
791
791
|
# resp = client.get_associated_resource({
|
792
792
|
# application: "ApplicationSpecifier", # required
|
793
|
-
# resource_type: "CFN_STACK", # required, accepts CFN_STACK
|
793
|
+
# resource_type: "CFN_STACK", # required, accepts CFN_STACK, RESOURCE_TAG_VALUE
|
794
794
|
# resource: "ResourceSpecifier", # required
|
795
795
|
# })
|
796
796
|
#
|
@@ -858,6 +858,25 @@ module Aws::AppRegistry
|
|
858
858
|
req.send_request(options)
|
859
859
|
end
|
860
860
|
|
861
|
+
# Retrieves a `TagKey` configuration from an account.
|
862
|
+
#
|
863
|
+
# @return [Types::GetConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
864
|
+
#
|
865
|
+
# * {Types::GetConfigurationResponse#configuration #configuration} => Types::AppRegistryConfiguration
|
866
|
+
#
|
867
|
+
# @example Response structure
|
868
|
+
#
|
869
|
+
# resp.configuration.tag_query_configuration.tag_key #=> String
|
870
|
+
#
|
871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration AWS API Documentation
|
872
|
+
#
|
873
|
+
# @overload get_configuration(params = {})
|
874
|
+
# @param [Hash] params ({})
|
875
|
+
def get_configuration(params = {}, options = {})
|
876
|
+
req = build_request(:get_configuration, params)
|
877
|
+
req.send_request(options)
|
878
|
+
end
|
879
|
+
|
861
880
|
# Retrieves a list of all of your applications. Results are paginated.
|
862
881
|
#
|
863
882
|
# @option params [String] :next_token
|
@@ -948,8 +967,15 @@ module Aws::AppRegistry
|
|
948
967
|
req.send_request(options)
|
949
968
|
end
|
950
969
|
|
951
|
-
# Lists all resources that are associated with specified
|
952
|
-
# Results are paginated.
|
970
|
+
# Lists all of the resources that are associated with the specified
|
971
|
+
# application. Results are paginated.
|
972
|
+
#
|
973
|
+
# <note markdown="1"> If you share an application, and a consumer account associates a tag
|
974
|
+
# query to the application, all of the users who can access the
|
975
|
+
# application can also view the tag values in all accounts that are
|
976
|
+
# associated with it using this API.
|
977
|
+
#
|
978
|
+
# </note>
|
953
979
|
#
|
954
980
|
# @option params [required, String] :application
|
955
981
|
# The name or ID of the application.
|
@@ -983,6 +1009,8 @@ module Aws::AppRegistry
|
|
983
1009
|
# resp.resources #=> Array
|
984
1010
|
# resp.resources[0].name #=> String
|
985
1011
|
# resp.resources[0].arn #=> String
|
1012
|
+
# resp.resources[0].resource_type #=> String, one of "CFN_STACK", "RESOURCE_TAG_VALUE"
|
1013
|
+
# resp.resources[0].resource_details.tag_value #=> String
|
986
1014
|
# resp.next_token #=> String
|
987
1015
|
#
|
988
1016
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources AWS API Documentation
|
@@ -1116,6 +1144,32 @@ module Aws::AppRegistry
|
|
1116
1144
|
req.send_request(options)
|
1117
1145
|
end
|
1118
1146
|
|
1147
|
+
# Associates a `TagKey` configuration to an account.
|
1148
|
+
#
|
1149
|
+
# @option params [required, Types::AppRegistryConfiguration] :configuration
|
1150
|
+
# Associates a `TagKey` configuration to an account.
|
1151
|
+
#
|
1152
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1153
|
+
#
|
1154
|
+
# @example Request syntax with placeholder values
|
1155
|
+
#
|
1156
|
+
# resp = client.put_configuration({
|
1157
|
+
# configuration: { # required
|
1158
|
+
# tag_query_configuration: {
|
1159
|
+
# tag_key: "TagKeyConfig",
|
1160
|
+
# },
|
1161
|
+
# },
|
1162
|
+
# })
|
1163
|
+
#
|
1164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration AWS API Documentation
|
1165
|
+
#
|
1166
|
+
# @overload put_configuration(params = {})
|
1167
|
+
# @param [Hash] params ({})
|
1168
|
+
def put_configuration(params = {}, options = {})
|
1169
|
+
req = build_request(:put_configuration, params)
|
1170
|
+
req.send_request(options)
|
1171
|
+
end
|
1172
|
+
|
1119
1173
|
# Syncs the resource with current AppRegistry records.
|
1120
1174
|
#
|
1121
1175
|
# Specifically, the resource’s AppRegistry system tags sync with its
|
@@ -1140,7 +1194,7 @@ module Aws::AppRegistry
|
|
1140
1194
|
# @example Request syntax with placeholder values
|
1141
1195
|
#
|
1142
1196
|
# resp = client.sync_resource({
|
1143
|
-
# resource_type: "CFN_STACK", # required, accepts CFN_STACK
|
1197
|
+
# resource_type: "CFN_STACK", # required, accepts CFN_STACK, RESOURCE_TAG_VALUE
|
1144
1198
|
# resource: "ResourceSpecifier", # required
|
1145
1199
|
# })
|
1146
1200
|
#
|
@@ -1332,7 +1386,7 @@ module Aws::AppRegistry
|
|
1332
1386
|
params: params,
|
1333
1387
|
config: config)
|
1334
1388
|
context[:gem_name] = 'aws-sdk-appregistry'
|
1335
|
-
context[:gem_version] = '1.
|
1389
|
+
context[:gem_version] = '1.19.0'
|
1336
1390
|
Seahorse::Client::Request.new(handlers, context)
|
1337
1391
|
end
|
1338
1392
|
|
@@ -13,6 +13,7 @@ module Aws::AppRegistry
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
AppRegistryConfiguration = Shapes::StructureShape.new(name: 'AppRegistryConfiguration')
|
16
17
|
Application = Shapes::StructureShape.new(name: 'Application')
|
17
18
|
ApplicationArn = Shapes::StringShape.new(name: 'ApplicationArn')
|
18
19
|
ApplicationId = Shapes::StringShape.new(name: 'ApplicationId')
|
@@ -56,6 +57,7 @@ module Aws::AppRegistry
|
|
56
57
|
GetAssociatedResourceResponse = Shapes::StructureShape.new(name: 'GetAssociatedResourceResponse')
|
57
58
|
GetAttributeGroupRequest = Shapes::StructureShape.new(name: 'GetAttributeGroupRequest')
|
58
59
|
GetAttributeGroupResponse = Shapes::StructureShape.new(name: 'GetAttributeGroupResponse')
|
60
|
+
GetConfigurationResponse = Shapes::StructureShape.new(name: 'GetConfigurationResponse')
|
59
61
|
Integrations = Shapes::StructureShape.new(name: 'Integrations')
|
60
62
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
61
63
|
ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
|
@@ -73,7 +75,9 @@ module Aws::AppRegistry
|
|
73
75
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
74
76
|
Name = Shapes::StringShape.new(name: 'Name')
|
75
77
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
78
|
+
PutConfigurationRequest = Shapes::StructureShape.new(name: 'PutConfigurationRequest')
|
76
79
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
80
|
+
ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
|
77
81
|
ResourceGroup = Shapes::StructureShape.new(name: 'ResourceGroup')
|
78
82
|
ResourceGroupState = Shapes::StringShape.new(name: 'ResourceGroupState')
|
79
83
|
ResourceInfo = Shapes::StructureShape.new(name: 'ResourceInfo')
|
@@ -89,7 +93,9 @@ module Aws::AppRegistry
|
|
89
93
|
SyncResourceRequest = Shapes::StructureShape.new(name: 'SyncResourceRequest')
|
90
94
|
SyncResourceResponse = Shapes::StructureShape.new(name: 'SyncResourceResponse')
|
91
95
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
96
|
+
TagKeyConfig = Shapes::StringShape.new(name: 'TagKeyConfig')
|
92
97
|
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
98
|
+
TagQueryConfiguration = Shapes::StructureShape.new(name: 'TagQueryConfiguration')
|
93
99
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
94
100
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
95
101
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
@@ -103,6 +109,9 @@ module Aws::AppRegistry
|
|
103
109
|
UpdateAttributeGroupResponse = Shapes::StructureShape.new(name: 'UpdateAttributeGroupResponse')
|
104
110
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
105
111
|
|
112
|
+
AppRegistryConfiguration.add_member(:tag_query_configuration, Shapes::ShapeRef.new(shape: TagQueryConfiguration, location_name: "tagQueryConfiguration"))
|
113
|
+
AppRegistryConfiguration.struct_class = Types::AppRegistryConfiguration
|
114
|
+
|
106
115
|
Application.add_member(:id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "id"))
|
107
116
|
Application.add_member(:arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "arn"))
|
108
117
|
Application.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
@@ -150,7 +159,7 @@ module Aws::AppRegistry
|
|
150
159
|
|
151
160
|
AttributeGroupDetails.add_member(:id, Shapes::ShapeRef.new(shape: AttributeGroupId, location_name: "id"))
|
152
161
|
AttributeGroupDetails.add_member(:arn, Shapes::ShapeRef.new(shape: AttributeGroupArn, location_name: "arn"))
|
153
|
-
AttributeGroupDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
162
|
+
AttributeGroupDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, deprecated: true, location_name: "name", metadata: {"deprecatedMessage"=>"This field is deprecated. We recommend not using the field when using ListAttributeGroupsForApplication."}))
|
154
163
|
AttributeGroupDetails.struct_class = Types::AttributeGroupDetails
|
155
164
|
|
156
165
|
AttributeGroupDetailsList.member = Shapes::ShapeRef.new(shape: AttributeGroupDetails)
|
@@ -253,6 +262,9 @@ module Aws::AppRegistry
|
|
253
262
|
GetAttributeGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
254
263
|
GetAttributeGroupResponse.struct_class = Types::GetAttributeGroupResponse
|
255
264
|
|
265
|
+
GetConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: AppRegistryConfiguration, location_name: "configuration"))
|
266
|
+
GetConfigurationResponse.struct_class = Types::GetConfigurationResponse
|
267
|
+
|
256
268
|
Integrations.add_member(:resource_group, Shapes::ShapeRef.new(shape: ResourceGroup, location_name: "resourceGroup"))
|
257
269
|
Integrations.struct_class = Types::Integrations
|
258
270
|
|
@@ -308,19 +320,27 @@ module Aws::AppRegistry
|
|
308
320
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
309
321
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
310
322
|
|
323
|
+
PutConfigurationRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: AppRegistryConfiguration, required: true, location_name: "configuration"))
|
324
|
+
PutConfigurationRequest.struct_class = Types::PutConfigurationRequest
|
325
|
+
|
311
326
|
Resource.add_member(:name, Shapes::ShapeRef.new(shape: ResourceSpecifier, location_name: "name"))
|
312
327
|
Resource.add_member(:arn, Shapes::ShapeRef.new(shape: StackArn, location_name: "arn"))
|
313
328
|
Resource.add_member(:association_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "associationTime"))
|
314
329
|
Resource.add_member(:integrations, Shapes::ShapeRef.new(shape: ResourceIntegrations, location_name: "integrations"))
|
315
330
|
Resource.struct_class = Types::Resource
|
316
331
|
|
332
|
+
ResourceDetails.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValue, location_name: "tagValue"))
|
333
|
+
ResourceDetails.struct_class = Types::ResourceDetails
|
334
|
+
|
317
335
|
ResourceGroup.add_member(:state, Shapes::ShapeRef.new(shape: ResourceGroupState, location_name: "state"))
|
318
336
|
ResourceGroup.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
|
319
337
|
ResourceGroup.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
|
320
338
|
ResourceGroup.struct_class = Types::ResourceGroup
|
321
339
|
|
322
340
|
ResourceInfo.add_member(:name, Shapes::ShapeRef.new(shape: ResourceSpecifier, location_name: "name"))
|
323
|
-
ResourceInfo.add_member(:arn, Shapes::ShapeRef.new(shape:
|
341
|
+
ResourceInfo.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
|
342
|
+
ResourceInfo.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
343
|
+
ResourceInfo.add_member(:resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "resourceDetails"))
|
324
344
|
ResourceInfo.struct_class = Types::ResourceInfo
|
325
345
|
|
326
346
|
ResourceIntegrations.add_member(:resource_group, Shapes::ShapeRef.new(shape: ResourceGroup, location_name: "resourceGroup"))
|
@@ -345,6 +365,9 @@ module Aws::AppRegistry
|
|
345
365
|
|
346
366
|
TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
|
347
367
|
|
368
|
+
TagQueryConfiguration.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKeyConfig, location_name: "tagKey"))
|
369
|
+
TagQueryConfiguration.struct_class = Types::TagQueryConfiguration
|
370
|
+
|
348
371
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
349
372
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
|
350
373
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
@@ -528,6 +551,15 @@ module Aws::AppRegistry
|
|
528
551
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
529
552
|
end)
|
530
553
|
|
554
|
+
api.add_operation(:get_configuration, Seahorse::Model::Operation.new.tap do |o|
|
555
|
+
o.name = "GetConfiguration"
|
556
|
+
o.http_method = "GET"
|
557
|
+
o.http_request_uri = "/configuration"
|
558
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
559
|
+
o.output = Shapes::ShapeRef.new(shape: GetConfigurationResponse)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
561
|
+
end)
|
562
|
+
|
531
563
|
api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
|
532
564
|
o.name = "ListApplications"
|
533
565
|
o.http_method = "GET"
|
@@ -622,6 +654,17 @@ module Aws::AppRegistry
|
|
622
654
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
623
655
|
end)
|
624
656
|
|
657
|
+
api.add_operation(:put_configuration, Seahorse::Model::Operation.new.tap do |o|
|
658
|
+
o.name = "PutConfiguration"
|
659
|
+
o.http_method = "PUT"
|
660
|
+
o.http_request_uri = "/configuration"
|
661
|
+
o.input = Shapes::ShapeRef.new(shape: PutConfigurationRequest)
|
662
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
663
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
664
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
666
|
+
end)
|
667
|
+
|
625
668
|
api.add_operation(:sync_resource, Seahorse::Model::Operation.new.tap do |o|
|
626
669
|
o.name = "SyncResource"
|
627
670
|
o.http_method = "POST"
|
@@ -663,8 +706,8 @@ module Aws::AppRegistry
|
|
663
706
|
o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse)
|
664
707
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
665
708
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
666
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
667
709
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
710
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
668
711
|
end)
|
669
712
|
|
670
713
|
api.add_operation(:update_attribute_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -9,111 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::AppRegistry
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
39
|
+
end
|
40
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
41
|
+
end
|
42
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
44
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
45
|
+
end
|
46
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
47
|
+
end
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
49
|
end
|
22
|
-
|
23
|
-
end
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
-
UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwi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ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6
|
104
|
-
IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFjayJdfV19XSwi
|
105
|
-
dHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBv
|
106
|
-
aW50Ijp7InVybCI6Imh0dHBzOi8vc2VydmljZWNhdGFsb2ctYXBwcmVnaXN0
|
107
|
-
cnkue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkdWFsU3RhY2tEbnNTdWZm
|
108
|
-
aXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVu
|
109
|
-
ZHBvaW50In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFj
|
110
|
-
ayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBw
|
111
|
-
b3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25z
|
112
|
-
IjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9zZXJ2aWNlY2F0YWxv
|
113
|
-
Zy1hcHByZWdpc3RyeS57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1
|
114
|
-
ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoi
|
115
|
-
ZW5kcG9pbnQifV19XX0=
|
116
|
-
|
117
|
-
JSON
|
118
53
|
end
|
119
54
|
end
|
@@ -165,6 +165,20 @@ module Aws::AppRegistry
|
|
165
165
|
end
|
166
166
|
end
|
167
167
|
|
168
|
+
class GetConfiguration
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::AppRegistry::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
168
182
|
class ListApplications
|
169
183
|
def self.build(context)
|
170
184
|
unless context.config.regional_endpoint
|
@@ -249,6 +263,20 @@ module Aws::AppRegistry
|
|
249
263
|
end
|
250
264
|
end
|
251
265
|
|
266
|
+
class PutConfiguration
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::AppRegistry::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
252
280
|
class SyncResource
|
253
281
|
def self.build(context)
|
254
282
|
unless context.config.regional_endpoint
|
@@ -78,6 +78,8 @@ module Aws::AppRegistry
|
|
78
78
|
Aws::AppRegistry::Endpoints::GetAssociatedResource.build(context)
|
79
79
|
when :get_attribute_group
|
80
80
|
Aws::AppRegistry::Endpoints::GetAttributeGroup.build(context)
|
81
|
+
when :get_configuration
|
82
|
+
Aws::AppRegistry::Endpoints::GetConfiguration.build(context)
|
81
83
|
when :list_applications
|
82
84
|
Aws::AppRegistry::Endpoints::ListApplications.build(context)
|
83
85
|
when :list_associated_attribute_groups
|
@@ -90,6 +92,8 @@ module Aws::AppRegistry
|
|
90
92
|
Aws::AppRegistry::Endpoints::ListAttributeGroupsForApplication.build(context)
|
91
93
|
when :list_tags_for_resource
|
92
94
|
Aws::AppRegistry::Endpoints::ListTagsForResource.build(context)
|
95
|
+
when :put_configuration
|
96
|
+
Aws::AppRegistry::Endpoints::PutConfiguration.build(context)
|
93
97
|
when :sync_resource
|
94
98
|
Aws::AppRegistry::Endpoints::SyncResource.build(context)
|
95
99
|
when :tag_resource
|
@@ -10,6 +10,20 @@
|
|
10
10
|
module Aws::AppRegistry
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Includes all of the Service Catalog AppRegistry settings.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] tag_query_configuration
|
16
|
+
# Includes the definition of a `tagQuery`.
|
17
|
+
# @return [Types::TagQueryConfiguration]
|
18
|
+
#
|
19
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AppRegistryConfiguration AWS API Documentation
|
20
|
+
#
|
21
|
+
class AppRegistryConfiguration < Struct.new(
|
22
|
+
:tag_query_configuration)
|
23
|
+
SENSITIVE = []
|
24
|
+
include Aws::Structure
|
25
|
+
end
|
26
|
+
|
13
27
|
# Represents a Amazon Web Services Service Catalog AppRegistry
|
14
28
|
# application that is the top-level node in a hierarchy of related cloud
|
15
29
|
# resource abstractions.
|
@@ -104,14 +118,6 @@ module Aws::AppRegistry
|
|
104
118
|
include Aws::Structure
|
105
119
|
end
|
106
120
|
|
107
|
-
# @note When making an API call, you may pass AssociateAttributeGroupRequest
|
108
|
-
# data as a hash:
|
109
|
-
#
|
110
|
-
# {
|
111
|
-
# application: "ApplicationSpecifier", # required
|
112
|
-
# attribute_group: "AttributeGroupSpecifier", # required
|
113
|
-
# }
|
114
|
-
#
|
115
121
|
# @!attribute [rw] application
|
116
122
|
# The name or ID of the application.
|
117
123
|
# @return [String]
|
@@ -149,15 +155,6 @@ module Aws::AppRegistry
|
|
149
155
|
include Aws::Structure
|
150
156
|
end
|
151
157
|
|
152
|
-
# @note When making an API call, you may pass AssociateResourceRequest
|
153
|
-
# data as a hash:
|
154
|
-
#
|
155
|
-
# {
|
156
|
-
# application: "ApplicationSpecifier", # required
|
157
|
-
# resource_type: "CFN_STACK", # required, accepts CFN_STACK
|
158
|
-
# resource: "ResourceSpecifier", # required
|
159
|
-
# }
|
160
|
-
#
|
161
158
|
# @!attribute [rw] application
|
162
159
|
# The name or ID of the application.
|
163
160
|
# @return [String]
|
@@ -261,6 +258,9 @@ module Aws::AppRegistry
|
|
261
258
|
# @return [String]
|
262
259
|
#
|
263
260
|
# @!attribute [rw] name
|
261
|
+
# This field is no longer supported. We recommend you don't use the
|
262
|
+
# field when using `ListAttributeGroupsForApplication`.
|
263
|
+
#
|
264
264
|
# The name of the attribute group.
|
265
265
|
# @return [String]
|
266
266
|
#
|
@@ -333,18 +333,6 @@ module Aws::AppRegistry
|
|
333
333
|
include Aws::Structure
|
334
334
|
end
|
335
335
|
|
336
|
-
# @note When making an API call, you may pass CreateApplicationRequest
|
337
|
-
# data as a hash:
|
338
|
-
#
|
339
|
-
# {
|
340
|
-
# name: "Name", # required
|
341
|
-
# description: "Description",
|
342
|
-
# tags: {
|
343
|
-
# "TagKey" => "TagValue",
|
344
|
-
# },
|
345
|
-
# client_token: "ClientToken", # required
|
346
|
-
# }
|
347
|
-
#
|
348
336
|
# @!attribute [rw] name
|
349
337
|
# The name of the application. The name must be unique in the region
|
350
338
|
# in which you are creating the application.
|
@@ -393,19 +381,6 @@ module Aws::AppRegistry
|
|
393
381
|
include Aws::Structure
|
394
382
|
end
|
395
383
|
|
396
|
-
# @note When making an API call, you may pass CreateAttributeGroupRequest
|
397
|
-
# data as a hash:
|
398
|
-
#
|
399
|
-
# {
|
400
|
-
# name: "Name", # required
|
401
|
-
# description: "Description",
|
402
|
-
# attributes: "Attributes", # required
|
403
|
-
# tags: {
|
404
|
-
# "TagKey" => "TagValue",
|
405
|
-
# },
|
406
|
-
# client_token: "ClientToken", # required
|
407
|
-
# }
|
408
|
-
#
|
409
384
|
# @!attribute [rw] name
|
410
385
|
# The name of the attribute group.
|
411
386
|
# @return [String]
|
@@ -460,13 +435,6 @@ module Aws::AppRegistry
|
|
460
435
|
include Aws::Structure
|
461
436
|
end
|
462
437
|
|
463
|
-
# @note When making an API call, you may pass DeleteApplicationRequest
|
464
|
-
# data as a hash:
|
465
|
-
#
|
466
|
-
# {
|
467
|
-
# application: "ApplicationSpecifier", # required
|
468
|
-
# }
|
469
|
-
#
|
470
438
|
# @!attribute [rw] application
|
471
439
|
# The name or ID of the application.
|
472
440
|
# @return [String]
|
@@ -491,13 +459,6 @@ module Aws::AppRegistry
|
|
491
459
|
include Aws::Structure
|
492
460
|
end
|
493
461
|
|
494
|
-
# @note When making an API call, you may pass DeleteAttributeGroupRequest
|
495
|
-
# data as a hash:
|
496
|
-
#
|
497
|
-
# {
|
498
|
-
# attribute_group: "AttributeGroupSpecifier", # required
|
499
|
-
# }
|
500
|
-
#
|
501
462
|
# @!attribute [rw] attribute_group
|
502
463
|
# The name or ID of the attribute group that holds the attributes to
|
503
464
|
# describe the application.
|
@@ -523,14 +484,6 @@ module Aws::AppRegistry
|
|
523
484
|
include Aws::Structure
|
524
485
|
end
|
525
486
|
|
526
|
-
# @note When making an API call, you may pass DisassociateAttributeGroupRequest
|
527
|
-
# data as a hash:
|
528
|
-
#
|
529
|
-
# {
|
530
|
-
# application: "ApplicationSpecifier", # required
|
531
|
-
# attribute_group: "AttributeGroupSpecifier", # required
|
532
|
-
# }
|
533
|
-
#
|
534
487
|
# @!attribute [rw] application
|
535
488
|
# The name or ID of the application.
|
536
489
|
# @return [String]
|
@@ -566,15 +519,6 @@ module Aws::AppRegistry
|
|
566
519
|
include Aws::Structure
|
567
520
|
end
|
568
521
|
|
569
|
-
# @note When making an API call, you may pass DisassociateResourceRequest
|
570
|
-
# data as a hash:
|
571
|
-
#
|
572
|
-
# {
|
573
|
-
# application: "ApplicationSpecifier", # required
|
574
|
-
# resource_type: "CFN_STACK", # required, accepts CFN_STACK
|
575
|
-
# resource: "ResourceSpecifier", # required
|
576
|
-
# }
|
577
|
-
#
|
578
522
|
# @!attribute [rw] application
|
579
523
|
# The name or ID of the application.
|
580
524
|
# @return [String]
|
@@ -614,13 +558,6 @@ module Aws::AppRegistry
|
|
614
558
|
include Aws::Structure
|
615
559
|
end
|
616
560
|
|
617
|
-
# @note When making an API call, you may pass GetApplicationRequest
|
618
|
-
# data as a hash:
|
619
|
-
#
|
620
|
-
# {
|
621
|
-
# application: "ApplicationSpecifier", # required
|
622
|
-
# }
|
623
|
-
#
|
624
561
|
# @!attribute [rw] application
|
625
562
|
# The name or ID of the application.
|
626
563
|
# @return [String]
|
@@ -691,15 +628,6 @@ module Aws::AppRegistry
|
|
691
628
|
include Aws::Structure
|
692
629
|
end
|
693
630
|
|
694
|
-
# @note When making an API call, you may pass GetAssociatedResourceRequest
|
695
|
-
# data as a hash:
|
696
|
-
#
|
697
|
-
# {
|
698
|
-
# application: "ApplicationSpecifier", # required
|
699
|
-
# resource_type: "CFN_STACK", # required, accepts CFN_STACK
|
700
|
-
# resource: "ResourceSpecifier", # required
|
701
|
-
# }
|
702
|
-
#
|
703
631
|
# @!attribute [rw] application
|
704
632
|
# The name or ID of the application.
|
705
633
|
# @return [String]
|
@@ -734,13 +662,6 @@ module Aws::AppRegistry
|
|
734
662
|
include Aws::Structure
|
735
663
|
end
|
736
664
|
|
737
|
-
# @note When making an API call, you may pass GetAttributeGroupRequest
|
738
|
-
# data as a hash:
|
739
|
-
#
|
740
|
-
# {
|
741
|
-
# attribute_group: "AttributeGroupSpecifier", # required
|
742
|
-
# }
|
743
|
-
#
|
744
665
|
# @!attribute [rw] attribute_group
|
745
666
|
# The name or ID of the attribute group that holds the attributes to
|
746
667
|
# describe the application.
|
@@ -807,6 +728,18 @@ module Aws::AppRegistry
|
|
807
728
|
include Aws::Structure
|
808
729
|
end
|
809
730
|
|
731
|
+
# @!attribute [rw] configuration
|
732
|
+
# Retrieves `TagKey` configuration from an account.
|
733
|
+
# @return [Types::AppRegistryConfiguration]
|
734
|
+
#
|
735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfigurationResponse AWS API Documentation
|
736
|
+
#
|
737
|
+
class GetConfigurationResponse < Struct.new(
|
738
|
+
:configuration)
|
739
|
+
SENSITIVE = []
|
740
|
+
include Aws::Structure
|
741
|
+
end
|
742
|
+
|
810
743
|
# The information about the service integration.
|
811
744
|
#
|
812
745
|
# @!attribute [rw] resource_group
|
@@ -834,14 +767,6 @@ module Aws::AppRegistry
|
|
834
767
|
include Aws::Structure
|
835
768
|
end
|
836
769
|
|
837
|
-
# @note When making an API call, you may pass ListApplicationsRequest
|
838
|
-
# data as a hash:
|
839
|
-
#
|
840
|
-
# {
|
841
|
-
# next_token: "NextToken",
|
842
|
-
# max_results: 1,
|
843
|
-
# }
|
844
|
-
#
|
845
770
|
# @!attribute [rw] next_token
|
846
771
|
# The token to use to get the next page of results after a previous
|
847
772
|
# API call.
|
@@ -880,15 +805,6 @@ module Aws::AppRegistry
|
|
880
805
|
include Aws::Structure
|
881
806
|
end
|
882
807
|
|
883
|
-
# @note When making an API call, you may pass ListAssociatedAttributeGroupsRequest
|
884
|
-
# data as a hash:
|
885
|
-
#
|
886
|
-
# {
|
887
|
-
# application: "ApplicationSpecifier", # required
|
888
|
-
# next_token: "NextToken",
|
889
|
-
# max_results: 1,
|
890
|
-
# }
|
891
|
-
#
|
892
808
|
# @!attribute [rw] application
|
893
809
|
# The name or ID of the application.
|
894
810
|
# @return [String]
|
@@ -932,15 +848,6 @@ module Aws::AppRegistry
|
|
932
848
|
include Aws::Structure
|
933
849
|
end
|
934
850
|
|
935
|
-
# @note When making an API call, you may pass ListAssociatedResourcesRequest
|
936
|
-
# data as a hash:
|
937
|
-
#
|
938
|
-
# {
|
939
|
-
# application: "ApplicationSpecifier", # required
|
940
|
-
# next_token: "NextToken",
|
941
|
-
# max_results: 1,
|
942
|
-
# }
|
943
|
-
#
|
944
851
|
# @!attribute [rw] application
|
945
852
|
# The name or ID of the application.
|
946
853
|
# @return [String]
|
@@ -984,15 +891,6 @@ module Aws::AppRegistry
|
|
984
891
|
include Aws::Structure
|
985
892
|
end
|
986
893
|
|
987
|
-
# @note When making an API call, you may pass ListAttributeGroupsForApplicationRequest
|
988
|
-
# data as a hash:
|
989
|
-
#
|
990
|
-
# {
|
991
|
-
# application: "ApplicationSpecifier", # required
|
992
|
-
# next_token: "NextToken",
|
993
|
-
# max_results: 1,
|
994
|
-
# }
|
995
|
-
#
|
996
894
|
# @!attribute [rw] application
|
997
895
|
# The name or ID of the application.
|
998
896
|
# @return [String]
|
@@ -1019,7 +917,7 @@ module Aws::AppRegistry
|
|
1019
917
|
end
|
1020
918
|
|
1021
919
|
# @!attribute [rw] attribute_groups_details
|
1022
|
-
# The details related to a specific
|
920
|
+
# The details related to a specific attribute group.
|
1023
921
|
# @return [Array<Types::AttributeGroupDetails>]
|
1024
922
|
#
|
1025
923
|
# @!attribute [rw] next_token
|
@@ -1036,14 +934,6 @@ module Aws::AppRegistry
|
|
1036
934
|
include Aws::Structure
|
1037
935
|
end
|
1038
936
|
|
1039
|
-
# @note When making an API call, you may pass ListAttributeGroupsRequest
|
1040
|
-
# data as a hash:
|
1041
|
-
#
|
1042
|
-
# {
|
1043
|
-
# next_token: "NextToken",
|
1044
|
-
# max_results: 1,
|
1045
|
-
# }
|
1046
|
-
#
|
1047
937
|
# @!attribute [rw] next_token
|
1048
938
|
# The token to use to get the next page of results after a previous
|
1049
939
|
# API call.
|
@@ -1082,13 +972,6 @@ module Aws::AppRegistry
|
|
1082
972
|
include Aws::Structure
|
1083
973
|
end
|
1084
974
|
|
1085
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1086
|
-
# data as a hash:
|
1087
|
-
#
|
1088
|
-
# {
|
1089
|
-
# resource_arn: "Arn", # required
|
1090
|
-
# }
|
1091
|
-
#
|
1092
975
|
# @!attribute [rw] resource_arn
|
1093
976
|
# The Amazon resource name (ARN) that specifies the resource.
|
1094
977
|
# @return [String]
|
@@ -1113,6 +996,18 @@ module Aws::AppRegistry
|
|
1113
996
|
include Aws::Structure
|
1114
997
|
end
|
1115
998
|
|
999
|
+
# @!attribute [rw] configuration
|
1000
|
+
# Associates a `TagKey` configuration to an account.
|
1001
|
+
# @return [Types::AppRegistryConfiguration]
|
1002
|
+
#
|
1003
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfigurationRequest AWS API Documentation
|
1004
|
+
#
|
1005
|
+
class PutConfigurationRequest < Struct.new(
|
1006
|
+
:configuration)
|
1007
|
+
SENSITIVE = []
|
1008
|
+
include Aws::Structure
|
1009
|
+
end
|
1010
|
+
|
1116
1011
|
# The information about the resource.
|
1117
1012
|
#
|
1118
1013
|
# @!attribute [rw] name
|
@@ -1142,6 +1037,20 @@ module Aws::AppRegistry
|
|
1142
1037
|
include Aws::Structure
|
1143
1038
|
end
|
1144
1039
|
|
1040
|
+
# The details related to the resource.
|
1041
|
+
#
|
1042
|
+
# @!attribute [rw] tag_value
|
1043
|
+
# The value of the tag.
|
1044
|
+
# @return [String]
|
1045
|
+
#
|
1046
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ResourceDetails AWS API Documentation
|
1047
|
+
#
|
1048
|
+
class ResourceDetails < Struct.new(
|
1049
|
+
:tag_value)
|
1050
|
+
SENSITIVE = []
|
1051
|
+
include Aws::Structure
|
1052
|
+
end
|
1053
|
+
|
1145
1054
|
# The information about the resource group integration.
|
1146
1055
|
#
|
1147
1056
|
# @!attribute [rw] state
|
@@ -1191,11 +1100,22 @@ module Aws::AppRegistry
|
|
1191
1100
|
# services.
|
1192
1101
|
# @return [String]
|
1193
1102
|
#
|
1103
|
+
# @!attribute [rw] resource_type
|
1104
|
+
# Provides information about the Service Catalog App Registry resource
|
1105
|
+
# type.
|
1106
|
+
# @return [String]
|
1107
|
+
#
|
1108
|
+
# @!attribute [rw] resource_details
|
1109
|
+
# The details related to the resource.
|
1110
|
+
# @return [Types::ResourceDetails]
|
1111
|
+
#
|
1194
1112
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ResourceInfo AWS API Documentation
|
1195
1113
|
#
|
1196
1114
|
class ResourceInfo < Struct.new(
|
1197
1115
|
:name,
|
1198
|
-
:arn
|
1116
|
+
:arn,
|
1117
|
+
:resource_type,
|
1118
|
+
:resource_details)
|
1199
1119
|
SENSITIVE = []
|
1200
1120
|
include Aws::Structure
|
1201
1121
|
end
|
@@ -1240,14 +1160,6 @@ module Aws::AppRegistry
|
|
1240
1160
|
include Aws::Structure
|
1241
1161
|
end
|
1242
1162
|
|
1243
|
-
# @note When making an API call, you may pass SyncResourceRequest
|
1244
|
-
# data as a hash:
|
1245
|
-
#
|
1246
|
-
# {
|
1247
|
-
# resource_type: "CFN_STACK", # required, accepts CFN_STACK
|
1248
|
-
# resource: "ResourceSpecifier", # required
|
1249
|
-
# }
|
1250
|
-
#
|
1251
1163
|
# @!attribute [rw] resource_type
|
1252
1164
|
# The type of resource of which the application will be associated.
|
1253
1165
|
# @return [String]
|
@@ -1290,16 +1202,22 @@ module Aws::AppRegistry
|
|
1290
1202
|
include Aws::Structure
|
1291
1203
|
end
|
1292
1204
|
|
1293
|
-
#
|
1294
|
-
#
|
1205
|
+
# The definition of `tagQuery`. Specifies which resources are associated
|
1206
|
+
# with an application.
|
1207
|
+
#
|
1208
|
+
# @!attribute [rw] tag_key
|
1209
|
+
# Condition in the IAM policy that associates resources to an
|
1210
|
+
# application.
|
1211
|
+
# @return [String]
|
1295
1212
|
#
|
1296
|
-
#
|
1297
|
-
# resource_arn: "Arn", # required
|
1298
|
-
# tags: { # required
|
1299
|
-
# "TagKey" => "TagValue",
|
1300
|
-
# },
|
1301
|
-
# }
|
1213
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/TagQueryConfiguration AWS API Documentation
|
1302
1214
|
#
|
1215
|
+
class TagQueryConfiguration < Struct.new(
|
1216
|
+
:tag_key)
|
1217
|
+
SENSITIVE = []
|
1218
|
+
include Aws::Structure
|
1219
|
+
end
|
1220
|
+
|
1303
1221
|
# @!attribute [rw] resource_arn
|
1304
1222
|
# The Amazon resource name (ARN) that specifies the resource.
|
1305
1223
|
# @return [String]
|
@@ -1321,14 +1239,6 @@ module Aws::AppRegistry
|
|
1321
1239
|
#
|
1322
1240
|
class TagResourceResponse < Aws::EmptyStructure; end
|
1323
1241
|
|
1324
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1325
|
-
# data as a hash:
|
1326
|
-
#
|
1327
|
-
# {
|
1328
|
-
# resource_arn: "Arn", # required
|
1329
|
-
# tag_keys: ["TagKey"], # required
|
1330
|
-
# }
|
1331
|
-
#
|
1332
1242
|
# @!attribute [rw] resource_arn
|
1333
1243
|
# The Amazon resource name (ARN) that specifies the resource.
|
1334
1244
|
# @return [String]
|
@@ -1350,15 +1260,6 @@ module Aws::AppRegistry
|
|
1350
1260
|
#
|
1351
1261
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1352
1262
|
|
1353
|
-
# @note When making an API call, you may pass UpdateApplicationRequest
|
1354
|
-
# data as a hash:
|
1355
|
-
#
|
1356
|
-
# {
|
1357
|
-
# application: "ApplicationSpecifier", # required
|
1358
|
-
# name: "Name",
|
1359
|
-
# description: "Description",
|
1360
|
-
# }
|
1361
|
-
#
|
1362
1263
|
# @!attribute [rw] application
|
1363
1264
|
# The name or ID of the application that will be updated.
|
1364
1265
|
# @return [String]
|
@@ -1395,16 +1296,6 @@ module Aws::AppRegistry
|
|
1395
1296
|
include Aws::Structure
|
1396
1297
|
end
|
1397
1298
|
|
1398
|
-
# @note When making an API call, you may pass UpdateAttributeGroupRequest
|
1399
|
-
# data as a hash:
|
1400
|
-
#
|
1401
|
-
# {
|
1402
|
-
# attribute_group: "AttributeGroupSpecifier", # required
|
1403
|
-
# name: "Name",
|
1404
|
-
# description: "Description",
|
1405
|
-
# attributes: "Attributes",
|
1406
|
-
# }
|
1407
|
-
#
|
1408
1299
|
# @!attribute [rw] attribute_group
|
1409
1300
|
# The name or ID of the attribute group that holds the attributes to
|
1410
1301
|
# describe the application.
|
data/lib/aws-sdk-appregistry.rb
CHANGED
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
|
+
version: 1.19.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|