aws-sdk-appregistry 1.15.0 → 1.17.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 +74 -7
- data/lib/aws-sdk-appregistry/client_api.rb +44 -0
- data/lib/aws-sdk-appregistry/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-appregistry/endpoint_provider.rb +119 -0
- data/lib/aws-sdk-appregistry/endpoints.rb +323 -0
- data/lib/aws-sdk-appregistry/plugins/endpoints.rb +112 -0
- data/lib/aws-sdk-appregistry/types.rb +83 -4
- data/lib/aws-sdk-appregistry.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d8c568923b27fa94eddb12e0d79532abaa9938ff8da9c77f99d9abc98a2ce79
|
4
|
+
data.tar.gz: e190f5cc52665bd80284e8c913644249bb5749da6172477f2c07465f778299e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba333a38ac30f02f8677e14b76e28cf5c469ace157358a86672c6590e0d03c62aef89d5728ee3e030eed7e27dc6929778e43e7f0f31a4638f26e94bb52298ca7
|
7
|
+
data.tar.gz: 82325fc7a510eea8a84523e474763163fe2e1bc26c44ebce94595ebdd811fe2005bb66a9d333e8e542c4dc4919a4799ef959f909479ade3057fccd1627d44475
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.17.0 (2022-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.16.0 (2022-06-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.15.0 (2022-02-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:appregistry)
|
@@ -79,8 +79,9 @@ module Aws::AppRegistry
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::AppRegistry::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::AppRegistry
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::AppRegistry
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::AppRegistry::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::AppRegistry::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -1023,6 +1040,53 @@ module Aws::AppRegistry
|
|
1023
1040
|
req.send_request(options)
|
1024
1041
|
end
|
1025
1042
|
|
1043
|
+
# Lists the details of all attribute groups associated with a specific
|
1044
|
+
# application. The results display in pages.
|
1045
|
+
#
|
1046
|
+
# @option params [required, String] :application
|
1047
|
+
# The name or ID of the application.
|
1048
|
+
#
|
1049
|
+
# @option params [String] :next_token
|
1050
|
+
# This token retrieves the next page of results after a previous API
|
1051
|
+
# call.
|
1052
|
+
#
|
1053
|
+
# @option params [Integer] :max_results
|
1054
|
+
# The upper bound of the number of results to return. The value cannot
|
1055
|
+
# exceed 25. If you omit this parameter, it defaults to 25. This value
|
1056
|
+
# is optional.
|
1057
|
+
#
|
1058
|
+
# @return [Types::ListAttributeGroupsForApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1059
|
+
#
|
1060
|
+
# * {Types::ListAttributeGroupsForApplicationResponse#attribute_groups_details #attribute_groups_details} => Array<Types::AttributeGroupDetails>
|
1061
|
+
# * {Types::ListAttributeGroupsForApplicationResponse#next_token #next_token} => String
|
1062
|
+
#
|
1063
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1064
|
+
#
|
1065
|
+
# @example Request syntax with placeholder values
|
1066
|
+
#
|
1067
|
+
# resp = client.list_attribute_groups_for_application({
|
1068
|
+
# application: "ApplicationSpecifier", # required
|
1069
|
+
# next_token: "NextToken",
|
1070
|
+
# max_results: 1,
|
1071
|
+
# })
|
1072
|
+
#
|
1073
|
+
# @example Response structure
|
1074
|
+
#
|
1075
|
+
# resp.attribute_groups_details #=> Array
|
1076
|
+
# resp.attribute_groups_details[0].id #=> String
|
1077
|
+
# resp.attribute_groups_details[0].arn #=> String
|
1078
|
+
# resp.attribute_groups_details[0].name #=> String
|
1079
|
+
# resp.next_token #=> String
|
1080
|
+
#
|
1081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication AWS API Documentation
|
1082
|
+
#
|
1083
|
+
# @overload list_attribute_groups_for_application(params = {})
|
1084
|
+
# @param [Hash] params ({})
|
1085
|
+
def list_attribute_groups_for_application(params = {}, options = {})
|
1086
|
+
req = build_request(:list_attribute_groups_for_application, params)
|
1087
|
+
req.send_request(options)
|
1088
|
+
end
|
1089
|
+
|
1026
1090
|
# Lists all of the tags on the resource.
|
1027
1091
|
#
|
1028
1092
|
# @option params [required, String] :resource_arn
|
@@ -1163,8 +1227,9 @@ module Aws::AppRegistry
|
|
1163
1227
|
# The name or ID of the application that will be updated.
|
1164
1228
|
#
|
1165
1229
|
# @option params [String] :name
|
1166
|
-
# The new name of the application. The name must be unique
|
1167
|
-
# in which you are updating the application.
|
1230
|
+
# Deprecated: The new name of the application. The name must be unique
|
1231
|
+
# in the region in which you are updating the application. Please do not
|
1232
|
+
# use this field as we have stopped supporting name updates.
|
1168
1233
|
#
|
1169
1234
|
# @option params [String] :description
|
1170
1235
|
# The new description of the application.
|
@@ -1208,8 +1273,10 @@ module Aws::AppRegistry
|
|
1208
1273
|
# describe the application.
|
1209
1274
|
#
|
1210
1275
|
# @option params [String] :name
|
1211
|
-
# The new name of the attribute group. The name must be
|
1212
|
-
# region in which you are updating the attribute group.
|
1276
|
+
# Deprecated: The new name of the attribute group. The name must be
|
1277
|
+
# unique in the region in which you are updating the attribute group.
|
1278
|
+
# Please do not use this field as we have stopped supporting name
|
1279
|
+
# updates.
|
1213
1280
|
#
|
1214
1281
|
# @option params [String] :description
|
1215
1282
|
# The description of the attribute group that the user provides.
|
@@ -1265,7 +1332,7 @@ module Aws::AppRegistry
|
|
1265
1332
|
params: params,
|
1266
1333
|
config: config)
|
1267
1334
|
context[:gem_name] = 'aws-sdk-appregistry'
|
1268
|
-
context[:gem_version] = '1.
|
1335
|
+
context[:gem_version] = '1.17.0'
|
1269
1336
|
Seahorse::Client::Request.new(handlers, context)
|
1270
1337
|
end
|
1271
1338
|
|
@@ -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|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::AppRegistry
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,119 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::AppRegistry
|
11
|
+
class EndpointProvider
|
12
|
+
def initialize(rule_set = nil)
|
13
|
+
@@rule_set ||= begin
|
14
|
+
endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
|
15
|
+
Aws::Endpoints::RuleSet.new(
|
16
|
+
version: endpoint_rules['version'],
|
17
|
+
service_id: endpoint_rules['serviceId'],
|
18
|
+
parameters: endpoint_rules['parameters'],
|
19
|
+
rules: endpoint_rules['rules']
|
20
|
+
)
|
21
|
+
end
|
22
|
+
@provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
|
23
|
+
end
|
24
|
+
|
25
|
+
def resolve_endpoint(parameters)
|
26
|
+
@provider.resolve_endpoint(parameters)
|
27
|
+
end
|
28
|
+
|
29
|
+
# @api private
|
30
|
+
RULES = <<-JSON
|
31
|
+
eyJ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nNTdWZm
|
108
|
+
aXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVu
|
109
|
+
ZHBvaW50In1dfSx7ImNvbmRpdGlvbnMiOltdLCJlcnJvciI6IkR1YWxTdGFj
|
110
|
+
ayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBw
|
111
|
+
b3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25z
|
112
|
+
IjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9zZXJ2aWNlY2F0YWxv
|
113
|
+
Zy1hcHByZWdpc3RyeS57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1
|
114
|
+
ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoi
|
115
|
+
ZW5kcG9pbnQifV19XX0=
|
116
|
+
|
117
|
+
JSON
|
118
|
+
end
|
119
|
+
end
|
@@ -0,0 +1,323 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::AppRegistry
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class AssociateAttributeGroup
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::AppRegistry::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class AssociateResource
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::AppRegistry::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class CreateApplication
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::AppRegistry::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class CreateAttributeGroup
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::AppRegistry::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class DeleteApplication
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::AppRegistry::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class DeleteAttributeGroup
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::AppRegistry::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class DisassociateAttributeGroup
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::AppRegistry::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class DisassociateResource
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::AppRegistry::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class GetApplication
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::AppRegistry::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class GetAssociatedResource
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::AppRegistry::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class GetAttributeGroup
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::AppRegistry::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class ListApplications
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::AppRegistry::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class ListAssociatedAttributeGroups
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::AppRegistry::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class ListAssociatedResources
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::AppRegistry::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class ListAttributeGroups
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::AppRegistry::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class ListAttributeGroupsForApplication
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::AppRegistry::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class ListTagsForResource
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::AppRegistry::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class SyncResource
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::AppRegistry::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class TagResource
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::AppRegistry::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class UntagResource
|
281
|
+
def self.build(context)
|
282
|
+
unless context.config.regional_endpoint
|
283
|
+
endpoint = context.config.endpoint.to_s
|
284
|
+
end
|
285
|
+
Aws::AppRegistry::EndpointParameters.new(
|
286
|
+
region: context.config.region,
|
287
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
288
|
+
use_fips: context.config.use_fips_endpoint,
|
289
|
+
endpoint: endpoint,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class UpdateApplication
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::AppRegistry::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class UpdateAttributeGroup
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::AppRegistry::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
end
|
323
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::AppRegistry
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::AppRegistry::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::AppRegistry::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::AppRegistry::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :associate_attribute_group
|
60
|
+
Aws::AppRegistry::Endpoints::AssociateAttributeGroup.build(context)
|
61
|
+
when :associate_resource
|
62
|
+
Aws::AppRegistry::Endpoints::AssociateResource.build(context)
|
63
|
+
when :create_application
|
64
|
+
Aws::AppRegistry::Endpoints::CreateApplication.build(context)
|
65
|
+
when :create_attribute_group
|
66
|
+
Aws::AppRegistry::Endpoints::CreateAttributeGroup.build(context)
|
67
|
+
when :delete_application
|
68
|
+
Aws::AppRegistry::Endpoints::DeleteApplication.build(context)
|
69
|
+
when :delete_attribute_group
|
70
|
+
Aws::AppRegistry::Endpoints::DeleteAttributeGroup.build(context)
|
71
|
+
when :disassociate_attribute_group
|
72
|
+
Aws::AppRegistry::Endpoints::DisassociateAttributeGroup.build(context)
|
73
|
+
when :disassociate_resource
|
74
|
+
Aws::AppRegistry::Endpoints::DisassociateResource.build(context)
|
75
|
+
when :get_application
|
76
|
+
Aws::AppRegistry::Endpoints::GetApplication.build(context)
|
77
|
+
when :get_associated_resource
|
78
|
+
Aws::AppRegistry::Endpoints::GetAssociatedResource.build(context)
|
79
|
+
when :get_attribute_group
|
80
|
+
Aws::AppRegistry::Endpoints::GetAttributeGroup.build(context)
|
81
|
+
when :list_applications
|
82
|
+
Aws::AppRegistry::Endpoints::ListApplications.build(context)
|
83
|
+
when :list_associated_attribute_groups
|
84
|
+
Aws::AppRegistry::Endpoints::ListAssociatedAttributeGroups.build(context)
|
85
|
+
when :list_associated_resources
|
86
|
+
Aws::AppRegistry::Endpoints::ListAssociatedResources.build(context)
|
87
|
+
when :list_attribute_groups
|
88
|
+
Aws::AppRegistry::Endpoints::ListAttributeGroups.build(context)
|
89
|
+
when :list_attribute_groups_for_application
|
90
|
+
Aws::AppRegistry::Endpoints::ListAttributeGroupsForApplication.build(context)
|
91
|
+
when :list_tags_for_resource
|
92
|
+
Aws::AppRegistry::Endpoints::ListTagsForResource.build(context)
|
93
|
+
when :sync_resource
|
94
|
+
Aws::AppRegistry::Endpoints::SyncResource.build(context)
|
95
|
+
when :tag_resource
|
96
|
+
Aws::AppRegistry::Endpoints::TagResource.build(context)
|
97
|
+
when :untag_resource
|
98
|
+
Aws::AppRegistry::Endpoints::UntagResource.build(context)
|
99
|
+
when :update_application
|
100
|
+
Aws::AppRegistry::Endpoints::UpdateApplication.build(context)
|
101
|
+
when :update_attribute_group
|
102
|
+
Aws::AppRegistry::Endpoints::UpdateAttributeGroup.build(context)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
def add_handlers(handlers, _config)
|
108
|
+
handlers.add(Handler, step: :build, priority: 75)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -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
|
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
|
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
|
data/lib/aws-sdk-appregistry.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-appregistry/types'
|
15
15
|
require_relative 'aws-sdk-appregistry/client_api'
|
16
|
+
require_relative 'aws-sdk-appregistry/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-appregistry/client'
|
17
18
|
require_relative 'aws-sdk-appregistry/errors'
|
18
19
|
require_relative 'aws-sdk-appregistry/resource'
|
20
|
+
require_relative 'aws-sdk-appregistry/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-appregistry/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-appregistry/endpoints'
|
19
23
|
require_relative 'aws-sdk-appregistry/customizations'
|
20
24
|
|
21
25
|
# This module provides support for AWS Service Catalog App Registry. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-appregistry/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::AppRegistry
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.17.0'
|
52
56
|
|
53
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.
|
4
|
+
version: 1.17.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-
|
11
|
+
date: 2022-10-25 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.165.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.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-appregistry/client.rb
|
60
60
|
- lib/aws-sdk-appregistry/client_api.rb
|
61
61
|
- lib/aws-sdk-appregistry/customizations.rb
|
62
|
+
- lib/aws-sdk-appregistry/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-appregistry/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-appregistry/endpoints.rb
|
62
65
|
- lib/aws-sdk-appregistry/errors.rb
|
66
|
+
- lib/aws-sdk-appregistry/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-appregistry/resource.rb
|
64
68
|
- lib/aws-sdk-appregistry/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|