aws-sdk-appregistry 1.19.0 → 1.21.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 +43 -34
- data/lib/aws-sdk-appregistry/client_api.rb +15 -0
- data/lib/aws-sdk-appregistry/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-appregistry/errors.rb +21 -0
- data/lib/aws-sdk-appregistry/types.rb +56 -22
- 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: c14c976ae18e8e05bf60eff33df5a02db977a92985d2669449c20736bf607007
|
4
|
+
data.tar.gz: d2a261f9d80dd698f8d9b70ab0c9565978ab6dc14ddb186f73e2589efb611082
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c14242e3d70e55d00394fd6e3f29c5980244e93b10849b422fd4b010e295efc89ae03329e8b6fd769c17abcfeed192ad213bb624a5077818305497128e6d8496
|
7
|
+
data.tar.gz: 11efaab57c2c40aa18d93b900fbf7129eaa5571f65eed1a1a0f22bd0f3795b344a01867ddb8762e89d26120036c5e27931fc384c117f0b155b31991351a3eabc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.21.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.20.0 (2023-03-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - In this release, we started supporting ARN in applicationSpecifier and attributeGroupSpecifier. GetAttributeGroup, ListAttributeGroups and ListAttributeGroupsForApplication APIs will now have CreatedBy field in the response.
|
13
|
+
|
4
14
|
1.19.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.21.0
|
@@ -275,6 +275,11 @@ module Aws::AppRegistry
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -374,11 +379,11 @@ module Aws::AppRegistry
|
|
374
379
|
# are machine-readable, such as third-party integrations.
|
375
380
|
#
|
376
381
|
# @option params [required, String] :application
|
377
|
-
# The name or
|
382
|
+
# The name, ID, or ARN of the application.
|
378
383
|
#
|
379
384
|
# @option params [required, String] :attribute_group
|
380
|
-
# The name or
|
381
|
-
# describe the application.
|
385
|
+
# The name, ID, or ARN of the attribute group that holds the attributes
|
386
|
+
# to describe the application.
|
382
387
|
#
|
383
388
|
# @return [Types::AssociateAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
384
389
|
#
|
@@ -406,11 +411,12 @@ module Aws::AppRegistry
|
|
406
411
|
req.send_request(options)
|
407
412
|
end
|
408
413
|
|
409
|
-
# Associates a resource with an application.
|
410
|
-
# application can be specified
|
414
|
+
# Associates a resource with an application. The resource can be
|
415
|
+
# specified by its ARN or name. The application can be specified by ARN,
|
416
|
+
# ID, or name.
|
411
417
|
#
|
412
418
|
# @option params [required, String] :application
|
413
|
-
# The name or
|
419
|
+
# The name, ID, or ARN of the application.
|
414
420
|
#
|
415
421
|
# @option params [required, String] :resource_type
|
416
422
|
# The type of resource of which the application will be associated.
|
@@ -571,12 +577,12 @@ module Aws::AppRegistry
|
|
571
577
|
req.send_request(options)
|
572
578
|
end
|
573
579
|
|
574
|
-
# Deletes an application that is specified either by its application ID
|
575
|
-
# or
|
580
|
+
# Deletes an application that is specified either by its application ID,
|
581
|
+
# name, or ARN. All associated attribute groups and resources must be
|
576
582
|
# disassociated from it before deleting an application.
|
577
583
|
#
|
578
584
|
# @option params [required, String] :application
|
579
|
-
# The name or
|
585
|
+
# The name, ID, or ARN of the application.
|
580
586
|
#
|
581
587
|
# @return [Types::DeleteApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
582
588
|
#
|
@@ -606,12 +612,12 @@ module Aws::AppRegistry
|
|
606
612
|
req.send_request(options)
|
607
613
|
end
|
608
614
|
|
609
|
-
# Deletes an attribute group, specified either by its attribute group
|
610
|
-
# or
|
615
|
+
# Deletes an attribute group, specified either by its attribute group
|
616
|
+
# ID, name, or ARN.
|
611
617
|
#
|
612
618
|
# @option params [required, String] :attribute_group
|
613
|
-
# The name or
|
614
|
-
# describe the application.
|
619
|
+
# The name, ID, or ARN of the attribute group that holds the attributes
|
620
|
+
# to describe the application.
|
615
621
|
#
|
616
622
|
# @return [Types::DeleteAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
617
623
|
#
|
@@ -631,6 +637,7 @@ module Aws::AppRegistry
|
|
631
637
|
# resp.attribute_group.description #=> String
|
632
638
|
# resp.attribute_group.creation_time #=> Time
|
633
639
|
# resp.attribute_group.last_update_time #=> Time
|
640
|
+
# resp.attribute_group.created_by #=> String
|
634
641
|
#
|
635
642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup AWS API Documentation
|
636
643
|
#
|
@@ -647,11 +654,11 @@ module Aws::AppRegistry
|
|
647
654
|
# `AssociateAttributeGroup`.
|
648
655
|
#
|
649
656
|
# @option params [required, String] :application
|
650
|
-
# The name or
|
657
|
+
# The name, ID, or ARN of the application.
|
651
658
|
#
|
652
659
|
# @option params [required, String] :attribute_group
|
653
|
-
# The name or
|
654
|
-
# describe the application.
|
660
|
+
# The name, ID, or ARN of the attribute group that holds the attributes
|
661
|
+
# to describe the application.
|
655
662
|
#
|
656
663
|
# @return [Types::DisassociateAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
657
664
|
#
|
@@ -719,15 +726,14 @@ module Aws::AppRegistry
|
|
719
726
|
end
|
720
727
|
|
721
728
|
# Retrieves metadata information about one of your applications. The
|
722
|
-
# application can be specified
|
723
|
-
#
|
724
|
-
#
|
725
|
-
#
|
726
|
-
#
|
727
|
-
# problem.
|
729
|
+
# application can be specified by its ARN, ID, or name (which is unique
|
730
|
+
# within one account in one region at a given point in time). Specify by
|
731
|
+
# ARN or ID in automated workflows if you want to make sure that the
|
732
|
+
# exact same application is returned or a `ResourceNotFoundException` is
|
733
|
+
# thrown, avoiding the ABA addressing problem.
|
728
734
|
#
|
729
735
|
# @option params [required, String] :application
|
730
|
-
# The name or
|
736
|
+
# The name, ID, or ARN of the application.
|
731
737
|
#
|
732
738
|
# @return [Types::GetApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
733
739
|
#
|
@@ -774,7 +780,7 @@ module Aws::AppRegistry
|
|
774
780
|
# Gets the resource associated with the application.
|
775
781
|
#
|
776
782
|
# @option params [required, String] :application
|
777
|
-
# The name or
|
783
|
+
# The name, ID, or ARN of the application.
|
778
784
|
#
|
779
785
|
# @option params [required, String] :resource_type
|
780
786
|
# The type of resource associated with the application.
|
@@ -812,13 +818,12 @@ module Aws::AppRegistry
|
|
812
818
|
req.send_request(options)
|
813
819
|
end
|
814
820
|
|
815
|
-
# Retrieves an attribute group
|
816
|
-
#
|
817
|
-
# name.
|
821
|
+
# Retrieves an attribute group by its ARN, ID, or name. The attribute
|
822
|
+
# group can be specified by its ARN, ID, or name.
|
818
823
|
#
|
819
824
|
# @option params [required, String] :attribute_group
|
820
|
-
# The name or
|
821
|
-
# describe the application.
|
825
|
+
# The name, ID, or ARN of the attribute group that holds the attributes
|
826
|
+
# to describe the application.
|
822
827
|
#
|
823
828
|
# @return [Types::GetAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
824
829
|
#
|
@@ -830,6 +835,7 @@ module Aws::AppRegistry
|
|
830
835
|
# * {Types::GetAttributeGroupResponse#creation_time #creation_time} => Time
|
831
836
|
# * {Types::GetAttributeGroupResponse#last_update_time #last_update_time} => Time
|
832
837
|
# * {Types::GetAttributeGroupResponse#tags #tags} => Hash<String,String>
|
838
|
+
# * {Types::GetAttributeGroupResponse#created_by #created_by} => String
|
833
839
|
#
|
834
840
|
# @example Request syntax with placeholder values
|
835
841
|
#
|
@@ -848,6 +854,7 @@ module Aws::AppRegistry
|
|
848
854
|
# resp.last_update_time #=> Time
|
849
855
|
# resp.tags #=> Hash
|
850
856
|
# resp.tags["TagKey"] #=> String
|
857
|
+
# resp.created_by #=> String
|
851
858
|
#
|
852
859
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup AWS API Documentation
|
853
860
|
#
|
@@ -978,7 +985,7 @@ module Aws::AppRegistry
|
|
978
985
|
# </note>
|
979
986
|
#
|
980
987
|
# @option params [required, String] :application
|
981
|
-
# The name or
|
988
|
+
# The name, ID, or ARN of the application.
|
982
989
|
#
|
983
990
|
# @option params [String] :next_token
|
984
991
|
# The token to use to get the next page of results after a previous API
|
@@ -1057,6 +1064,7 @@ module Aws::AppRegistry
|
|
1057
1064
|
# resp.attribute_groups[0].description #=> String
|
1058
1065
|
# resp.attribute_groups[0].creation_time #=> Time
|
1059
1066
|
# resp.attribute_groups[0].last_update_time #=> Time
|
1067
|
+
# resp.attribute_groups[0].created_by #=> String
|
1060
1068
|
# resp.next_token #=> String
|
1061
1069
|
#
|
1062
1070
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups AWS API Documentation
|
@@ -1104,6 +1112,7 @@ module Aws::AppRegistry
|
|
1104
1112
|
# resp.attribute_groups_details[0].id #=> String
|
1105
1113
|
# resp.attribute_groups_details[0].arn #=> String
|
1106
1114
|
# resp.attribute_groups_details[0].name #=> String
|
1115
|
+
# resp.attribute_groups_details[0].created_by #=> String
|
1107
1116
|
# resp.next_token #=> String
|
1108
1117
|
#
|
1109
1118
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication AWS API Documentation
|
@@ -1278,7 +1287,7 @@ module Aws::AppRegistry
|
|
1278
1287
|
# Updates an existing application with new attributes.
|
1279
1288
|
#
|
1280
1289
|
# @option params [required, String] :application
|
1281
|
-
# The name or
|
1290
|
+
# The name, ID, or ARN of the application that will be updated.
|
1282
1291
|
#
|
1283
1292
|
# @option params [String] :name
|
1284
1293
|
# Deprecated: The new name of the application. The name must be unique
|
@@ -1323,8 +1332,8 @@ module Aws::AppRegistry
|
|
1323
1332
|
# Updates an existing attribute group with new details.
|
1324
1333
|
#
|
1325
1334
|
# @option params [required, String] :attribute_group
|
1326
|
-
# The name or
|
1327
|
-
# describe the application.
|
1335
|
+
# The name, ID, or ARN of the attribute group that holds the attributes
|
1336
|
+
# to describe the application.
|
1328
1337
|
#
|
1329
1338
|
# @option params [String] :name
|
1330
1339
|
# Deprecated: The new name of the attribute group. The name must be
|
@@ -1386,7 +1395,7 @@ module Aws::AppRegistry
|
|
1386
1395
|
params: params,
|
1387
1396
|
config: config)
|
1388
1397
|
context[:gem_name] = 'aws-sdk-appregistry'
|
1389
|
-
context[:gem_version] = '1.
|
1398
|
+
context[:gem_version] = '1.21.0'
|
1390
1399
|
Seahorse::Client::Request.new(handlers, context)
|
1391
1400
|
end
|
1392
1401
|
|
@@ -42,6 +42,7 @@ module Aws::AppRegistry
|
|
42
42
|
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
43
43
|
CreateAttributeGroupRequest = Shapes::StructureShape.new(name: 'CreateAttributeGroupRequest')
|
44
44
|
CreateAttributeGroupResponse = Shapes::StructureShape.new(name: 'CreateAttributeGroupResponse')
|
45
|
+
CreatedBy = Shapes::StringShape.new(name: 'CreatedBy')
|
45
46
|
DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
|
46
47
|
DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
|
47
48
|
DeleteAttributeGroupRequest = Shapes::StructureShape.new(name: 'DeleteAttributeGroupRequest')
|
@@ -100,6 +101,7 @@ module Aws::AppRegistry
|
|
100
101
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
101
102
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
102
103
|
Tags = Shapes::MapShape.new(name: 'Tags')
|
104
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
103
105
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
104
106
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
105
107
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -160,6 +162,7 @@ module Aws::AppRegistry
|
|
160
162
|
AttributeGroupDetails.add_member(:id, Shapes::ShapeRef.new(shape: AttributeGroupId, location_name: "id"))
|
161
163
|
AttributeGroupDetails.add_member(:arn, Shapes::ShapeRef.new(shape: AttributeGroupArn, location_name: "arn"))
|
162
164
|
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."}))
|
165
|
+
AttributeGroupDetails.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy"))
|
163
166
|
AttributeGroupDetails.struct_class = Types::AttributeGroupDetails
|
164
167
|
|
165
168
|
AttributeGroupDetailsList.member = Shapes::ShapeRef.new(shape: AttributeGroupDetails)
|
@@ -174,6 +177,7 @@ module Aws::AppRegistry
|
|
174
177
|
AttributeGroupSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
175
178
|
AttributeGroupSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
176
179
|
AttributeGroupSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
180
|
+
AttributeGroupSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy"))
|
177
181
|
AttributeGroupSummary.struct_class = Types::AttributeGroupSummary
|
178
182
|
|
179
183
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -260,6 +264,7 @@ module Aws::AppRegistry
|
|
260
264
|
GetAttributeGroupResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
261
265
|
GetAttributeGroupResponse.add_member(:last_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateTime"))
|
262
266
|
GetAttributeGroupResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
267
|
+
GetAttributeGroupResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy"))
|
263
268
|
GetAttributeGroupResponse.struct_class = Types::GetAttributeGroupResponse
|
264
269
|
|
265
270
|
GetConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: AppRegistryConfiguration, location_name: "configuration"))
|
@@ -377,6 +382,10 @@ module Aws::AppRegistry
|
|
377
382
|
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
378
383
|
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
379
384
|
|
385
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
386
|
+
ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
|
387
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
388
|
+
|
380
389
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
381
390
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
|
382
391
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -446,6 +455,7 @@ module Aws::AppRegistry
|
|
446
455
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
447
456
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
448
457
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
449
459
|
end)
|
450
460
|
|
451
461
|
api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
|
@@ -458,6 +468,7 @@ module Aws::AppRegistry
|
|
458
468
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
459
469
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
460
470
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
461
472
|
end)
|
462
473
|
|
463
474
|
api.add_operation(:create_attribute_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -514,6 +525,7 @@ module Aws::AppRegistry
|
|
514
525
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
515
526
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
516
527
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
517
529
|
end)
|
518
530
|
|
519
531
|
api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
|
@@ -674,6 +686,8 @@ module Aws::AppRegistry
|
|
674
686
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
675
687
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
676
688
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
689
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
677
691
|
end)
|
678
692
|
|
679
693
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -708,6 +722,7 @@ module Aws::AppRegistry
|
|
708
722
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
709
723
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
710
724
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
711
726
|
end)
|
712
727
|
|
713
728
|
api.add_operation(:update_attribute_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -14,39 +14,42 @@ module Aws::AppRegistry
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
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: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
28
|
-
|
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"
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
32
23
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
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"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
37
31
|
end
|
38
|
-
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
39
33
|
end
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
40
|
+
end
|
41
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
42
|
+
end
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
44
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
48
|
end
|
46
|
-
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
50
|
end
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
49
51
|
end
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
53
|
raise ArgumentError, 'No endpoint could be resolved'
|
51
54
|
|
52
55
|
end
|
@@ -31,6 +31,7 @@ module Aws::AppRegistry
|
|
31
31
|
# * {InternalServerException}
|
32
32
|
# * {ResourceNotFoundException}
|
33
33
|
# * {ServiceQuotaExceededException}
|
34
|
+
# * {ThrottlingException}
|
34
35
|
# * {ValidationException}
|
35
36
|
#
|
36
37
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
@@ -99,6 +100,26 @@ module Aws::AppRegistry
|
|
99
100
|
end
|
100
101
|
end
|
101
102
|
|
103
|
+
class ThrottlingException < ServiceError
|
104
|
+
|
105
|
+
# @param [Seahorse::Client::RequestContext] context
|
106
|
+
# @param [String] message
|
107
|
+
# @param [Aws::AppRegistry::Types::ThrottlingException] data
|
108
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
109
|
+
super(context, message, data)
|
110
|
+
end
|
111
|
+
|
112
|
+
# @return [String]
|
113
|
+
def message
|
114
|
+
@message || @data[:message]
|
115
|
+
end
|
116
|
+
|
117
|
+
# @return [String]
|
118
|
+
def service_code
|
119
|
+
@data[:service_code]
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
102
123
|
class ValidationException < ServiceError
|
103
124
|
|
104
125
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -10,7 +10,7 @@
|
|
10
10
|
module Aws::AppRegistry
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# Includes all of the
|
13
|
+
# Includes all of the AppRegistry settings.
|
14
14
|
#
|
15
15
|
# @!attribute [rw] tag_query_configuration
|
16
16
|
# Includes the definition of a `tagQuery`.
|
@@ -119,12 +119,12 @@ module Aws::AppRegistry
|
|
119
119
|
end
|
120
120
|
|
121
121
|
# @!attribute [rw] application
|
122
|
-
# The name or
|
122
|
+
# The name, ID, or ARN of the application.
|
123
123
|
# @return [String]
|
124
124
|
#
|
125
125
|
# @!attribute [rw] attribute_group
|
126
|
-
# The name or
|
127
|
-
# describe the application.
|
126
|
+
# The name, ID, or ARN of the attribute group that holds the
|
127
|
+
# attributes to describe the application.
|
128
128
|
# @return [String]
|
129
129
|
#
|
130
130
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroupRequest AWS API Documentation
|
@@ -156,7 +156,7 @@ module Aws::AppRegistry
|
|
156
156
|
end
|
157
157
|
|
158
158
|
# @!attribute [rw] application
|
159
|
-
# The name or
|
159
|
+
# The name, ID, or ARN of the application.
|
160
160
|
# @return [String]
|
161
161
|
#
|
162
162
|
# @!attribute [rw] resource_type
|
@@ -264,12 +264,17 @@ module Aws::AppRegistry
|
|
264
264
|
# The name of the attribute group.
|
265
265
|
# @return [String]
|
266
266
|
#
|
267
|
+
# @!attribute [rw] created_by
|
268
|
+
# The service principal that created the attribute group.
|
269
|
+
# @return [String]
|
270
|
+
#
|
267
271
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AttributeGroupDetails AWS API Documentation
|
268
272
|
#
|
269
273
|
class AttributeGroupDetails < Struct.new(
|
270
274
|
:id,
|
271
275
|
:arn,
|
272
|
-
:name
|
276
|
+
:name,
|
277
|
+
:created_by)
|
273
278
|
SENSITIVE = []
|
274
279
|
include Aws::Structure
|
275
280
|
end
|
@@ -306,6 +311,10 @@ module Aws::AppRegistry
|
|
306
311
|
# newly created attribute group.
|
307
312
|
# @return [Time]
|
308
313
|
#
|
314
|
+
# @!attribute [rw] created_by
|
315
|
+
# The service principal that created the attribute group.
|
316
|
+
# @return [String]
|
317
|
+
#
|
309
318
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AttributeGroupSummary AWS API Documentation
|
310
319
|
#
|
311
320
|
class AttributeGroupSummary < Struct.new(
|
@@ -314,7 +323,8 @@ module Aws::AppRegistry
|
|
314
323
|
:name,
|
315
324
|
:description,
|
316
325
|
:creation_time,
|
317
|
-
:last_update_time
|
326
|
+
:last_update_time,
|
327
|
+
:created_by)
|
318
328
|
SENSITIVE = []
|
319
329
|
include Aws::Structure
|
320
330
|
end
|
@@ -436,7 +446,7 @@ module Aws::AppRegistry
|
|
436
446
|
end
|
437
447
|
|
438
448
|
# @!attribute [rw] application
|
439
|
-
# The name or
|
449
|
+
# The name, ID, or ARN of the application.
|
440
450
|
# @return [String]
|
441
451
|
#
|
442
452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplicationRequest AWS API Documentation
|
@@ -460,8 +470,8 @@ module Aws::AppRegistry
|
|
460
470
|
end
|
461
471
|
|
462
472
|
# @!attribute [rw] attribute_group
|
463
|
-
# The name or
|
464
|
-
# describe the application.
|
473
|
+
# The name, ID, or ARN of the attribute group that holds the
|
474
|
+
# attributes to describe the application.
|
465
475
|
# @return [String]
|
466
476
|
#
|
467
477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroupRequest AWS API Documentation
|
@@ -485,12 +495,12 @@ module Aws::AppRegistry
|
|
485
495
|
end
|
486
496
|
|
487
497
|
# @!attribute [rw] application
|
488
|
-
# The name or
|
498
|
+
# The name, ID, or ARN of the application.
|
489
499
|
# @return [String]
|
490
500
|
#
|
491
501
|
# @!attribute [rw] attribute_group
|
492
|
-
# The name or
|
493
|
-
# describe the application.
|
502
|
+
# The name, ID, or ARN of the attribute group that holds the
|
503
|
+
# attributes to describe the application.
|
494
504
|
# @return [String]
|
495
505
|
#
|
496
506
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroupRequest AWS API Documentation
|
@@ -559,7 +569,7 @@ module Aws::AppRegistry
|
|
559
569
|
end
|
560
570
|
|
561
571
|
# @!attribute [rw] application
|
562
|
-
# The name or
|
572
|
+
# The name, ID, or ARN of the application.
|
563
573
|
# @return [String]
|
564
574
|
#
|
565
575
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplicationRequest AWS API Documentation
|
@@ -629,7 +639,7 @@ module Aws::AppRegistry
|
|
629
639
|
end
|
630
640
|
|
631
641
|
# @!attribute [rw] application
|
632
|
-
# The name or
|
642
|
+
# The name, ID, or ARN of the application.
|
633
643
|
# @return [String]
|
634
644
|
#
|
635
645
|
# @!attribute [rw] resource_type
|
@@ -663,8 +673,8 @@ module Aws::AppRegistry
|
|
663
673
|
end
|
664
674
|
|
665
675
|
# @!attribute [rw] attribute_group
|
666
|
-
# The name or
|
667
|
-
# describe the application.
|
676
|
+
# The name, ID, or ARN of the attribute group that holds the
|
677
|
+
# attributes to describe the application.
|
668
678
|
# @return [String]
|
669
679
|
#
|
670
680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroupRequest AWS API Documentation
|
@@ -713,6 +723,10 @@ module Aws::AppRegistry
|
|
713
723
|
# Key-value pairs associated with the attribute group.
|
714
724
|
# @return [Hash<String,String>]
|
715
725
|
#
|
726
|
+
# @!attribute [rw] created_by
|
727
|
+
# The service principal that created the attribute group.
|
728
|
+
# @return [String]
|
729
|
+
#
|
716
730
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroupResponse AWS API Documentation
|
717
731
|
#
|
718
732
|
class GetAttributeGroupResponse < Struct.new(
|
@@ -723,7 +737,8 @@ module Aws::AppRegistry
|
|
723
737
|
:attributes,
|
724
738
|
:creation_time,
|
725
739
|
:last_update_time,
|
726
|
-
:tags
|
740
|
+
:tags,
|
741
|
+
:created_by)
|
727
742
|
SENSITIVE = []
|
728
743
|
include Aws::Structure
|
729
744
|
end
|
@@ -849,7 +864,7 @@ module Aws::AppRegistry
|
|
849
864
|
end
|
850
865
|
|
851
866
|
# @!attribute [rw] application
|
852
|
-
# The name or
|
867
|
+
# The name, ID, or ARN of the application.
|
853
868
|
# @return [String]
|
854
869
|
#
|
855
870
|
# @!attribute [rw] next_token
|
@@ -1239,6 +1254,25 @@ module Aws::AppRegistry
|
|
1239
1254
|
#
|
1240
1255
|
class TagResourceResponse < Aws::EmptyStructure; end
|
1241
1256
|
|
1257
|
+
# The maximum number of API requests has been exceeded.
|
1258
|
+
#
|
1259
|
+
# @!attribute [rw] message
|
1260
|
+
# A message associated with the Throttling exception.
|
1261
|
+
# @return [String]
|
1262
|
+
#
|
1263
|
+
# @!attribute [rw] service_code
|
1264
|
+
# The originating service code.
|
1265
|
+
# @return [String]
|
1266
|
+
#
|
1267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ThrottlingException AWS API Documentation
|
1268
|
+
#
|
1269
|
+
class ThrottlingException < Struct.new(
|
1270
|
+
:message,
|
1271
|
+
:service_code)
|
1272
|
+
SENSITIVE = []
|
1273
|
+
include Aws::Structure
|
1274
|
+
end
|
1275
|
+
|
1242
1276
|
# @!attribute [rw] resource_arn
|
1243
1277
|
# The Amazon resource name (ARN) that specifies the resource.
|
1244
1278
|
# @return [String]
|
@@ -1261,7 +1295,7 @@ module Aws::AppRegistry
|
|
1261
1295
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1262
1296
|
|
1263
1297
|
# @!attribute [rw] application
|
1264
|
-
# The name or
|
1298
|
+
# The name, ID, or ARN of the application that will be updated.
|
1265
1299
|
# @return [String]
|
1266
1300
|
#
|
1267
1301
|
# @!attribute [rw] name
|
@@ -1297,8 +1331,8 @@ module Aws::AppRegistry
|
|
1297
1331
|
end
|
1298
1332
|
|
1299
1333
|
# @!attribute [rw] attribute_group
|
1300
|
-
# The name or
|
1301
|
-
# describe the application.
|
1334
|
+
# The name, ID, or ARN of the attribute group that holds the
|
1335
|
+
# attributes to describe the application.
|
1302
1336
|
# @return [String]
|
1303
1337
|
#
|
1304
1338
|
# @!attribute [rw] name
|
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.21.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-05-31 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.174.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.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|