aws-sdk-clouddirectory 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15f45f4bfd06617d909ee0577aa7ee56481de0ec
4
- data.tar.gz: f0a92767319ec5198d3f46812f73d756be99f0be
3
+ metadata.gz: ab35303034bac99f00f767684117194fc48838b6
4
+ data.tar.gz: e3e1b1ef178356d80f168a2ed466e04925a83190
5
5
  SHA512:
6
- metadata.gz: a16dacb584064b3e9d1a4d1ebb484983e59382d6e1dfb8a8db4631d1cb96dadf3fcdb57072bd5800c90ee59ff9b3881e996ad989454de96eeb5684d8291ebc81
7
- data.tar.gz: 4696fde38eeb021f966576ee61ac9c9c1d0ff4209cbf7b28e666c50ab074520f889cf63176501e311fba1dc544c1c2f8da171a8146346e6e6f57153ce977c514
6
+ metadata.gz: 115172dcc5294a6847341e39955f8db0501c43ffb7dd7abbf365d0ef087177aada4a8727249db0aa113be77ded0f4cb2592c0315eaefc612bb36b2e6503c22c4
7
+ data.tar.gz: 952a71e0b9f33ae6a8b90b40eb21d14b1e4e8f9e9a1584b30b8612cec581cb408293929f67eaf5d6ea5e11d65a7bfd03aebdb7cf0128b27d5b49dfffa7ff2cb3
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-clouddirectory/customizations'
42
42
  # @service
43
43
  module Aws::CloudDirectory
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -145,7 +145,8 @@ module Aws::CloudDirectory
145
145
 
146
146
  # @!group API Operations
147
147
 
148
- # Adds a new Facet to an object.
148
+ # Adds a new Facet to an object. An object can have more than one facet
149
+ # applied on it.
149
150
  #
150
151
  # @option params [required, String] :directory_arn
151
152
  # The Amazon Resource Name (ARN) that is associated with the Directory
@@ -292,7 +293,7 @@ module Aws::CloudDirectory
292
293
  # Attaches a policy object to a regular object. An object can have a
293
294
  # limited number of attached policies.
294
295
  #
295
- # @option params [String] :directory_arn
296
+ # @option params [required, String] :directory_arn
296
297
  # The Amazon Resource Name (ARN) that is associated with the Directory
297
298
  # where both objects reside. For more information, see arns.
298
299
  #
@@ -308,7 +309,7 @@ module Aws::CloudDirectory
308
309
  # @example Request syntax with placeholder values
309
310
  #
310
311
  # resp = client.attach_policy({
311
- # directory_arn: "Arn",
312
+ # directory_arn: "Arn", # required
312
313
  # policy_reference: { # required
313
314
  # selector: "SelectorObjectReference",
314
315
  # },
@@ -507,6 +508,16 @@ module Aws::CloudDirectory
507
508
  # selector: "SelectorObjectReference",
508
509
  # },
509
510
  # },
511
+ # get_object_attributes: {
512
+ # object_reference: { # required
513
+ # selector: "SelectorObjectReference",
514
+ # },
515
+ # schema_facet: { # required
516
+ # schema_arn: "Arn",
517
+ # facet_name: "FacetName",
518
+ # },
519
+ # attribute_names: ["AttributeName"], # required
520
+ # },
510
521
  # list_object_policies: {
511
522
  # object_reference: { # required
512
523
  # selector: "SelectorObjectReference",
@@ -655,6 +666,15 @@ module Aws::CloudDirectory
655
666
  # resp.responses[0].successful_response.get_object_information.schema_facets[0].schema_arn #=> String
656
667
  # resp.responses[0].successful_response.get_object_information.schema_facets[0].facet_name #=> String
657
668
  # resp.responses[0].successful_response.get_object_information.object_identifier #=> String
669
+ # resp.responses[0].successful_response.get_object_attributes.attributes #=> Array
670
+ # resp.responses[0].successful_response.get_object_attributes.attributes[0].key.schema_arn #=> String
671
+ # resp.responses[0].successful_response.get_object_attributes.attributes[0].key.facet_name #=> String
672
+ # resp.responses[0].successful_response.get_object_attributes.attributes[0].key.name #=> String
673
+ # resp.responses[0].successful_response.get_object_attributes.attributes[0].value.string_value #=> String
674
+ # resp.responses[0].successful_response.get_object_attributes.attributes[0].value.binary_value #=> String
675
+ # resp.responses[0].successful_response.get_object_attributes.attributes[0].value.boolean_value #=> Boolean
676
+ # resp.responses[0].successful_response.get_object_attributes.attributes[0].value.number_value #=> String
677
+ # resp.responses[0].successful_response.get_object_attributes.attributes[0].value.datetime_value #=> Time
658
678
  # resp.responses[0].successful_response.list_attached_indices.index_attachments #=> Array
659
679
  # resp.responses[0].successful_response.list_attached_indices.index_attachments[0].indexed_attributes #=> Array
660
680
  # resp.responses[0].successful_response.list_attached_indices.index_attachments[0].indexed_attributes[0].key.schema_arn #=> String
@@ -778,11 +798,11 @@ module Aws::CloudDirectory
778
798
  # },
779
799
  # },
780
800
  # ],
781
- # parent_reference: { # required
801
+ # parent_reference: {
782
802
  # selector: "SelectorObjectReference",
783
803
  # },
784
- # link_name: "LinkName", # required
785
- # batch_reference_name: "BatchReferenceName", # required
804
+ # link_name: "LinkName",
805
+ # batch_reference_name: "BatchReferenceName",
786
806
  # },
787
807
  # attach_object: {
788
808
  # parent_reference: { # required
@@ -798,7 +818,7 @@ module Aws::CloudDirectory
798
818
  # selector: "SelectorObjectReference",
799
819
  # },
800
820
  # link_name: "LinkName", # required
801
- # batch_reference_name: "BatchReferenceName", # required
821
+ # batch_reference_name: "BatchReferenceName",
802
822
  # },
803
823
  # update_object_attributes: {
804
824
  # object_reference: { # required
@@ -1833,6 +1853,68 @@ module Aws::CloudDirectory
1833
1853
  req.send_request(options)
1834
1854
  end
1835
1855
 
1856
+ # Retrieves attributes within a facet that are associated with an
1857
+ # object.
1858
+ #
1859
+ # @option params [required, String] :directory_arn
1860
+ # The Amazon Resource Name (ARN) that is associated with the Directory
1861
+ # where the object resides.
1862
+ #
1863
+ # @option params [required, Types::ObjectReference] :object_reference
1864
+ # Reference that identifies the object whose attributes will be
1865
+ # retrieved.
1866
+ #
1867
+ # @option params [String] :consistency_level
1868
+ # The consistency level at which to retrieve the attributes on an
1869
+ # object.
1870
+ #
1871
+ # @option params [required, Types::SchemaFacet] :schema_facet
1872
+ # Identifier for the facet whose attributes will be retrieved. See
1873
+ # SchemaFacet for details.
1874
+ #
1875
+ # @option params [required, Array<String>] :attribute_names
1876
+ # List of attribute names whose values will be retrieved.
1877
+ #
1878
+ # @return [Types::GetObjectAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1879
+ #
1880
+ # * {Types::GetObjectAttributesResponse#attributes #attributes} => Array&lt;Types::AttributeKeyAndValue&gt;
1881
+ #
1882
+ # @example Request syntax with placeholder values
1883
+ #
1884
+ # resp = client.get_object_attributes({
1885
+ # directory_arn: "Arn", # required
1886
+ # object_reference: { # required
1887
+ # selector: "SelectorObjectReference",
1888
+ # },
1889
+ # consistency_level: "SERIALIZABLE", # accepts SERIALIZABLE, EVENTUAL
1890
+ # schema_facet: { # required
1891
+ # schema_arn: "Arn",
1892
+ # facet_name: "FacetName",
1893
+ # },
1894
+ # attribute_names: ["AttributeName"], # required
1895
+ # })
1896
+ #
1897
+ # @example Response structure
1898
+ #
1899
+ # resp.attributes #=> Array
1900
+ # resp.attributes[0].key.schema_arn #=> String
1901
+ # resp.attributes[0].key.facet_name #=> String
1902
+ # resp.attributes[0].key.name #=> String
1903
+ # resp.attributes[0].value.string_value #=> String
1904
+ # resp.attributes[0].value.binary_value #=> String
1905
+ # resp.attributes[0].value.boolean_value #=> Boolean
1906
+ # resp.attributes[0].value.number_value #=> String
1907
+ # resp.attributes[0].value.datetime_value #=> Time
1908
+ #
1909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetObjectAttributes AWS API Documentation
1910
+ #
1911
+ # @overload get_object_attributes(params = {})
1912
+ # @param [Hash] params ({})
1913
+ def get_object_attributes(params = {}, options = {})
1914
+ req = build_request(:get_object_attributes, params)
1915
+ req.send_request(options)
1916
+ end
1917
+
1836
1918
  # Retrieves metadata about an object.
1837
1919
  #
1838
1920
  # @option params [required, String] :directory_arn
@@ -2331,7 +2413,7 @@ module Aws::CloudDirectory
2331
2413
  req.send_request(options)
2332
2414
  end
2333
2415
 
2334
- # Lists objects and indexed values attached to the index.
2416
+ # Lists objects attached to the specified index.
2335
2417
  #
2336
2418
  # @option params [required, String] :directory_arn
2337
2419
  # The ARN of the directory that the index exists in.
@@ -2880,8 +2962,9 @@ module Aws::CloudDirectory
2880
2962
  req.send_request(options)
2881
2963
  end
2882
2964
 
2883
- # Lists schema major versions for a published schema. If `SchemaArn` is
2884
- # provided, lists the minor version.
2965
+ # Lists the major version families of each published schema. If a major
2966
+ # version ARN is provided as `SchemaArn`, the minor version revisions in
2967
+ # that family are listed instead.
2885
2968
  #
2886
2969
  # @option params [String] :schema_arn
2887
2970
  # The response for `ListPublishedSchemaArns` when this parameter is used
@@ -3661,7 +3744,7 @@ module Aws::CloudDirectory
3661
3744
  params: params,
3662
3745
  config: config)
3663
3746
  context[:gem_name] = 'aws-sdk-clouddirectory'
3664
- context[:gem_version] = '1.1.0'
3747
+ context[:gem_version] = '1.2.0'
3665
3748
  Seahorse::Client::Request.new(handlers, context)
3666
3749
  end
3667
3750
 
@@ -58,6 +58,8 @@ module Aws::CloudDirectory
58
58
  BatchDetachPolicyResponse = Shapes::StructureShape.new(name: 'BatchDetachPolicyResponse')
59
59
  BatchDetachTypedLink = Shapes::StructureShape.new(name: 'BatchDetachTypedLink')
60
60
  BatchDetachTypedLinkResponse = Shapes::StructureShape.new(name: 'BatchDetachTypedLinkResponse')
61
+ BatchGetObjectAttributes = Shapes::StructureShape.new(name: 'BatchGetObjectAttributes')
62
+ BatchGetObjectAttributesResponse = Shapes::StructureShape.new(name: 'BatchGetObjectAttributesResponse')
61
63
  BatchGetObjectInformation = Shapes::StructureShape.new(name: 'BatchGetObjectInformation')
62
64
  BatchGetObjectInformationResponse = Shapes::StructureShape.new(name: 'BatchGetObjectInformationResponse')
63
65
  BatchListAttachedIndices = Shapes::StructureShape.new(name: 'BatchListAttachedIndices')
@@ -173,6 +175,8 @@ module Aws::CloudDirectory
173
175
  GetDirectoryResponse = Shapes::StructureShape.new(name: 'GetDirectoryResponse')
174
176
  GetFacetRequest = Shapes::StructureShape.new(name: 'GetFacetRequest')
175
177
  GetFacetResponse = Shapes::StructureShape.new(name: 'GetFacetResponse')
178
+ GetObjectAttributesRequest = Shapes::StructureShape.new(name: 'GetObjectAttributesRequest')
179
+ GetObjectAttributesResponse = Shapes::StructureShape.new(name: 'GetObjectAttributesResponse')
176
180
  GetObjectInformationRequest = Shapes::StructureShape.new(name: 'GetObjectInformationRequest')
177
181
  GetObjectInformationResponse = Shapes::StructureShape.new(name: 'GetObjectInformationResponse')
178
182
  GetSchemaAsJsonRequest = Shapes::StructureShape.new(name: 'GetSchemaAsJsonRequest')
@@ -355,7 +359,7 @@ module Aws::CloudDirectory
355
359
  AttachObjectResponse.add_member(:attached_object_identifier, Shapes::ShapeRef.new(shape: ObjectIdentifier, location_name: "AttachedObjectIdentifier"))
356
360
  AttachObjectResponse.struct_class = Types::AttachObjectResponse
357
361
 
358
- AttachPolicyRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, location: "header", location_name: "x-amz-data-partition"))
362
+ AttachPolicyRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
359
363
  AttachPolicyRequest.add_member(:policy_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "PolicyReference"))
360
364
  AttachPolicyRequest.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
361
365
  AttachPolicyRequest.struct_class = Types::AttachPolicyRequest
@@ -450,9 +454,9 @@ module Aws::CloudDirectory
450
454
 
451
455
  BatchCreateObject.add_member(:schema_facet, Shapes::ShapeRef.new(shape: SchemaFacetList, required: true, location_name: "SchemaFacet"))
452
456
  BatchCreateObject.add_member(:object_attribute_list, Shapes::ShapeRef.new(shape: AttributeKeyAndValueList, required: true, location_name: "ObjectAttributeList"))
453
- BatchCreateObject.add_member(:parent_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ParentReference"))
454
- BatchCreateObject.add_member(:link_name, Shapes::ShapeRef.new(shape: LinkName, required: true, location_name: "LinkName"))
455
- BatchCreateObject.add_member(:batch_reference_name, Shapes::ShapeRef.new(shape: BatchReferenceName, required: true, location_name: "BatchReferenceName"))
457
+ BatchCreateObject.add_member(:parent_reference, Shapes::ShapeRef.new(shape: ObjectReference, location_name: "ParentReference"))
458
+ BatchCreateObject.add_member(:link_name, Shapes::ShapeRef.new(shape: LinkName, location_name: "LinkName"))
459
+ BatchCreateObject.add_member(:batch_reference_name, Shapes::ShapeRef.new(shape: BatchReferenceName, location_name: "BatchReferenceName"))
456
460
  BatchCreateObject.struct_class = Types::BatchCreateObject
457
461
 
458
462
  BatchCreateObjectResponse.add_member(:object_identifier, Shapes::ShapeRef.new(shape: ObjectIdentifier, location_name: "ObjectIdentifier"))
@@ -472,7 +476,7 @@ module Aws::CloudDirectory
472
476
 
473
477
  BatchDetachObject.add_member(:parent_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ParentReference"))
474
478
  BatchDetachObject.add_member(:link_name, Shapes::ShapeRef.new(shape: LinkName, required: true, location_name: "LinkName"))
475
- BatchDetachObject.add_member(:batch_reference_name, Shapes::ShapeRef.new(shape: BatchReferenceName, required: true, location_name: "BatchReferenceName"))
479
+ BatchDetachObject.add_member(:batch_reference_name, Shapes::ShapeRef.new(shape: BatchReferenceName, location_name: "BatchReferenceName"))
476
480
  BatchDetachObject.struct_class = Types::BatchDetachObject
477
481
 
478
482
  BatchDetachObjectResponse.add_member(:detached_object_identifier, Shapes::ShapeRef.new(shape: ObjectIdentifier, location_name: "detachedObjectIdentifier"))
@@ -489,6 +493,14 @@ module Aws::CloudDirectory
489
493
 
490
494
  BatchDetachTypedLinkResponse.struct_class = Types::BatchDetachTypedLinkResponse
491
495
 
496
+ BatchGetObjectAttributes.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
497
+ BatchGetObjectAttributes.add_member(:schema_facet, Shapes::ShapeRef.new(shape: SchemaFacet, required: true, location_name: "SchemaFacet"))
498
+ BatchGetObjectAttributes.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, required: true, location_name: "AttributeNames"))
499
+ BatchGetObjectAttributes.struct_class = Types::BatchGetObjectAttributes
500
+
501
+ BatchGetObjectAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeKeyAndValueList, location_name: "Attributes"))
502
+ BatchGetObjectAttributesResponse.struct_class = Types::BatchGetObjectAttributesResponse
503
+
492
504
  BatchGetObjectInformation.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
493
505
  BatchGetObjectInformation.struct_class = Types::BatchGetObjectInformation
494
506
 
@@ -601,6 +613,7 @@ module Aws::CloudDirectory
601
613
  BatchReadOperation.add_member(:list_attached_indices, Shapes::ShapeRef.new(shape: BatchListAttachedIndices, location_name: "ListAttachedIndices"))
602
614
  BatchReadOperation.add_member(:list_object_parent_paths, Shapes::ShapeRef.new(shape: BatchListObjectParentPaths, location_name: "ListObjectParentPaths"))
603
615
  BatchReadOperation.add_member(:get_object_information, Shapes::ShapeRef.new(shape: BatchGetObjectInformation, location_name: "GetObjectInformation"))
616
+ BatchReadOperation.add_member(:get_object_attributes, Shapes::ShapeRef.new(shape: BatchGetObjectAttributes, location_name: "GetObjectAttributes"))
604
617
  BatchReadOperation.add_member(:list_object_policies, Shapes::ShapeRef.new(shape: BatchListObjectPolicies, location_name: "ListObjectPolicies"))
605
618
  BatchReadOperation.add_member(:list_policy_attachments, Shapes::ShapeRef.new(shape: BatchListPolicyAttachments, location_name: "ListPolicyAttachments"))
606
619
  BatchReadOperation.add_member(:lookup_policy, Shapes::ShapeRef.new(shape: BatchLookupPolicy, location_name: "LookupPolicy"))
@@ -628,6 +641,7 @@ module Aws::CloudDirectory
628
641
  BatchReadSuccessfulResponse.add_member(:list_object_attributes, Shapes::ShapeRef.new(shape: BatchListObjectAttributesResponse, location_name: "ListObjectAttributes"))
629
642
  BatchReadSuccessfulResponse.add_member(:list_object_children, Shapes::ShapeRef.new(shape: BatchListObjectChildrenResponse, location_name: "ListObjectChildren"))
630
643
  BatchReadSuccessfulResponse.add_member(:get_object_information, Shapes::ShapeRef.new(shape: BatchGetObjectInformationResponse, location_name: "GetObjectInformation"))
644
+ BatchReadSuccessfulResponse.add_member(:get_object_attributes, Shapes::ShapeRef.new(shape: BatchGetObjectAttributesResponse, location_name: "GetObjectAttributes"))
631
645
  BatchReadSuccessfulResponse.add_member(:list_attached_indices, Shapes::ShapeRef.new(shape: BatchListAttachedIndicesResponse, location_name: "ListAttachedIndices"))
632
646
  BatchReadSuccessfulResponse.add_member(:list_object_parent_paths, Shapes::ShapeRef.new(shape: BatchListObjectParentPathsResponse, location_name: "ListObjectParentPaths"))
633
647
  BatchReadSuccessfulResponse.add_member(:list_object_policies, Shapes::ShapeRef.new(shape: BatchListObjectPoliciesResponse, location_name: "ListObjectPolicies"))
@@ -870,6 +884,16 @@ module Aws::CloudDirectory
870
884
  GetFacetResponse.add_member(:facet, Shapes::ShapeRef.new(shape: Facet, location_name: "Facet"))
871
885
  GetFacetResponse.struct_class = Types::GetFacetResponse
872
886
 
887
+ GetObjectAttributesRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
888
+ GetObjectAttributesRequest.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
889
+ GetObjectAttributesRequest.add_member(:consistency_level, Shapes::ShapeRef.new(shape: ConsistencyLevel, location: "header", location_name: "x-amz-consistency-level"))
890
+ GetObjectAttributesRequest.add_member(:schema_facet, Shapes::ShapeRef.new(shape: SchemaFacet, required: true, location_name: "SchemaFacet"))
891
+ GetObjectAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, required: true, location_name: "AttributeNames"))
892
+ GetObjectAttributesRequest.struct_class = Types::GetObjectAttributesRequest
893
+
894
+ GetObjectAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeKeyAndValueList, location_name: "Attributes"))
895
+ GetObjectAttributesResponse.struct_class = Types::GetObjectAttributesResponse
896
+
873
897
  GetObjectInformationRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
874
898
  GetObjectInformationRequest.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
875
899
  GetObjectInformationRequest.add_member(:consistency_level, Shapes::ShapeRef.new(shape: ConsistencyLevel, location: "header", location_name: "x-amz-consistency-level"))
@@ -1395,7 +1419,6 @@ module Aws::CloudDirectory
1395
1419
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1396
1420
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1397
1421
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
1398
- o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1399
1422
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1400
1423
  o.errors << Shapes::ShapeRef.new(shape: NotPolicyException)
1401
1424
  end)
@@ -1413,6 +1436,7 @@ module Aws::CloudDirectory
1413
1436
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1414
1437
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1415
1438
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
1439
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAttachmentException)
1416
1440
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1417
1441
  o.errors << Shapes::ShapeRef.new(shape: LinkNameAlreadyInUseException)
1418
1442
  o.errors << Shapes::ShapeRef.new(shape: IndexedAttributeMissingException)
@@ -1482,7 +1506,6 @@ module Aws::CloudDirectory
1482
1506
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1483
1507
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1484
1508
  o.errors << Shapes::ShapeRef.new(shape: DirectoryAlreadyExistsException)
1485
- o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1486
1509
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1487
1510
  end)
1488
1511
 
@@ -1536,7 +1559,6 @@ module Aws::CloudDirectory
1536
1559
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1537
1560
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1538
1561
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
1539
- o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1540
1562
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1541
1563
  o.errors << Shapes::ShapeRef.new(shape: FacetValidationException)
1542
1564
  o.errors << Shapes::ShapeRef.new(shape: LinkNameAlreadyInUseException)
@@ -1692,6 +1714,7 @@ module Aws::CloudDirectory
1692
1714
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1693
1715
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
1694
1716
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1717
+ o.errors << Shapes::ShapeRef.new(shape: NotNodeException)
1695
1718
  end)
1696
1719
 
1697
1720
  api.add_operation(:detach_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1707,7 +1730,6 @@ module Aws::CloudDirectory
1707
1730
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1708
1731
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1709
1732
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
1710
- o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1711
1733
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1712
1734
  o.errors << Shapes::ShapeRef.new(shape: NotPolicyException)
1713
1735
  end)
@@ -1806,6 +1828,23 @@ module Aws::CloudDirectory
1806
1828
  o.errors << Shapes::ShapeRef.new(shape: FacetNotFoundException)
1807
1829
  end)
1808
1830
 
1831
+ api.add_operation(:get_object_attributes, Seahorse::Model::Operation.new.tap do |o|
1832
+ o.name = "GetObjectAttributes"
1833
+ o.http_method = "POST"
1834
+ o.http_request_uri = "/amazonclouddirectory/2017-01-11/object/attributes/get"
1835
+ o.input = Shapes::ShapeRef.new(shape: GetObjectAttributesRequest)
1836
+ o.output = Shapes::ShapeRef.new(shape: GetObjectAttributesResponse)
1837
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1838
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1839
+ o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
1840
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1841
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1842
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1843
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
1844
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1845
+ o.errors << Shapes::ShapeRef.new(shape: FacetValidationException)
1846
+ end)
1847
+
1809
1848
  api.add_operation(:get_object_information, Seahorse::Model::Operation.new.tap do |o|
1810
1849
  o.name = "GetObjectInformation"
1811
1850
  o.http_method = "POST"
@@ -2014,10 +2053,12 @@ module Aws::CloudDirectory
2014
2053
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2015
2054
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
2016
2055
  o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
2056
+ o.errors << Shapes::ShapeRef.new(shape: FacetValidationException)
2017
2057
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2018
2058
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2019
2059
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2020
2060
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
2061
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
2021
2062
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2022
2063
  o.errors << Shapes::ShapeRef.new(shape: NotIndexException)
2023
2064
  o[:pager] = Aws::Pager.new(
@@ -2041,7 +2082,6 @@ module Aws::CloudDirectory
2041
2082
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2042
2083
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2043
2084
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
2044
- o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
2045
2085
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2046
2086
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
2047
2087
  o.errors << Shapes::ShapeRef.new(shape: FacetValidationException)
@@ -2066,7 +2106,6 @@ module Aws::CloudDirectory
2066
2106
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2067
2107
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2068
2108
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
2069
- o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
2070
2109
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2071
2110
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
2072
2111
  o.errors << Shapes::ShapeRef.new(shape: NotNodeException)
@@ -2114,7 +2153,6 @@ module Aws::CloudDirectory
2114
2153
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2115
2154
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2116
2155
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
2117
- o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
2118
2156
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2119
2157
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
2120
2158
  o.errors << Shapes::ShapeRef.new(shape: CannotListParentOfRootException)
@@ -2180,7 +2218,6 @@ module Aws::CloudDirectory
2180
2218
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2181
2219
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2182
2220
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
2183
- o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
2184
2221
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
2185
2222
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2186
2223
  o.errors << Shapes::ShapeRef.new(shape: NotPolicyException)
@@ -2294,7 +2331,6 @@ module Aws::CloudDirectory
2294
2331
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2295
2332
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2296
2333
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
2297
- o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
2298
2334
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
2299
2335
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2300
2336
  o[:pager] = Aws::Pager.new(
@@ -173,7 +173,7 @@ module Aws::CloudDirectory
173
173
  # data as a hash:
174
174
  #
175
175
  # {
176
- # directory_arn: "Arn",
176
+ # directory_arn: "Arn", # required
177
177
  # policy_reference: { # required
178
178
  # selector: "SelectorObjectReference",
179
179
  # },
@@ -792,11 +792,11 @@ module Aws::CloudDirectory
792
792
  # },
793
793
  # },
794
794
  # ],
795
- # parent_reference: { # required
795
+ # parent_reference: {
796
796
  # selector: "SelectorObjectReference",
797
797
  # },
798
- # link_name: "LinkName", # required
799
- # batch_reference_name: "BatchReferenceName", # required
798
+ # link_name: "LinkName",
799
+ # batch_reference_name: "BatchReferenceName",
800
800
  # }
801
801
  #
802
802
  # @!attribute [rw] schema_facet
@@ -934,7 +934,7 @@ module Aws::CloudDirectory
934
934
  # selector: "SelectorObjectReference",
935
935
  # },
936
936
  # link_name: "LinkName", # required
937
- # batch_reference_name: "BatchReferenceName", # required
937
+ # batch_reference_name: "BatchReferenceName",
938
938
  # }
939
939
  #
940
940
  # @!attribute [rw] parent_reference
@@ -1066,6 +1066,60 @@ module Aws::CloudDirectory
1066
1066
  #
1067
1067
  class BatchDetachTypedLinkResponse < Aws::EmptyStructure; end
1068
1068
 
1069
+ # Retrieves attributes within a facet that are associated with an object
1070
+ # inside an BatchRead operation. For more information, see
1071
+ # GetObjectAttributes and BatchReadRequest$Operations.
1072
+ #
1073
+ # @note When making an API call, you may pass BatchGetObjectAttributes
1074
+ # data as a hash:
1075
+ #
1076
+ # {
1077
+ # object_reference: { # required
1078
+ # selector: "SelectorObjectReference",
1079
+ # },
1080
+ # schema_facet: { # required
1081
+ # schema_arn: "Arn",
1082
+ # facet_name: "FacetName",
1083
+ # },
1084
+ # attribute_names: ["AttributeName"], # required
1085
+ # }
1086
+ #
1087
+ # @!attribute [rw] object_reference
1088
+ # Reference that identifies the object whose attributes will be
1089
+ # retrieved.
1090
+ # @return [Types::ObjectReference]
1091
+ #
1092
+ # @!attribute [rw] schema_facet
1093
+ # Identifier for the facet whose attributes will be retrieved. See
1094
+ # SchemaFacet for details.
1095
+ # @return [Types::SchemaFacet]
1096
+ #
1097
+ # @!attribute [rw] attribute_names
1098
+ # List of attribute names whose values will be retrieved.
1099
+ # @return [Array<String>]
1100
+ #
1101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchGetObjectAttributes AWS API Documentation
1102
+ #
1103
+ class BatchGetObjectAttributes < Struct.new(
1104
+ :object_reference,
1105
+ :schema_facet,
1106
+ :attribute_names)
1107
+ include Aws::Structure
1108
+ end
1109
+
1110
+ # Represents the output of a GetObjectAttributes response operation.
1111
+ #
1112
+ # @!attribute [rw] attributes
1113
+ # The attribute values that are associated with an object.
1114
+ # @return [Array<Types::AttributeKeyAndValue>]
1115
+ #
1116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchGetObjectAttributesResponse AWS API Documentation
1117
+ #
1118
+ class BatchGetObjectAttributesResponse < Struct.new(
1119
+ :attributes)
1120
+ include Aws::Structure
1121
+ end
1122
+
1069
1123
  # Retrieves metadata about an object inside a BatchRead operation. For
1070
1124
  # more information, see GetObjectInformation and
1071
1125
  # BatchReadRequest$Operations.
@@ -1852,6 +1906,16 @@ module Aws::CloudDirectory
1852
1906
  # selector: "SelectorObjectReference",
1853
1907
  # },
1854
1908
  # },
1909
+ # get_object_attributes: {
1910
+ # object_reference: { # required
1911
+ # selector: "SelectorObjectReference",
1912
+ # },
1913
+ # schema_facet: { # required
1914
+ # schema_arn: "Arn",
1915
+ # facet_name: "FacetName",
1916
+ # },
1917
+ # attribute_names: ["AttributeName"], # required
1918
+ # },
1855
1919
  # list_object_policies: {
1856
1920
  # object_reference: { # required
1857
1921
  # selector: "SelectorObjectReference",
@@ -2004,6 +2068,11 @@ module Aws::CloudDirectory
2004
2068
  # Retrieves metadata about an object.
2005
2069
  # @return [Types::BatchGetObjectInformation]
2006
2070
  #
2071
+ # @!attribute [rw] get_object_attributes
2072
+ # Retrieves attributes within a facet that are associated with an
2073
+ # object.
2074
+ # @return [Types::BatchGetObjectAttributes]
2075
+ #
2007
2076
  # @!attribute [rw] list_object_policies
2008
2077
  # Returns policies attached to an object in pagination fashion.
2009
2078
  # @return [Types::BatchListObjectPolicies]
@@ -2062,6 +2131,7 @@ module Aws::CloudDirectory
2062
2131
  :list_attached_indices,
2063
2132
  :list_object_parent_paths,
2064
2133
  :get_object_information,
2134
+ :get_object_attributes,
2065
2135
  :list_object_policies,
2066
2136
  :list_policy_attachments,
2067
2137
  :lookup_policy,
@@ -2133,6 +2203,16 @@ module Aws::CloudDirectory
2133
2203
  # selector: "SelectorObjectReference",
2134
2204
  # },
2135
2205
  # },
2206
+ # get_object_attributes: {
2207
+ # object_reference: { # required
2208
+ # selector: "SelectorObjectReference",
2209
+ # },
2210
+ # schema_facet: { # required
2211
+ # schema_arn: "Arn",
2212
+ # facet_name: "FacetName",
2213
+ # },
2214
+ # attribute_names: ["AttributeName"], # required
2215
+ # },
2136
2216
  # list_object_policies: {
2137
2217
  # object_reference: { # required
2138
2218
  # selector: "SelectorObjectReference",
@@ -2311,6 +2391,11 @@ module Aws::CloudDirectory
2311
2391
  # Retrieves metadata about an object.
2312
2392
  # @return [Types::BatchGetObjectInformationResponse]
2313
2393
  #
2394
+ # @!attribute [rw] get_object_attributes
2395
+ # Retrieves attributes within a facet that are associated with an
2396
+ # object.
2397
+ # @return [Types::BatchGetObjectAttributesResponse]
2398
+ #
2314
2399
  # @!attribute [rw] list_attached_indices
2315
2400
  # Lists indices attached to an object.
2316
2401
  # @return [Types::BatchListAttachedIndicesResponse]
@@ -2381,6 +2466,7 @@ module Aws::CloudDirectory
2381
2466
  :list_object_attributes,
2382
2467
  :list_object_children,
2383
2468
  :get_object_information,
2469
+ :get_object_attributes,
2384
2470
  :list_attached_indices,
2385
2471
  :list_object_parent_paths,
2386
2472
  :list_object_policies,
@@ -2517,11 +2603,11 @@ module Aws::CloudDirectory
2517
2603
  # },
2518
2604
  # },
2519
2605
  # ],
2520
- # parent_reference: { # required
2606
+ # parent_reference: {
2521
2607
  # selector: "SelectorObjectReference",
2522
2608
  # },
2523
- # link_name: "LinkName", # required
2524
- # batch_reference_name: "BatchReferenceName", # required
2609
+ # link_name: "LinkName",
2610
+ # batch_reference_name: "BatchReferenceName",
2525
2611
  # },
2526
2612
  # attach_object: {
2527
2613
  # parent_reference: { # required
@@ -2537,7 +2623,7 @@ module Aws::CloudDirectory
2537
2623
  # selector: "SelectorObjectReference",
2538
2624
  # },
2539
2625
  # link_name: "LinkName", # required
2540
- # batch_reference_name: "BatchReferenceName", # required
2626
+ # batch_reference_name: "BatchReferenceName",
2541
2627
  # },
2542
2628
  # update_object_attributes: {
2543
2629
  # object_reference: { # required
@@ -2915,11 +3001,11 @@ module Aws::CloudDirectory
2915
3001
  # },
2916
3002
  # },
2917
3003
  # ],
2918
- # parent_reference: { # required
3004
+ # parent_reference: {
2919
3005
  # selector: "SelectorObjectReference",
2920
3006
  # },
2921
- # link_name: "LinkName", # required
2922
- # batch_reference_name: "BatchReferenceName", # required
3007
+ # link_name: "LinkName",
3008
+ # batch_reference_name: "BatchReferenceName",
2923
3009
  # },
2924
3010
  # attach_object: {
2925
3011
  # parent_reference: { # required
@@ -2935,7 +3021,7 @@ module Aws::CloudDirectory
2935
3021
  # selector: "SelectorObjectReference",
2936
3022
  # },
2937
3023
  # link_name: "LinkName", # required
2938
- # batch_reference_name: "BatchReferenceName", # required
3024
+ # batch_reference_name: "BatchReferenceName",
2939
3025
  # },
2940
3026
  # update_object_attributes: {
2941
3027
  # object_reference: { # required
@@ -3923,8 +4009,12 @@ module Aws::CloudDirectory
3923
4009
  include Aws::Structure
3924
4010
  end
3925
4011
 
3926
- # A structure that contains `Name`, `ARN`, `Attributes`, Rules, and
3927
- # `ObjectTypes`.
4012
+ # A structure that contains `Name`, `ARN`, `Attributes`, ` Rules`, and
4013
+ # `ObjectTypes`. See [Facets][1] for more information.
4014
+ #
4015
+ #
4016
+ #
4017
+ # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/whatarefacets.html
3928
4018
  #
3929
4019
  # @!attribute [rw] name
3930
4020
  # The name of the Facet.
@@ -4253,6 +4343,68 @@ module Aws::CloudDirectory
4253
4343
  include Aws::Structure
4254
4344
  end
4255
4345
 
4346
+ # @note When making an API call, you may pass GetObjectAttributesRequest
4347
+ # data as a hash:
4348
+ #
4349
+ # {
4350
+ # directory_arn: "Arn", # required
4351
+ # object_reference: { # required
4352
+ # selector: "SelectorObjectReference",
4353
+ # },
4354
+ # consistency_level: "SERIALIZABLE", # accepts SERIALIZABLE, EVENTUAL
4355
+ # schema_facet: { # required
4356
+ # schema_arn: "Arn",
4357
+ # facet_name: "FacetName",
4358
+ # },
4359
+ # attribute_names: ["AttributeName"], # required
4360
+ # }
4361
+ #
4362
+ # @!attribute [rw] directory_arn
4363
+ # The Amazon Resource Name (ARN) that is associated with the Directory
4364
+ # where the object resides.
4365
+ # @return [String]
4366
+ #
4367
+ # @!attribute [rw] object_reference
4368
+ # Reference that identifies the object whose attributes will be
4369
+ # retrieved.
4370
+ # @return [Types::ObjectReference]
4371
+ #
4372
+ # @!attribute [rw] consistency_level
4373
+ # The consistency level at which to retrieve the attributes on an
4374
+ # object.
4375
+ # @return [String]
4376
+ #
4377
+ # @!attribute [rw] schema_facet
4378
+ # Identifier for the facet whose attributes will be retrieved. See
4379
+ # SchemaFacet for details.
4380
+ # @return [Types::SchemaFacet]
4381
+ #
4382
+ # @!attribute [rw] attribute_names
4383
+ # List of attribute names whose values will be retrieved.
4384
+ # @return [Array<String>]
4385
+ #
4386
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetObjectAttributesRequest AWS API Documentation
4387
+ #
4388
+ class GetObjectAttributesRequest < Struct.new(
4389
+ :directory_arn,
4390
+ :object_reference,
4391
+ :consistency_level,
4392
+ :schema_facet,
4393
+ :attribute_names)
4394
+ include Aws::Structure
4395
+ end
4396
+
4397
+ # @!attribute [rw] attributes
4398
+ # The attributes that are associated with the object.
4399
+ # @return [Array<Types::AttributeKeyAndValue>]
4400
+ #
4401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetObjectAttributesResponse AWS API Documentation
4402
+ #
4403
+ class GetObjectAttributesResponse < Struct.new(
4404
+ :attributes)
4405
+ include Aws::Structure
4406
+ end
4407
+
4256
4408
  # @note When making an API call, you may pass GetObjectInformationRequest
4257
4409
  # data as a hash:
4258
4410
  #
@@ -6192,7 +6344,12 @@ module Aws::CloudDirectory
6192
6344
  include Aws::Structure
6193
6345
  end
6194
6346
 
6195
- # A range of attribute values.
6347
+ # A range of attribute values. For more information, see [Range
6348
+ # Filters][1].
6349
+ #
6350
+ #
6351
+ #
6352
+ # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/objectsandlinks.html#rangefilters
6196
6353
  #
6197
6354
  # @note When making an API call, you may pass TypedAttributeValueRange
6198
6355
  # data as a hash:
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.1.0
4
+ version: 1.2.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-12-06 00:00:00.000000000 Z
11
+ date: 2018-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.5.1
78
+ rubygems_version: 2.5.2.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - Amazon CloudDirectory