aws-sdk-appregistry 1.15.0 → 1.16.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: 7582c6c599b2cecc5503d234052c1be7b9e8d2ce138489204b1268069900714f
4
- data.tar.gz: d48ea84089caf79898283fba062c7288569e8b42efbaf64702ba7e9ed1acc9bd
3
+ metadata.gz: 253422dd4c46b3893dabb765f536edf7ec5d38d961e3473d22f9266567d56aad
4
+ data.tar.gz: 22c13143797244ceed010e2c936cd2dd258599d4db983b60ba542acfbe8f52b4
5
5
  SHA512:
6
- metadata.gz: dbb6233de17b6c3b4dadd61569605aa3e9cf516eaec8df4248fc579337340e6a01cadd78f4c5d22898aa85cd0d17db6860a716c2d90d92b4cd478c6eb02d9283
7
- data.tar.gz: 803a7fe0f671078a0d6f77fce53daa8f191cdfeb51d52789cdd0c6097051671a9e667dbb2699d625753c927ab32b275ea2984171f81d722ee22c9fa6dd846030
6
+ metadata.gz: f5cbf8367685fd0dfc2359e2014caf9155953f2c0a8dc36fa87a223a0a7fa8170da437f856dba823c46122a41e11e1d1eb7a0a7e6592818466af5da02d14646f
7
+ data.tar.gz: 598f5f5a32445cbd3e6a8f679fa8eda406b44d92813cbfba60462855b4794e8698b7d7b5e3dc4fd5fc3f345850b8b66601b9066fa324db52020b1245c98d91a5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2022-06-15)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new API ListAttributeGroupsForApplication that returns associated attribute groups of an application. In addition, the UpdateApplication and UpdateAttributeGroup APIs will not allow users to update the 'Name' attribute.
8
+
4
9
  1.15.0 (2022-02-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.16.0
@@ -1023,6 +1023,53 @@ module Aws::AppRegistry
1023
1023
  req.send_request(options)
1024
1024
  end
1025
1025
 
1026
+ # Lists the details of all attribute groups associated with a specific
1027
+ # application. The results display in pages.
1028
+ #
1029
+ # @option params [required, String] :application
1030
+ # The name or ID of the application.
1031
+ #
1032
+ # @option params [String] :next_token
1033
+ # This token retrieves the next page of results after a previous API
1034
+ # call.
1035
+ #
1036
+ # @option params [Integer] :max_results
1037
+ # The upper bound of the number of results to return. The value cannot
1038
+ # exceed 25. If you omit this parameter, it defaults to 25. This value
1039
+ # is optional.
1040
+ #
1041
+ # @return [Types::ListAttributeGroupsForApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1042
+ #
1043
+ # * {Types::ListAttributeGroupsForApplicationResponse#attribute_groups_details #attribute_groups_details} => Array<Types::AttributeGroupDetails>
1044
+ # * {Types::ListAttributeGroupsForApplicationResponse#next_token #next_token} => String
1045
+ #
1046
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1047
+ #
1048
+ # @example Request syntax with placeholder values
1049
+ #
1050
+ # resp = client.list_attribute_groups_for_application({
1051
+ # application: "ApplicationSpecifier", # required
1052
+ # next_token: "NextToken",
1053
+ # max_results: 1,
1054
+ # })
1055
+ #
1056
+ # @example Response structure
1057
+ #
1058
+ # resp.attribute_groups_details #=> Array
1059
+ # resp.attribute_groups_details[0].id #=> String
1060
+ # resp.attribute_groups_details[0].arn #=> String
1061
+ # resp.attribute_groups_details[0].name #=> String
1062
+ # resp.next_token #=> String
1063
+ #
1064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication AWS API Documentation
1065
+ #
1066
+ # @overload list_attribute_groups_for_application(params = {})
1067
+ # @param [Hash] params ({})
1068
+ def list_attribute_groups_for_application(params = {}, options = {})
1069
+ req = build_request(:list_attribute_groups_for_application, params)
1070
+ req.send_request(options)
1071
+ end
1072
+
1026
1073
  # Lists all of the tags on the resource.
1027
1074
  #
1028
1075
  # @option params [required, String] :resource_arn
@@ -1163,8 +1210,9 @@ module Aws::AppRegistry
1163
1210
  # The name or ID of the application that will be updated.
1164
1211
  #
1165
1212
  # @option params [String] :name
1166
- # The new name of the application. The name must be unique in the region
1167
- # in which you are updating the application.
1213
+ # Deprecated: The new name of the application. The name must be unique
1214
+ # in the region in which you are updating the application. Please do not
1215
+ # use this field as we have stopped supporting name updates.
1168
1216
  #
1169
1217
  # @option params [String] :description
1170
1218
  # The new description of the application.
@@ -1208,8 +1256,10 @@ module Aws::AppRegistry
1208
1256
  # describe the application.
1209
1257
  #
1210
1258
  # @option params [String] :name
1211
- # The new name of the attribute group. The name must be unique in the
1212
- # region in which you are updating the attribute group.
1259
+ # Deprecated: The new name of the attribute group. The name must be
1260
+ # unique in the region in which you are updating the attribute group.
1261
+ # Please do not use this field as we have stopped supporting name
1262
+ # updates.
1213
1263
  #
1214
1264
  # @option params [String] :description
1215
1265
  # The description of the attribute group that the user provides.
@@ -1265,7 +1315,7 @@ module Aws::AppRegistry
1265
1315
  params: params,
1266
1316
  config: config)
1267
1317
  context[:gem_name] = 'aws-sdk-appregistry'
1268
- context[:gem_version] = '1.15.0'
1318
+ context[:gem_version] = '1.16.0'
1269
1319
  Seahorse::Client::Request.new(handlers, context)
1270
1320
  end
1271
1321
 
@@ -27,6 +27,8 @@ module Aws::AppRegistry
27
27
  AssociationCount = Shapes::IntegerShape.new(name: 'AssociationCount')
28
28
  AttributeGroup = Shapes::StructureShape.new(name: 'AttributeGroup')
29
29
  AttributeGroupArn = Shapes::StringShape.new(name: 'AttributeGroupArn')
30
+ AttributeGroupDetails = Shapes::StructureShape.new(name: 'AttributeGroupDetails')
31
+ AttributeGroupDetailsList = Shapes::ListShape.new(name: 'AttributeGroupDetailsList')
30
32
  AttributeGroupId = Shapes::StringShape.new(name: 'AttributeGroupId')
31
33
  AttributeGroupIds = Shapes::ListShape.new(name: 'AttributeGroupIds')
32
34
  AttributeGroupSpecifier = Shapes::StringShape.new(name: 'AttributeGroupSpecifier')
@@ -62,6 +64,8 @@ module Aws::AppRegistry
62
64
  ListAssociatedAttributeGroupsResponse = Shapes::StructureShape.new(name: 'ListAssociatedAttributeGroupsResponse')
63
65
  ListAssociatedResourcesRequest = Shapes::StructureShape.new(name: 'ListAssociatedResourcesRequest')
64
66
  ListAssociatedResourcesResponse = Shapes::StructureShape.new(name: 'ListAssociatedResourcesResponse')
67
+ ListAttributeGroupsForApplicationRequest = Shapes::StructureShape.new(name: 'ListAttributeGroupsForApplicationRequest')
68
+ ListAttributeGroupsForApplicationResponse = Shapes::StructureShape.new(name: 'ListAttributeGroupsForApplicationResponse')
65
69
  ListAttributeGroupsRequest = Shapes::StructureShape.new(name: 'ListAttributeGroupsRequest')
66
70
  ListAttributeGroupsResponse = Shapes::StructureShape.new(name: 'ListAttributeGroupsResponse')
67
71
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -144,6 +148,13 @@ module Aws::AppRegistry
144
148
  AttributeGroup.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
145
149
  AttributeGroup.struct_class = Types::AttributeGroup
146
150
 
151
+ AttributeGroupDetails.add_member(:id, Shapes::ShapeRef.new(shape: AttributeGroupId, location_name: "id"))
152
+ AttributeGroupDetails.add_member(:arn, Shapes::ShapeRef.new(shape: AttributeGroupArn, location_name: "arn"))
153
+ AttributeGroupDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
154
+ AttributeGroupDetails.struct_class = Types::AttributeGroupDetails
155
+
156
+ AttributeGroupDetailsList.member = Shapes::ShapeRef.new(shape: AttributeGroupDetails)
157
+
147
158
  AttributeGroupIds.member = Shapes::ShapeRef.new(shape: AttributeGroupId)
148
159
 
149
160
  AttributeGroupSummaries.member = Shapes::ShapeRef.new(shape: AttributeGroupSummary)
@@ -274,6 +285,15 @@ module Aws::AppRegistry
274
285
  ListAssociatedResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
275
286
  ListAssociatedResourcesResponse.struct_class = Types::ListAssociatedResourcesResponse
276
287
 
288
+ ListAttributeGroupsForApplicationRequest.add_member(:application, Shapes::ShapeRef.new(shape: ApplicationSpecifier, required: true, location: "uri", location_name: "application"))
289
+ ListAttributeGroupsForApplicationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
290
+ ListAttributeGroupsForApplicationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
291
+ ListAttributeGroupsForApplicationRequest.struct_class = Types::ListAttributeGroupsForApplicationRequest
292
+
293
+ ListAttributeGroupsForApplicationResponse.add_member(:attribute_groups_details, Shapes::ShapeRef.new(shape: AttributeGroupDetailsList, location_name: "attributeGroupsDetails"))
294
+ ListAttributeGroupsForApplicationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
295
+ ListAttributeGroupsForApplicationResponse.struct_class = Types::ListAttributeGroupsForApplicationResponse
296
+
277
297
  ListAttributeGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
278
298
  ListAttributeGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
279
299
  ListAttributeGroupsRequest.struct_class = Types::ListAttributeGroupsRequest
@@ -389,6 +409,7 @@ module Aws::AppRegistry
389
409
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
390
410
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
391
411
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
412
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
392
413
  end)
393
414
 
394
415
  api.add_operation(:associate_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -401,6 +422,7 @@ module Aws::AppRegistry
401
422
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
402
423
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
403
424
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
425
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
404
426
  end)
405
427
 
406
428
  api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
@@ -412,6 +434,7 @@ module Aws::AppRegistry
412
434
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
413
435
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
414
436
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
437
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
415
438
  end)
416
439
 
417
440
  api.add_operation(:create_attribute_group, Seahorse::Model::Operation.new.tap do |o|
@@ -467,6 +490,7 @@ module Aws::AppRegistry
467
490
  o.output = Shapes::ShapeRef.new(shape: DisassociateResourceResponse)
468
491
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
469
492
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
493
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
470
494
  end)
471
495
 
472
496
  api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
@@ -478,6 +502,7 @@ module Aws::AppRegistry
478
502
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
479
503
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
480
504
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
505
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
481
506
  end)
482
507
 
483
508
  api.add_operation(:get_associated_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -500,6 +525,7 @@ module Aws::AppRegistry
500
525
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
501
526
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
502
527
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
528
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
503
529
  end)
504
530
 
505
531
  api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
@@ -568,6 +594,23 @@ module Aws::AppRegistry
568
594
  )
569
595
  end)
570
596
 
597
+ api.add_operation(:list_attribute_groups_for_application, Seahorse::Model::Operation.new.tap do |o|
598
+ o.name = "ListAttributeGroupsForApplication"
599
+ o.http_method = "GET"
600
+ o.http_request_uri = "/applications/{application}/attribute-group-details"
601
+ o.input = Shapes::ShapeRef.new(shape: ListAttributeGroupsForApplicationRequest)
602
+ o.output = Shapes::ShapeRef.new(shape: ListAttributeGroupsForApplicationResponse)
603
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
604
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
605
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
606
+ o[:pager] = Aws::Pager.new(
607
+ limit_key: "max_results",
608
+ tokens: {
609
+ "next_token" => "next_token"
610
+ }
611
+ )
612
+ end)
613
+
571
614
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
572
615
  o.name = "ListTagsForResource"
573
616
  o.http_method = "GET"
@@ -621,6 +664,7 @@ module Aws::AppRegistry
621
664
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
622
665
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
623
666
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
667
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
624
668
  end)
625
669
 
626
670
  api.add_operation(:update_attribute_group, Seahorse::Model::Operation.new.tap do |o|
@@ -250,6 +250,30 @@ module Aws::AppRegistry
250
250
  include Aws::Structure
251
251
  end
252
252
 
253
+ # The details related to a specific AttributeGroup.
254
+ #
255
+ # @!attribute [rw] id
256
+ # The unique identifier of the attribute group.
257
+ # @return [String]
258
+ #
259
+ # @!attribute [rw] arn
260
+ # The Amazon resource name (ARN) that specifies the attribute group.
261
+ # @return [String]
262
+ #
263
+ # @!attribute [rw] name
264
+ # The name of the attribute group.
265
+ # @return [String]
266
+ #
267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AttributeGroupDetails AWS API Documentation
268
+ #
269
+ class AttributeGroupDetails < Struct.new(
270
+ :id,
271
+ :arn,
272
+ :name)
273
+ SENSITIVE = []
274
+ include Aws::Structure
275
+ end
276
+
253
277
  # Summary of a Amazon Web Services Service Catalog AppRegistry attribute
254
278
  # group.
255
279
  #
@@ -960,6 +984,58 @@ module Aws::AppRegistry
960
984
  include Aws::Structure
961
985
  end
962
986
 
987
+ # @note When making an API call, you may pass ListAttributeGroupsForApplicationRequest
988
+ # data as a hash:
989
+ #
990
+ # {
991
+ # application: "ApplicationSpecifier", # required
992
+ # next_token: "NextToken",
993
+ # max_results: 1,
994
+ # }
995
+ #
996
+ # @!attribute [rw] application
997
+ # The name or ID of the application.
998
+ # @return [String]
999
+ #
1000
+ # @!attribute [rw] next_token
1001
+ # This token retrieves the next page of results after a previous API
1002
+ # call.
1003
+ # @return [String]
1004
+ #
1005
+ # @!attribute [rw] max_results
1006
+ # The upper bound of the number of results to return. The value cannot
1007
+ # exceed 25. If you omit this parameter, it defaults to 25. This value
1008
+ # is optional.
1009
+ # @return [Integer]
1010
+ #
1011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplicationRequest AWS API Documentation
1012
+ #
1013
+ class ListAttributeGroupsForApplicationRequest < Struct.new(
1014
+ :application,
1015
+ :next_token,
1016
+ :max_results)
1017
+ SENSITIVE = []
1018
+ include Aws::Structure
1019
+ end
1020
+
1021
+ # @!attribute [rw] attribute_groups_details
1022
+ # The details related to a specific AttributeGroup.
1023
+ # @return [Array<Types::AttributeGroupDetails>]
1024
+ #
1025
+ # @!attribute [rw] next_token
1026
+ # The token to use to get the next page of results after a previous
1027
+ # API call.
1028
+ # @return [String]
1029
+ #
1030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplicationResponse AWS API Documentation
1031
+ #
1032
+ class ListAttributeGroupsForApplicationResponse < Struct.new(
1033
+ :attribute_groups_details,
1034
+ :next_token)
1035
+ SENSITIVE = []
1036
+ include Aws::Structure
1037
+ end
1038
+
963
1039
  # @note When making an API call, you may pass ListAttributeGroupsRequest
964
1040
  # data as a hash:
965
1041
  #
@@ -1288,8 +1364,9 @@ module Aws::AppRegistry
1288
1364
  # @return [String]
1289
1365
  #
1290
1366
  # @!attribute [rw] name
1291
- # The new name of the application. The name must be unique in the
1292
- # region in which you are updating the application.
1367
+ # Deprecated: The new name of the application. The name must be unique
1368
+ # in the region in which you are updating the application. Please do
1369
+ # not use this field as we have stopped supporting name updates.
1293
1370
  # @return [String]
1294
1371
  #
1295
1372
  # @!attribute [rw] description
@@ -1334,8 +1411,10 @@ module Aws::AppRegistry
1334
1411
  # @return [String]
1335
1412
  #
1336
1413
  # @!attribute [rw] name
1337
- # The new name of the attribute group. The name must be unique in the
1338
- # region in which you are updating the attribute group.
1414
+ # Deprecated: The new name of the attribute group. The name must be
1415
+ # unique in the region in which you are updating the attribute group.
1416
+ # Please do not use this field as we have stopped supporting name
1417
+ # updates.
1339
1418
  # @return [String]
1340
1419
  #
1341
1420
  # @!attribute [rw] description
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-appregistry/customizations'
48
48
  # @!group service
49
49
  module Aws::AppRegistry
50
50
 
51
- GEM_VERSION = '1.15.0'
51
+ GEM_VERSION = '1.16.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appregistry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.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: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core