aws-sdk-clouddirectory 1.0.0.rc1 → 1.0.0.rc2

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
  SHA1:
3
- metadata.gz: 25f9103519c0c7054689537ea703e30814550301
4
- data.tar.gz: b3f33088d0ae5aaf48c45e78d4dde6b476ed18c0
3
+ metadata.gz: ea0669629ee2572f6102b3d730ea81f5cb0b9966
4
+ data.tar.gz: 8bd7eb6ca42acb3033df8025fc4ac57c2554b3ad
5
5
  SHA512:
6
- metadata.gz: c3e90915fb3c841e550857e2f7c044f79e605a3036056227a21c409e98fa80f9c07c01af8de0bfef27df5ad8b64ec3ad8965caec573e6cc7a4b2dce3faef0e86
7
- data.tar.gz: da5993475b1db893f1d7d8c36a36d0879a6cf983768c42231183502c0459b7850faf5f9c6c5a4d49aa7505e311e89f689e2dfb41ed7d38acac85a449f458fae8
6
+ metadata.gz: e5b6c760510c16ef86d1cfca36f8a99f8f4b8605b01c543462b7c77e23709420f3d755dd4c99ab23b722f5ae33098e98c3b3adfcc3ce3819a10c76d01c16e394
7
+ data.tar.gz: e56ac1f219ee58bd4d6a6a878125f2f5a7f40723e543d3a99f48d926818e917548bc047c1d17c058dca7c116686732e2d1ba95c25faa80227b4e06de55f27b1a
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-clouddirectory/customizations'
42
42
  # @service
43
43
  module Aws::CloudDirectory
44
44
 
45
- GEM_VERSION = '1.0.0.rc1'
45
+ GEM_VERSION = '1.0.0.rc2'
46
46
 
47
47
  end
@@ -18,6 +18,7 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
18
  require 'aws-sdk-core/plugins/response_paging.rb'
19
19
  require 'aws-sdk-core/plugins/stub_responses.rb'
20
20
  require 'aws-sdk-core/plugins/idempotency_token.rb'
21
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
21
22
  require 'aws-sdk-core/plugins/signature_v4.rb'
22
23
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
23
24
 
@@ -45,6 +46,7 @@ module Aws::CloudDirectory
45
46
  add_plugin(Aws::Plugins::ResponsePaging)
46
47
  add_plugin(Aws::Plugins::StubResponses)
47
48
  add_plugin(Aws::Plugins::IdempotencyToken)
49
+ add_plugin(Aws::Plugins::JsonvalueConverter)
48
50
  add_plugin(Aws::Plugins::SignatureV4)
49
51
  add_plugin(Aws::Plugins::Protocols::RestJson)
50
52
 
@@ -240,7 +242,7 @@ module Aws::CloudDirectory
240
242
  #
241
243
  # 1. Using the path
242
244
  #
243
- # 2. Using ObjectIdentifier
245
+ # 2. Using `ObjectIdentifier`
244
246
  #
245
247
  # @option params [required, String] :directory_arn
246
248
  # ARN associated with the Directory where both objects reside. For more
@@ -391,6 +393,10 @@ module Aws::CloudDirectory
391
393
  # },
392
394
  # next_token: "NextToken",
393
395
  # max_results: 1,
396
+ # facet_filter: {
397
+ # schema_arn: "Arn",
398
+ # facet_name: "FacetName",
399
+ # },
394
400
  # },
395
401
  # list_object_children: {
396
402
  # object_reference: { # required
@@ -1689,7 +1695,7 @@ module Aws::CloudDirectory
1689
1695
  # Reference that identifies the object whose attributes will be listed.
1690
1696
  #
1691
1697
  # @option params [String] :next_token
1692
- # Token used for pagination.
1698
+ # The pagination token.
1693
1699
  #
1694
1700
  # @option params [Integer] :max_results
1695
1701
  # Maximum number of items to be retrieved in a single call. This is an
@@ -1700,6 +1706,10 @@ module Aws::CloudDirectory
1700
1706
  # update of an object is reflected in a subsequent read operation of
1701
1707
  # that same object.
1702
1708
  #
1709
+ # @option params [Types::SchemaFacet] :facet_filter
1710
+ # Used to filter the list of object attributes associated with a certain
1711
+ # facet.
1712
+ #
1703
1713
  # @return [Types::ListObjectAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1704
1714
  #
1705
1715
  # * {Types::ListObjectAttributesResponse#attributes #attributes} => Array<Types::AttributeKeyAndValue>
@@ -1715,6 +1725,10 @@ module Aws::CloudDirectory
1715
1725
  # next_token: "NextToken",
1716
1726
  # max_results: 1,
1717
1727
  # consistency_level: "SERIALIZABLE", # accepts SERIALIZABLE, EVENTUAL
1728
+ # facet_filter: {
1729
+ # schema_arn: "Arn",
1730
+ # facet_name: "FacetName",
1731
+ # },
1718
1732
  # })
1719
1733
  #
1720
1734
  # @example Response structure
@@ -1751,7 +1765,7 @@ module Aws::CloudDirectory
1751
1765
  # listed.
1752
1766
  #
1753
1767
  # @option params [String] :next_token
1754
- # Token used for pagination.
1768
+ # The pagination token.
1755
1769
  #
1756
1770
  # @option params [Integer] :max_results
1757
1771
  # Maximum number of items to be retrieved in a single call. This is an
@@ -1794,6 +1808,68 @@ module Aws::CloudDirectory
1794
1808
  req.send_request(options)
1795
1809
  end
1796
1810
 
1811
+ # Retrieves all available parent paths for any object type such as node,
1812
+ # leaf node, policy node, and index node objects. For more information
1813
+ # about objects, see [Directory Structure][1].
1814
+ #
1815
+ # Use this API to evaluate all parents for an object. The call returns
1816
+ # all objects from the root of the directory up to the requested object.
1817
+ # The API returns the number of paths based on user-defined
1818
+ # `MaxResults`, in case there are multiple paths to the parent. The
1819
+ # order of the paths and nodes returned is consistent among multiple API
1820
+ # calls unless the objects are deleted or moved. Paths not leading to
1821
+ # directory root are ignored from the target object.
1822
+ #
1823
+ #
1824
+ #
1825
+ # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/cd_key_concepts.html#dirstructure
1826
+ #
1827
+ # @option params [required, String] :directory_arn
1828
+ # The ARN of the directory to which the parent path applies.
1829
+ #
1830
+ # @option params [required, Types::ObjectReference] :object_reference
1831
+ # Reference that identifies the object whose parent paths are listed.
1832
+ #
1833
+ # @option params [String] :next_token
1834
+ # The pagination token.
1835
+ #
1836
+ # @option params [Integer] :max_results
1837
+ # Maximum number of items to be retrieved in a single call. This is an
1838
+ # approximate number.
1839
+ #
1840
+ # @return [Types::ListObjectParentPathsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1841
+ #
1842
+ # * {Types::ListObjectParentPathsResponse#path_to_object_identifiers_list #path_to_object_identifiers_list} => Array<Types::PathToObjectIdentifiers>
1843
+ # * {Types::ListObjectParentPathsResponse#next_token #next_token} => String
1844
+ #
1845
+ # @example Request syntax with placeholder values
1846
+ #
1847
+ # resp = client.list_object_parent_paths({
1848
+ # directory_arn: "Arn", # required
1849
+ # object_reference: { # required
1850
+ # selector: "SelectorObjectReference",
1851
+ # },
1852
+ # next_token: "NextToken",
1853
+ # max_results: 1,
1854
+ # })
1855
+ #
1856
+ # @example Response structure
1857
+ #
1858
+ # resp.path_to_object_identifiers_list #=> Array
1859
+ # resp.path_to_object_identifiers_list[0].path #=> String
1860
+ # resp.path_to_object_identifiers_list[0].object_identifiers #=> Array
1861
+ # resp.path_to_object_identifiers_list[0].object_identifiers[0] #=> String
1862
+ # resp.next_token #=> String
1863
+ #
1864
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectParentPaths AWS API Documentation
1865
+ #
1866
+ # @overload list_object_parent_paths(params = {})
1867
+ # @param [Hash] params ({})
1868
+ def list_object_parent_paths(params = {}, options = {})
1869
+ req = build_request(:list_object_parent_paths, params)
1870
+ req.send_request(options)
1871
+ end
1872
+
1797
1873
  # Lists parent objects associated with a given object in pagination
1798
1874
  # fashion.
1799
1875
  #
@@ -1806,7 +1882,7 @@ module Aws::CloudDirectory
1806
1882
  # being listed.
1807
1883
  #
1808
1884
  # @option params [String] :next_token
1809
- # Token used for pagination.
1885
+ # The pagination token.
1810
1886
  #
1811
1887
  # @option params [Integer] :max_results
1812
1888
  # Maximum number of items to be retrieved in a single call. This is an
@@ -1860,7 +1936,7 @@ module Aws::CloudDirectory
1860
1936
  # listed.
1861
1937
  #
1862
1938
  # @option params [String] :next_token
1863
- # Token used for pagination.
1939
+ # The pagination token.
1864
1940
  #
1865
1941
  # @option params [Integer] :max_results
1866
1942
  # Maximum number of items to be retrieved in a single call. This is an
@@ -1903,7 +1979,7 @@ module Aws::CloudDirectory
1903
1979
  req.send_request(options)
1904
1980
  end
1905
1981
 
1906
- # Returns all of the ObjectIdentifiers to which a given policy is
1982
+ # Returns all of the `ObjectIdentifiers` to which a given policy is
1907
1983
  # attached.
1908
1984
  #
1909
1985
  # @option params [required, String] :directory_arn
@@ -1914,7 +1990,7 @@ module Aws::CloudDirectory
1914
1990
  # Reference that identifies the policy object.
1915
1991
  #
1916
1992
  # @option params [String] :next_token
1917
- # Token used for pagination.
1993
+ # The pagination token.
1918
1994
  #
1919
1995
  # @option params [Integer] :max_results
1920
1996
  # Maximum number of items to be retrieved in a single call. This is an
@@ -2000,8 +2076,8 @@ module Aws::CloudDirectory
2000
2076
  # ARN of the resource. Tagging is only supported for directories.
2001
2077
  #
2002
2078
  # @option params [String] :next_token
2003
- # Next token used for pagination. This is for future use. Currently
2004
- # pagination is not supported for tagging.
2079
+ # The pagination token. This is for future use. Currently pagination is
2080
+ # not supported for tagging.
2005
2081
  #
2006
2082
  # @option params [Integer] :max_results
2007
2083
  # The MaxResults parameter sets the maximum number of results returned
@@ -2040,10 +2116,10 @@ module Aws::CloudDirectory
2040
2116
  # Lists all policies from the root of the Directory to the object
2041
2117
  # specified. If there are no policies present, an empty list is
2042
2118
  # returned. If policies are present, and if some objects don't have the
2043
- # policies attached, it returns the objectIdentifier for such objects.
2044
- # If policies are present, it returns objectIdentifier, policyId, and
2045
- # policyType. Paths that don't lead to the root from the target object
2046
- # are ignored.
2119
+ # policies attached, it returns the `ObjectIdentifier` for such objects.
2120
+ # If policies are present, it returns `ObjectIdentifier`, `policyId`,
2121
+ # and `policyType`. Paths that don't lead to the root from the target
2122
+ # object are ignored.
2047
2123
  #
2048
2124
  # @option params [required, String] :directory_arn
2049
2125
  # ARN associated with the Directory. For more information, see arns.
@@ -2265,11 +2341,11 @@ module Aws::CloudDirectory
2265
2341
 
2266
2342
  # Does the following:
2267
2343
  #
2268
- # 1. Adds new Attributes, Rules, or ObjectTypes.
2344
+ # 1. Adds new `Attributes`, `Rules`, or `ObjectTypes`.
2269
2345
  #
2270
- # 2. Updates existing Attributes, Rules, or ObjectTypes.
2346
+ # 2. Updates existing `Attributes`, `Rules`, or `ObjectTypes`.
2271
2347
  #
2272
- # 3. Deletes existing Attributes, Rules, or ObjectTypes.
2348
+ # 3. Deletes existing `Attributes`, `Rules`, or `ObjectTypes`.
2273
2349
  #
2274
2350
  # @option params [required, String] :schema_arn
2275
2351
  # ARN associated with the Facet. For more information, see arns.
@@ -2439,7 +2515,7 @@ module Aws::CloudDirectory
2439
2515
  params: params,
2440
2516
  config: config)
2441
2517
  context[:gem_name] = 'aws-sdk-clouddirectory'
2442
- context[:gem_version] = '1.0.0.rc1'
2518
+ context[:gem_version] = '1.0.0.rc2'
2443
2519
  Seahorse::Client::Request.new(handlers, context)
2444
2520
  end
2445
2521
 
@@ -166,6 +166,8 @@ module Aws::CloudDirectory
166
166
  ListObjectAttributesResponse = Shapes::StructureShape.new(name: 'ListObjectAttributesResponse')
167
167
  ListObjectChildrenRequest = Shapes::StructureShape.new(name: 'ListObjectChildrenRequest')
168
168
  ListObjectChildrenResponse = Shapes::StructureShape.new(name: 'ListObjectChildrenResponse')
169
+ ListObjectParentPathsRequest = Shapes::StructureShape.new(name: 'ListObjectParentPathsRequest')
170
+ ListObjectParentPathsResponse = Shapes::StructureShape.new(name: 'ListObjectParentPathsResponse')
169
171
  ListObjectParentsRequest = Shapes::StructureShape.new(name: 'ListObjectParentsRequest')
170
172
  ListObjectParentsResponse = Shapes::StructureShape.new(name: 'ListObjectParentsResponse')
171
173
  ListObjectPoliciesRequest = Shapes::StructureShape.new(name: 'ListObjectPoliciesRequest')
@@ -197,6 +199,8 @@ module Aws::CloudDirectory
197
199
  ObjectReference = Shapes::StructureShape.new(name: 'ObjectReference')
198
200
  ObjectType = Shapes::StringShape.new(name: 'ObjectType')
199
201
  PathString = Shapes::StringShape.new(name: 'PathString')
202
+ PathToObjectIdentifiers = Shapes::StructureShape.new(name: 'PathToObjectIdentifiers')
203
+ PathToObjectIdentifiersList = Shapes::ListShape.new(name: 'PathToObjectIdentifiersList')
200
204
  PolicyAttachment = Shapes::StructureShape.new(name: 'PolicyAttachment')
201
205
  PolicyAttachmentList = Shapes::ListShape.new(name: 'PolicyAttachmentList')
202
206
  PolicyToPath = Shapes::StructureShape.new(name: 'PolicyToPath')
@@ -347,6 +351,7 @@ module Aws::CloudDirectory
347
351
  BatchListObjectAttributes.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
348
352
  BatchListObjectAttributes.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
349
353
  BatchListObjectAttributes.add_member(:max_results, Shapes::ShapeRef.new(shape: NumberResults, location_name: "MaxResults"))
354
+ BatchListObjectAttributes.add_member(:facet_filter, Shapes::ShapeRef.new(shape: SchemaFacet, location_name: "FacetFilter"))
350
355
  BatchListObjectAttributes.struct_class = Types::BatchListObjectAttributes
351
356
 
352
357
  BatchListObjectAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeKeyAndValueList, location_name: "Attributes"))
@@ -684,6 +689,7 @@ module Aws::CloudDirectory
684
689
  ListObjectAttributesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
685
690
  ListObjectAttributesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: NumberResults, location_name: "MaxResults"))
686
691
  ListObjectAttributesRequest.add_member(:consistency_level, Shapes::ShapeRef.new(shape: ConsistencyLevel, location: "header", location_name: "x-amz-consistency-level"))
692
+ ListObjectAttributesRequest.add_member(:facet_filter, Shapes::ShapeRef.new(shape: SchemaFacet, location_name: "FacetFilter"))
687
693
  ListObjectAttributesRequest.struct_class = Types::ListObjectAttributesRequest
688
694
 
689
695
  ListObjectAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeKeyAndValueList, location_name: "Attributes"))
@@ -701,6 +707,16 @@ module Aws::CloudDirectory
701
707
  ListObjectChildrenResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
702
708
  ListObjectChildrenResponse.struct_class = Types::ListObjectChildrenResponse
703
709
 
710
+ ListObjectParentPathsRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
711
+ ListObjectParentPathsRequest.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
712
+ ListObjectParentPathsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
713
+ ListObjectParentPathsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: NumberResults, location_name: "MaxResults"))
714
+ ListObjectParentPathsRequest.struct_class = Types::ListObjectParentPathsRequest
715
+
716
+ ListObjectParentPathsResponse.add_member(:path_to_object_identifiers_list, Shapes::ShapeRef.new(shape: PathToObjectIdentifiersList, location_name: "PathToObjectIdentifiersList"))
717
+ ListObjectParentPathsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
718
+ ListObjectParentPathsResponse.struct_class = Types::ListObjectParentPathsResponse
719
+
704
720
  ListObjectParentsRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
705
721
  ListObjectParentsRequest.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
706
722
  ListObjectParentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -785,6 +801,12 @@ module Aws::CloudDirectory
785
801
  ObjectReference.add_member(:selector, Shapes::ShapeRef.new(shape: SelectorObjectReference, location_name: "Selector"))
786
802
  ObjectReference.struct_class = Types::ObjectReference
787
803
 
804
+ PathToObjectIdentifiers.add_member(:path, Shapes::ShapeRef.new(shape: PathString, location_name: "Path"))
805
+ PathToObjectIdentifiers.add_member(:object_identifiers, Shapes::ShapeRef.new(shape: ObjectIdentifierList, location_name: "ObjectIdentifiers"))
806
+ PathToObjectIdentifiers.struct_class = Types::PathToObjectIdentifiers
807
+
808
+ PathToObjectIdentifiersList.member = Shapes::ShapeRef.new(shape: PathToObjectIdentifiers)
809
+
788
810
  PolicyAttachment.add_member(:policy_id, Shapes::ShapeRef.new(shape: ObjectIdentifier, location_name: "PolicyId"))
789
811
  PolicyAttachment.add_member(:object_identifier, Shapes::ShapeRef.new(shape: ObjectIdentifier, location_name: "ObjectIdentifier"))
790
812
  PolicyAttachment.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, location_name: "PolicyType"))
@@ -956,6 +978,7 @@ module Aws::CloudDirectory
956
978
  o.errors << Shapes::ShapeRef.new(shape: LinkNameAlreadyInUseException)
957
979
  o.errors << Shapes::ShapeRef.new(shape: InvalidAttachmentException)
958
980
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
981
+ o.errors << Shapes::ShapeRef.new(shape: FacetValidationException)
959
982
  end)
960
983
 
961
984
  api.add_operation(:attach_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1128,6 +1151,7 @@ module Aws::CloudDirectory
1128
1151
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1129
1152
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1130
1153
  o.errors << Shapes::ShapeRef.new(shape: DirectoryDeletedException)
1154
+ o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
1131
1155
  end)
1132
1156
 
1133
1157
  api.add_operation(:delete_facet, Seahorse::Model::Operation.new.tap do |o|
@@ -1244,6 +1268,7 @@ module Aws::CloudDirectory
1244
1268
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1245
1269
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1246
1270
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1271
+ o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
1247
1272
  end)
1248
1273
 
1249
1274
  api.add_operation(:enable_directory, Seahorse::Model::Operation.new.tap do |o|
@@ -1258,6 +1283,7 @@ module Aws::CloudDirectory
1258
1283
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1259
1284
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1260
1285
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1286
+ o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
1261
1287
  end)
1262
1288
 
1263
1289
  api.add_operation(:get_directory, Seahorse::Model::Operation.new.tap do |o|
@@ -1493,6 +1519,7 @@ module Aws::CloudDirectory
1493
1519
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1494
1520
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1495
1521
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1522
+ o.errors << Shapes::ShapeRef.new(shape: FacetValidationException)
1496
1523
  o[:pager] = Aws::Pager.new(
1497
1524
  limit_key: "max_results",
1498
1525
  tokens: {
@@ -1526,6 +1553,29 @@ module Aws::CloudDirectory
1526
1553
  )
1527
1554
  end)
1528
1555
 
1556
+ api.add_operation(:list_object_parent_paths, Seahorse::Model::Operation.new.tap do |o|
1557
+ o.name = "ListObjectParentPaths"
1558
+ o.http_method = "POST"
1559
+ o.http_request_uri = "/amazonclouddirectory/2017-01-11/object/parentpaths"
1560
+ o.input = Shapes::ShapeRef.new(shape: ListObjectParentPathsRequest)
1561
+ o.output = Shapes::ShapeRef.new(shape: ListObjectParentPathsResponse)
1562
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1563
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1564
+ o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
1565
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1566
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1567
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1568
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
1569
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1570
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1571
+ o[:pager] = Aws::Pager.new(
1572
+ limit_key: "max_results",
1573
+ tokens: {
1574
+ "next_token" => "next_token"
1575
+ }
1576
+ )
1577
+ end)
1578
+
1529
1579
  api.add_operation(:list_object_parents, Seahorse::Model::Operation.new.tap do |o|
1530
1580
  o.name = "ListObjectParents"
1531
1581
  o.http_method = "POST"
@@ -155,7 +155,7 @@ module Aws::CloudDirectory
155
155
  end
156
156
 
157
157
  # @!attribute [rw] attached_object_identifier
158
- # Attached ObjectIdentifier, which is the child ObjectIdentifier.
158
+ # Attached `ObjectIdentifier`, which is the child `ObjectIdentifier`.
159
159
  # @return [String]
160
160
  #
161
161
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttachObjectResponse AWS API Documentation
@@ -240,7 +240,7 @@ module Aws::CloudDirectory
240
240
  end
241
241
 
242
242
  # @!attribute [rw] attached_object_identifier
243
- # The ObjectIdentifier of the object that was attached to the index.
243
+ # The `ObjectIdentifier` of the object that was attached to the index.
244
244
  # @return [String]
245
245
  #
246
246
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttachToIndexResponse AWS API Documentation
@@ -415,7 +415,7 @@ module Aws::CloudDirectory
415
415
  # Represents the output batch AttachObject response operation.
416
416
  #
417
417
  # @!attribute [rw] attached_object_identifier
418
- # The ObjectIdentifier of the object that has been attached.
418
+ # The `ObjectIdentifier` of the object that has been attached.
419
419
  # @return [String]
420
420
  #
421
421
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchAttachObjectResponse AWS API Documentation
@@ -498,7 +498,7 @@ module Aws::CloudDirectory
498
498
  include Aws::Structure
499
499
  end
500
500
 
501
- # Represents the output of a CreateObject response operation.
501
+ # Represents the output of a `CreateObject` response operation.
502
502
  #
503
503
  # @!attribute [rw] object_identifier
504
504
  # ID associated with the object.
@@ -511,7 +511,7 @@ module Aws::CloudDirectory
511
511
  include Aws::Structure
512
512
  end
513
513
 
514
- # Represents the output of a DeleteObject operation.
514
+ # Represents the output of a `DeleteObject` operation.
515
515
  #
516
516
  # @note When making an API call, you may pass BatchDeleteObject
517
517
  # data as a hash:
@@ -533,13 +533,13 @@ module Aws::CloudDirectory
533
533
  include Aws::Structure
534
534
  end
535
535
 
536
- # Represents the output of a DeleteObject response operation.
536
+ # Represents the output of a `DeleteObject` response operation.
537
537
  #
538
538
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchDeleteObjectResponse AWS API Documentation
539
539
  #
540
540
  class BatchDeleteObjectResponse < Aws::EmptyStructure; end
541
541
 
542
- # Represents the output of a DetachObject operation.
542
+ # Represents the output of a `DetachObject` operation.
543
543
  #
544
544
  # @note When making an API call, you may pass BatchDetachObject
545
545
  # data as a hash:
@@ -578,10 +578,10 @@ module Aws::CloudDirectory
578
578
  include Aws::Structure
579
579
  end
580
580
 
581
- # Represents the output of a DetachObject response operation.
581
+ # Represents the output of a `DetachObject` response operation.
582
582
  #
583
583
  # @!attribute [rw] detached_object_identifier
584
- # The ObjectIdentifier of the detached object.
584
+ # The `ObjectIdentifier` of the detached object.
585
585
  # @return [String]
586
586
  #
587
587
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchDetachObjectResponse AWS API Documentation
@@ -591,7 +591,7 @@ module Aws::CloudDirectory
591
591
  include Aws::Structure
592
592
  end
593
593
 
594
- # Represents the output of a ListObjectAttributes operation.
594
+ # Represents the output of a `ListObjectAttributes` operation.
595
595
  #
596
596
  # @note When making an API call, you may pass BatchListObjectAttributes
597
597
  # data as a hash:
@@ -602,6 +602,10 @@ module Aws::CloudDirectory
602
602
  # },
603
603
  # next_token: "NextToken",
604
604
  # max_results: 1,
605
+ # facet_filter: {
606
+ # schema_arn: "Arn",
607
+ # facet_name: "FacetName",
608
+ # },
605
609
  # }
606
610
  #
607
611
  # @!attribute [rw] object_reference
@@ -609,7 +613,7 @@ module Aws::CloudDirectory
609
613
  # @return [Types::ObjectReference]
610
614
  #
611
615
  # @!attribute [rw] next_token
612
- # Token used for pagination.
616
+ # The pagination token.
613
617
  # @return [String]
614
618
  #
615
619
  # @!attribute [rw] max_results
@@ -617,24 +621,30 @@ module Aws::CloudDirectory
617
621
  # approximate number.
618
622
  # @return [Integer]
619
623
  #
624
+ # @!attribute [rw] facet_filter
625
+ # Used to filter the list of object attributes associated with a
626
+ # certain facet.
627
+ # @return [Types::SchemaFacet]
628
+ #
620
629
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListObjectAttributes AWS API Documentation
621
630
  #
622
631
  class BatchListObjectAttributes < Struct.new(
623
632
  :object_reference,
624
633
  :next_token,
625
- :max_results)
634
+ :max_results,
635
+ :facet_filter)
626
636
  include Aws::Structure
627
637
  end
628
638
 
629
- # Represents the output of a ListObjectAttributes response operation.
639
+ # Represents the output of a `ListObjectAttributes` response operation.
630
640
  #
631
641
  # @!attribute [rw] attributes
632
- # Attributes map associated with the object. AttributeArn is the key;
633
- # attribute value is the value.
642
+ # Attributes map associated with the object. `AttributeArn` is the
643
+ # key; attribute value is the value.
634
644
  # @return [Array<Types::AttributeKeyAndValue>]
635
645
  #
636
646
  # @!attribute [rw] next_token
637
- # Token used for pagination.
647
+ # The pagination token.
638
648
  # @return [String]
639
649
  #
640
650
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListObjectAttributesResponse AWS API Documentation
@@ -645,7 +655,7 @@ module Aws::CloudDirectory
645
655
  include Aws::Structure
646
656
  end
647
657
 
648
- # Represents the output of a ListObjectChildren operation.
658
+ # Represents the output of a `ListObjectChildren` operation.
649
659
  #
650
660
  # @note When making an API call, you may pass BatchListObjectChildren
651
661
  # data as a hash:
@@ -663,7 +673,7 @@ module Aws::CloudDirectory
663
673
  # @return [Types::ObjectReference]
664
674
  #
665
675
  # @!attribute [rw] next_token
666
- # Token used for pagination.
676
+ # The pagination token.
667
677
  # @return [String]
668
678
  #
669
679
  # @!attribute [rw] max_results
@@ -680,15 +690,15 @@ module Aws::CloudDirectory
680
690
  include Aws::Structure
681
691
  end
682
692
 
683
- # Represents the output of a ListObjectChildren response operation.
693
+ # Represents the output of a `ListObjectChildren` response operation.
684
694
  #
685
695
  # @!attribute [rw] children
686
- # Children structure, which is a map with key as the LinkName and
687
- # ObjectIdentifier as the value.
696
+ # Children structure, which is a map with key as the `LinkName` and
697
+ # `ObjectIdentifier` as the value.
688
698
  # @return [Hash<String,String>]
689
699
  #
690
700
  # @!attribute [rw] next_token
691
- # Token used for pagination.
701
+ # The pagination token.
692
702
  # @return [String]
693
703
  #
694
704
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListObjectChildrenResponse AWS API Documentation
@@ -703,7 +713,7 @@ module Aws::CloudDirectory
703
713
  # message.
704
714
  #
705
715
  # @!attribute [rw] type
706
- # Type of exception, such as InvalidArnException.
716
+ # Type of exception, such as `InvalidArnException`.
707
717
  # @return [String]
708
718
  #
709
719
  # @!attribute [rw] message
@@ -718,7 +728,7 @@ module Aws::CloudDirectory
718
728
  include Aws::Structure
719
729
  end
720
730
 
721
- # Represents the output of a BatchRead operation.
731
+ # Represents the output of a `BatchRead` operation.
722
732
  #
723
733
  # @note When making an API call, you may pass BatchReadOperation
724
734
  # data as a hash:
@@ -730,6 +740,10 @@ module Aws::CloudDirectory
730
740
  # },
731
741
  # next_token: "NextToken",
732
742
  # max_results: 1,
743
+ # facet_filter: {
744
+ # schema_arn: "Arn",
745
+ # facet_name: "FacetName",
746
+ # },
733
747
  # },
734
748
  # list_object_children: {
735
749
  # object_reference: { # required
@@ -757,7 +771,7 @@ module Aws::CloudDirectory
757
771
  include Aws::Structure
758
772
  end
759
773
 
760
- # Represents the output of a BatchRead response operation.
774
+ # Represents the output of a `BatchRead` response operation.
761
775
  #
762
776
  # @!attribute [rw] successful_response
763
777
  # Identifies which operation in a batch has succeeded.
@@ -788,6 +802,10 @@ module Aws::CloudDirectory
788
802
  # },
789
803
  # next_token: "NextToken",
790
804
  # max_results: 1,
805
+ # facet_filter: {
806
+ # schema_arn: "Arn",
807
+ # facet_name: "FacetName",
808
+ # },
791
809
  # },
792
810
  # list_object_children: {
793
811
  # object_reference: { # required
@@ -835,7 +853,7 @@ module Aws::CloudDirectory
835
853
  include Aws::Structure
836
854
  end
837
855
 
838
- # Represents the output of a BatchRead success response operation.
856
+ # Represents the output of a `BatchRead` success response operation.
839
857
  #
840
858
  # @!attribute [rw] list_object_attributes
841
859
  # Lists all attributes associated with an object.
@@ -891,7 +909,7 @@ module Aws::CloudDirectory
891
909
  #
892
910
  class BatchRemoveFacetFromObjectResponse < Aws::EmptyStructure; end
893
911
 
894
- # Represents the output of a BatchUpdate operation.
912
+ # Represents the output of a `BatchUpdate` operation.
895
913
  #
896
914
  # @note When making an API call, you may pass BatchUpdateObjectAttributes
897
915
  # data as a hash:
@@ -937,7 +955,7 @@ module Aws::CloudDirectory
937
955
  include Aws::Structure
938
956
  end
939
957
 
940
- # Represents the output of a BatchUpdate response operation.
958
+ # Represents the output of a `BatchUpdate` response operation.
941
959
  #
942
960
  # @!attribute [rw] object_identifier
943
961
  # ID associated with the object.
@@ -950,7 +968,7 @@ module Aws::CloudDirectory
950
968
  include Aws::Structure
951
969
  end
952
970
 
953
- # Represents the output of a BatchWrite operation.
971
+ # Represents the output of a `BatchWrite` operation.
954
972
  #
955
973
  # @note When making an API call, you may pass BatchWriteOperation
956
974
  # data as a hash:
@@ -1107,7 +1125,7 @@ module Aws::CloudDirectory
1107
1125
  include Aws::Structure
1108
1126
  end
1109
1127
 
1110
- # Represents the output of a BatchWrite response operation.
1128
+ # Represents the output of a `BatchWrite` response operation.
1111
1129
  #
1112
1130
  # @!attribute [rw] create_object
1113
1131
  # Creates an object in a Directory.
@@ -1496,7 +1514,7 @@ module Aws::CloudDirectory
1496
1514
  end
1497
1515
 
1498
1516
  # @!attribute [rw] object_identifier
1499
- # The ObjectIdentifier of the index created by this operation.
1517
+ # The `ObjectIdentifier` of the index created by this operation.
1500
1518
  # @return [String]
1501
1519
  #
1502
1520
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateIndexResponse AWS API Documentation
@@ -1768,7 +1786,8 @@ module Aws::CloudDirectory
1768
1786
  end
1769
1787
 
1770
1788
  # @!attribute [rw] detached_object_identifier
1771
- # The ObjectIdentifier of the object that was detached from the index.
1789
+ # The `ObjectIdentifier` of the object that was detached from the
1790
+ # index.
1772
1791
  # @return [String]
1773
1792
  #
1774
1793
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DetachFromIndexResponse AWS API Documentation
@@ -1813,7 +1832,7 @@ module Aws::CloudDirectory
1813
1832
  end
1814
1833
 
1815
1834
  # @!attribute [rw] detached_object_identifier
1816
- # The ObjectIdentifier that was detached from the object.
1835
+ # The `ObjectIdentifier` that was detached from the object.
1817
1836
  # @return [String]
1818
1837
  #
1819
1838
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DetachObjectResponse AWS API Documentation
@@ -1875,8 +1894,8 @@ module Aws::CloudDirectory
1875
1894
  # @return [String]
1876
1895
  #
1877
1896
  # @!attribute [rw] state
1878
- # The state of the directory. Can be either Enabled, Disabled, or
1879
- # Deleted.
1897
+ # The state of the directory. Can be either `Enabled`, `Disabled`, or
1898
+ # `Deleted`.
1880
1899
  # @return [String]
1881
1900
  #
1882
1901
  # @!attribute [rw] creation_date_time
@@ -1951,8 +1970,8 @@ module Aws::CloudDirectory
1951
1970
  include Aws::Structure
1952
1971
  end
1953
1972
 
1954
- # A structure that contains Name, ARN, Attributes, Rules, and
1955
- # ObjectTypes.
1973
+ # A structure that contains `Name`, `ARN`, `Attributes`, Rules, and
1974
+ # `ObjectTypes`.
1956
1975
  #
1957
1976
  # @!attribute [rw] name
1958
1977
  # The name of the Facet.
@@ -2028,7 +2047,7 @@ module Aws::CloudDirectory
2028
2047
  # @return [Types::FacetAttributeReference]
2029
2048
  #
2030
2049
  # @!attribute [rw] required_behavior
2031
- # The required behavior of the FacetAttribute.
2050
+ # The required behavior of the `FacetAttribute`.
2032
2051
  # @return [String]
2033
2052
  #
2034
2053
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/FacetAttribute AWS API Documentation
@@ -2287,7 +2306,7 @@ module Aws::CloudDirectory
2287
2306
  # @return [Array<Types::SchemaFacet>]
2288
2307
  #
2289
2308
  # @!attribute [rw] object_identifier
2290
- # The ObjectIdentifier of the specified object.
2309
+ # The `ObjectIdentifier` of the specified object.
2291
2310
  # @return [String]
2292
2311
  #
2293
2312
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetObjectInformationResponse AWS API Documentation
@@ -2339,7 +2358,7 @@ module Aws::CloudDirectory
2339
2358
  # @return [Array<Types::AttributeKeyAndValue>]
2340
2359
  #
2341
2360
  # @!attribute [rw] object_identifier
2342
- # The ObjectIdentifier of the object attached to the index.
2361
+ # The `ObjectIdentifier` of the object attached to the index.
2343
2362
  # @return [String]
2344
2363
  #
2345
2364
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/IndexAttachment AWS API Documentation
@@ -2745,6 +2764,10 @@ module Aws::CloudDirectory
2745
2764
  # next_token: "NextToken",
2746
2765
  # max_results: 1,
2747
2766
  # consistency_level: "SERIALIZABLE", # accepts SERIALIZABLE, EVENTUAL
2767
+ # facet_filter: {
2768
+ # schema_arn: "Arn",
2769
+ # facet_name: "FacetName",
2770
+ # },
2748
2771
  # }
2749
2772
  #
2750
2773
  # @!attribute [rw] directory_arn
@@ -2758,7 +2781,7 @@ module Aws::CloudDirectory
2758
2781
  # @return [Types::ObjectReference]
2759
2782
  #
2760
2783
  # @!attribute [rw] next_token
2761
- # Token used for pagination.
2784
+ # The pagination token.
2762
2785
  # @return [String]
2763
2786
  #
2764
2787
  # @!attribute [rw] max_results
@@ -2772,6 +2795,11 @@ module Aws::CloudDirectory
2772
2795
  # that same object.
2773
2796
  # @return [String]
2774
2797
  #
2798
+ # @!attribute [rw] facet_filter
2799
+ # Used to filter the list of object attributes associated with a
2800
+ # certain facet.
2801
+ # @return [Types::SchemaFacet]
2802
+ #
2775
2803
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectAttributesRequest AWS API Documentation
2776
2804
  #
2777
2805
  class ListObjectAttributesRequest < Struct.new(
@@ -2779,7 +2807,8 @@ module Aws::CloudDirectory
2779
2807
  :object_reference,
2780
2808
  :next_token,
2781
2809
  :max_results,
2782
- :consistency_level)
2810
+ :consistency_level,
2811
+ :facet_filter)
2783
2812
  include Aws::Structure
2784
2813
  end
2785
2814
 
@@ -2789,7 +2818,7 @@ module Aws::CloudDirectory
2789
2818
  # @return [Array<Types::AttributeKeyAndValue>]
2790
2819
  #
2791
2820
  # @!attribute [rw] next_token
2792
- # Token used for pagination.
2821
+ # The pagination token.
2793
2822
  # @return [String]
2794
2823
  #
2795
2824
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectAttributesResponse AWS API Documentation
@@ -2824,7 +2853,7 @@ module Aws::CloudDirectory
2824
2853
  # @return [Types::ObjectReference]
2825
2854
  #
2826
2855
  # @!attribute [rw] next_token
2827
- # Token used for pagination.
2856
+ # The pagination token.
2828
2857
  # @return [String]
2829
2858
  #
2830
2859
  # @!attribute [rw] max_results
@@ -2851,11 +2880,11 @@ module Aws::CloudDirectory
2851
2880
 
2852
2881
  # @!attribute [rw] children
2853
2882
  # Children structure, which is a map with key as the LinkName and
2854
- # ObjectIdentifier as the value.
2883
+ # `ObjectIdentifier` as the value.
2855
2884
  # @return [Hash<String,String>]
2856
2885
  #
2857
2886
  # @!attribute [rw] next_token
2858
- # Token used for pagination.
2887
+ # The pagination token.
2859
2888
  # @return [String]
2860
2889
  #
2861
2890
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectChildrenResponse AWS API Documentation
@@ -2866,6 +2895,62 @@ module Aws::CloudDirectory
2866
2895
  include Aws::Structure
2867
2896
  end
2868
2897
 
2898
+ # @note When making an API call, you may pass ListObjectParentPathsRequest
2899
+ # data as a hash:
2900
+ #
2901
+ # {
2902
+ # directory_arn: "Arn", # required
2903
+ # object_reference: { # required
2904
+ # selector: "SelectorObjectReference",
2905
+ # },
2906
+ # next_token: "NextToken",
2907
+ # max_results: 1,
2908
+ # }
2909
+ #
2910
+ # @!attribute [rw] directory_arn
2911
+ # The ARN of the directory to which the parent path applies.
2912
+ # @return [String]
2913
+ #
2914
+ # @!attribute [rw] object_reference
2915
+ # Reference that identifies the object whose parent paths are listed.
2916
+ # @return [Types::ObjectReference]
2917
+ #
2918
+ # @!attribute [rw] next_token
2919
+ # The pagination token.
2920
+ # @return [String]
2921
+ #
2922
+ # @!attribute [rw] max_results
2923
+ # Maximum number of items to be retrieved in a single call. This is an
2924
+ # approximate number.
2925
+ # @return [Integer]
2926
+ #
2927
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectParentPathsRequest AWS API Documentation
2928
+ #
2929
+ class ListObjectParentPathsRequest < Struct.new(
2930
+ :directory_arn,
2931
+ :object_reference,
2932
+ :next_token,
2933
+ :max_results)
2934
+ include Aws::Structure
2935
+ end
2936
+
2937
+ # @!attribute [rw] path_to_object_identifiers_list
2938
+ # Returns the path to the `ObjectIdentifiers` associated with the
2939
+ # directory.
2940
+ # @return [Array<Types::PathToObjectIdentifiers>]
2941
+ #
2942
+ # @!attribute [rw] next_token
2943
+ # The pagination token.
2944
+ # @return [String]
2945
+ #
2946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectParentPathsResponse AWS API Documentation
2947
+ #
2948
+ class ListObjectParentPathsResponse < Struct.new(
2949
+ :path_to_object_identifiers_list,
2950
+ :next_token)
2951
+ include Aws::Structure
2952
+ end
2953
+
2869
2954
  # @note When making an API call, you may pass ListObjectParentsRequest
2870
2955
  # data as a hash:
2871
2956
  #
@@ -2890,7 +2975,7 @@ module Aws::CloudDirectory
2890
2975
  # @return [Types::ObjectReference]
2891
2976
  #
2892
2977
  # @!attribute [rw] next_token
2893
- # Token used for pagination.
2978
+ # The pagination token.
2894
2979
  # @return [String]
2895
2980
  #
2896
2981
  # @!attribute [rw] max_results
@@ -2916,12 +3001,12 @@ module Aws::CloudDirectory
2916
3001
  end
2917
3002
 
2918
3003
  # @!attribute [rw] parents
2919
- # Parent structure, which is a map with key as the ObjectIdentifier
3004
+ # Parent structure, which is a map with key as the `ObjectIdentifier`
2920
3005
  # and LinkName as the value.
2921
3006
  # @return [Hash<String,String>]
2922
3007
  #
2923
3008
  # @!attribute [rw] next_token
2924
- # Token used for pagination.
3009
+ # The pagination token.
2925
3010
  # @return [String]
2926
3011
  #
2927
3012
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectParentsResponse AWS API Documentation
@@ -2956,7 +3041,7 @@ module Aws::CloudDirectory
2956
3041
  # @return [Types::ObjectReference]
2957
3042
  #
2958
3043
  # @!attribute [rw] next_token
2959
- # Token used for pagination.
3044
+ # The pagination token.
2960
3045
  # @return [String]
2961
3046
  #
2962
3047
  # @!attribute [rw] max_results
@@ -2982,11 +3067,11 @@ module Aws::CloudDirectory
2982
3067
  end
2983
3068
 
2984
3069
  # @!attribute [rw] attached_policy_ids
2985
- # List of policy ObjectIdentifiers, that are attached to the object.
3070
+ # List of policy `ObjectIdentifiers`, that are attached to the object.
2986
3071
  # @return [Array<String>]
2987
3072
  #
2988
3073
  # @!attribute [rw] next_token
2989
- # Token used for pagination.
3074
+ # The pagination token.
2990
3075
  # @return [String]
2991
3076
  #
2992
3077
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectPoliciesResponse AWS API Documentation
@@ -3020,7 +3105,7 @@ module Aws::CloudDirectory
3020
3105
  # @return [Types::ObjectReference]
3021
3106
  #
3022
3107
  # @!attribute [rw] next_token
3023
- # Token used for pagination.
3108
+ # The pagination token.
3024
3109
  # @return [String]
3025
3110
  #
3026
3111
  # @!attribute [rw] max_results
@@ -3046,11 +3131,11 @@ module Aws::CloudDirectory
3046
3131
  end
3047
3132
 
3048
3133
  # @!attribute [rw] object_identifiers
3049
- # List of ObjectIdentifiers to which the policy is attached.
3134
+ # List of `ObjectIdentifiers` to which the policy is attached.
3050
3135
  # @return [Array<String>]
3051
3136
  #
3052
3137
  # @!attribute [rw] next_token
3053
- # Token used for pagination.
3138
+ # The pagination token.
3054
3139
  # @return [String]
3055
3140
  #
3056
3141
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListPolicyAttachmentsResponse AWS API Documentation
@@ -3115,8 +3200,8 @@ module Aws::CloudDirectory
3115
3200
  # @return [String]
3116
3201
  #
3117
3202
  # @!attribute [rw] next_token
3118
- # Next token used for pagination. This is for future use. Currently
3119
- # pagination is not supported for tagging.
3203
+ # The pagination token. This is for future use. Currently pagination
3204
+ # is not supported for tagging.
3120
3205
  # @return [String]
3121
3206
  #
3122
3207
  # @!attribute [rw] max_results
@@ -3192,12 +3277,12 @@ module Aws::CloudDirectory
3192
3277
  end
3193
3278
 
3194
3279
  # @!attribute [rw] policy_to_path_list
3195
- # Provides list of path to policies. Policies contain PolicyId,
3196
- # ObjectIdentifier, and PolicyType.
3280
+ # Provides list of path to policies. Policies contain `PolicyId`,
3281
+ # `ObjectIdentifier`, and `PolicyType`.
3197
3282
  # @return [Array<Types::PolicyToPath>]
3198
3283
  #
3199
3284
  # @!attribute [rw] next_token
3200
- # Token used for pagination.
3285
+ # The pagination token.
3201
3286
  # @return [String]
3202
3287
  #
3203
3288
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/LookupPolicyResponse AWS API Documentation
@@ -3339,7 +3424,7 @@ module Aws::CloudDirectory
3339
3424
  # Allows you to specify an object. You can identify an object in one
3340
3425
  # of the following ways:
3341
3426
  #
3342
- # * *$ObjectIdentifier* - Identifies the object by ObjectIdentifier
3427
+ # * *$ObjectIdentifier* - Identifies the object by `ObjectIdentifier`
3343
3428
  #
3344
3429
  # * */some/path* - Identifies the object based on path
3345
3430
  #
@@ -3353,19 +3438,39 @@ module Aws::CloudDirectory
3353
3438
  include Aws::Structure
3354
3439
  end
3355
3440
 
3356
- # Contains the PolicyType, PolicyId, and the ObjectIdentifier to which
3357
- # it is attached.
3441
+ # Returns the path to the `ObjectIdentifiers` associated with the
3442
+ # directory.
3443
+ #
3444
+ # @!attribute [rw] path
3445
+ # The path used to identify the object starting from directory root.
3446
+ # @return [String]
3447
+ #
3448
+ # @!attribute [rw] object_identifiers
3449
+ # Lists `ObjectIdentifiers` starting from directory root to the object
3450
+ # in the request.
3451
+ # @return [Array<String>]
3452
+ #
3453
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/PathToObjectIdentifiers AWS API Documentation
3454
+ #
3455
+ class PathToObjectIdentifiers < Struct.new(
3456
+ :path,
3457
+ :object_identifiers)
3458
+ include Aws::Structure
3459
+ end
3460
+
3461
+ # Contains the `PolicyType`, `PolicyId`, and the `ObjectIdentifier` to
3462
+ # which it is attached.
3358
3463
  #
3359
3464
  # @!attribute [rw] policy_id
3360
- # The ID of PolicyAttachment.
3465
+ # The ID of `PolicyAttachment`.
3361
3466
  # @return [String]
3362
3467
  #
3363
3468
  # @!attribute [rw] object_identifier
3364
- # The ObjectIdentifier associated with PolicyAttachment.
3469
+ # The `ObjectIdentifier` associated with `PolicyAttachment`.
3365
3470
  # @return [String]
3366
3471
  #
3367
3472
  # @!attribute [rw] policy_type
3368
- # The type of policy that can be associated with PolicyAttachment.
3473
+ # The type of policy that can be associated with `PolicyAttachment`.
3369
3474
  # @return [String]
3370
3475
  #
3371
3476
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/PolicyAttachment AWS API Documentation
@@ -3877,7 +3982,7 @@ module Aws::CloudDirectory
3877
3982
  end
3878
3983
 
3879
3984
  # @!attribute [rw] object_identifier
3880
- # ObjectIdentifier of the updated object.
3985
+ # `ObjectIdentifier` of the updated object.
3881
3986
  # @return [String]
3882
3987
  #
3883
3988
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpdateObjectAttributesResponse AWS API Documentation
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.0.0.rc1
4
+ version: 1.0.0.rc2
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-03-07 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core