aws-sdk-clouddirectory 1.2.0 → 1.3.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: ab35303034bac99f00f767684117194fc48838b6
4
- data.tar.gz: e3e1b1ef178356d80f168a2ed466e04925a83190
3
+ metadata.gz: 2bac00fefe7789702a085acb0236a2a8469b1d68
4
+ data.tar.gz: 6e05014b0a0d245bb983b1185115b0e587b791e2
5
5
  SHA512:
6
- metadata.gz: 115172dcc5294a6847341e39955f8db0501c43ffb7dd7abbf365d0ef087177aada4a8727249db0aa113be77ded0f4cb2592c0315eaefc612bb36b2e6503c22c4
7
- data.tar.gz: 952a71e0b9f33ae6a8b90b40eb21d14b1e4e8f9e9a1584b30b8612cec581cb408293929f67eaf5d6ea5e11d65a7bfd03aebdb7cf0128b27d5b49dfffa7ff2cb3
6
+ metadata.gz: 5580d5a444c5504c037b37cde8093c67e57ef1cb77a56033d06cbe7ac826a3b84745b5f8c1a3934ff29bdbcf84f9610d6a62593be4273795f64a4c329206519d
7
+ data.tar.gz: d7034cef62a2137d82198e8816644263c278ad8d4f98b769536d924323668de0189b39a34e7d583aa9563c41d7db8d6f7617381a1654226f6f9612614330807e
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-clouddirectory/customizations'
42
42
  # @service
43
43
  module Aws::CloudDirectory
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -641,6 +641,33 @@ module Aws::CloudDirectory
641
641
  # next_token: "NextToken",
642
642
  # max_results: 1,
643
643
  # },
644
+ # get_link_attributes: {
645
+ # typed_link_specifier: { # required
646
+ # typed_link_facet: { # required
647
+ # schema_arn: "Arn", # required
648
+ # typed_link_name: "TypedLinkName", # required
649
+ # },
650
+ # source_object_reference: { # required
651
+ # selector: "SelectorObjectReference",
652
+ # },
653
+ # target_object_reference: { # required
654
+ # selector: "SelectorObjectReference",
655
+ # },
656
+ # identity_attribute_values: [ # required
657
+ # {
658
+ # attribute_name: "AttributeName", # required
659
+ # value: { # required
660
+ # string_value: "StringAttributeValue",
661
+ # binary_value: "data",
662
+ # boolean_value: false,
663
+ # number_value: "NumberAttributeValue",
664
+ # datetime_value: Time.now,
665
+ # },
666
+ # },
667
+ # ],
668
+ # },
669
+ # attribute_names: ["AttributeName"], # required
670
+ # },
644
671
  # },
645
672
  # ],
646
673
  # consistency_level: "SERIALIZABLE", # accepts SERIALIZABLE, EVENTUAL
@@ -743,6 +770,15 @@ module Aws::CloudDirectory
743
770
  # resp.responses[0].successful_response.list_incoming_typed_links.link_specifiers[0].identity_attribute_values[0].value.number_value #=> String
744
771
  # resp.responses[0].successful_response.list_incoming_typed_links.link_specifiers[0].identity_attribute_values[0].value.datetime_value #=> Time
745
772
  # resp.responses[0].successful_response.list_incoming_typed_links.next_token #=> String
773
+ # resp.responses[0].successful_response.get_link_attributes.attributes #=> Array
774
+ # resp.responses[0].successful_response.get_link_attributes.attributes[0].key.schema_arn #=> String
775
+ # resp.responses[0].successful_response.get_link_attributes.attributes[0].key.facet_name #=> String
776
+ # resp.responses[0].successful_response.get_link_attributes.attributes[0].key.name #=> String
777
+ # resp.responses[0].successful_response.get_link_attributes.attributes[0].value.string_value #=> String
778
+ # resp.responses[0].successful_response.get_link_attributes.attributes[0].value.binary_value #=> String
779
+ # resp.responses[0].successful_response.get_link_attributes.attributes[0].value.boolean_value #=> Boolean
780
+ # resp.responses[0].successful_response.get_link_attributes.attributes[0].value.number_value #=> String
781
+ # resp.responses[0].successful_response.get_link_attributes.attributes[0].value.datetime_value #=> Time
746
782
  # resp.responses[0].exception_response.type #=> String, one of "ValidationException", "InvalidArnException", "ResourceNotFoundException", "InvalidNextTokenException", "AccessDeniedException", "NotNodeException", "FacetValidationException", "CannotListParentOfRootException", "NotIndexException", "NotPolicyException", "DirectoryNotEnabledException", "LimitExceededException", "InternalServiceException"
747
783
  # resp.responses[0].exception_response.message #=> String
748
784
  #
@@ -980,6 +1016,51 @@ module Aws::CloudDirectory
980
1016
  # ],
981
1017
  # },
982
1018
  # },
1019
+ # update_link_attributes: {
1020
+ # typed_link_specifier: { # required
1021
+ # typed_link_facet: { # required
1022
+ # schema_arn: "Arn", # required
1023
+ # typed_link_name: "TypedLinkName", # required
1024
+ # },
1025
+ # source_object_reference: { # required
1026
+ # selector: "SelectorObjectReference",
1027
+ # },
1028
+ # target_object_reference: { # required
1029
+ # selector: "SelectorObjectReference",
1030
+ # },
1031
+ # identity_attribute_values: [ # required
1032
+ # {
1033
+ # attribute_name: "AttributeName", # required
1034
+ # value: { # required
1035
+ # string_value: "StringAttributeValue",
1036
+ # binary_value: "data",
1037
+ # boolean_value: false,
1038
+ # number_value: "NumberAttributeValue",
1039
+ # datetime_value: Time.now,
1040
+ # },
1041
+ # },
1042
+ # ],
1043
+ # },
1044
+ # attribute_updates: [ # required
1045
+ # {
1046
+ # attribute_key: {
1047
+ # schema_arn: "Arn", # required
1048
+ # facet_name: "FacetName", # required
1049
+ # name: "AttributeName", # required
1050
+ # },
1051
+ # attribute_action: {
1052
+ # attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
1053
+ # attribute_update_value: {
1054
+ # string_value: "StringAttributeValue",
1055
+ # binary_value: "data",
1056
+ # boolean_value: false,
1057
+ # number_value: "NumberAttributeValue",
1058
+ # datetime_value: Time.now,
1059
+ # },
1060
+ # },
1061
+ # },
1062
+ # ],
1063
+ # },
983
1064
  # },
984
1065
  # ],
985
1066
  # })
@@ -1853,6 +1934,84 @@ module Aws::CloudDirectory
1853
1934
  req.send_request(options)
1854
1935
  end
1855
1936
 
1937
+ # Retrieves attributes that are associated with a typed link.
1938
+ #
1939
+ # @option params [required, String] :directory_arn
1940
+ # The Amazon Resource Name (ARN) that is associated with the Directory
1941
+ # where the typed link resides. For more information, see arns or [Typed
1942
+ # link][1].
1943
+ #
1944
+ #
1945
+ #
1946
+ # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/objectsandlinks.html#typedlink
1947
+ #
1948
+ # @option params [required, Types::TypedLinkSpecifier] :typed_link_specifier
1949
+ # Allows a typed link specifier to be accepted as input.
1950
+ #
1951
+ # @option params [required, Array<String>] :attribute_names
1952
+ # A list of attribute names whose values will be retrieved.
1953
+ #
1954
+ # @option params [String] :consistency_level
1955
+ # The consistency level at which to retrieve the attributes on a typed
1956
+ # link.
1957
+ #
1958
+ # @return [Types::GetLinkAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1959
+ #
1960
+ # * {Types::GetLinkAttributesResponse#attributes #attributes} => Array&lt;Types::AttributeKeyAndValue&gt;
1961
+ #
1962
+ # @example Request syntax with placeholder values
1963
+ #
1964
+ # resp = client.get_link_attributes({
1965
+ # directory_arn: "Arn", # required
1966
+ # typed_link_specifier: { # required
1967
+ # typed_link_facet: { # required
1968
+ # schema_arn: "Arn", # required
1969
+ # typed_link_name: "TypedLinkName", # required
1970
+ # },
1971
+ # source_object_reference: { # required
1972
+ # selector: "SelectorObjectReference",
1973
+ # },
1974
+ # target_object_reference: { # required
1975
+ # selector: "SelectorObjectReference",
1976
+ # },
1977
+ # identity_attribute_values: [ # required
1978
+ # {
1979
+ # attribute_name: "AttributeName", # required
1980
+ # value: { # required
1981
+ # string_value: "StringAttributeValue",
1982
+ # binary_value: "data",
1983
+ # boolean_value: false,
1984
+ # number_value: "NumberAttributeValue",
1985
+ # datetime_value: Time.now,
1986
+ # },
1987
+ # },
1988
+ # ],
1989
+ # },
1990
+ # attribute_names: ["AttributeName"], # required
1991
+ # consistency_level: "SERIALIZABLE", # accepts SERIALIZABLE, EVENTUAL
1992
+ # })
1993
+ #
1994
+ # @example Response structure
1995
+ #
1996
+ # resp.attributes #=> Array
1997
+ # resp.attributes[0].key.schema_arn #=> String
1998
+ # resp.attributes[0].key.facet_name #=> String
1999
+ # resp.attributes[0].key.name #=> String
2000
+ # resp.attributes[0].value.string_value #=> String
2001
+ # resp.attributes[0].value.binary_value #=> String
2002
+ # resp.attributes[0].value.boolean_value #=> Boolean
2003
+ # resp.attributes[0].value.number_value #=> String
2004
+ # resp.attributes[0].value.datetime_value #=> Time
2005
+ #
2006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetLinkAttributes AWS API Documentation
2007
+ #
2008
+ # @overload get_link_attributes(params = {})
2009
+ # @param [Hash] params ({})
2010
+ def get_link_attributes(params = {}, options = {})
2011
+ req = build_request(:get_link_attributes, params)
2012
+ req.send_request(options)
2013
+ end
2014
+
1856
2015
  # Retrieves attributes within a facet that are associated with an
1857
2016
  # object.
1858
2017
  #
@@ -3469,6 +3628,85 @@ module Aws::CloudDirectory
3469
3628
  req.send_request(options)
3470
3629
  end
3471
3630
 
3631
+ # Updates a given typed link’s attributes. Attributes to be updated must
3632
+ # not contribute to the typed link’s identity, as defined by its
3633
+ # `IdentityAttributeOrder`.
3634
+ #
3635
+ # @option params [required, String] :directory_arn
3636
+ # The Amazon Resource Name (ARN) that is associated with the Directory
3637
+ # where the updated typed link resides. For more information, see arns
3638
+ # or [Typed link][1].
3639
+ #
3640
+ #
3641
+ #
3642
+ # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/objectsandlinks.html#typedlink
3643
+ #
3644
+ # @option params [required, Types::TypedLinkSpecifier] :typed_link_specifier
3645
+ # Allows a typed link specifier to be accepted as input.
3646
+ #
3647
+ # @option params [required, Array<Types::LinkAttributeUpdate>] :attribute_updates
3648
+ # The attributes update structure.
3649
+ #
3650
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3651
+ #
3652
+ # @example Request syntax with placeholder values
3653
+ #
3654
+ # resp = client.update_link_attributes({
3655
+ # directory_arn: "Arn", # required
3656
+ # typed_link_specifier: { # required
3657
+ # typed_link_facet: { # required
3658
+ # schema_arn: "Arn", # required
3659
+ # typed_link_name: "TypedLinkName", # required
3660
+ # },
3661
+ # source_object_reference: { # required
3662
+ # selector: "SelectorObjectReference",
3663
+ # },
3664
+ # target_object_reference: { # required
3665
+ # selector: "SelectorObjectReference",
3666
+ # },
3667
+ # identity_attribute_values: [ # required
3668
+ # {
3669
+ # attribute_name: "AttributeName", # required
3670
+ # value: { # required
3671
+ # string_value: "StringAttributeValue",
3672
+ # binary_value: "data",
3673
+ # boolean_value: false,
3674
+ # number_value: "NumberAttributeValue",
3675
+ # datetime_value: Time.now,
3676
+ # },
3677
+ # },
3678
+ # ],
3679
+ # },
3680
+ # attribute_updates: [ # required
3681
+ # {
3682
+ # attribute_key: {
3683
+ # schema_arn: "Arn", # required
3684
+ # facet_name: "FacetName", # required
3685
+ # name: "AttributeName", # required
3686
+ # },
3687
+ # attribute_action: {
3688
+ # attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
3689
+ # attribute_update_value: {
3690
+ # string_value: "StringAttributeValue",
3691
+ # binary_value: "data",
3692
+ # boolean_value: false,
3693
+ # number_value: "NumberAttributeValue",
3694
+ # datetime_value: Time.now,
3695
+ # },
3696
+ # },
3697
+ # },
3698
+ # ],
3699
+ # })
3700
+ #
3701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpdateLinkAttributes AWS API Documentation
3702
+ #
3703
+ # @overload update_link_attributes(params = {})
3704
+ # @param [Hash] params ({})
3705
+ def update_link_attributes(params = {}, options = {})
3706
+ req = build_request(:update_link_attributes, params)
3707
+ req.send_request(options)
3708
+ end
3709
+
3472
3710
  # Updates a given object's attributes.
3473
3711
  #
3474
3712
  # @option params [required, String] :directory_arn
@@ -3744,7 +3982,7 @@ module Aws::CloudDirectory
3744
3982
  params: params,
3745
3983
  config: config)
3746
3984
  context[:gem_name] = 'aws-sdk-clouddirectory'
3747
- context[:gem_version] = '1.2.0'
3985
+ context[:gem_version] = '1.3.0'
3748
3986
  Seahorse::Client::Request.new(handlers, context)
3749
3987
  end
3750
3988
 
@@ -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
+ BatchGetLinkAttributes = Shapes::StructureShape.new(name: 'BatchGetLinkAttributes')
62
+ BatchGetLinkAttributesResponse = Shapes::StructureShape.new(name: 'BatchGetLinkAttributesResponse')
61
63
  BatchGetObjectAttributes = Shapes::StructureShape.new(name: 'BatchGetObjectAttributes')
62
64
  BatchGetObjectAttributesResponse = Shapes::StructureShape.new(name: 'BatchGetObjectAttributesResponse')
63
65
  BatchGetObjectInformation = Shapes::StructureShape.new(name: 'BatchGetObjectInformation')
@@ -95,6 +97,8 @@ module Aws::CloudDirectory
95
97
  BatchReferenceName = Shapes::StringShape.new(name: 'BatchReferenceName')
96
98
  BatchRemoveFacetFromObject = Shapes::StructureShape.new(name: 'BatchRemoveFacetFromObject')
97
99
  BatchRemoveFacetFromObjectResponse = Shapes::StructureShape.new(name: 'BatchRemoveFacetFromObjectResponse')
100
+ BatchUpdateLinkAttributes = Shapes::StructureShape.new(name: 'BatchUpdateLinkAttributes')
101
+ BatchUpdateLinkAttributesResponse = Shapes::StructureShape.new(name: 'BatchUpdateLinkAttributesResponse')
98
102
  BatchUpdateObjectAttributes = Shapes::StructureShape.new(name: 'BatchUpdateObjectAttributes')
99
103
  BatchUpdateObjectAttributesResponse = Shapes::StructureShape.new(name: 'BatchUpdateObjectAttributesResponse')
100
104
  BatchWriteException = Shapes::StructureShape.new(name: 'BatchWriteException')
@@ -175,6 +179,8 @@ module Aws::CloudDirectory
175
179
  GetDirectoryResponse = Shapes::StructureShape.new(name: 'GetDirectoryResponse')
176
180
  GetFacetRequest = Shapes::StructureShape.new(name: 'GetFacetRequest')
177
181
  GetFacetResponse = Shapes::StructureShape.new(name: 'GetFacetResponse')
182
+ GetLinkAttributesRequest = Shapes::StructureShape.new(name: 'GetLinkAttributesRequest')
183
+ GetLinkAttributesResponse = Shapes::StructureShape.new(name: 'GetLinkAttributesResponse')
178
184
  GetObjectAttributesRequest = Shapes::StructureShape.new(name: 'GetObjectAttributesRequest')
179
185
  GetObjectAttributesResponse = Shapes::StructureShape.new(name: 'GetObjectAttributesResponse')
180
186
  GetObjectInformationRequest = Shapes::StructureShape.new(name: 'GetObjectInformationRequest')
@@ -196,6 +202,9 @@ module Aws::CloudDirectory
196
202
  InvalidSchemaDocException = Shapes::StructureShape.new(name: 'InvalidSchemaDocException')
197
203
  InvalidTaggingRequestException = Shapes::StructureShape.new(name: 'InvalidTaggingRequestException')
198
204
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
205
+ LinkAttributeAction = Shapes::StructureShape.new(name: 'LinkAttributeAction')
206
+ LinkAttributeUpdate = Shapes::StructureShape.new(name: 'LinkAttributeUpdate')
207
+ LinkAttributeUpdateList = Shapes::ListShape.new(name: 'LinkAttributeUpdateList')
199
208
  LinkName = Shapes::StringShape.new(name: 'LinkName')
200
209
  LinkNameAlreadyInUseException = Shapes::StructureShape.new(name: 'LinkNameAlreadyInUseException')
201
210
  LinkNameToObjectIdentifierMap = Shapes::MapShape.new(name: 'LinkNameToObjectIdentifierMap')
@@ -319,6 +328,8 @@ module Aws::CloudDirectory
319
328
  UpdateActionType = Shapes::StringShape.new(name: 'UpdateActionType')
320
329
  UpdateFacetRequest = Shapes::StructureShape.new(name: 'UpdateFacetRequest')
321
330
  UpdateFacetResponse = Shapes::StructureShape.new(name: 'UpdateFacetResponse')
331
+ UpdateLinkAttributesRequest = Shapes::StructureShape.new(name: 'UpdateLinkAttributesRequest')
332
+ UpdateLinkAttributesResponse = Shapes::StructureShape.new(name: 'UpdateLinkAttributesResponse')
322
333
  UpdateObjectAttributesRequest = Shapes::StructureShape.new(name: 'UpdateObjectAttributesRequest')
323
334
  UpdateObjectAttributesResponse = Shapes::StructureShape.new(name: 'UpdateObjectAttributesResponse')
324
335
  UpdateSchemaRequest = Shapes::StructureShape.new(name: 'UpdateSchemaRequest')
@@ -493,6 +504,13 @@ module Aws::CloudDirectory
493
504
 
494
505
  BatchDetachTypedLinkResponse.struct_class = Types::BatchDetachTypedLinkResponse
495
506
 
507
+ BatchGetLinkAttributes.add_member(:typed_link_specifier, Shapes::ShapeRef.new(shape: TypedLinkSpecifier, required: true, location_name: "TypedLinkSpecifier"))
508
+ BatchGetLinkAttributes.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, required: true, location_name: "AttributeNames"))
509
+ BatchGetLinkAttributes.struct_class = Types::BatchGetLinkAttributes
510
+
511
+ BatchGetLinkAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeKeyAndValueList, location_name: "Attributes"))
512
+ BatchGetLinkAttributesResponse.struct_class = Types::BatchGetLinkAttributesResponse
513
+
496
514
  BatchGetObjectAttributes.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
497
515
  BatchGetObjectAttributes.add_member(:schema_facet, Shapes::ShapeRef.new(shape: SchemaFacet, required: true, location_name: "SchemaFacet"))
498
516
  BatchGetObjectAttributes.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, required: true, location_name: "AttributeNames"))
@@ -620,6 +638,7 @@ module Aws::CloudDirectory
620
638
  BatchReadOperation.add_member(:list_index, Shapes::ShapeRef.new(shape: BatchListIndex, location_name: "ListIndex"))
621
639
  BatchReadOperation.add_member(:list_outgoing_typed_links, Shapes::ShapeRef.new(shape: BatchListOutgoingTypedLinks, location_name: "ListOutgoingTypedLinks"))
622
640
  BatchReadOperation.add_member(:list_incoming_typed_links, Shapes::ShapeRef.new(shape: BatchListIncomingTypedLinks, location_name: "ListIncomingTypedLinks"))
641
+ BatchReadOperation.add_member(:get_link_attributes, Shapes::ShapeRef.new(shape: BatchGetLinkAttributes, location_name: "GetLinkAttributes"))
623
642
  BatchReadOperation.struct_class = Types::BatchReadOperation
624
643
 
625
644
  BatchReadOperationList.member = Shapes::ShapeRef.new(shape: BatchReadOperation)
@@ -650,6 +669,7 @@ module Aws::CloudDirectory
650
669
  BatchReadSuccessfulResponse.add_member(:list_index, Shapes::ShapeRef.new(shape: BatchListIndexResponse, location_name: "ListIndex"))
651
670
  BatchReadSuccessfulResponse.add_member(:list_outgoing_typed_links, Shapes::ShapeRef.new(shape: BatchListOutgoingTypedLinksResponse, location_name: "ListOutgoingTypedLinks"))
652
671
  BatchReadSuccessfulResponse.add_member(:list_incoming_typed_links, Shapes::ShapeRef.new(shape: BatchListIncomingTypedLinksResponse, location_name: "ListIncomingTypedLinks"))
672
+ BatchReadSuccessfulResponse.add_member(:get_link_attributes, Shapes::ShapeRef.new(shape: BatchGetLinkAttributesResponse, location_name: "GetLinkAttributes"))
653
673
  BatchReadSuccessfulResponse.struct_class = Types::BatchReadSuccessfulResponse
654
674
 
655
675
  BatchRemoveFacetFromObject.add_member(:schema_facet, Shapes::ShapeRef.new(shape: SchemaFacet, required: true, location_name: "SchemaFacet"))
@@ -658,6 +678,12 @@ module Aws::CloudDirectory
658
678
 
659
679
  BatchRemoveFacetFromObjectResponse.struct_class = Types::BatchRemoveFacetFromObjectResponse
660
680
 
681
+ BatchUpdateLinkAttributes.add_member(:typed_link_specifier, Shapes::ShapeRef.new(shape: TypedLinkSpecifier, required: true, location_name: "TypedLinkSpecifier"))
682
+ BatchUpdateLinkAttributes.add_member(:attribute_updates, Shapes::ShapeRef.new(shape: LinkAttributeUpdateList, required: true, location_name: "AttributeUpdates"))
683
+ BatchUpdateLinkAttributes.struct_class = Types::BatchUpdateLinkAttributes
684
+
685
+ BatchUpdateLinkAttributesResponse.struct_class = Types::BatchUpdateLinkAttributesResponse
686
+
661
687
  BatchUpdateObjectAttributes.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
662
688
  BatchUpdateObjectAttributes.add_member(:attribute_updates, Shapes::ShapeRef.new(shape: ObjectAttributeUpdateList, required: true, location_name: "AttributeUpdates"))
663
689
  BatchUpdateObjectAttributes.struct_class = Types::BatchUpdateObjectAttributes
@@ -679,6 +705,7 @@ module Aws::CloudDirectory
679
705
  BatchWriteOperation.add_member(:detach_from_index, Shapes::ShapeRef.new(shape: BatchDetachFromIndex, location_name: "DetachFromIndex"))
680
706
  BatchWriteOperation.add_member(:attach_typed_link, Shapes::ShapeRef.new(shape: BatchAttachTypedLink, location_name: "AttachTypedLink"))
681
707
  BatchWriteOperation.add_member(:detach_typed_link, Shapes::ShapeRef.new(shape: BatchDetachTypedLink, location_name: "DetachTypedLink"))
708
+ BatchWriteOperation.add_member(:update_link_attributes, Shapes::ShapeRef.new(shape: BatchUpdateLinkAttributes, location_name: "UpdateLinkAttributes"))
682
709
  BatchWriteOperation.struct_class = Types::BatchWriteOperation
683
710
 
684
711
  BatchWriteOperationList.member = Shapes::ShapeRef.new(shape: BatchWriteOperation)
@@ -697,6 +724,7 @@ module Aws::CloudDirectory
697
724
  BatchWriteOperationResponse.add_member(:detach_from_index, Shapes::ShapeRef.new(shape: BatchDetachFromIndexResponse, location_name: "DetachFromIndex"))
698
725
  BatchWriteOperationResponse.add_member(:attach_typed_link, Shapes::ShapeRef.new(shape: BatchAttachTypedLinkResponse, location_name: "AttachTypedLink"))
699
726
  BatchWriteOperationResponse.add_member(:detach_typed_link, Shapes::ShapeRef.new(shape: BatchDetachTypedLinkResponse, location_name: "DetachTypedLink"))
727
+ BatchWriteOperationResponse.add_member(:update_link_attributes, Shapes::ShapeRef.new(shape: BatchUpdateLinkAttributesResponse, location_name: "UpdateLinkAttributes"))
700
728
  BatchWriteOperationResponse.struct_class = Types::BatchWriteOperationResponse
701
729
 
702
730
  BatchWriteOperationResponseList.member = Shapes::ShapeRef.new(shape: BatchWriteOperationResponse)
@@ -884,6 +912,15 @@ module Aws::CloudDirectory
884
912
  GetFacetResponse.add_member(:facet, Shapes::ShapeRef.new(shape: Facet, location_name: "Facet"))
885
913
  GetFacetResponse.struct_class = Types::GetFacetResponse
886
914
 
915
+ GetLinkAttributesRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
916
+ GetLinkAttributesRequest.add_member(:typed_link_specifier, Shapes::ShapeRef.new(shape: TypedLinkSpecifier, required: true, location_name: "TypedLinkSpecifier"))
917
+ GetLinkAttributesRequest.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNameList, required: true, location_name: "AttributeNames"))
918
+ GetLinkAttributesRequest.add_member(:consistency_level, Shapes::ShapeRef.new(shape: ConsistencyLevel, location_name: "ConsistencyLevel"))
919
+ GetLinkAttributesRequest.struct_class = Types::GetLinkAttributesRequest
920
+
921
+ GetLinkAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeKeyAndValueList, location_name: "Attributes"))
922
+ GetLinkAttributesResponse.struct_class = Types::GetLinkAttributesResponse
923
+
887
924
  GetObjectAttributesRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
888
925
  GetObjectAttributesRequest.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
889
926
  GetObjectAttributesRequest.add_member(:consistency_level, Shapes::ShapeRef.new(shape: ConsistencyLevel, location: "header", location_name: "x-amz-consistency-level"))
@@ -923,6 +960,16 @@ module Aws::CloudDirectory
923
960
 
924
961
  IndexAttachmentList.member = Shapes::ShapeRef.new(shape: IndexAttachment)
925
962
 
963
+ LinkAttributeAction.add_member(:attribute_action_type, Shapes::ShapeRef.new(shape: UpdateActionType, location_name: "AttributeActionType"))
964
+ LinkAttributeAction.add_member(:attribute_update_value, Shapes::ShapeRef.new(shape: TypedAttributeValue, location_name: "AttributeUpdateValue"))
965
+ LinkAttributeAction.struct_class = Types::LinkAttributeAction
966
+
967
+ LinkAttributeUpdate.add_member(:attribute_key, Shapes::ShapeRef.new(shape: AttributeKey, location_name: "AttributeKey"))
968
+ LinkAttributeUpdate.add_member(:attribute_action, Shapes::ShapeRef.new(shape: LinkAttributeAction, location_name: "AttributeAction"))
969
+ LinkAttributeUpdate.struct_class = Types::LinkAttributeUpdate
970
+
971
+ LinkAttributeUpdateList.member = Shapes::ShapeRef.new(shape: LinkAttributeUpdate)
972
+
926
973
  LinkNameToObjectIdentifierMap.key = Shapes::ShapeRef.new(shape: LinkName)
927
974
  LinkNameToObjectIdentifierMap.value = Shapes::ShapeRef.new(shape: ObjectIdentifier)
928
975
 
@@ -1298,6 +1345,13 @@ module Aws::CloudDirectory
1298
1345
 
1299
1346
  UpdateFacetResponse.struct_class = Types::UpdateFacetResponse
1300
1347
 
1348
+ UpdateLinkAttributesRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
1349
+ UpdateLinkAttributesRequest.add_member(:typed_link_specifier, Shapes::ShapeRef.new(shape: TypedLinkSpecifier, required: true, location_name: "TypedLinkSpecifier"))
1350
+ UpdateLinkAttributesRequest.add_member(:attribute_updates, Shapes::ShapeRef.new(shape: LinkAttributeUpdateList, required: true, location_name: "AttributeUpdates"))
1351
+ UpdateLinkAttributesRequest.struct_class = Types::UpdateLinkAttributesRequest
1352
+
1353
+ UpdateLinkAttributesResponse.struct_class = Types::UpdateLinkAttributesResponse
1354
+
1301
1355
  UpdateObjectAttributesRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
1302
1356
  UpdateObjectAttributesRequest.add_member(:object_reference, Shapes::ShapeRef.new(shape: ObjectReference, required: true, location_name: "ObjectReference"))
1303
1357
  UpdateObjectAttributesRequest.add_member(:attribute_updates, Shapes::ShapeRef.new(shape: ObjectAttributeUpdateList, required: true, location_name: "AttributeUpdates"))
@@ -1828,6 +1882,23 @@ module Aws::CloudDirectory
1828
1882
  o.errors << Shapes::ShapeRef.new(shape: FacetNotFoundException)
1829
1883
  end)
1830
1884
 
1885
+ api.add_operation(:get_link_attributes, Seahorse::Model::Operation.new.tap do |o|
1886
+ o.name = "GetLinkAttributes"
1887
+ o.http_method = "POST"
1888
+ o.http_request_uri = "/amazonclouddirectory/2017-01-11/typedlink/attributes/get"
1889
+ o.input = Shapes::ShapeRef.new(shape: GetLinkAttributesRequest)
1890
+ o.output = Shapes::ShapeRef.new(shape: GetLinkAttributesResponse)
1891
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1892
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1893
+ o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
1894
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1895
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1896
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1897
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
1898
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1899
+ o.errors << Shapes::ShapeRef.new(shape: FacetValidationException)
1900
+ end)
1901
+
1831
1902
  api.add_operation(:get_object_attributes, Seahorse::Model::Operation.new.tap do |o|
1832
1903
  o.name = "GetObjectAttributes"
1833
1904
  o.http_method = "POST"
@@ -2440,6 +2511,23 @@ module Aws::CloudDirectory
2440
2511
  o.errors << Shapes::ShapeRef.new(shape: InvalidRuleException)
2441
2512
  end)
2442
2513
 
2514
+ api.add_operation(:update_link_attributes, Seahorse::Model::Operation.new.tap do |o|
2515
+ o.name = "UpdateLinkAttributes"
2516
+ o.http_method = "POST"
2517
+ o.http_request_uri = "/amazonclouddirectory/2017-01-11/typedlink/attributes/update"
2518
+ o.input = Shapes::ShapeRef.new(shape: UpdateLinkAttributesRequest)
2519
+ o.output = Shapes::ShapeRef.new(shape: UpdateLinkAttributesResponse)
2520
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2521
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
2522
+ o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
2523
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2524
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2525
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2526
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
2527
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2528
+ o.errors << Shapes::ShapeRef.new(shape: FacetValidationException)
2529
+ end)
2530
+
2443
2531
  api.add_operation(:update_object_attributes, Seahorse::Model::Operation.new.tap do |o|
2444
2532
  o.name = "UpdateObjectAttributes"
2445
2533
  o.http_method = "PUT"
@@ -2454,6 +2542,7 @@ module Aws::CloudDirectory
2454
2542
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2455
2543
  o.errors << Shapes::ShapeRef.new(shape: DirectoryNotEnabledException)
2456
2544
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2545
+ o.errors << Shapes::ShapeRef.new(shape: LinkNameAlreadyInUseException)
2457
2546
  o.errors << Shapes::ShapeRef.new(shape: FacetValidationException)
2458
2547
  end)
2459
2548
 
@@ -1066,6 +1066,70 @@ module Aws::CloudDirectory
1066
1066
  #
1067
1067
  class BatchDetachTypedLinkResponse < Aws::EmptyStructure; end
1068
1068
 
1069
+ # Retrieves attributes that are associated with a typed link inside a
1070
+ # BatchRead operation. For more information, see GetLinkAttributes and
1071
+ # BatchReadRequest$Operations.
1072
+ #
1073
+ # @note When making an API call, you may pass BatchGetLinkAttributes
1074
+ # data as a hash:
1075
+ #
1076
+ # {
1077
+ # typed_link_specifier: { # required
1078
+ # typed_link_facet: { # required
1079
+ # schema_arn: "Arn", # required
1080
+ # typed_link_name: "TypedLinkName", # required
1081
+ # },
1082
+ # source_object_reference: { # required
1083
+ # selector: "SelectorObjectReference",
1084
+ # },
1085
+ # target_object_reference: { # required
1086
+ # selector: "SelectorObjectReference",
1087
+ # },
1088
+ # identity_attribute_values: [ # required
1089
+ # {
1090
+ # attribute_name: "AttributeName", # required
1091
+ # value: { # required
1092
+ # string_value: "StringAttributeValue",
1093
+ # binary_value: "data",
1094
+ # boolean_value: false,
1095
+ # number_value: "NumberAttributeValue",
1096
+ # datetime_value: Time.now,
1097
+ # },
1098
+ # },
1099
+ # ],
1100
+ # },
1101
+ # attribute_names: ["AttributeName"], # required
1102
+ # }
1103
+ #
1104
+ # @!attribute [rw] typed_link_specifier
1105
+ # Allows a typed link specifier to be accepted as input.
1106
+ # @return [Types::TypedLinkSpecifier]
1107
+ #
1108
+ # @!attribute [rw] attribute_names
1109
+ # A list of attribute names whose values will be retrieved.
1110
+ # @return [Array<String>]
1111
+ #
1112
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchGetLinkAttributes AWS API Documentation
1113
+ #
1114
+ class BatchGetLinkAttributes < Struct.new(
1115
+ :typed_link_specifier,
1116
+ :attribute_names)
1117
+ include Aws::Structure
1118
+ end
1119
+
1120
+ # Represents the output of a GetLinkAttributes response operation.
1121
+ #
1122
+ # @!attribute [rw] attributes
1123
+ # The attributes that are associated with the typed link.
1124
+ # @return [Array<Types::AttributeKeyAndValue>]
1125
+ #
1126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchGetLinkAttributesResponse AWS API Documentation
1127
+ #
1128
+ class BatchGetLinkAttributesResponse < Struct.new(
1129
+ :attributes)
1130
+ include Aws::Structure
1131
+ end
1132
+
1069
1133
  # Retrieves attributes within a facet that are associated with an object
1070
1134
  # inside an BatchRead operation. For more information, see
1071
1135
  # GetObjectAttributes and BatchReadRequest$Operations.
@@ -2039,6 +2103,33 @@ module Aws::CloudDirectory
2039
2103
  # next_token: "NextToken",
2040
2104
  # max_results: 1,
2041
2105
  # },
2106
+ # get_link_attributes: {
2107
+ # typed_link_specifier: { # required
2108
+ # typed_link_facet: { # required
2109
+ # schema_arn: "Arn", # required
2110
+ # typed_link_name: "TypedLinkName", # required
2111
+ # },
2112
+ # source_object_reference: { # required
2113
+ # selector: "SelectorObjectReference",
2114
+ # },
2115
+ # target_object_reference: { # required
2116
+ # selector: "SelectorObjectReference",
2117
+ # },
2118
+ # identity_attribute_values: [ # required
2119
+ # {
2120
+ # attribute_name: "AttributeName", # required
2121
+ # value: { # required
2122
+ # string_value: "StringAttributeValue",
2123
+ # binary_value: "data",
2124
+ # boolean_value: false,
2125
+ # number_value: "NumberAttributeValue",
2126
+ # datetime_value: Time.now,
2127
+ # },
2128
+ # },
2129
+ # ],
2130
+ # },
2131
+ # attribute_names: ["AttributeName"], # required
2132
+ # },
2042
2133
  # }
2043
2134
  #
2044
2135
  # @!attribute [rw] list_object_attributes
@@ -2123,6 +2214,10 @@ module Aws::CloudDirectory
2123
2214
  # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/objectsandlinks.html#typedlink
2124
2215
  # @return [Types::BatchListIncomingTypedLinks]
2125
2216
  #
2217
+ # @!attribute [rw] get_link_attributes
2218
+ # Retrieves attributes that are associated with a typed link.
2219
+ # @return [Types::BatchGetLinkAttributes]
2220
+ #
2126
2221
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchReadOperation AWS API Documentation
2127
2222
  #
2128
2223
  class BatchReadOperation < Struct.new(
@@ -2137,7 +2232,8 @@ module Aws::CloudDirectory
2137
2232
  :lookup_policy,
2138
2233
  :list_index,
2139
2234
  :list_outgoing_typed_links,
2140
- :list_incoming_typed_links)
2235
+ :list_incoming_typed_links,
2236
+ :get_link_attributes)
2141
2237
  include Aws::Structure
2142
2238
  end
2143
2239
 
@@ -2336,6 +2432,33 @@ module Aws::CloudDirectory
2336
2432
  # next_token: "NextToken",
2337
2433
  # max_results: 1,
2338
2434
  # },
2435
+ # get_link_attributes: {
2436
+ # typed_link_specifier: { # required
2437
+ # typed_link_facet: { # required
2438
+ # schema_arn: "Arn", # required
2439
+ # typed_link_name: "TypedLinkName", # required
2440
+ # },
2441
+ # source_object_reference: { # required
2442
+ # selector: "SelectorObjectReference",
2443
+ # },
2444
+ # target_object_reference: { # required
2445
+ # selector: "SelectorObjectReference",
2446
+ # },
2447
+ # identity_attribute_values: [ # required
2448
+ # {
2449
+ # attribute_name: "AttributeName", # required
2450
+ # value: { # required
2451
+ # string_value: "StringAttributeValue",
2452
+ # binary_value: "data",
2453
+ # boolean_value: false,
2454
+ # number_value: "NumberAttributeValue",
2455
+ # datetime_value: Time.now,
2456
+ # },
2457
+ # },
2458
+ # ],
2459
+ # },
2460
+ # attribute_names: ["AttributeName"], # required
2461
+ # },
2339
2462
  # },
2340
2463
  # ],
2341
2464
  # consistency_level: "SERIALIZABLE", # accepts SERIALIZABLE, EVENTUAL
@@ -2460,6 +2583,10 @@ module Aws::CloudDirectory
2460
2583
  # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/objectsandlinks.html#typedlink
2461
2584
  # @return [Types::BatchListIncomingTypedLinksResponse]
2462
2585
  #
2586
+ # @!attribute [rw] get_link_attributes
2587
+ # The list of attributes to retrieve from the typed link.
2588
+ # @return [Types::BatchGetLinkAttributesResponse]
2589
+ #
2463
2590
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchReadSuccessfulResponse AWS API Documentation
2464
2591
  #
2465
2592
  class BatchReadSuccessfulResponse < Struct.new(
@@ -2474,7 +2601,8 @@ module Aws::CloudDirectory
2474
2601
  :lookup_policy,
2475
2602
  :list_index,
2476
2603
  :list_outgoing_typed_links,
2477
- :list_incoming_typed_links)
2604
+ :list_incoming_typed_links,
2605
+ :get_link_attributes)
2478
2606
  include Aws::Structure
2479
2607
  end
2480
2608
 
@@ -2515,6 +2643,82 @@ module Aws::CloudDirectory
2515
2643
  #
2516
2644
  class BatchRemoveFacetFromObjectResponse < Aws::EmptyStructure; end
2517
2645
 
2646
+ # Updates a given typed link’s attributes inside a BatchRead operation.
2647
+ # Attributes to be updated must not contribute to the typed link’s
2648
+ # identity, as defined by its `IdentityAttributeOrder`. For more
2649
+ # information, see UpdateLinkAttributes and BatchReadRequest$Operations.
2650
+ #
2651
+ # @note When making an API call, you may pass BatchUpdateLinkAttributes
2652
+ # data as a hash:
2653
+ #
2654
+ # {
2655
+ # typed_link_specifier: { # required
2656
+ # typed_link_facet: { # required
2657
+ # schema_arn: "Arn", # required
2658
+ # typed_link_name: "TypedLinkName", # required
2659
+ # },
2660
+ # source_object_reference: { # required
2661
+ # selector: "SelectorObjectReference",
2662
+ # },
2663
+ # target_object_reference: { # required
2664
+ # selector: "SelectorObjectReference",
2665
+ # },
2666
+ # identity_attribute_values: [ # required
2667
+ # {
2668
+ # attribute_name: "AttributeName", # required
2669
+ # value: { # required
2670
+ # string_value: "StringAttributeValue",
2671
+ # binary_value: "data",
2672
+ # boolean_value: false,
2673
+ # number_value: "NumberAttributeValue",
2674
+ # datetime_value: Time.now,
2675
+ # },
2676
+ # },
2677
+ # ],
2678
+ # },
2679
+ # attribute_updates: [ # required
2680
+ # {
2681
+ # attribute_key: {
2682
+ # schema_arn: "Arn", # required
2683
+ # facet_name: "FacetName", # required
2684
+ # name: "AttributeName", # required
2685
+ # },
2686
+ # attribute_action: {
2687
+ # attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
2688
+ # attribute_update_value: {
2689
+ # string_value: "StringAttributeValue",
2690
+ # binary_value: "data",
2691
+ # boolean_value: false,
2692
+ # number_value: "NumberAttributeValue",
2693
+ # datetime_value: Time.now,
2694
+ # },
2695
+ # },
2696
+ # },
2697
+ # ],
2698
+ # }
2699
+ #
2700
+ # @!attribute [rw] typed_link_specifier
2701
+ # Allows a typed link specifier to be accepted as input.
2702
+ # @return [Types::TypedLinkSpecifier]
2703
+ #
2704
+ # @!attribute [rw] attribute_updates
2705
+ # The attributes update structure.
2706
+ # @return [Array<Types::LinkAttributeUpdate>]
2707
+ #
2708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchUpdateLinkAttributes AWS API Documentation
2709
+ #
2710
+ class BatchUpdateLinkAttributes < Struct.new(
2711
+ :typed_link_specifier,
2712
+ :attribute_updates)
2713
+ include Aws::Structure
2714
+ end
2715
+
2716
+ # Represents the output of a UpdateLinkAttributes response operation.
2717
+ #
2718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchUpdateLinkAttributesResponse AWS API Documentation
2719
+ #
2720
+ class BatchUpdateLinkAttributesResponse < Aws::EmptyStructure; end
2721
+
2518
2722
  # Represents the output of a `BatchUpdate` operation.
2519
2723
  #
2520
2724
  # @note When making an API call, you may pass BatchUpdateObjectAttributes
@@ -2785,6 +2989,51 @@ module Aws::CloudDirectory
2785
2989
  # ],
2786
2990
  # },
2787
2991
  # },
2992
+ # update_link_attributes: {
2993
+ # typed_link_specifier: { # required
2994
+ # typed_link_facet: { # required
2995
+ # schema_arn: "Arn", # required
2996
+ # typed_link_name: "TypedLinkName", # required
2997
+ # },
2998
+ # source_object_reference: { # required
2999
+ # selector: "SelectorObjectReference",
3000
+ # },
3001
+ # target_object_reference: { # required
3002
+ # selector: "SelectorObjectReference",
3003
+ # },
3004
+ # identity_attribute_values: [ # required
3005
+ # {
3006
+ # attribute_name: "AttributeName", # required
3007
+ # value: { # required
3008
+ # string_value: "StringAttributeValue",
3009
+ # binary_value: "data",
3010
+ # boolean_value: false,
3011
+ # number_value: "NumberAttributeValue",
3012
+ # datetime_value: Time.now,
3013
+ # },
3014
+ # },
3015
+ # ],
3016
+ # },
3017
+ # attribute_updates: [ # required
3018
+ # {
3019
+ # attribute_key: {
3020
+ # schema_arn: "Arn", # required
3021
+ # facet_name: "FacetName", # required
3022
+ # name: "AttributeName", # required
3023
+ # },
3024
+ # attribute_action: {
3025
+ # attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
3026
+ # attribute_update_value: {
3027
+ # string_value: "StringAttributeValue",
3028
+ # binary_value: "data",
3029
+ # boolean_value: false,
3030
+ # number_value: "NumberAttributeValue",
3031
+ # datetime_value: Time.now,
3032
+ # },
3033
+ # },
3034
+ # },
3035
+ # ],
3036
+ # },
2788
3037
  # }
2789
3038
  #
2790
3039
  # @!attribute [rw] create_object
@@ -2858,6 +3107,10 @@ module Aws::CloudDirectory
2858
3107
  # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/objectsandlinks.html#typedlink
2859
3108
  # @return [Types::BatchDetachTypedLink]
2860
3109
  #
3110
+ # @!attribute [rw] update_link_attributes
3111
+ # Updates a given object's attributes.
3112
+ # @return [Types::BatchUpdateLinkAttributes]
3113
+ #
2861
3114
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchWriteOperation AWS API Documentation
2862
3115
  #
2863
3116
  class BatchWriteOperation < Struct.new(
@@ -2874,7 +3127,8 @@ module Aws::CloudDirectory
2874
3127
  :attach_to_index,
2875
3128
  :detach_from_index,
2876
3129
  :attach_typed_link,
2877
- :detach_typed_link)
3130
+ :detach_typed_link,
3131
+ :update_link_attributes)
2878
3132
  include Aws::Structure
2879
3133
  end
2880
3134
 
@@ -2951,6 +3205,10 @@ module Aws::CloudDirectory
2951
3205
  # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/objectsandlinks.html#typedlink
2952
3206
  # @return [Types::BatchDetachTypedLinkResponse]
2953
3207
  #
3208
+ # @!attribute [rw] update_link_attributes
3209
+ # Represents the output of a `BatchWrite` response operation.
3210
+ # @return [Types::BatchUpdateLinkAttributesResponse]
3211
+ #
2954
3212
  # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchWriteOperationResponse AWS API Documentation
2955
3213
  #
2956
3214
  class BatchWriteOperationResponse < Struct.new(
@@ -2967,7 +3225,8 @@ module Aws::CloudDirectory
2967
3225
  :attach_to_index,
2968
3226
  :detach_from_index,
2969
3227
  :attach_typed_link,
2970
- :detach_typed_link)
3228
+ :detach_typed_link,
3229
+ :update_link_attributes)
2971
3230
  include Aws::Structure
2972
3231
  end
2973
3232
 
@@ -3183,6 +3442,51 @@ module Aws::CloudDirectory
3183
3442
  # ],
3184
3443
  # },
3185
3444
  # },
3445
+ # update_link_attributes: {
3446
+ # typed_link_specifier: { # required
3447
+ # typed_link_facet: { # required
3448
+ # schema_arn: "Arn", # required
3449
+ # typed_link_name: "TypedLinkName", # required
3450
+ # },
3451
+ # source_object_reference: { # required
3452
+ # selector: "SelectorObjectReference",
3453
+ # },
3454
+ # target_object_reference: { # required
3455
+ # selector: "SelectorObjectReference",
3456
+ # },
3457
+ # identity_attribute_values: [ # required
3458
+ # {
3459
+ # attribute_name: "AttributeName", # required
3460
+ # value: { # required
3461
+ # string_value: "StringAttributeValue",
3462
+ # binary_value: "data",
3463
+ # boolean_value: false,
3464
+ # number_value: "NumberAttributeValue",
3465
+ # datetime_value: Time.now,
3466
+ # },
3467
+ # },
3468
+ # ],
3469
+ # },
3470
+ # attribute_updates: [ # required
3471
+ # {
3472
+ # attribute_key: {
3473
+ # schema_arn: "Arn", # required
3474
+ # facet_name: "FacetName", # required
3475
+ # name: "AttributeName", # required
3476
+ # },
3477
+ # attribute_action: {
3478
+ # attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
3479
+ # attribute_update_value: {
3480
+ # string_value: "StringAttributeValue",
3481
+ # binary_value: "data",
3482
+ # boolean_value: false,
3483
+ # number_value: "NumberAttributeValue",
3484
+ # datetime_value: Time.now,
3485
+ # },
3486
+ # },
3487
+ # },
3488
+ # ],
3489
+ # },
3186
3490
  # },
3187
3491
  # ],
3188
3492
  # }
@@ -4343,6 +4647,83 @@ module Aws::CloudDirectory
4343
4647
  include Aws::Structure
4344
4648
  end
4345
4649
 
4650
+ # @note When making an API call, you may pass GetLinkAttributesRequest
4651
+ # data as a hash:
4652
+ #
4653
+ # {
4654
+ # directory_arn: "Arn", # required
4655
+ # typed_link_specifier: { # required
4656
+ # typed_link_facet: { # required
4657
+ # schema_arn: "Arn", # required
4658
+ # typed_link_name: "TypedLinkName", # required
4659
+ # },
4660
+ # source_object_reference: { # required
4661
+ # selector: "SelectorObjectReference",
4662
+ # },
4663
+ # target_object_reference: { # required
4664
+ # selector: "SelectorObjectReference",
4665
+ # },
4666
+ # identity_attribute_values: [ # required
4667
+ # {
4668
+ # attribute_name: "AttributeName", # required
4669
+ # value: { # required
4670
+ # string_value: "StringAttributeValue",
4671
+ # binary_value: "data",
4672
+ # boolean_value: false,
4673
+ # number_value: "NumberAttributeValue",
4674
+ # datetime_value: Time.now,
4675
+ # },
4676
+ # },
4677
+ # ],
4678
+ # },
4679
+ # attribute_names: ["AttributeName"], # required
4680
+ # consistency_level: "SERIALIZABLE", # accepts SERIALIZABLE, EVENTUAL
4681
+ # }
4682
+ #
4683
+ # @!attribute [rw] directory_arn
4684
+ # The Amazon Resource Name (ARN) that is associated with the Directory
4685
+ # where the typed link resides. For more information, see arns or
4686
+ # [Typed link][1].
4687
+ #
4688
+ #
4689
+ #
4690
+ # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/objectsandlinks.html#typedlink
4691
+ # @return [String]
4692
+ #
4693
+ # @!attribute [rw] typed_link_specifier
4694
+ # Allows a typed link specifier to be accepted as input.
4695
+ # @return [Types::TypedLinkSpecifier]
4696
+ #
4697
+ # @!attribute [rw] attribute_names
4698
+ # A list of attribute names whose values will be retrieved.
4699
+ # @return [Array<String>]
4700
+ #
4701
+ # @!attribute [rw] consistency_level
4702
+ # The consistency level at which to retrieve the attributes on a typed
4703
+ # link.
4704
+ # @return [String]
4705
+ #
4706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetLinkAttributesRequest AWS API Documentation
4707
+ #
4708
+ class GetLinkAttributesRequest < Struct.new(
4709
+ :directory_arn,
4710
+ :typed_link_specifier,
4711
+ :attribute_names,
4712
+ :consistency_level)
4713
+ include Aws::Structure
4714
+ end
4715
+
4716
+ # @!attribute [rw] attributes
4717
+ # The attributes that are associated with the typed link.
4718
+ # @return [Array<Types::AttributeKeyAndValue>]
4719
+ #
4720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetLinkAttributesResponse AWS API Documentation
4721
+ #
4722
+ class GetLinkAttributesResponse < Struct.new(
4723
+ :attributes)
4724
+ include Aws::Structure
4725
+ end
4726
+
4346
4727
  # @note When making an API call, you may pass GetObjectAttributesRequest
4347
4728
  # data as a hash:
4348
4729
  #
@@ -4561,6 +4942,78 @@ module Aws::CloudDirectory
4561
4942
  include Aws::Structure
4562
4943
  end
4563
4944
 
4945
+ # The action to take on a typed link attribute value. Updates are only
4946
+ # supported for attributes which don’t contribute to link identity.
4947
+ #
4948
+ # @note When making an API call, you may pass LinkAttributeAction
4949
+ # data as a hash:
4950
+ #
4951
+ # {
4952
+ # attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
4953
+ # attribute_update_value: {
4954
+ # string_value: "StringAttributeValue",
4955
+ # binary_value: "data",
4956
+ # boolean_value: false,
4957
+ # number_value: "NumberAttributeValue",
4958
+ # datetime_value: Time.now,
4959
+ # },
4960
+ # }
4961
+ #
4962
+ # @!attribute [rw] attribute_action_type
4963
+ # A type that can be either `UPDATE_OR_CREATE` or `DELETE`.
4964
+ # @return [String]
4965
+ #
4966
+ # @!attribute [rw] attribute_update_value
4967
+ # The value that you want to update to.
4968
+ # @return [Types::TypedAttributeValue]
4969
+ #
4970
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/LinkAttributeAction AWS API Documentation
4971
+ #
4972
+ class LinkAttributeAction < Struct.new(
4973
+ :attribute_action_type,
4974
+ :attribute_update_value)
4975
+ include Aws::Structure
4976
+ end
4977
+
4978
+ # Structure that contains attribute update information.
4979
+ #
4980
+ # @note When making an API call, you may pass LinkAttributeUpdate
4981
+ # data as a hash:
4982
+ #
4983
+ # {
4984
+ # attribute_key: {
4985
+ # schema_arn: "Arn", # required
4986
+ # facet_name: "FacetName", # required
4987
+ # name: "AttributeName", # required
4988
+ # },
4989
+ # attribute_action: {
4990
+ # attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
4991
+ # attribute_update_value: {
4992
+ # string_value: "StringAttributeValue",
4993
+ # binary_value: "data",
4994
+ # boolean_value: false,
4995
+ # number_value: "NumberAttributeValue",
4996
+ # datetime_value: Time.now,
4997
+ # },
4998
+ # },
4999
+ # }
5000
+ #
5001
+ # @!attribute [rw] attribute_key
5002
+ # The key of the attribute being updated.
5003
+ # @return [Types::AttributeKey]
5004
+ #
5005
+ # @!attribute [rw] attribute_action
5006
+ # The action to perform as part of the attribute update.
5007
+ # @return [Types::LinkAttributeAction]
5008
+ #
5009
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/LinkAttributeUpdate AWS API Documentation
5010
+ #
5011
+ class LinkAttributeUpdate < Struct.new(
5012
+ :attribute_key,
5013
+ :attribute_action)
5014
+ include Aws::Structure
5015
+ end
5016
+
4564
5017
  # @note When making an API call, you may pass ListAppliedSchemaArnsRequest
4565
5018
  # data as a hash:
4566
5019
  #
@@ -6809,6 +7262,87 @@ module Aws::CloudDirectory
6809
7262
  #
6810
7263
  class UpdateFacetResponse < Aws::EmptyStructure; end
6811
7264
 
7265
+ # @note When making an API call, you may pass UpdateLinkAttributesRequest
7266
+ # data as a hash:
7267
+ #
7268
+ # {
7269
+ # directory_arn: "Arn", # required
7270
+ # typed_link_specifier: { # required
7271
+ # typed_link_facet: { # required
7272
+ # schema_arn: "Arn", # required
7273
+ # typed_link_name: "TypedLinkName", # required
7274
+ # },
7275
+ # source_object_reference: { # required
7276
+ # selector: "SelectorObjectReference",
7277
+ # },
7278
+ # target_object_reference: { # required
7279
+ # selector: "SelectorObjectReference",
7280
+ # },
7281
+ # identity_attribute_values: [ # required
7282
+ # {
7283
+ # attribute_name: "AttributeName", # required
7284
+ # value: { # required
7285
+ # string_value: "StringAttributeValue",
7286
+ # binary_value: "data",
7287
+ # boolean_value: false,
7288
+ # number_value: "NumberAttributeValue",
7289
+ # datetime_value: Time.now,
7290
+ # },
7291
+ # },
7292
+ # ],
7293
+ # },
7294
+ # attribute_updates: [ # required
7295
+ # {
7296
+ # attribute_key: {
7297
+ # schema_arn: "Arn", # required
7298
+ # facet_name: "FacetName", # required
7299
+ # name: "AttributeName", # required
7300
+ # },
7301
+ # attribute_action: {
7302
+ # attribute_action_type: "CREATE_OR_UPDATE", # accepts CREATE_OR_UPDATE, DELETE
7303
+ # attribute_update_value: {
7304
+ # string_value: "StringAttributeValue",
7305
+ # binary_value: "data",
7306
+ # boolean_value: false,
7307
+ # number_value: "NumberAttributeValue",
7308
+ # datetime_value: Time.now,
7309
+ # },
7310
+ # },
7311
+ # },
7312
+ # ],
7313
+ # }
7314
+ #
7315
+ # @!attribute [rw] directory_arn
7316
+ # The Amazon Resource Name (ARN) that is associated with the Directory
7317
+ # where the updated typed link resides. For more information, see arns
7318
+ # or [Typed link][1].
7319
+ #
7320
+ #
7321
+ #
7322
+ # [1]: http://docs.aws.amazon.com/directoryservice/latest/admin-guide/objectsandlinks.html#typedlink
7323
+ # @return [String]
7324
+ #
7325
+ # @!attribute [rw] typed_link_specifier
7326
+ # Allows a typed link specifier to be accepted as input.
7327
+ # @return [Types::TypedLinkSpecifier]
7328
+ #
7329
+ # @!attribute [rw] attribute_updates
7330
+ # The attributes update structure.
7331
+ # @return [Array<Types::LinkAttributeUpdate>]
7332
+ #
7333
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpdateLinkAttributesRequest AWS API Documentation
7334
+ #
7335
+ class UpdateLinkAttributesRequest < Struct.new(
7336
+ :directory_arn,
7337
+ :typed_link_specifier,
7338
+ :attribute_updates)
7339
+ include Aws::Structure
7340
+ end
7341
+
7342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpdateLinkAttributesResponse AWS API Documentation
7343
+ #
7344
+ class UpdateLinkAttributesResponse < Aws::EmptyStructure; end
7345
+
6812
7346
  # @note When making an API call, you may pass UpdateObjectAttributesRequest
6813
7347
  # data as a hash:
6814
7348
  #
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.2.0
4
+ version: 1.3.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: 2018-04-09 00:00:00.000000000 Z
11
+ date: 2018-06-11 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.2.2
78
+ rubygems_version: 2.5.2.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - Amazon CloudDirectory