aws-sdk-appregistry 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 575ee9d400fa192c16b210d9c0948e32ff94cd960cd665564316a3d55739cea7
4
- data.tar.gz: 279a825a34592bb525b6cc45b4cbf170dbffee25a9eb21fd32dd70f2f9344448
3
+ metadata.gz: ff477b138edfd83c8a6f4f2fd13aaaa04dcc1f365d58b3e38b4faf3564f81185
4
+ data.tar.gz: 6f92fa4707bd434756d0b86ece8c8771c631bae52100688637ca18c01d5cb569
5
5
  SHA512:
6
- metadata.gz: 3a727db0cccda89d71599908c54e898cbe283048072758436ec944bf69dbab8327cb1b32e39e29214bd190fc1d2a54ae39d02b1dc334a5269aaf5140393ed78e
7
- data.tar.gz: 72473760de684020d20c1bd53b4b7b2dc1b8bcc1ed6524d17b95f1cd87358c8a80ea4e25e482e08d00c1d1666c6dc8a18e223640e6367bc46ad8479497811285
6
+ metadata.gz: fe93d7631fbde97b3f0f0b563bc1875b933fed236a0d7f46c1b8fe877f4aba8a879d01d3a2a5a318817ca65c0d425c8fdc5bc22e067b8d28e02febef894bca0a
7
+ data.tar.gz: 2ea252330bd8d2f3be2fa5ea2cbf6ba38ba2433c25898636192ef758d901c89045a2ee2870a80ec53dd6c83e5f0ed863d490142e84bbe7a34caf20726532175a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2023-03-27)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.19.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.20.0
@@ -374,11 +374,11 @@ module Aws::AppRegistry
374
374
  # are machine-readable, such as third-party integrations.
375
375
  #
376
376
  # @option params [required, String] :application
377
- # The name or ID of the application.
377
+ # The name, ID, or ARN of the application.
378
378
  #
379
379
  # @option params [required, String] :attribute_group
380
- # The name or ID of the attribute group that holds the attributes to
381
- # describe the application.
380
+ # The name, ID, or ARN of the attribute group that holds the attributes
381
+ # to describe the application.
382
382
  #
383
383
  # @return [Types::AssociateAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
384
384
  #
@@ -406,11 +406,12 @@ module Aws::AppRegistry
406
406
  req.send_request(options)
407
407
  end
408
408
 
409
- # Associates a resource with an application. Both the resource and the
410
- # application can be specified either by ID or name.
409
+ # Associates a resource with an application. The resource can be
410
+ # specified by its ARN or name. The application can be specified by ARN,
411
+ # ID, or name.
411
412
  #
412
413
  # @option params [required, String] :application
413
- # The name or ID of the application.
414
+ # The name, ID, or ARN of the application.
414
415
  #
415
416
  # @option params [required, String] :resource_type
416
417
  # The type of resource of which the application will be associated.
@@ -571,12 +572,12 @@ module Aws::AppRegistry
571
572
  req.send_request(options)
572
573
  end
573
574
 
574
- # Deletes an application that is specified either by its application ID
575
- # or name. All associated attribute groups and resources must be
575
+ # Deletes an application that is specified either by its application ID,
576
+ # name, or ARN. All associated attribute groups and resources must be
576
577
  # disassociated from it before deleting an application.
577
578
  #
578
579
  # @option params [required, String] :application
579
- # The name or ID of the application.
580
+ # The name, ID, or ARN of the application.
580
581
  #
581
582
  # @return [Types::DeleteApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
582
583
  #
@@ -606,12 +607,12 @@ module Aws::AppRegistry
606
607
  req.send_request(options)
607
608
  end
608
609
 
609
- # Deletes an attribute group, specified either by its attribute group ID
610
- # or name.
610
+ # Deletes an attribute group, specified either by its attribute group
611
+ # ID, name, or ARN.
611
612
  #
612
613
  # @option params [required, String] :attribute_group
613
- # The name or ID of the attribute group that holds the attributes to
614
- # describe the application.
614
+ # The name, ID, or ARN of the attribute group that holds the attributes
615
+ # to describe the application.
615
616
  #
616
617
  # @return [Types::DeleteAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
617
618
  #
@@ -631,6 +632,7 @@ module Aws::AppRegistry
631
632
  # resp.attribute_group.description #=> String
632
633
  # resp.attribute_group.creation_time #=> Time
633
634
  # resp.attribute_group.last_update_time #=> Time
635
+ # resp.attribute_group.created_by #=> String
634
636
  #
635
637
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup AWS API Documentation
636
638
  #
@@ -647,11 +649,11 @@ module Aws::AppRegistry
647
649
  # `AssociateAttributeGroup`.
648
650
  #
649
651
  # @option params [required, String] :application
650
- # The name or ID of the application.
652
+ # The name, ID, or ARN of the application.
651
653
  #
652
654
  # @option params [required, String] :attribute_group
653
- # The name or ID of the attribute group that holds the attributes to
654
- # describe the application.
655
+ # The name, ID, or ARN of the attribute group that holds the attributes
656
+ # to describe the application.
655
657
  #
656
658
  # @return [Types::DisassociateAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
657
659
  #
@@ -719,15 +721,14 @@ module Aws::AppRegistry
719
721
  end
720
722
 
721
723
  # Retrieves metadata information about one of your applications. The
722
- # application can be specified either by its unique ID or by its name
723
- # (which is unique within one account in one region at a given point in
724
- # time). Specify by ID in automated workflows if you want to make sure
725
- # that the exact same application is returned or a
726
- # `ResourceNotFoundException` is thrown, avoiding the ABA addressing
727
- # problem.
724
+ # application can be specified by its ARN, ID, or name (which is unique
725
+ # within one account in one region at a given point in time). Specify by
726
+ # ARN or ID in automated workflows if you want to make sure that the
727
+ # exact same application is returned or a `ResourceNotFoundException` is
728
+ # thrown, avoiding the ABA addressing problem.
728
729
  #
729
730
  # @option params [required, String] :application
730
- # The name or ID of the application.
731
+ # The name, ID, or ARN of the application.
731
732
  #
732
733
  # @return [Types::GetApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
733
734
  #
@@ -774,7 +775,7 @@ module Aws::AppRegistry
774
775
  # Gets the resource associated with the application.
775
776
  #
776
777
  # @option params [required, String] :application
777
- # The name or ID of the application.
778
+ # The name, ID, or ARN of the application.
778
779
  #
779
780
  # @option params [required, String] :resource_type
780
781
  # The type of resource associated with the application.
@@ -812,13 +813,12 @@ module Aws::AppRegistry
812
813
  req.send_request(options)
813
814
  end
814
815
 
815
- # Retrieves an attribute group, either by its name or its ID. The
816
- # attribute group can be specified either by its unique ID or by its
817
- # name.
816
+ # Retrieves an attribute group by its ARN, ID, or name. The attribute
817
+ # group can be specified by its ARN, ID, or name.
818
818
  #
819
819
  # @option params [required, String] :attribute_group
820
- # The name or ID of the attribute group that holds the attributes to
821
- # describe the application.
820
+ # The name, ID, or ARN of the attribute group that holds the attributes
821
+ # to describe the application.
822
822
  #
823
823
  # @return [Types::GetAttributeGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
824
824
  #
@@ -830,6 +830,7 @@ module Aws::AppRegistry
830
830
  # * {Types::GetAttributeGroupResponse#creation_time #creation_time} => Time
831
831
  # * {Types::GetAttributeGroupResponse#last_update_time #last_update_time} => Time
832
832
  # * {Types::GetAttributeGroupResponse#tags #tags} => Hash<String,String>
833
+ # * {Types::GetAttributeGroupResponse#created_by #created_by} => String
833
834
  #
834
835
  # @example Request syntax with placeholder values
835
836
  #
@@ -848,6 +849,7 @@ module Aws::AppRegistry
848
849
  # resp.last_update_time #=> Time
849
850
  # resp.tags #=> Hash
850
851
  # resp.tags["TagKey"] #=> String
852
+ # resp.created_by #=> String
851
853
  #
852
854
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup AWS API Documentation
853
855
  #
@@ -978,7 +980,7 @@ module Aws::AppRegistry
978
980
  # </note>
979
981
  #
980
982
  # @option params [required, String] :application
981
- # The name or ID of the application.
983
+ # The name, ID, or ARN of the application.
982
984
  #
983
985
  # @option params [String] :next_token
984
986
  # The token to use to get the next page of results after a previous API
@@ -1057,6 +1059,7 @@ module Aws::AppRegistry
1057
1059
  # resp.attribute_groups[0].description #=> String
1058
1060
  # resp.attribute_groups[0].creation_time #=> Time
1059
1061
  # resp.attribute_groups[0].last_update_time #=> Time
1062
+ # resp.attribute_groups[0].created_by #=> String
1060
1063
  # resp.next_token #=> String
1061
1064
  #
1062
1065
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups AWS API Documentation
@@ -1104,6 +1107,7 @@ module Aws::AppRegistry
1104
1107
  # resp.attribute_groups_details[0].id #=> String
1105
1108
  # resp.attribute_groups_details[0].arn #=> String
1106
1109
  # resp.attribute_groups_details[0].name #=> String
1110
+ # resp.attribute_groups_details[0].created_by #=> String
1107
1111
  # resp.next_token #=> String
1108
1112
  #
1109
1113
  # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication AWS API Documentation
@@ -1278,7 +1282,7 @@ module Aws::AppRegistry
1278
1282
  # Updates an existing application with new attributes.
1279
1283
  #
1280
1284
  # @option params [required, String] :application
1281
- # The name or ID of the application that will be updated.
1285
+ # The name, ID, or ARN of the application that will be updated.
1282
1286
  #
1283
1287
  # @option params [String] :name
1284
1288
  # Deprecated: The new name of the application. The name must be unique
@@ -1323,8 +1327,8 @@ module Aws::AppRegistry
1323
1327
  # Updates an existing attribute group with new details.
1324
1328
  #
1325
1329
  # @option params [required, String] :attribute_group
1326
- # The name or ID of the attribute group that holds the attributes to
1327
- # describe the application.
1330
+ # The name, ID, or ARN of the attribute group that holds the attributes
1331
+ # to describe the application.
1328
1332
  #
1329
1333
  # @option params [String] :name
1330
1334
  # Deprecated: The new name of the attribute group. The name must be
@@ -1386,7 +1390,7 @@ module Aws::AppRegistry
1386
1390
  params: params,
1387
1391
  config: config)
1388
1392
  context[:gem_name] = 'aws-sdk-appregistry'
1389
- context[:gem_version] = '1.19.0'
1393
+ context[:gem_version] = '1.20.0'
1390
1394
  Seahorse::Client::Request.new(handlers, context)
1391
1395
  end
1392
1396
 
@@ -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 (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: {})
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?(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"
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
- 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: {})
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
- return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-appregistry-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
39
33
  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: {})
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
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
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 Service Catalog AppRegistry settings.
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 ID of the application.
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 ID of the attribute group that holds the attributes to
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 ID of the application.
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 ID of the application.
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 ID of the attribute group that holds the attributes to
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 ID of the application.
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 ID of the attribute group that holds the attributes to
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 ID of the application.
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 ID of the application.
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 ID of the attribute group that holds the attributes to
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 ID of the application.
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 ID of the application that will be updated.
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 ID of the attribute group that holds the attributes to
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-appregistry/customizations'
52
52
  # @!group service
53
53
  module Aws::AppRegistry
54
54
 
55
- GEM_VERSION = '1.19.0'
55
+ GEM_VERSION = '1.20.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appregistry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.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-01-18 00:00:00.000000000 Z
11
+ date: 2023-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core