aws-sdk-appregistry 1.26.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appregistry/client.rb +113 -1
- data/lib/aws-sdk-appregistry/client_api.rb +45 -3
- data/lib/aws-sdk-appregistry/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-appregistry/types.rb +127 -8
- data/lib/aws-sdk-appregistry.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 070ebcc183eae586569c85b1439a8d722c7f0b91864e8a9a67a3a1f2d52f4c5b
|
4
|
+
data.tar.gz: 296539b7b1a7323e0baf00471a8cbd294b726853c7f0a2f03816f9e785669043
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a20d51933b38dd7f5fb427cbe9f1d711b134efaa35f977e3495ac9ccd5190219779ab6fc403c0ec4adaa16bd9c926ed4b0695f1ad6ae255d157dd3bd29b9f34
|
7
|
+
data.tar.gz: eb972c62e7d7cd58771bc567c085cb011aa1540092e3e7c79eaa969f3f73beb59949a67ff4e870aabd908102b365e229655c907b799d37dc7f6f8306f90cf4e3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2023-11-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - When the customer associates a resource collection to their application with this new feature, then a new application tag will be applied to all supported resources that are part of that collection. This allows customers to more easily find the application that is associated with those resources.
|
8
|
+
|
9
|
+
1.27.0 (2023-09-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.26.0 (2023-09-19)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -430,6 +430,38 @@ module Aws::AppRegistry
|
|
430
430
|
# specified by its ARN or name. The application can be specified by ARN,
|
431
431
|
# ID, or name.
|
432
432
|
#
|
433
|
+
# **Minimum permissions**
|
434
|
+
#
|
435
|
+
# You must have the following permissions to associate a resource using
|
436
|
+
# the `OPTIONS` parameter set to `APPLY_APPLICATION_TAG`.
|
437
|
+
#
|
438
|
+
# * `tag:GetResources`
|
439
|
+
#
|
440
|
+
# * `tag:TagResources`
|
441
|
+
#
|
442
|
+
# You must also have these additional permissions if you don't use the
|
443
|
+
# `AWSServiceCatalogAppRegistryFullAccess` policy. For more information,
|
444
|
+
# see [AWSServiceCatalogAppRegistryFullAccess][1] in the AppRegistry
|
445
|
+
# Administrator Guide.
|
446
|
+
#
|
447
|
+
# * `resource-groups:DisassociateResource`
|
448
|
+
#
|
449
|
+
# * `cloudformation:UpdateStack`
|
450
|
+
#
|
451
|
+
# * `cloudformation:DescribeStacks`
|
452
|
+
#
|
453
|
+
# <note markdown="1"> In addition, you must have the tagging permission defined by the
|
454
|
+
# Amazon Web Services service that creates the resource. For more
|
455
|
+
# information, see [TagResources][2] in the *Resource Groups Tagging API
|
456
|
+
# Reference*.
|
457
|
+
#
|
458
|
+
# </note>
|
459
|
+
#
|
460
|
+
#
|
461
|
+
#
|
462
|
+
# [1]: https://docs.aws.amazon.com/servicecatalog/latest/arguide/full.html
|
463
|
+
# [2]: https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_TagResources.html
|
464
|
+
#
|
433
465
|
# @option params [required, String] :application
|
434
466
|
# The name, ID, or ARN of the application.
|
435
467
|
#
|
@@ -440,10 +472,14 @@ module Aws::AppRegistry
|
|
440
472
|
# The name or ID of the resource of which the application will be
|
441
473
|
# associated.
|
442
474
|
#
|
475
|
+
# @option params [Array<String>] :options
|
476
|
+
# Determines whether an application tag is applied or skipped.
|
477
|
+
#
|
443
478
|
# @return [Types::AssociateResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
444
479
|
#
|
445
480
|
# * {Types::AssociateResourceResponse#application_arn #application_arn} => String
|
446
481
|
# * {Types::AssociateResourceResponse#resource_arn #resource_arn} => String
|
482
|
+
# * {Types::AssociateResourceResponse#options #options} => Array<String>
|
447
483
|
#
|
448
484
|
# @example Request syntax with placeholder values
|
449
485
|
#
|
@@ -451,12 +487,15 @@ module Aws::AppRegistry
|
|
451
487
|
# application: "ApplicationSpecifier", # required
|
452
488
|
# resource_type: "CFN_STACK", # required, accepts CFN_STACK, RESOURCE_TAG_VALUE
|
453
489
|
# resource: "ResourceSpecifier", # required
|
490
|
+
# options: ["APPLY_APPLICATION_TAG"], # accepts APPLY_APPLICATION_TAG, SKIP_APPLICATION_TAG
|
454
491
|
# })
|
455
492
|
#
|
456
493
|
# @example Response structure
|
457
494
|
#
|
458
495
|
# resp.application_arn #=> String
|
459
496
|
# resp.resource_arn #=> String
|
497
|
+
# resp.options #=> Array
|
498
|
+
# resp.options[0] #=> String, one of "APPLY_APPLICATION_TAG", "SKIP_APPLICATION_TAG"
|
460
499
|
#
|
461
500
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource AWS API Documentation
|
462
501
|
#
|
@@ -516,6 +555,8 @@ module Aws::AppRegistry
|
|
516
555
|
# resp.application.last_update_time #=> Time
|
517
556
|
# resp.application.tags #=> Hash
|
518
557
|
# resp.application.tags["TagKey"] #=> String
|
558
|
+
# resp.application.application_tag #=> Hash
|
559
|
+
# resp.application.application_tag["TagKey"] #=> String
|
519
560
|
#
|
520
561
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication AWS API Documentation
|
521
562
|
#
|
@@ -704,6 +745,40 @@ module Aws::AppRegistry
|
|
704
745
|
# Disassociates a resource from application. Both the resource and the
|
705
746
|
# application can be specified either by ID or name.
|
706
747
|
#
|
748
|
+
# **Minimum permissions**
|
749
|
+
#
|
750
|
+
# You must have the following permissions to remove a resource that's
|
751
|
+
# been associated with an application using the `APPLY_APPLICATION_TAG`
|
752
|
+
# option for [AssociateResource][1].
|
753
|
+
#
|
754
|
+
# * `tag:GetResources`
|
755
|
+
#
|
756
|
+
# * `tag:UntagResources`
|
757
|
+
#
|
758
|
+
# You must also have the following permissions if you don't use the
|
759
|
+
# `AWSServiceCatalogAppRegistryFullAccess` policy. For more information,
|
760
|
+
# see [AWSServiceCatalogAppRegistryFullAccess][2] in the AppRegistry
|
761
|
+
# Administrator Guide.
|
762
|
+
#
|
763
|
+
# * `resource-groups:DisassociateResource`
|
764
|
+
#
|
765
|
+
# * `cloudformation:UpdateStack`
|
766
|
+
#
|
767
|
+
# * `cloudformation:DescribeStacks`
|
768
|
+
#
|
769
|
+
# <note markdown="1"> In addition, you must have the tagging permission defined by the
|
770
|
+
# Amazon Web Services service that creates the resource. For more
|
771
|
+
# information, see [UntagResources][3] in the *Resource Groups Tagging
|
772
|
+
# API Reference*.
|
773
|
+
#
|
774
|
+
# </note>
|
775
|
+
#
|
776
|
+
#
|
777
|
+
#
|
778
|
+
# [1]: https://docs.aws.amazon.com/servicecatalog/latest/dg/API_app-registry_AssociateResource.html
|
779
|
+
# [2]: https://docs.aws.amazon.com/servicecatalog/latest/arguide/full.html
|
780
|
+
# [3]: https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_UntTagResources.html
|
781
|
+
#
|
707
782
|
# @option params [required, String] :application
|
708
783
|
# The name or ID of the application.
|
709
784
|
#
|
@@ -761,6 +836,7 @@ module Aws::AppRegistry
|
|
761
836
|
# * {Types::GetApplicationResponse#associated_resource_count #associated_resource_count} => Integer
|
762
837
|
# * {Types::GetApplicationResponse#tags #tags} => Hash<String,String>
|
763
838
|
# * {Types::GetApplicationResponse#integrations #integrations} => Types::Integrations
|
839
|
+
# * {Types::GetApplicationResponse#application_tag #application_tag} => Hash<String,String>
|
764
840
|
#
|
765
841
|
# @example Request syntax with placeholder values
|
766
842
|
#
|
@@ -782,6 +858,11 @@ module Aws::AppRegistry
|
|
782
858
|
# resp.integrations.resource_group.state #=> String, one of "CREATING", "CREATE_COMPLETE", "CREATE_FAILED", "UPDATING", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
783
859
|
# resp.integrations.resource_group.arn #=> String
|
784
860
|
# resp.integrations.resource_group.error_message #=> String
|
861
|
+
# resp.integrations.application_tag_resource_group.state #=> String, one of "CREATING", "CREATE_COMPLETE", "CREATE_FAILED", "UPDATING", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
862
|
+
# resp.integrations.application_tag_resource_group.arn #=> String
|
863
|
+
# resp.integrations.application_tag_resource_group.error_message #=> String
|
864
|
+
# resp.application_tag #=> Hash
|
865
|
+
# resp.application_tag["TagKey"] #=> String
|
785
866
|
#
|
786
867
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication AWS API Documentation
|
787
868
|
#
|
@@ -803,9 +884,23 @@ module Aws::AppRegistry
|
|
803
884
|
# @option params [required, String] :resource
|
804
885
|
# The name or ID of the resource associated with the application.
|
805
886
|
#
|
887
|
+
# @option params [String] :next_token
|
888
|
+
# A unique pagination token for each page of results. Make the call
|
889
|
+
# again with the returned token to retrieve the next page of results.
|
890
|
+
#
|
891
|
+
# @option params [Array<String>] :resource_tag_status
|
892
|
+
# States whether an application tag is applied, not applied, in the
|
893
|
+
# process of being applied, or skipped.
|
894
|
+
#
|
895
|
+
# @option params [Integer] :max_results
|
896
|
+
# The maximum number of results to return. If the parameter is omitted,
|
897
|
+
# it defaults to 25. The value is optional.
|
898
|
+
#
|
806
899
|
# @return [Types::GetAssociatedResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
807
900
|
#
|
808
901
|
# * {Types::GetAssociatedResourceResponse#resource #resource} => Types::Resource
|
902
|
+
# * {Types::GetAssociatedResourceResponse#options #options} => Array<String>
|
903
|
+
# * {Types::GetAssociatedResourceResponse#application_tag_result #application_tag_result} => Types::ApplicationTagResult
|
809
904
|
#
|
810
905
|
# @example Request syntax with placeholder values
|
811
906
|
#
|
@@ -813,6 +908,9 @@ module Aws::AppRegistry
|
|
813
908
|
# application: "ApplicationSpecifier", # required
|
814
909
|
# resource_type: "CFN_STACK", # required, accepts CFN_STACK, RESOURCE_TAG_VALUE
|
815
910
|
# resource: "ResourceSpecifier", # required
|
911
|
+
# next_token: "NextToken",
|
912
|
+
# resource_tag_status: ["SUCCESS"], # accepts SUCCESS, FAILED, IN_PROGRESS, SKIPPED
|
913
|
+
# max_results: 1,
|
816
914
|
# })
|
817
915
|
#
|
818
916
|
# @example Response structure
|
@@ -823,6 +921,16 @@ module Aws::AppRegistry
|
|
823
921
|
# resp.resource.integrations.resource_group.state #=> String, one of "CREATING", "CREATE_COMPLETE", "CREATE_FAILED", "UPDATING", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
824
922
|
# resp.resource.integrations.resource_group.arn #=> String
|
825
923
|
# resp.resource.integrations.resource_group.error_message #=> String
|
924
|
+
# resp.options #=> Array
|
925
|
+
# resp.options[0] #=> String, one of "APPLY_APPLICATION_TAG", "SKIP_APPLICATION_TAG"
|
926
|
+
# resp.application_tag_result.application_tag_status #=> String, one of "IN_PROGRESS", "SUCCESS", "FAILURE"
|
927
|
+
# resp.application_tag_result.error_message #=> String
|
928
|
+
# resp.application_tag_result.resources #=> Array
|
929
|
+
# resp.application_tag_result.resources[0].resource_arn #=> String
|
930
|
+
# resp.application_tag_result.resources[0].error_message #=> String
|
931
|
+
# resp.application_tag_result.resources[0].status #=> String
|
932
|
+
# resp.application_tag_result.resources[0].resource_type #=> String
|
933
|
+
# resp.application_tag_result.next_token #=> String
|
826
934
|
#
|
827
935
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource AWS API Documentation
|
828
936
|
#
|
@@ -1033,6 +1141,8 @@ module Aws::AppRegistry
|
|
1033
1141
|
# resp.resources[0].arn #=> String
|
1034
1142
|
# resp.resources[0].resource_type #=> String, one of "CFN_STACK", "RESOURCE_TAG_VALUE"
|
1035
1143
|
# resp.resources[0].resource_details.tag_value #=> String
|
1144
|
+
# resp.resources[0].options #=> Array
|
1145
|
+
# resp.resources[0].options[0] #=> String, one of "APPLY_APPLICATION_TAG", "SKIP_APPLICATION_TAG"
|
1036
1146
|
# resp.next_token #=> String
|
1037
1147
|
#
|
1038
1148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources AWS API Documentation
|
@@ -1334,6 +1444,8 @@ module Aws::AppRegistry
|
|
1334
1444
|
# resp.application.last_update_time #=> Time
|
1335
1445
|
# resp.application.tags #=> Hash
|
1336
1446
|
# resp.application.tags["TagKey"] #=> String
|
1447
|
+
# resp.application.application_tag #=> Hash
|
1448
|
+
# resp.application.application_tag["TagKey"] #=> String
|
1337
1449
|
#
|
1338
1450
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication AWS API Documentation
|
1339
1451
|
#
|
@@ -1410,7 +1522,7 @@ module Aws::AppRegistry
|
|
1410
1522
|
params: params,
|
1411
1523
|
config: config)
|
1412
1524
|
context[:gem_name] = 'aws-sdk-appregistry'
|
1413
|
-
context[:gem_version] = '1.
|
1525
|
+
context[:gem_version] = '1.28.0'
|
1414
1526
|
Seahorse::Client::Request.new(handlers, context)
|
1415
1527
|
end
|
1416
1528
|
|
@@ -20,12 +20,16 @@ module Aws::AppRegistry
|
|
20
20
|
ApplicationSpecifier = Shapes::StringShape.new(name: 'ApplicationSpecifier')
|
21
21
|
ApplicationSummaries = Shapes::ListShape.new(name: 'ApplicationSummaries')
|
22
22
|
ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
|
23
|
+
ApplicationTagDefinition = Shapes::MapShape.new(name: 'ApplicationTagDefinition')
|
24
|
+
ApplicationTagResult = Shapes::StructureShape.new(name: 'ApplicationTagResult')
|
25
|
+
ApplicationTagStatus = Shapes::StringShape.new(name: 'ApplicationTagStatus')
|
23
26
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
24
27
|
AssociateAttributeGroupRequest = Shapes::StructureShape.new(name: 'AssociateAttributeGroupRequest')
|
25
28
|
AssociateAttributeGroupResponse = Shapes::StructureShape.new(name: 'AssociateAttributeGroupResponse')
|
26
29
|
AssociateResourceRequest = Shapes::StructureShape.new(name: 'AssociateResourceRequest')
|
27
30
|
AssociateResourceResponse = Shapes::StructureShape.new(name: 'AssociateResourceResponse')
|
28
31
|
AssociationCount = Shapes::IntegerShape.new(name: 'AssociationCount')
|
32
|
+
AssociationOption = Shapes::StringShape.new(name: 'AssociationOption')
|
29
33
|
AttributeGroup = Shapes::StructureShape.new(name: 'AttributeGroup')
|
30
34
|
AttributeGroupArn = Shapes::StringShape.new(name: 'AttributeGroupArn')
|
31
35
|
AttributeGroupDetails = Shapes::StructureShape.new(name: 'AttributeGroupDetails')
|
@@ -54,6 +58,7 @@ module Aws::AppRegistry
|
|
54
58
|
DisassociateResourceResponse = Shapes::StructureShape.new(name: 'DisassociateResourceResponse')
|
55
59
|
GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
|
56
60
|
GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse')
|
61
|
+
GetAssociatedResourceFilter = Shapes::ListShape.new(name: 'GetAssociatedResourceFilter')
|
57
62
|
GetAssociatedResourceRequest = Shapes::StructureShape.new(name: 'GetAssociatedResourceRequest')
|
58
63
|
GetAssociatedResourceResponse = Shapes::StructureShape.new(name: 'GetAssociatedResourceResponse')
|
59
64
|
GetAttributeGroupRequest = Shapes::StructureShape.new(name: 'GetAttributeGroupRequest')
|
@@ -76,6 +81,7 @@ module Aws::AppRegistry
|
|
76
81
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
77
82
|
Name = Shapes::StringShape.new(name: 'Name')
|
78
83
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
84
|
+
Options = Shapes::ListShape.new(name: 'Options')
|
79
85
|
PutConfigurationRequest = Shapes::StructureShape.new(name: 'PutConfigurationRequest')
|
80
86
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
81
87
|
ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
|
@@ -83,12 +89,16 @@ module Aws::AppRegistry
|
|
83
89
|
ResourceGroupState = Shapes::StringShape.new(name: 'ResourceGroupState')
|
84
90
|
ResourceInfo = Shapes::StructureShape.new(name: 'ResourceInfo')
|
85
91
|
ResourceIntegrations = Shapes::StructureShape.new(name: 'ResourceIntegrations')
|
92
|
+
ResourceItemStatus = Shapes::StringShape.new(name: 'ResourceItemStatus')
|
93
|
+
ResourceItemType = Shapes::StringShape.new(name: 'ResourceItemType')
|
86
94
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
87
95
|
ResourceSpecifier = Shapes::StringShape.new(name: 'ResourceSpecifier')
|
88
96
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
89
97
|
Resources = Shapes::ListShape.new(name: 'Resources')
|
98
|
+
ResourcesList = Shapes::ListShape.new(name: 'ResourcesList')
|
99
|
+
ResourcesListItem = Shapes::StructureShape.new(name: 'ResourcesListItem')
|
100
|
+
ResourcesListItemErrorMessage = Shapes::StringShape.new(name: 'ResourcesListItemErrorMessage')
|
90
101
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
91
|
-
StackArn = Shapes::StringShape.new(name: 'StackArn')
|
92
102
|
String = Shapes::StringShape.new(name: 'String')
|
93
103
|
SyncAction = Shapes::StringShape.new(name: 'SyncAction')
|
94
104
|
SyncResourceRequest = Shapes::StructureShape.new(name: 'SyncResourceRequest')
|
@@ -121,6 +131,7 @@ module Aws::AppRegistry
|
|
121
131
|
Application.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
122
132
|
Application.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
123
133
|
Application.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
134
|
+
Application.add_member(:application_tag, Shapes::ShapeRef.new(shape: ApplicationTagDefinition, location_name: "applicationTag"))
|
124
135
|
Application.struct_class = Types::Application
|
125
136
|
|
126
137
|
ApplicationSummaries.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
|
@@ -133,6 +144,15 @@ module Aws::AppRegistry
|
|
133
144
|
ApplicationSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
134
145
|
ApplicationSummary.struct_class = Types::ApplicationSummary
|
135
146
|
|
147
|
+
ApplicationTagDefinition.key = Shapes::ShapeRef.new(shape: TagKey)
|
148
|
+
ApplicationTagDefinition.value = Shapes::ShapeRef.new(shape: TagValue)
|
149
|
+
|
150
|
+
ApplicationTagResult.add_member(:application_tag_status, Shapes::ShapeRef.new(shape: ApplicationTagStatus, location_name: "applicationTagStatus"))
|
151
|
+
ApplicationTagResult.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
|
152
|
+
ApplicationTagResult.add_member(:resources, Shapes::ShapeRef.new(shape: ResourcesList, location_name: "resources"))
|
153
|
+
ApplicationTagResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
154
|
+
ApplicationTagResult.struct_class = Types::ApplicationTagResult
|
155
|
+
|
136
156
|
AssociateAttributeGroupRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
|
137
157
|
AssociateAttributeGroupRequest.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroupSpecifier, required: true, location: "uri", location_name: "attributeGroup"))
|
138
158
|
AssociateAttributeGroupRequest.struct_class = Types::AssociateAttributeGroupRequest
|
@@ -144,10 +164,12 @@ module Aws::AppRegistry
|
|
144
164
|
AssociateResourceRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
|
145
165
|
AssociateResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location: "uri", location_name: "resourceType"))
|
146
166
|
AssociateResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceSpecifier, required: true, location: "uri", location_name: "resource"))
|
167
|
+
AssociateResourceRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "options"))
|
147
168
|
AssociateResourceRequest.struct_class = Types::AssociateResourceRequest
|
148
169
|
|
149
170
|
AssociateResourceResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ApplicationArn, location_name: "applicationArn"))
|
150
171
|
AssociateResourceResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
|
172
|
+
AssociateResourceResponse.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "options"))
|
151
173
|
AssociateResourceResponse.struct_class = Types::AssociateResourceResponse
|
152
174
|
|
153
175
|
AttributeGroup.add_member(:id, Shapes::ShapeRef.new(shape: AttributeGroupId, location_name: "id"))
|
@@ -161,7 +183,7 @@ module Aws::AppRegistry
|
|
161
183
|
|
162
184
|
AttributeGroupDetails.add_member(:id, Shapes::ShapeRef.new(shape: AttributeGroupId, location_name: "id"))
|
163
185
|
AttributeGroupDetails.add_member(:arn, Shapes::ShapeRef.new(shape: AttributeGroupArn, location_name: "arn"))
|
164
|
-
AttributeGroupDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name,
|
186
|
+
AttributeGroupDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
165
187
|
AttributeGroupDetails.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy"))
|
166
188
|
AttributeGroupDetails.struct_class = Types::AttributeGroupDetails
|
167
189
|
|
@@ -243,14 +265,22 @@ module Aws::AppRegistry
|
|
243
265
|
GetApplicationResponse.add_member(:associated_resource_count, Shapes::ShapeRef.new(shape: AssociationCount, location_name: "associatedResourceCount"))
|
244
266
|
GetApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
245
267
|
GetApplicationResponse.add_member(:integrations, Shapes::ShapeRef.new(shape: Integrations, location_name: "integrations"))
|
268
|
+
GetApplicationResponse.add_member(:application_tag, Shapes::ShapeRef.new(shape: ApplicationTagDefinition, location_name: "applicationTag"))
|
246
269
|
GetApplicationResponse.struct_class = Types::GetApplicationResponse
|
247
270
|
|
271
|
+
GetAssociatedResourceFilter.member = Shapes::ShapeRef.new(shape: ResourceItemStatus)
|
272
|
+
|
248
273
|
GetAssociatedResourceRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
|
249
274
|
GetAssociatedResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location: "uri", location_name: "resourceType"))
|
250
275
|
GetAssociatedResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceSpecifier, required: true, location: "uri", location_name: "resource"))
|
276
|
+
GetAssociatedResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
277
|
+
GetAssociatedResourceRequest.add_member(:resource_tag_status, Shapes::ShapeRef.new(shape: GetAssociatedResourceFilter, location: "querystring", location_name: "resourceTagStatus"))
|
278
|
+
GetAssociatedResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
251
279
|
GetAssociatedResourceRequest.struct_class = Types::GetAssociatedResourceRequest
|
252
280
|
|
253
281
|
GetAssociatedResourceResponse.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "resource"))
|
282
|
+
GetAssociatedResourceResponse.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "options"))
|
283
|
+
GetAssociatedResourceResponse.add_member(:application_tag_result, Shapes::ShapeRef.new(shape: ApplicationTagResult, location_name: "applicationTagResult"))
|
254
284
|
GetAssociatedResourceResponse.struct_class = Types::GetAssociatedResourceResponse
|
255
285
|
|
256
286
|
GetAttributeGroupRequest.add_member(:attribute_group, Shapes::ShapeRef.new(shape: AttributeGroupSpecifier, required: true, location: "uri", location_name: "attributeGroup"))
|
@@ -271,6 +301,7 @@ module Aws::AppRegistry
|
|
271
301
|
GetConfigurationResponse.struct_class = Types::GetConfigurationResponse
|
272
302
|
|
273
303
|
Integrations.add_member(:resource_group, Shapes::ShapeRef.new(shape: ResourceGroup, location_name: "resourceGroup"))
|
304
|
+
Integrations.add_member(:application_tag_resource_group, Shapes::ShapeRef.new(shape: ResourceGroup, location_name: "applicationTagResourceGroup"))
|
274
305
|
Integrations.struct_class = Types::Integrations
|
275
306
|
|
276
307
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -325,11 +356,13 @@ module Aws::AppRegistry
|
|
325
356
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
326
357
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
327
358
|
|
359
|
+
Options.member = Shapes::ShapeRef.new(shape: AssociationOption)
|
360
|
+
|
328
361
|
PutConfigurationRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: AppRegistryConfiguration, required: true, location_name: "configuration"))
|
329
362
|
PutConfigurationRequest.struct_class = Types::PutConfigurationRequest
|
330
363
|
|
331
364
|
Resource.add_member(:name, Shapes::ShapeRef.new(shape: ResourceSpecifier, location_name: "name"))
|
332
|
-
Resource.add_member(:arn, Shapes::ShapeRef.new(shape:
|
365
|
+
Resource.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
|
333
366
|
Resource.add_member(:association_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "associationTime"))
|
334
367
|
Resource.add_member(:integrations, Shapes::ShapeRef.new(shape: ResourceIntegrations, location_name: "integrations"))
|
335
368
|
Resource.struct_class = Types::Resource
|
@@ -346,6 +379,7 @@ module Aws::AppRegistry
|
|
346
379
|
ResourceInfo.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
|
347
380
|
ResourceInfo.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
348
381
|
ResourceInfo.add_member(:resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "resourceDetails"))
|
382
|
+
ResourceInfo.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "options"))
|
349
383
|
ResourceInfo.struct_class = Types::ResourceInfo
|
350
384
|
|
351
385
|
ResourceIntegrations.add_member(:resource_group, Shapes::ShapeRef.new(shape: ResourceGroup, location_name: "resourceGroup"))
|
@@ -356,6 +390,14 @@ module Aws::AppRegistry
|
|
356
390
|
|
357
391
|
Resources.member = Shapes::ShapeRef.new(shape: ResourceInfo)
|
358
392
|
|
393
|
+
ResourcesList.member = Shapes::ShapeRef.new(shape: ResourcesListItem)
|
394
|
+
|
395
|
+
ResourcesListItem.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
|
396
|
+
ResourcesListItem.add_member(:error_message, Shapes::ShapeRef.new(shape: ResourcesListItemErrorMessage, location_name: "errorMessage"))
|
397
|
+
ResourcesListItem.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
398
|
+
ResourcesListItem.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceItemType, location_name: "resourceType"))
|
399
|
+
ResourcesListItem.struct_class = Types::ResourcesListItem
|
400
|
+
|
359
401
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
360
402
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
361
403
|
|
@@ -32,8 +32,8 @@ module Aws::AppRegistry
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -60,6 +60,10 @@ module Aws::AppRegistry
|
|
60
60
|
# Key-value pairs you can use to associate with the application.
|
61
61
|
# @return [Hash<String,String>]
|
62
62
|
#
|
63
|
+
# @!attribute [rw] application_tag
|
64
|
+
# A key-value pair that identifies an associated resource.
|
65
|
+
# @return [Hash<String,String>]
|
66
|
+
#
|
63
67
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/Application AWS API Documentation
|
64
68
|
#
|
65
69
|
class Application < Struct.new(
|
@@ -69,7 +73,8 @@ module Aws::AppRegistry
|
|
69
73
|
:description,
|
70
74
|
:creation_time,
|
71
75
|
:last_update_time,
|
72
|
-
:tags
|
76
|
+
:tags,
|
77
|
+
:application_tag)
|
73
78
|
SENSITIVE = []
|
74
79
|
include Aws::Structure
|
75
80
|
end
|
@@ -118,6 +123,38 @@ module Aws::AppRegistry
|
|
118
123
|
include Aws::Structure
|
119
124
|
end
|
120
125
|
|
126
|
+
# The result of the application tag that's applied to a resource.
|
127
|
+
#
|
128
|
+
# @!attribute [rw] application_tag_status
|
129
|
+
# The application tag is in the process of being applied to a
|
130
|
+
# resource, was successfully applied to a resource, or failed to apply
|
131
|
+
# to a resource.
|
132
|
+
# @return [String]
|
133
|
+
#
|
134
|
+
# @!attribute [rw] error_message
|
135
|
+
# The message returned if the call fails.
|
136
|
+
# @return [String]
|
137
|
+
#
|
138
|
+
# @!attribute [rw] resources
|
139
|
+
# The resources associated with an application
|
140
|
+
# @return [Array<Types::ResourcesListItem>]
|
141
|
+
#
|
142
|
+
# @!attribute [rw] next_token
|
143
|
+
# A unique pagination token for each page of results. Make the call
|
144
|
+
# again with the returned token to retrieve the next page of results.
|
145
|
+
# @return [String]
|
146
|
+
#
|
147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ApplicationTagResult AWS API Documentation
|
148
|
+
#
|
149
|
+
class ApplicationTagResult < Struct.new(
|
150
|
+
:application_tag_status,
|
151
|
+
:error_message,
|
152
|
+
:resources,
|
153
|
+
:next_token)
|
154
|
+
SENSITIVE = []
|
155
|
+
include Aws::Structure
|
156
|
+
end
|
157
|
+
|
121
158
|
# @!attribute [rw] application
|
122
159
|
# The name, ID, or ARN of the application.
|
123
160
|
# @return [String]
|
@@ -168,12 +205,17 @@ module Aws::AppRegistry
|
|
168
205
|
# associated.
|
169
206
|
# @return [String]
|
170
207
|
#
|
208
|
+
# @!attribute [rw] options
|
209
|
+
# Determines whether an application tag is applied or skipped.
|
210
|
+
# @return [Array<String>]
|
211
|
+
#
|
171
212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResourceRequest AWS API Documentation
|
172
213
|
#
|
173
214
|
class AssociateResourceRequest < Struct.new(
|
174
215
|
:application,
|
175
216
|
:resource_type,
|
176
|
-
:resource
|
217
|
+
:resource,
|
218
|
+
:options)
|
177
219
|
SENSITIVE = []
|
178
220
|
include Aws::Structure
|
179
221
|
end
|
@@ -187,11 +229,16 @@ module Aws::AppRegistry
|
|
187
229
|
# The Amazon resource name (ARN) that specifies the resource.
|
188
230
|
# @return [String]
|
189
231
|
#
|
232
|
+
# @!attribute [rw] options
|
233
|
+
# Determines whether an application tag is applied or skipped.
|
234
|
+
# @return [Array<String>]
|
235
|
+
#
|
190
236
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResourceResponse AWS API Documentation
|
191
237
|
#
|
192
238
|
class AssociateResourceResponse < Struct.new(
|
193
239
|
:application_arn,
|
194
|
-
:resource_arn
|
240
|
+
:resource_arn,
|
241
|
+
:options)
|
195
242
|
SENSITIVE = []
|
196
243
|
include Aws::Structure
|
197
244
|
end
|
@@ -622,6 +669,10 @@ module Aws::AppRegistry
|
|
622
669
|
# services, such as Resource Groups.
|
623
670
|
# @return [Types::Integrations]
|
624
671
|
#
|
672
|
+
# @!attribute [rw] application_tag
|
673
|
+
# A key-value pair that identifies an associated resource.
|
674
|
+
# @return [Hash<String,String>]
|
675
|
+
#
|
625
676
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplicationResponse AWS API Documentation
|
626
677
|
#
|
627
678
|
class GetApplicationResponse < Struct.new(
|
@@ -633,7 +684,8 @@ module Aws::AppRegistry
|
|
633
684
|
:last_update_time,
|
634
685
|
:associated_resource_count,
|
635
686
|
:tags,
|
636
|
-
:integrations
|
687
|
+
:integrations,
|
688
|
+
:application_tag)
|
637
689
|
SENSITIVE = []
|
638
690
|
include Aws::Structure
|
639
691
|
end
|
@@ -650,12 +702,30 @@ module Aws::AppRegistry
|
|
650
702
|
# The name or ID of the resource associated with the application.
|
651
703
|
# @return [String]
|
652
704
|
#
|
705
|
+
# @!attribute [rw] next_token
|
706
|
+
# A unique pagination token for each page of results. Make the call
|
707
|
+
# again with the returned token to retrieve the next page of results.
|
708
|
+
# @return [String]
|
709
|
+
#
|
710
|
+
# @!attribute [rw] resource_tag_status
|
711
|
+
# States whether an application tag is applied, not applied, in the
|
712
|
+
# process of being applied, or skipped.
|
713
|
+
# @return [Array<String>]
|
714
|
+
#
|
715
|
+
# @!attribute [rw] max_results
|
716
|
+
# The maximum number of results to return. If the parameter is
|
717
|
+
# omitted, it defaults to 25. The value is optional.
|
718
|
+
# @return [Integer]
|
719
|
+
#
|
653
720
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResourceRequest AWS API Documentation
|
654
721
|
#
|
655
722
|
class GetAssociatedResourceRequest < Struct.new(
|
656
723
|
:application,
|
657
724
|
:resource_type,
|
658
|
-
:resource
|
725
|
+
:resource,
|
726
|
+
:next_token,
|
727
|
+
:resource_tag_status,
|
728
|
+
:max_results)
|
659
729
|
SENSITIVE = []
|
660
730
|
include Aws::Structure
|
661
731
|
end
|
@@ -664,10 +734,20 @@ module Aws::AppRegistry
|
|
664
734
|
# The resource associated with the application.
|
665
735
|
# @return [Types::Resource]
|
666
736
|
#
|
737
|
+
# @!attribute [rw] options
|
738
|
+
# Determines whether an application tag is applied or skipped.
|
739
|
+
# @return [Array<String>]
|
740
|
+
#
|
741
|
+
# @!attribute [rw] application_tag_result
|
742
|
+
# The result of the application that's tag applied to a resource.
|
743
|
+
# @return [Types::ApplicationTagResult]
|
744
|
+
#
|
667
745
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResourceResponse AWS API Documentation
|
668
746
|
#
|
669
747
|
class GetAssociatedResourceResponse < Struct.new(
|
670
|
-
:resource
|
748
|
+
:resource,
|
749
|
+
:options,
|
750
|
+
:application_tag_result)
|
671
751
|
SENSITIVE = []
|
672
752
|
include Aws::Structure
|
673
753
|
end
|
@@ -761,10 +841,15 @@ module Aws::AppRegistry
|
|
761
841
|
# The information about the resource group integration.
|
762
842
|
# @return [Types::ResourceGroup]
|
763
843
|
#
|
844
|
+
# @!attribute [rw] application_tag_resource_group
|
845
|
+
# The information about the resource group integration.
|
846
|
+
# @return [Types::ResourceGroup]
|
847
|
+
#
|
764
848
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/Integrations AWS API Documentation
|
765
849
|
#
|
766
850
|
class Integrations < Struct.new(
|
767
|
-
:resource_group
|
851
|
+
:resource_group,
|
852
|
+
:application_tag_resource_group)
|
768
853
|
SENSITIVE = []
|
769
854
|
include Aws::Structure
|
770
855
|
end
|
@@ -1124,13 +1209,18 @@ module Aws::AppRegistry
|
|
1124
1209
|
# The details related to the resource.
|
1125
1210
|
# @return [Types::ResourceDetails]
|
1126
1211
|
#
|
1212
|
+
# @!attribute [rw] options
|
1213
|
+
# Determines whether an application tag is applied or skipped.
|
1214
|
+
# @return [Array<String>]
|
1215
|
+
#
|
1127
1216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ResourceInfo AWS API Documentation
|
1128
1217
|
#
|
1129
1218
|
class ResourceInfo < Struct.new(
|
1130
1219
|
:name,
|
1131
1220
|
:arn,
|
1132
1221
|
:resource_type,
|
1133
|
-
:resource_details
|
1222
|
+
:resource_details,
|
1223
|
+
:options)
|
1134
1224
|
SENSITIVE = []
|
1135
1225
|
include Aws::Structure
|
1136
1226
|
end
|
@@ -1162,6 +1252,35 @@ module Aws::AppRegistry
|
|
1162
1252
|
include Aws::Structure
|
1163
1253
|
end
|
1164
1254
|
|
1255
|
+
# The resource in a list of resources.
|
1256
|
+
#
|
1257
|
+
# @!attribute [rw] resource_arn
|
1258
|
+
# The Amazon resource name (ARN) of the resource.
|
1259
|
+
# @return [String]
|
1260
|
+
#
|
1261
|
+
# @!attribute [rw] error_message
|
1262
|
+
# The message returned if the call fails.
|
1263
|
+
# @return [String]
|
1264
|
+
#
|
1265
|
+
# @!attribute [rw] status
|
1266
|
+
# The status of the list item.
|
1267
|
+
# @return [String]
|
1268
|
+
#
|
1269
|
+
# @!attribute [rw] resource_type
|
1270
|
+
# Provides information about the AppRegistry resource type.
|
1271
|
+
# @return [String]
|
1272
|
+
#
|
1273
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ResourcesListItem AWS API Documentation
|
1274
|
+
#
|
1275
|
+
class ResourcesListItem < Struct.new(
|
1276
|
+
:resource_arn,
|
1277
|
+
:error_message,
|
1278
|
+
:status,
|
1279
|
+
:resource_type)
|
1280
|
+
SENSITIVE = []
|
1281
|
+
include Aws::Structure
|
1282
|
+
end
|
1283
|
+
|
1165
1284
|
# The maximum number of resources per account has been reached.
|
1166
1285
|
#
|
1167
1286
|
# @!attribute [rw] message
|
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.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.184.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.184.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|