aws-sdk-clouddirectory 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-clouddirectory.rb +1 -1
- data/lib/aws-sdk-clouddirectory/client.rb +167 -19
- data/lib/aws-sdk-clouddirectory/client_api.rb +82 -0
- data/lib/aws-sdk-clouddirectory/types.rb +189 -11
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15f45f4bfd06617d909ee0577aa7ee56481de0ec
|
4
|
+
data.tar.gz: f0a92767319ec5198d3f46812f73d756be99f0be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a16dacb584064b3e9d1a4d1ebb484983e59382d6e1dfb8a8db4631d1cb96dadf3fcdb57072bd5800c90ee59ff9b3881e996ad989454de96eeb5684d8291ebc81
|
7
|
+
data.tar.gz: 4696fde38eeb021f966576ee61ac9c9c1d0ff4209cbf7b28e666c50ab074520f889cf63176501e311fba1dc544c1c2f8da171a8146346e6e6f57153ce977c514
|
@@ -152,7 +152,8 @@ module Aws::CloudDirectory
|
|
152
152
|
# where the object resides. For more information, see arns.
|
153
153
|
#
|
154
154
|
# @option params [required, Types::SchemaFacet] :schema_facet
|
155
|
-
# Identifiers for the facet that you are adding to the object.
|
155
|
+
# Identifiers for the facet that you are adding to the object. See
|
156
|
+
# SchemaFacet for details.
|
156
157
|
#
|
157
158
|
# @option params [Array<Types::AttributeKeyAndValue>] :object_attribute_list
|
158
159
|
# Attributes on the facet that you are adding to the object.
|
@@ -200,8 +201,9 @@ module Aws::CloudDirectory
|
|
200
201
|
req.send_request(options)
|
201
202
|
end
|
202
203
|
|
203
|
-
# Copies the input published schema
|
204
|
-
# name and version as that of the published
|
204
|
+
# Copies the input published schema, at the specified version, into the
|
205
|
+
# Directory with the same name and version as that of the published
|
206
|
+
# schema.
|
205
207
|
#
|
206
208
|
# @option params [required, String] :published_schema_arn
|
207
209
|
# Published schema Amazon Resource Name (ARN) that needs to be copied.
|
@@ -734,8 +736,7 @@ module Aws::CloudDirectory
|
|
734
736
|
end
|
735
737
|
|
736
738
|
# Performs all the write operations in a batch. Either all the
|
737
|
-
# operations succeed or none.
|
738
|
-
# operations.
|
739
|
+
# operations succeed or none.
|
739
740
|
#
|
740
741
|
# @option params [required, String] :directory_arn
|
741
742
|
# The Amazon Resource Name (ARN) that is associated with the Directory.
|
@@ -1192,8 +1193,8 @@ module Aws::CloudDirectory
|
|
1192
1193
|
# in which the object will be created. For more information, see arns.
|
1193
1194
|
#
|
1194
1195
|
# @option params [required, Array<Types::SchemaFacet>] :schema_facets
|
1195
|
-
# A list of schema facets to be associated with the object
|
1196
|
-
#
|
1196
|
+
# A list of schema facets to be associated with the object. Do not
|
1197
|
+
# provide minor version components. See SchemaFacet for details.
|
1197
1198
|
#
|
1198
1199
|
# @option params [Array<Types::AttributeKeyAndValue>] :object_attribute_list
|
1199
1200
|
# The attribute map whose attribute ARN contains the key and attribute
|
@@ -1736,6 +1737,35 @@ module Aws::CloudDirectory
|
|
1736
1737
|
req.send_request(options)
|
1737
1738
|
end
|
1738
1739
|
|
1740
|
+
# Returns current applied schema version ARN, including the minor
|
1741
|
+
# version in use.
|
1742
|
+
#
|
1743
|
+
# @option params [required, String] :schema_arn
|
1744
|
+
# The ARN of the applied schema.
|
1745
|
+
#
|
1746
|
+
# @return [Types::GetAppliedSchemaVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1747
|
+
#
|
1748
|
+
# * {Types::GetAppliedSchemaVersionResponse#applied_schema_arn #applied_schema_arn} => String
|
1749
|
+
#
|
1750
|
+
# @example Request syntax with placeholder values
|
1751
|
+
#
|
1752
|
+
# resp = client.get_applied_schema_version({
|
1753
|
+
# schema_arn: "Arn", # required
|
1754
|
+
# })
|
1755
|
+
#
|
1756
|
+
# @example Response structure
|
1757
|
+
#
|
1758
|
+
# resp.applied_schema_arn #=> String
|
1759
|
+
#
|
1760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetAppliedSchemaVersion AWS API Documentation
|
1761
|
+
#
|
1762
|
+
# @overload get_applied_schema_version(params = {})
|
1763
|
+
# @param [Hash] params ({})
|
1764
|
+
def get_applied_schema_version(params = {}, options = {})
|
1765
|
+
req = build_request(:get_applied_schema_version, params)
|
1766
|
+
req.send_request(options)
|
1767
|
+
end
|
1768
|
+
|
1739
1769
|
# Retrieves metadata about a directory.
|
1740
1770
|
#
|
1741
1771
|
# @option params [required, String] :directory_arn
|
@@ -1919,11 +1949,16 @@ module Aws::CloudDirectory
|
|
1919
1949
|
req.send_request(options)
|
1920
1950
|
end
|
1921
1951
|
|
1922
|
-
# Lists
|
1952
|
+
# Lists schema major versions applied to a directory. If `SchemaArn` is
|
1953
|
+
# provided, lists the minor version.
|
1923
1954
|
#
|
1924
1955
|
# @option params [required, String] :directory_arn
|
1925
1956
|
# The ARN of the directory you are listing.
|
1926
1957
|
#
|
1958
|
+
# @option params [String] :schema_arn
|
1959
|
+
# The response for `ListAppliedSchemaArns` when this parameter is used
|
1960
|
+
# will list all minor version ARNs for a major version.
|
1961
|
+
#
|
1927
1962
|
# @option params [String] :next_token
|
1928
1963
|
# The pagination token.
|
1929
1964
|
#
|
@@ -1939,6 +1974,7 @@ module Aws::CloudDirectory
|
|
1939
1974
|
#
|
1940
1975
|
# resp = client.list_applied_schema_arns({
|
1941
1976
|
# directory_arn: "Arn", # required
|
1977
|
+
# schema_arn: "Arn",
|
1942
1978
|
# next_token: "NextToken",
|
1943
1979
|
# max_results: 1,
|
1944
1980
|
# })
|
@@ -1958,7 +1994,7 @@ module Aws::CloudDirectory
|
|
1958
1994
|
req.send_request(options)
|
1959
1995
|
end
|
1960
1996
|
|
1961
|
-
# Lists indices attached to
|
1997
|
+
# Lists indices attached to the specified object.
|
1962
1998
|
#
|
1963
1999
|
# @option params [required, String] :directory_arn
|
1964
2000
|
# The ARN of the directory.
|
@@ -2295,7 +2331,7 @@ module Aws::CloudDirectory
|
|
2295
2331
|
req.send_request(options)
|
2296
2332
|
end
|
2297
2333
|
|
2298
|
-
# Lists objects attached to the
|
2334
|
+
# Lists objects and indexed values attached to the index.
|
2299
2335
|
#
|
2300
2336
|
# @option params [required, String] :directory_arn
|
2301
2337
|
# The ARN of the directory that the index exists in.
|
@@ -2307,7 +2343,13 @@ module Aws::CloudDirectory
|
|
2307
2343
|
# The reference to the index to list.
|
2308
2344
|
#
|
2309
2345
|
# @option params [Integer] :max_results
|
2310
|
-
# The maximum number of
|
2346
|
+
# The maximum number of objects in a single page to retrieve from the
|
2347
|
+
# index during a request. For more information, see [AWS Directory
|
2348
|
+
# Service Limits][1].
|
2349
|
+
#
|
2350
|
+
#
|
2351
|
+
#
|
2352
|
+
# [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/limits.html#limits_cd
|
2311
2353
|
#
|
2312
2354
|
# @option params [String] :next_token
|
2313
2355
|
# The pagination token.
|
@@ -2838,7 +2880,12 @@ module Aws::CloudDirectory
|
|
2838
2880
|
req.send_request(options)
|
2839
2881
|
end
|
2840
2882
|
|
2841
|
-
#
|
2883
|
+
# Lists schema major versions for a published schema. If `SchemaArn` is
|
2884
|
+
# provided, lists the minor version.
|
2885
|
+
#
|
2886
|
+
# @option params [String] :schema_arn
|
2887
|
+
# The response for `ListPublishedSchemaArns` when this parameter is used
|
2888
|
+
# will list all minor version ARNs for a major version.
|
2842
2889
|
#
|
2843
2890
|
# @option params [String] :next_token
|
2844
2891
|
# The pagination token.
|
@@ -2854,6 +2901,7 @@ module Aws::CloudDirectory
|
|
2854
2901
|
# @example Request syntax with placeholder values
|
2855
2902
|
#
|
2856
2903
|
# resp = client.list_published_schema_arns({
|
2904
|
+
# schema_arn: "Arn",
|
2857
2905
|
# next_token: "NextToken",
|
2858
2906
|
# max_results: 1,
|
2859
2907
|
# })
|
@@ -3086,17 +3134,21 @@ module Aws::CloudDirectory
|
|
3086
3134
|
req.send_request(options)
|
3087
3135
|
end
|
3088
3136
|
|
3089
|
-
# Publishes a development schema with a version
|
3090
|
-
#
|
3091
|
-
# schema description and attributes. If not, the development schema
|
3092
|
-
# description and attributes are used.
|
3137
|
+
# Publishes a development schema with a major version and a recommended
|
3138
|
+
# minor version.
|
3093
3139
|
#
|
3094
3140
|
# @option params [required, String] :development_schema_arn
|
3095
3141
|
# The Amazon Resource Name (ARN) that is associated with the development
|
3096
3142
|
# schema. For more information, see arns.
|
3097
3143
|
#
|
3098
3144
|
# @option params [required, String] :version
|
3099
|
-
# The version under which the schema will be published.
|
3145
|
+
# The major version under which the schema will be published. Schemas
|
3146
|
+
# have both a major and minor version associated with them.
|
3147
|
+
#
|
3148
|
+
# @option params [String] :minor_version
|
3149
|
+
# The minor version under which the schema will be published. This
|
3150
|
+
# parameter is recommended. Schemas have both a major and minor version
|
3151
|
+
# associated with them.
|
3100
3152
|
#
|
3101
3153
|
# @option params [String] :name
|
3102
3154
|
# The new name under which the schema will be published. If this is not
|
@@ -3111,6 +3163,7 @@ module Aws::CloudDirectory
|
|
3111
3163
|
# resp = client.publish_schema({
|
3112
3164
|
# development_schema_arn: "Arn", # required
|
3113
3165
|
# version: "Version", # required
|
3166
|
+
# minor_version: "Version",
|
3114
3167
|
# name: "SchemaName",
|
3115
3168
|
# })
|
3116
3169
|
#
|
@@ -3170,7 +3223,7 @@ module Aws::CloudDirectory
|
|
3170
3223
|
# The ARN of the directory in which the object resides.
|
3171
3224
|
#
|
3172
3225
|
# @option params [required, Types::SchemaFacet] :schema_facet
|
3173
|
-
# The facet to remove.
|
3226
|
+
# The facet to remove. See SchemaFacet for details.
|
3174
3227
|
#
|
3175
3228
|
# @option params [required, Types::ObjectReference] :object_reference
|
3176
3229
|
# A reference to the object to remove the facet from.
|
@@ -3500,6 +3553,101 @@ module Aws::CloudDirectory
|
|
3500
3553
|
req.send_request(options)
|
3501
3554
|
end
|
3502
3555
|
|
3556
|
+
# Upgrades a single directory in-place using the `PublishedSchemaArn`
|
3557
|
+
# with schema updates found in `MinorVersion`. Backwards-compatible
|
3558
|
+
# minor version upgrades are instantaneously available for readers on
|
3559
|
+
# all objects in the directory. Note: This is a synchronous API call and
|
3560
|
+
# upgrades only one schema on a given directory per call. To upgrade
|
3561
|
+
# multiple directories from one schema, you would need to call this API
|
3562
|
+
# on each directory.
|
3563
|
+
#
|
3564
|
+
# @option params [required, String] :published_schema_arn
|
3565
|
+
# The revision of the published schema to upgrade the directory to.
|
3566
|
+
#
|
3567
|
+
# @option params [required, String] :directory_arn
|
3568
|
+
# The ARN for the directory to which the upgraded schema will be
|
3569
|
+
# applied.
|
3570
|
+
#
|
3571
|
+
# @option params [Boolean] :dry_run
|
3572
|
+
# Used for testing whether the major version schemas are backward
|
3573
|
+
# compatible or not. If schema compatibility fails, an exception would
|
3574
|
+
# be thrown else the call would succeed but no changes will be saved.
|
3575
|
+
# This parameter is optional.
|
3576
|
+
#
|
3577
|
+
# @return [Types::UpgradeAppliedSchemaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3578
|
+
#
|
3579
|
+
# * {Types::UpgradeAppliedSchemaResponse#upgraded_schema_arn #upgraded_schema_arn} => String
|
3580
|
+
# * {Types::UpgradeAppliedSchemaResponse#directory_arn #directory_arn} => String
|
3581
|
+
#
|
3582
|
+
# @example Request syntax with placeholder values
|
3583
|
+
#
|
3584
|
+
# resp = client.upgrade_applied_schema({
|
3585
|
+
# published_schema_arn: "Arn", # required
|
3586
|
+
# directory_arn: "Arn", # required
|
3587
|
+
# dry_run: false,
|
3588
|
+
# })
|
3589
|
+
#
|
3590
|
+
# @example Response structure
|
3591
|
+
#
|
3592
|
+
# resp.upgraded_schema_arn #=> String
|
3593
|
+
# resp.directory_arn #=> String
|
3594
|
+
#
|
3595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpgradeAppliedSchema AWS API Documentation
|
3596
|
+
#
|
3597
|
+
# @overload upgrade_applied_schema(params = {})
|
3598
|
+
# @param [Hash] params ({})
|
3599
|
+
def upgrade_applied_schema(params = {}, options = {})
|
3600
|
+
req = build_request(:upgrade_applied_schema, params)
|
3601
|
+
req.send_request(options)
|
3602
|
+
end
|
3603
|
+
|
3604
|
+
# Upgrades a published schema under a new minor version revision using
|
3605
|
+
# the current contents of `DevelopmentSchemaArn`.
|
3606
|
+
#
|
3607
|
+
# @option params [required, String] :development_schema_arn
|
3608
|
+
# The ARN of the development schema with the changes used for the
|
3609
|
+
# upgrade.
|
3610
|
+
#
|
3611
|
+
# @option params [required, String] :published_schema_arn
|
3612
|
+
# The ARN of the published schema to be upgraded.
|
3613
|
+
#
|
3614
|
+
# @option params [required, String] :minor_version
|
3615
|
+
# Identifies the minor version of the published schema that will be
|
3616
|
+
# created. This parameter is NOT optional.
|
3617
|
+
#
|
3618
|
+
# @option params [Boolean] :dry_run
|
3619
|
+
# Used for testing whether the Development schema provided is backwards
|
3620
|
+
# compatible, or not, with the publish schema provided by the user to be
|
3621
|
+
# upgraded. If schema compatibility fails, an exception would be thrown
|
3622
|
+
# else the call would succeed. This parameter is optional and defaults
|
3623
|
+
# to false.
|
3624
|
+
#
|
3625
|
+
# @return [Types::UpgradePublishedSchemaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3626
|
+
#
|
3627
|
+
# * {Types::UpgradePublishedSchemaResponse#upgraded_schema_arn #upgraded_schema_arn} => String
|
3628
|
+
#
|
3629
|
+
# @example Request syntax with placeholder values
|
3630
|
+
#
|
3631
|
+
# resp = client.upgrade_published_schema({
|
3632
|
+
# development_schema_arn: "Arn", # required
|
3633
|
+
# published_schema_arn: "Arn", # required
|
3634
|
+
# minor_version: "Version", # required
|
3635
|
+
# dry_run: false,
|
3636
|
+
# })
|
3637
|
+
#
|
3638
|
+
# @example Response structure
|
3639
|
+
#
|
3640
|
+
# resp.upgraded_schema_arn #=> String
|
3641
|
+
#
|
3642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpgradePublishedSchema AWS API Documentation
|
3643
|
+
#
|
3644
|
+
# @overload upgrade_published_schema(params = {})
|
3645
|
+
# @param [Hash] params ({})
|
3646
|
+
def upgrade_published_schema(params = {}, options = {})
|
3647
|
+
req = build_request(:upgrade_published_schema, params)
|
3648
|
+
req.send_request(options)
|
3649
|
+
end
|
3650
|
+
|
3503
3651
|
# @!endgroup
|
3504
3652
|
|
3505
3653
|
# @param params ({})
|
@@ -3513,7 +3661,7 @@ module Aws::CloudDirectory
|
|
3513
3661
|
params: params,
|
3514
3662
|
config: config)
|
3515
3663
|
context[:gem_name] = 'aws-sdk-clouddirectory'
|
3516
|
-
context[:gem_version] = '1.
|
3664
|
+
context[:gem_version] = '1.1.0'
|
3517
3665
|
Seahorse::Client::Request.new(handlers, context)
|
3518
3666
|
end
|
3519
3667
|
|
@@ -167,6 +167,8 @@ module Aws::CloudDirectory
|
|
167
167
|
FacetNameList = Shapes::ListShape.new(name: 'FacetNameList')
|
168
168
|
FacetNotFoundException = Shapes::StructureShape.new(name: 'FacetNotFoundException')
|
169
169
|
FacetValidationException = Shapes::StructureShape.new(name: 'FacetValidationException')
|
170
|
+
GetAppliedSchemaVersionRequest = Shapes::StructureShape.new(name: 'GetAppliedSchemaVersionRequest')
|
171
|
+
GetAppliedSchemaVersionResponse = Shapes::StructureShape.new(name: 'GetAppliedSchemaVersionResponse')
|
170
172
|
GetDirectoryRequest = Shapes::StructureShape.new(name: 'GetDirectoryRequest')
|
171
173
|
GetDirectoryResponse = Shapes::StructureShape.new(name: 'GetDirectoryResponse')
|
172
174
|
GetFacetRequest = Shapes::StructureShape.new(name: 'GetFacetRequest')
|
@@ -177,6 +179,7 @@ module Aws::CloudDirectory
|
|
177
179
|
GetSchemaAsJsonResponse = Shapes::StructureShape.new(name: 'GetSchemaAsJsonResponse')
|
178
180
|
GetTypedLinkFacetInformationRequest = Shapes::StructureShape.new(name: 'GetTypedLinkFacetInformationRequest')
|
179
181
|
GetTypedLinkFacetInformationResponse = Shapes::StructureShape.new(name: 'GetTypedLinkFacetInformationResponse')
|
182
|
+
IncompatibleSchemaException = Shapes::StructureShape.new(name: 'IncompatibleSchemaException')
|
180
183
|
IndexAttachment = Shapes::StructureShape.new(name: 'IndexAttachment')
|
181
184
|
IndexAttachmentList = Shapes::ListShape.new(name: 'IndexAttachmentList')
|
182
185
|
IndexedAttributeMissingException = Shapes::StructureShape.new(name: 'IndexedAttributeMissingException')
|
@@ -318,6 +321,10 @@ module Aws::CloudDirectory
|
|
318
321
|
UpdateSchemaResponse = Shapes::StructureShape.new(name: 'UpdateSchemaResponse')
|
319
322
|
UpdateTypedLinkFacetRequest = Shapes::StructureShape.new(name: 'UpdateTypedLinkFacetRequest')
|
320
323
|
UpdateTypedLinkFacetResponse = Shapes::StructureShape.new(name: 'UpdateTypedLinkFacetResponse')
|
324
|
+
UpgradeAppliedSchemaRequest = Shapes::StructureShape.new(name: 'UpgradeAppliedSchemaRequest')
|
325
|
+
UpgradeAppliedSchemaResponse = Shapes::StructureShape.new(name: 'UpgradeAppliedSchemaResponse')
|
326
|
+
UpgradePublishedSchemaRequest = Shapes::StructureShape.new(name: 'UpgradePublishedSchemaRequest')
|
327
|
+
UpgradePublishedSchemaResponse = Shapes::StructureShape.new(name: 'UpgradePublishedSchemaResponse')
|
321
328
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
322
329
|
Version = Shapes::StringShape.new(name: 'Version')
|
323
330
|
|
@@ -844,6 +851,12 @@ module Aws::CloudDirectory
|
|
844
851
|
|
845
852
|
FacetNameList.member = Shapes::ShapeRef.new(shape: FacetName)
|
846
853
|
|
854
|
+
GetAppliedSchemaVersionRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "SchemaArn"))
|
855
|
+
GetAppliedSchemaVersionRequest.struct_class = Types::GetAppliedSchemaVersionRequest
|
856
|
+
|
857
|
+
GetAppliedSchemaVersionResponse.add_member(:applied_schema_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AppliedSchemaArn"))
|
858
|
+
GetAppliedSchemaVersionResponse.struct_class = Types::GetAppliedSchemaVersionResponse
|
859
|
+
|
847
860
|
GetDirectoryRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: DirectoryArn, required: true, location: "header", location_name: "x-amz-data-partition"))
|
848
861
|
GetDirectoryRequest.struct_class = Types::GetDirectoryRequest
|
849
862
|
|
@@ -890,6 +903,7 @@ module Aws::CloudDirectory
|
|
890
903
|
LinkNameToObjectIdentifierMap.value = Shapes::ShapeRef.new(shape: ObjectIdentifier)
|
891
904
|
|
892
905
|
ListAppliedSchemaArnsRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DirectoryArn"))
|
906
|
+
ListAppliedSchemaArnsRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SchemaArn"))
|
893
907
|
ListAppliedSchemaArnsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
894
908
|
ListAppliedSchemaArnsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: NumberResults, location_name: "MaxResults"))
|
895
909
|
ListAppliedSchemaArnsRequest.struct_class = Types::ListAppliedSchemaArnsRequest
|
@@ -1049,6 +1063,7 @@ module Aws::CloudDirectory
|
|
1049
1063
|
ListPolicyAttachmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1050
1064
|
ListPolicyAttachmentsResponse.struct_class = Types::ListPolicyAttachmentsResponse
|
1051
1065
|
|
1066
|
+
ListPublishedSchemaArnsRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SchemaArn"))
|
1052
1067
|
ListPublishedSchemaArnsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1053
1068
|
ListPublishedSchemaArnsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: NumberResults, location_name: "MaxResults"))
|
1054
1069
|
ListPublishedSchemaArnsRequest.struct_class = Types::ListPublishedSchemaArnsRequest
|
@@ -1140,6 +1155,7 @@ module Aws::CloudDirectory
|
|
1140
1155
|
|
1141
1156
|
PublishSchemaRequest.add_member(:development_schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
|
1142
1157
|
PublishSchemaRequest.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "Version"))
|
1158
|
+
PublishSchemaRequest.add_member(:minor_version, Shapes::ShapeRef.new(shape: Version, location_name: "MinorVersion"))
|
1143
1159
|
PublishSchemaRequest.add_member(:name, Shapes::ShapeRef.new(shape: SchemaName, location_name: "Name"))
|
1144
1160
|
PublishSchemaRequest.struct_class = Types::PublishSchemaRequest
|
1145
1161
|
|
@@ -1281,6 +1297,24 @@ module Aws::CloudDirectory
|
|
1281
1297
|
|
1282
1298
|
UpdateTypedLinkFacetResponse.struct_class = Types::UpdateTypedLinkFacetResponse
|
1283
1299
|
|
1300
|
+
UpgradeAppliedSchemaRequest.add_member(:published_schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PublishedSchemaArn"))
|
1301
|
+
UpgradeAppliedSchemaRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DirectoryArn"))
|
1302
|
+
UpgradeAppliedSchemaRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Bool, location_name: "DryRun"))
|
1303
|
+
UpgradeAppliedSchemaRequest.struct_class = Types::UpgradeAppliedSchemaRequest
|
1304
|
+
|
1305
|
+
UpgradeAppliedSchemaResponse.add_member(:upgraded_schema_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "UpgradedSchemaArn"))
|
1306
|
+
UpgradeAppliedSchemaResponse.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DirectoryArn"))
|
1307
|
+
UpgradeAppliedSchemaResponse.struct_class = Types::UpgradeAppliedSchemaResponse
|
1308
|
+
|
1309
|
+
UpgradePublishedSchemaRequest.add_member(:development_schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DevelopmentSchemaArn"))
|
1310
|
+
UpgradePublishedSchemaRequest.add_member(:published_schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PublishedSchemaArn"))
|
1311
|
+
UpgradePublishedSchemaRequest.add_member(:minor_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "MinorVersion"))
|
1312
|
+
UpgradePublishedSchemaRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Bool, location_name: "DryRun"))
|
1313
|
+
UpgradePublishedSchemaRequest.struct_class = Types::UpgradePublishedSchemaRequest
|
1314
|
+
|
1315
|
+
UpgradePublishedSchemaResponse.add_member(:upgraded_schema_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "UpgradedSchemaArn"))
|
1316
|
+
UpgradePublishedSchemaResponse.struct_class = Types::UpgradePublishedSchemaResponse
|
1317
|
+
|
1284
1318
|
|
1285
1319
|
# @api private
|
1286
1320
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -1727,6 +1761,21 @@ module Aws::CloudDirectory
|
|
1727
1761
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1728
1762
|
end)
|
1729
1763
|
|
1764
|
+
api.add_operation(:get_applied_schema_version, Seahorse::Model::Operation.new.tap do |o|
|
1765
|
+
o.name = "GetAppliedSchemaVersion"
|
1766
|
+
o.http_method = "POST"
|
1767
|
+
o.http_request_uri = "/amazonclouddirectory/2017-01-11/schema/getappliedschema"
|
1768
|
+
o.input = Shapes::ShapeRef.new(shape: GetAppliedSchemaVersionRequest)
|
1769
|
+
o.output = Shapes::ShapeRef.new(shape: GetAppliedSchemaVersionResponse)
|
1770
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
1771
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
1772
|
+
o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
|
1773
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1774
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1775
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1776
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1777
|
+
end)
|
1778
|
+
|
1730
1779
|
api.add_operation(:get_directory, Seahorse::Model::Operation.new.tap do |o|
|
1731
1780
|
o.name = "GetDirectory"
|
1732
1781
|
o.http_method = "POST"
|
@@ -2405,6 +2454,39 @@ module Aws::CloudDirectory
|
|
2405
2454
|
o.errors << Shapes::ShapeRef.new(shape: FacetNotFoundException)
|
2406
2455
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRuleException)
|
2407
2456
|
end)
|
2457
|
+
|
2458
|
+
api.add_operation(:upgrade_applied_schema, Seahorse::Model::Operation.new.tap do |o|
|
2459
|
+
o.name = "UpgradeAppliedSchema"
|
2460
|
+
o.http_method = "PUT"
|
2461
|
+
o.http_request_uri = "/amazonclouddirectory/2017-01-11/schema/upgradeapplied"
|
2462
|
+
o.input = Shapes::ShapeRef.new(shape: UpgradeAppliedSchemaRequest)
|
2463
|
+
o.output = Shapes::ShapeRef.new(shape: UpgradeAppliedSchemaResponse)
|
2464
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2465
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
2466
|
+
o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
|
2467
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2468
|
+
o.errors << Shapes::ShapeRef.new(shape: IncompatibleSchemaException)
|
2469
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2470
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2471
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttachmentException)
|
2472
|
+
end)
|
2473
|
+
|
2474
|
+
api.add_operation(:upgrade_published_schema, Seahorse::Model::Operation.new.tap do |o|
|
2475
|
+
o.name = "UpgradePublishedSchema"
|
2476
|
+
o.http_method = "PUT"
|
2477
|
+
o.http_request_uri = "/amazonclouddirectory/2017-01-11/schema/upgradepublished"
|
2478
|
+
o.input = Shapes::ShapeRef.new(shape: UpgradePublishedSchemaRequest)
|
2479
|
+
o.output = Shapes::ShapeRef.new(shape: UpgradePublishedSchemaResponse)
|
2480
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
2481
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
|
2482
|
+
o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
|
2483
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2484
|
+
o.errors << Shapes::ShapeRef.new(shape: IncompatibleSchemaException)
|
2485
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2486
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2487
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAttachmentException)
|
2488
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2489
|
+
end)
|
2408
2490
|
end
|
2409
2491
|
|
2410
2492
|
end
|
@@ -44,7 +44,8 @@ module Aws::CloudDirectory
|
|
44
44
|
# @return [String]
|
45
45
|
#
|
46
46
|
# @!attribute [rw] schema_facet
|
47
|
-
# Identifiers for the facet that you are adding to the object.
|
47
|
+
# Identifiers for the facet that you are adding to the object. See
|
48
|
+
# SchemaFacet for details.
|
48
49
|
# @return [Types::SchemaFacet]
|
49
50
|
#
|
50
51
|
# @!attribute [rw] object_attribute_list
|
@@ -976,8 +977,8 @@ module Aws::CloudDirectory
|
|
976
977
|
end
|
977
978
|
|
978
979
|
# Detaches the specified policy from the specified directory inside a
|
979
|
-
#
|
980
|
-
#
|
980
|
+
# BatchWrite operation. For more information, see DetachPolicy and
|
981
|
+
# BatchWriteRequest$Operations.
|
981
982
|
#
|
982
983
|
# @note When making an API call, you may pass BatchDetachPolicy
|
983
984
|
# data as a hash:
|
@@ -3378,8 +3379,8 @@ module Aws::CloudDirectory
|
|
3378
3379
|
# @return [String]
|
3379
3380
|
#
|
3380
3381
|
# @!attribute [rw] schema_facets
|
3381
|
-
# A list of schema facets to be associated with the object
|
3382
|
-
#
|
3382
|
+
# A list of schema facets to be associated with the object. Do not
|
3383
|
+
# provide minor version components. See SchemaFacet for details.
|
3383
3384
|
# @return [Array<Types::SchemaFacet>]
|
3384
3385
|
#
|
3385
3386
|
# @!attribute [rw] object_attribute_list
|
@@ -4157,6 +4158,36 @@ module Aws::CloudDirectory
|
|
4157
4158
|
include Aws::Structure
|
4158
4159
|
end
|
4159
4160
|
|
4161
|
+
# @note When making an API call, you may pass GetAppliedSchemaVersionRequest
|
4162
|
+
# data as a hash:
|
4163
|
+
#
|
4164
|
+
# {
|
4165
|
+
# schema_arn: "Arn", # required
|
4166
|
+
# }
|
4167
|
+
#
|
4168
|
+
# @!attribute [rw] schema_arn
|
4169
|
+
# The ARN of the applied schema.
|
4170
|
+
# @return [String]
|
4171
|
+
#
|
4172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetAppliedSchemaVersionRequest AWS API Documentation
|
4173
|
+
#
|
4174
|
+
class GetAppliedSchemaVersionRequest < Struct.new(
|
4175
|
+
:schema_arn)
|
4176
|
+
include Aws::Structure
|
4177
|
+
end
|
4178
|
+
|
4179
|
+
# @!attribute [rw] applied_schema_arn
|
4180
|
+
# Current applied schema ARN, including the minor version in use if
|
4181
|
+
# one was provided.
|
4182
|
+
# @return [String]
|
4183
|
+
#
|
4184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetAppliedSchemaVersionResponse AWS API Documentation
|
4185
|
+
#
|
4186
|
+
class GetAppliedSchemaVersionResponse < Struct.new(
|
4187
|
+
:applied_schema_arn)
|
4188
|
+
include Aws::Structure
|
4189
|
+
end
|
4190
|
+
|
4160
4191
|
# @note When making an API call, you may pass GetDirectoryRequest
|
4161
4192
|
# data as a hash:
|
4162
4193
|
#
|
@@ -4255,7 +4286,10 @@ module Aws::CloudDirectory
|
|
4255
4286
|
end
|
4256
4287
|
|
4257
4288
|
# @!attribute [rw] schema_facets
|
4258
|
-
# The facets attached to the specified object.
|
4289
|
+
# The facets attached to the specified object. Although the response
|
4290
|
+
# does not include minor version information, the most recently
|
4291
|
+
# applied minor version of each Facet is in effect. See
|
4292
|
+
# GetAppliedSchemaVersion for details.
|
4259
4293
|
# @return [Array<Types::SchemaFacet>]
|
4260
4294
|
#
|
4261
4295
|
# @!attribute [rw] object_identifier
|
@@ -4360,7 +4394,11 @@ module Aws::CloudDirectory
|
|
4360
4394
|
# @return [Array<Types::AttributeKeyAndValue>]
|
4361
4395
|
#
|
4362
4396
|
# @!attribute [rw] object_identifier
|
4363
|
-
#
|
4397
|
+
# In response to ListIndex, the `ObjectIdentifier` of the object
|
4398
|
+
# attached to the index. In response to ListAttachedIndices, the
|
4399
|
+
# `ObjectIdentifier` of the index attached to the object. This field
|
4400
|
+
# will always contain the `ObjectIdentifier` of the object on the
|
4401
|
+
# opposite side of the attachment specified in the query.
|
4364
4402
|
# @return [String]
|
4365
4403
|
#
|
4366
4404
|
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/IndexAttachment AWS API Documentation
|
@@ -4376,6 +4414,7 @@ module Aws::CloudDirectory
|
|
4376
4414
|
#
|
4377
4415
|
# {
|
4378
4416
|
# directory_arn: "Arn", # required
|
4417
|
+
# schema_arn: "Arn",
|
4379
4418
|
# next_token: "NextToken",
|
4380
4419
|
# max_results: 1,
|
4381
4420
|
# }
|
@@ -4384,6 +4423,11 @@ module Aws::CloudDirectory
|
|
4384
4423
|
# The ARN of the directory you are listing.
|
4385
4424
|
# @return [String]
|
4386
4425
|
#
|
4426
|
+
# @!attribute [rw] schema_arn
|
4427
|
+
# The response for `ListAppliedSchemaArns` when this parameter is used
|
4428
|
+
# will list all minor version ARNs for a major version.
|
4429
|
+
# @return [String]
|
4430
|
+
#
|
4387
4431
|
# @!attribute [rw] next_token
|
4388
4432
|
# The pagination token.
|
4389
4433
|
# @return [String]
|
@@ -4396,6 +4440,7 @@ module Aws::CloudDirectory
|
|
4396
4440
|
#
|
4397
4441
|
class ListAppliedSchemaArnsRequest < Struct.new(
|
4398
4442
|
:directory_arn,
|
4443
|
+
:schema_arn,
|
4399
4444
|
:next_token,
|
4400
4445
|
:max_results)
|
4401
4446
|
include Aws::Structure
|
@@ -4820,7 +4865,13 @@ module Aws::CloudDirectory
|
|
4820
4865
|
# @return [Types::ObjectReference]
|
4821
4866
|
#
|
4822
4867
|
# @!attribute [rw] max_results
|
4823
|
-
# The maximum number of
|
4868
|
+
# The maximum number of objects in a single page to retrieve from the
|
4869
|
+
# index during a request. For more information, see [AWS Directory
|
4870
|
+
# Service Limits][1].
|
4871
|
+
#
|
4872
|
+
#
|
4873
|
+
#
|
4874
|
+
# [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/limits.html#limits_cd
|
4824
4875
|
# @return [Integer]
|
4825
4876
|
#
|
4826
4877
|
# @!attribute [rw] next_token
|
@@ -5362,10 +5413,16 @@ module Aws::CloudDirectory
|
|
5362
5413
|
# data as a hash:
|
5363
5414
|
#
|
5364
5415
|
# {
|
5416
|
+
# schema_arn: "Arn",
|
5365
5417
|
# next_token: "NextToken",
|
5366
5418
|
# max_results: 1,
|
5367
5419
|
# }
|
5368
5420
|
#
|
5421
|
+
# @!attribute [rw] schema_arn
|
5422
|
+
# The response for `ListPublishedSchemaArns` when this parameter is
|
5423
|
+
# used will list all minor version ARNs for a major version.
|
5424
|
+
# @return [String]
|
5425
|
+
#
|
5369
5426
|
# @!attribute [rw] next_token
|
5370
5427
|
# The pagination token.
|
5371
5428
|
# @return [String]
|
@@ -5377,6 +5434,7 @@ module Aws::CloudDirectory
|
|
5377
5434
|
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListPublishedSchemaArnsRequest AWS API Documentation
|
5378
5435
|
#
|
5379
5436
|
class ListPublishedSchemaArnsRequest < Struct.new(
|
5437
|
+
:schema_arn,
|
5380
5438
|
:next_token,
|
5381
5439
|
:max_results)
|
5382
5440
|
include Aws::Structure
|
@@ -5845,6 +5903,7 @@ module Aws::CloudDirectory
|
|
5845
5903
|
# {
|
5846
5904
|
# development_schema_arn: "Arn", # required
|
5847
5905
|
# version: "Version", # required
|
5906
|
+
# minor_version: "Version",
|
5848
5907
|
# name: "SchemaName",
|
5849
5908
|
# }
|
5850
5909
|
#
|
@@ -5854,7 +5913,14 @@ module Aws::CloudDirectory
|
|
5854
5913
|
# @return [String]
|
5855
5914
|
#
|
5856
5915
|
# @!attribute [rw] version
|
5857
|
-
# The version under which the schema will be published.
|
5916
|
+
# The major version under which the schema will be published. Schemas
|
5917
|
+
# have both a major and minor version associated with them.
|
5918
|
+
# @return [String]
|
5919
|
+
#
|
5920
|
+
# @!attribute [rw] minor_version
|
5921
|
+
# The minor version under which the schema will be published. This
|
5922
|
+
# parameter is recommended. Schemas have both a major and minor
|
5923
|
+
# version associated with them.
|
5858
5924
|
# @return [String]
|
5859
5925
|
#
|
5860
5926
|
# @!attribute [rw] name
|
@@ -5867,6 +5933,7 @@ module Aws::CloudDirectory
|
|
5867
5933
|
class PublishSchemaRequest < Struct.new(
|
5868
5934
|
:development_schema_arn,
|
5869
5935
|
:version,
|
5936
|
+
:minor_version,
|
5870
5937
|
:name)
|
5871
5938
|
include Aws::Structure
|
5872
5939
|
end
|
@@ -5937,7 +6004,7 @@ module Aws::CloudDirectory
|
|
5937
6004
|
# @return [String]
|
5938
6005
|
#
|
5939
6006
|
# @!attribute [rw] schema_facet
|
5940
|
-
# The facet to remove.
|
6007
|
+
# The facet to remove. See SchemaFacet for details.
|
5941
6008
|
# @return [Types::SchemaFacet]
|
5942
6009
|
#
|
5943
6010
|
# @!attribute [rw] object_reference
|
@@ -5998,7 +6065,13 @@ module Aws::CloudDirectory
|
|
5998
6065
|
# }
|
5999
6066
|
#
|
6000
6067
|
# @!attribute [rw] schema_arn
|
6001
|
-
# The ARN of the schema that contains the facet
|
6068
|
+
# The ARN of the schema that contains the facet with no minor
|
6069
|
+
# component. See arns and [In-Place Schema Upgrade][1] for a
|
6070
|
+
# description of when to provide minor versions.
|
6071
|
+
#
|
6072
|
+
#
|
6073
|
+
#
|
6074
|
+
# [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/inplaceschemaupgrade.html
|
6002
6075
|
# @return [String]
|
6003
6076
|
#
|
6004
6077
|
# @!attribute [rw] facet_name
|
@@ -6757,5 +6830,110 @@ module Aws::CloudDirectory
|
|
6757
6830
|
#
|
6758
6831
|
class UpdateTypedLinkFacetResponse < Aws::EmptyStructure; end
|
6759
6832
|
|
6833
|
+
# @note When making an API call, you may pass UpgradeAppliedSchemaRequest
|
6834
|
+
# data as a hash:
|
6835
|
+
#
|
6836
|
+
# {
|
6837
|
+
# published_schema_arn: "Arn", # required
|
6838
|
+
# directory_arn: "Arn", # required
|
6839
|
+
# dry_run: false,
|
6840
|
+
# }
|
6841
|
+
#
|
6842
|
+
# @!attribute [rw] published_schema_arn
|
6843
|
+
# The revision of the published schema to upgrade the directory to.
|
6844
|
+
# @return [String]
|
6845
|
+
#
|
6846
|
+
# @!attribute [rw] directory_arn
|
6847
|
+
# The ARN for the directory to which the upgraded schema will be
|
6848
|
+
# applied.
|
6849
|
+
# @return [String]
|
6850
|
+
#
|
6851
|
+
# @!attribute [rw] dry_run
|
6852
|
+
# Used for testing whether the major version schemas are backward
|
6853
|
+
# compatible or not. If schema compatibility fails, an exception would
|
6854
|
+
# be thrown else the call would succeed but no changes will be saved.
|
6855
|
+
# This parameter is optional.
|
6856
|
+
# @return [Boolean]
|
6857
|
+
#
|
6858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpgradeAppliedSchemaRequest AWS API Documentation
|
6859
|
+
#
|
6860
|
+
class UpgradeAppliedSchemaRequest < Struct.new(
|
6861
|
+
:published_schema_arn,
|
6862
|
+
:directory_arn,
|
6863
|
+
:dry_run)
|
6864
|
+
include Aws::Structure
|
6865
|
+
end
|
6866
|
+
|
6867
|
+
# @!attribute [rw] upgraded_schema_arn
|
6868
|
+
# The ARN of the upgraded schema that is returned as part of the
|
6869
|
+
# response.
|
6870
|
+
# @return [String]
|
6871
|
+
#
|
6872
|
+
# @!attribute [rw] directory_arn
|
6873
|
+
# The ARN of the directory that is returned as part of the response.
|
6874
|
+
# @return [String]
|
6875
|
+
#
|
6876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpgradeAppliedSchemaResponse AWS API Documentation
|
6877
|
+
#
|
6878
|
+
class UpgradeAppliedSchemaResponse < Struct.new(
|
6879
|
+
:upgraded_schema_arn,
|
6880
|
+
:directory_arn)
|
6881
|
+
include Aws::Structure
|
6882
|
+
end
|
6883
|
+
|
6884
|
+
# @note When making an API call, you may pass UpgradePublishedSchemaRequest
|
6885
|
+
# data as a hash:
|
6886
|
+
#
|
6887
|
+
# {
|
6888
|
+
# development_schema_arn: "Arn", # required
|
6889
|
+
# published_schema_arn: "Arn", # required
|
6890
|
+
# minor_version: "Version", # required
|
6891
|
+
# dry_run: false,
|
6892
|
+
# }
|
6893
|
+
#
|
6894
|
+
# @!attribute [rw] development_schema_arn
|
6895
|
+
# The ARN of the development schema with the changes used for the
|
6896
|
+
# upgrade.
|
6897
|
+
# @return [String]
|
6898
|
+
#
|
6899
|
+
# @!attribute [rw] published_schema_arn
|
6900
|
+
# The ARN of the published schema to be upgraded.
|
6901
|
+
# @return [String]
|
6902
|
+
#
|
6903
|
+
# @!attribute [rw] minor_version
|
6904
|
+
# Identifies the minor version of the published schema that will be
|
6905
|
+
# created. This parameter is NOT optional.
|
6906
|
+
# @return [String]
|
6907
|
+
#
|
6908
|
+
# @!attribute [rw] dry_run
|
6909
|
+
# Used for testing whether the Development schema provided is
|
6910
|
+
# backwards compatible, or not, with the publish schema provided by
|
6911
|
+
# the user to be upgraded. If schema compatibility fails, an exception
|
6912
|
+
# would be thrown else the call would succeed. This parameter is
|
6913
|
+
# optional and defaults to false.
|
6914
|
+
# @return [Boolean]
|
6915
|
+
#
|
6916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpgradePublishedSchemaRequest AWS API Documentation
|
6917
|
+
#
|
6918
|
+
class UpgradePublishedSchemaRequest < Struct.new(
|
6919
|
+
:development_schema_arn,
|
6920
|
+
:published_schema_arn,
|
6921
|
+
:minor_version,
|
6922
|
+
:dry_run)
|
6923
|
+
include Aws::Structure
|
6924
|
+
end
|
6925
|
+
|
6926
|
+
# @!attribute [rw] upgraded_schema_arn
|
6927
|
+
# The ARN of the upgraded schema that is returned as part of the
|
6928
|
+
# response.
|
6929
|
+
# @return [String]
|
6930
|
+
#
|
6931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpgradePublishedSchemaResponse AWS API Documentation
|
6932
|
+
#
|
6933
|
+
class UpgradePublishedSchemaResponse < Struct.new(
|
6934
|
+
:upgraded_schema_arn)
|
6935
|
+
include Aws::Structure
|
6936
|
+
end
|
6937
|
+
|
6760
6938
|
end
|
6761
6939
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-clouddirectory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.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: 2017-
|
11
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -56,7 +56,9 @@ files:
|
|
56
56
|
homepage: http://github.com/aws/aws-sdk-ruby
|
57
57
|
licenses:
|
58
58
|
- Apache-2.0
|
59
|
-
metadata:
|
59
|
+
metadata:
|
60
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-clouddirectory
|
61
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-clouddirectory/CHANGELOG.md
|
60
62
|
post_install_message:
|
61
63
|
rdoc_options: []
|
62
64
|
require_paths:
|