aws-sdk-clouddirectory 1.16.0 → 1.17.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: 22801905567bc238449edcf3d5048dafccfe29c8
4
- data.tar.gz: 14db09f5fd7ebb2afe7bb133d725846ca58633f6
3
+ metadata.gz: 73410d247076ad46c7c3738bb309831ca1842cc9
4
+ data.tar.gz: 902c6cec6db44e215b3814b4f50e27066f3e8646
5
5
  SHA512:
6
- metadata.gz: beed7127bc7600fae6932811cbb7a8dd859e26eb23567d1a5ad1c6691634fc90b48dae891dfa96d355fdbb515dbc63f5215f5df2970e5fff62a30a80da1f854a
7
- data.tar.gz: a5285529e489e62793f391f83c081c8af9b3150d48518482e54dffdd948f91288a9d4c1b2d157d8cd3ad34f70b2671e9864eef1500c1ceae568b35ab77786874
6
+ metadata.gz: 7d702517775e93001d2fa4f142f1c71bff1cc3c74024055ba62909562673581ad96da659b3834d80b58ccea4a7f4c34f1c0a754bbd78ad0a58e0c04ef1785de8
7
+ data.tar.gz: 0dc04f1894938493d3b62e04c71f9d4d6afffd0237ea9585f98e32e0ec208883ec6201392f3dcacf3ab1dd252d8faacf95b7e24f037a1d6f95e000e240630789
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-clouddirectory/customizations'
42
42
  # @service
43
43
  module Aws::CloudDirectory
44
44
 
45
- GEM_VERSION = '1.16.0'
45
+ GEM_VERSION = '1.17.0'
46
46
 
47
47
  end
@@ -4172,7 +4172,7 @@ module Aws::CloudDirectory
4172
4172
  params: params,
4173
4173
  config: config)
4174
4174
  context[:gem_name] = 'aws-sdk-clouddirectory'
4175
- context[:gem_version] = '1.16.0'
4175
+ context[:gem_version] = '1.17.0'
4176
4176
  Seahorse::Client::Request.new(handlers, context)
4177
4177
  end
4178
4178
 
@@ -350,6 +350,9 @@ module Aws::CloudDirectory
350
350
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
351
351
  Version = Shapes::StringShape.new(name: 'Version')
352
352
 
353
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
354
+ AccessDeniedException.struct_class = Types::AccessDeniedException
355
+
353
356
  AddFacetToObjectRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
354
357
  AddFacetToObjectRequest.add_member(:schema_facet, Shapes::ShapeRef.new(shape: SchemaFacet, required: true, location_name: "SchemaFacet"))
355
358
  AddFacetToObjectRequest.add_member(:object_attribute_list, Shapes::ShapeRef.new(shape: AttributeKeyAndValueList, location_name: "ObjectAttributeList"))
@@ -709,6 +712,11 @@ module Aws::CloudDirectory
709
712
  BatchUpdateObjectAttributesResponse.add_member(:object_identifier, Shapes::ShapeRef.new(shape: ObjectIdentifier, location_name: "ObjectIdentifier"))
710
713
  BatchUpdateObjectAttributesResponse.struct_class = Types::BatchUpdateObjectAttributesResponse
711
714
 
715
+ BatchWriteException.add_member(:index, Shapes::ShapeRef.new(shape: BatchOperationIndex, location_name: "Index"))
716
+ BatchWriteException.add_member(:type, Shapes::ShapeRef.new(shape: BatchWriteExceptionType, location_name: "Type"))
717
+ BatchWriteException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
718
+ BatchWriteException.struct_class = Types::BatchWriteException
719
+
712
720
  BatchWriteOperation.add_member(:create_object, Shapes::ShapeRef.new(shape: BatchCreateObject, location_name: "CreateObject"))
713
721
  BatchWriteOperation.add_member(:attach_object, Shapes::ShapeRef.new(shape: BatchAttachObject, location_name: "AttachObject"))
714
722
  BatchWriteOperation.add_member(:detach_object, Shapes::ShapeRef.new(shape: BatchDetachObject, location_name: "DetachObject"))
@@ -754,6 +762,9 @@ module Aws::CloudDirectory
754
762
  BatchWriteResponse.add_member(:responses, Shapes::ShapeRef.new(shape: BatchWriteOperationResponseList, location_name: "Responses"))
755
763
  BatchWriteResponse.struct_class = Types::BatchWriteResponse
756
764
 
765
+ CannotListParentOfRootException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
766
+ CannotListParentOfRootException.struct_class = Types::CannotListParentOfRootException
767
+
757
768
  CreateDirectoryRequest.add_member(:name, Shapes::ShapeRef.new(shape: DirectoryName, required: true, location_name: "Name"))
758
769
  CreateDirectoryRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
759
770
  CreateDirectoryRequest.struct_class = Types::CreateDirectoryRequest
@@ -868,8 +879,20 @@ module Aws::CloudDirectory
868
879
  Directory.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "CreationDateTime"))
869
880
  Directory.struct_class = Types::Directory
870
881
 
882
+ DirectoryAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
883
+ DirectoryAlreadyExistsException.struct_class = Types::DirectoryAlreadyExistsException
884
+
885
+ DirectoryDeletedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
886
+ DirectoryDeletedException.struct_class = Types::DirectoryDeletedException
887
+
871
888
  DirectoryList.member = Shapes::ShapeRef.new(shape: Directory)
872
889
 
890
+ DirectoryNotDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
891
+ DirectoryNotDisabledException.struct_class = Types::DirectoryNotDisabledException
892
+
893
+ DirectoryNotEnabledException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
894
+ DirectoryNotEnabledException.struct_class = Types::DirectoryNotEnabledException
895
+
873
896
  DisableDirectoryRequest.add_member(:directory_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "header", location_name: "x-amz-data-partition"))
874
897
  DisableDirectoryRequest.struct_class = Types::DisableDirectoryRequest
875
898
 
@@ -887,6 +910,9 @@ module Aws::CloudDirectory
887
910
  Facet.add_member(:facet_style, Shapes::ShapeRef.new(shape: FacetStyle, location_name: "FacetStyle"))
888
911
  Facet.struct_class = Types::Facet
889
912
 
913
+ FacetAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
914
+ FacetAlreadyExistsException.struct_class = Types::FacetAlreadyExistsException
915
+
890
916
  FacetAttribute.add_member(:name, Shapes::ShapeRef.new(shape: AttributeName, required: true, location_name: "Name"))
891
917
  FacetAttribute.add_member(:attribute_definition, Shapes::ShapeRef.new(shape: FacetAttributeDefinition, location_name: "AttributeDefinition"))
892
918
  FacetAttribute.add_member(:attribute_reference, Shapes::ShapeRef.new(shape: FacetAttributeReference, location_name: "AttributeReference"))
@@ -911,8 +937,17 @@ module Aws::CloudDirectory
911
937
 
912
938
  FacetAttributeUpdateList.member = Shapes::ShapeRef.new(shape: FacetAttributeUpdate)
913
939
 
940
+ FacetInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
941
+ FacetInUseException.struct_class = Types::FacetInUseException
942
+
914
943
  FacetNameList.member = Shapes::ShapeRef.new(shape: FacetName)
915
944
 
945
+ FacetNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
946
+ FacetNotFoundException.struct_class = Types::FacetNotFoundException
947
+
948
+ FacetValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
949
+ FacetValidationException.struct_class = Types::FacetValidationException
950
+
916
951
  GetAppliedSchemaVersionRequest.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "SchemaArn"))
917
952
  GetAppliedSchemaVersionRequest.struct_class = Types::GetAppliedSchemaVersionRequest
918
953
 
@@ -974,12 +1009,45 @@ module Aws::CloudDirectory
974
1009
  GetTypedLinkFacetInformationResponse.add_member(:identity_attribute_order, Shapes::ShapeRef.new(shape: AttributeNameList, location_name: "IdentityAttributeOrder"))
975
1010
  GetTypedLinkFacetInformationResponse.struct_class = Types::GetTypedLinkFacetInformationResponse
976
1011
 
1012
+ IncompatibleSchemaException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1013
+ IncompatibleSchemaException.struct_class = Types::IncompatibleSchemaException
1014
+
977
1015
  IndexAttachment.add_member(:indexed_attributes, Shapes::ShapeRef.new(shape: AttributeKeyAndValueList, location_name: "IndexedAttributes"))
978
1016
  IndexAttachment.add_member(:object_identifier, Shapes::ShapeRef.new(shape: ObjectIdentifier, location_name: "ObjectIdentifier"))
979
1017
  IndexAttachment.struct_class = Types::IndexAttachment
980
1018
 
981
1019
  IndexAttachmentList.member = Shapes::ShapeRef.new(shape: IndexAttachment)
982
1020
 
1021
+ IndexedAttributeMissingException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1022
+ IndexedAttributeMissingException.struct_class = Types::IndexedAttributeMissingException
1023
+
1024
+ InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1025
+ InternalServiceException.struct_class = Types::InternalServiceException
1026
+
1027
+ InvalidArnException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1028
+ InvalidArnException.struct_class = Types::InvalidArnException
1029
+
1030
+ InvalidAttachmentException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1031
+ InvalidAttachmentException.struct_class = Types::InvalidAttachmentException
1032
+
1033
+ InvalidFacetUpdateException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1034
+ InvalidFacetUpdateException.struct_class = Types::InvalidFacetUpdateException
1035
+
1036
+ InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1037
+ InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
1038
+
1039
+ InvalidRuleException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1040
+ InvalidRuleException.struct_class = Types::InvalidRuleException
1041
+
1042
+ InvalidSchemaDocException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1043
+ InvalidSchemaDocException.struct_class = Types::InvalidSchemaDocException
1044
+
1045
+ InvalidTaggingRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1046
+ InvalidTaggingRequestException.struct_class = Types::InvalidTaggingRequestException
1047
+
1048
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1049
+ LimitExceededException.struct_class = Types::LimitExceededException
1050
+
983
1051
  LinkAttributeAction.add_member(:attribute_action_type, Shapes::ShapeRef.new(shape: UpdateActionType, location_name: "AttributeActionType"))
984
1052
  LinkAttributeAction.add_member(:attribute_update_value, Shapes::ShapeRef.new(shape: TypedAttributeValue, location_name: "AttributeUpdateValue"))
985
1053
  LinkAttributeAction.struct_class = Types::LinkAttributeAction
@@ -990,6 +1058,9 @@ module Aws::CloudDirectory
990
1058
 
991
1059
  LinkAttributeUpdateList.member = Shapes::ShapeRef.new(shape: LinkAttributeUpdate)
992
1060
 
1061
+ LinkNameAlreadyInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1062
+ LinkNameAlreadyInUseException.struct_class = Types::LinkNameAlreadyInUseException
1063
+
993
1064
  LinkNameToObjectIdentifierMap.key = Shapes::ShapeRef.new(shape: LinkName)
994
1065
  LinkNameToObjectIdentifierMap.value = Shapes::ShapeRef.new(shape: ObjectIdentifier)
995
1066
 
@@ -1212,6 +1283,18 @@ module Aws::CloudDirectory
1212
1283
  LookupPolicyResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1213
1284
  LookupPolicyResponse.struct_class = Types::LookupPolicyResponse
1214
1285
 
1286
+ NotIndexException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1287
+ NotIndexException.struct_class = Types::NotIndexException
1288
+
1289
+ NotNodeException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1290
+ NotNodeException.struct_class = Types::NotNodeException
1291
+
1292
+ NotPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1293
+ NotPolicyException.struct_class = Types::NotPolicyException
1294
+
1295
+ ObjectAlreadyDetachedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1296
+ ObjectAlreadyDetachedException.struct_class = Types::ObjectAlreadyDetachedException
1297
+
1215
1298
  ObjectAttributeAction.add_member(:object_attribute_action_type, Shapes::ShapeRef.new(shape: UpdateActionType, location_name: "ObjectAttributeActionType"))
1216
1299
  ObjectAttributeAction.add_member(:object_attribute_update_value, Shapes::ShapeRef.new(shape: TypedAttributeValue, location_name: "ObjectAttributeUpdateValue"))
1217
1300
  ObjectAttributeAction.struct_class = Types::ObjectAttributeAction
@@ -1239,6 +1322,9 @@ module Aws::CloudDirectory
1239
1322
  ObjectIdentifierToLinkNameMap.key = Shapes::ShapeRef.new(shape: ObjectIdentifier)
1240
1323
  ObjectIdentifierToLinkNameMap.value = Shapes::ShapeRef.new(shape: LinkName)
1241
1324
 
1325
+ ObjectNotDetachedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1326
+ ObjectNotDetachedException.struct_class = Types::ObjectNotDetachedException
1327
+
1242
1328
  ObjectReference.add_member(:selector, Shapes::ShapeRef.new(shape: SelectorObjectReference, location_name: "Selector"))
1243
1329
  ObjectReference.struct_class = Types::ObjectReference
1244
1330
 
@@ -1284,6 +1370,12 @@ module Aws::CloudDirectory
1284
1370
 
1285
1371
  RemoveFacetFromObjectResponse.struct_class = Types::RemoveFacetFromObjectResponse
1286
1372
 
1373
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1374
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1375
+
1376
+ RetryableConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1377
+ RetryableConflictException.struct_class = Types::RetryableConflictException
1378
+
1287
1379
  Rule.add_member(:type, Shapes::ShapeRef.new(shape: RuleType, location_name: "Type"))
1288
1380
  Rule.add_member(:parameters, Shapes::ShapeRef.new(shape: RuleParameterMap, location_name: "Parameters"))
1289
1381
  Rule.struct_class = Types::Rule
@@ -1294,12 +1386,21 @@ module Aws::CloudDirectory
1294
1386
  RuleParameterMap.key = Shapes::ShapeRef.new(shape: RuleParameterKey)
1295
1387
  RuleParameterMap.value = Shapes::ShapeRef.new(shape: RuleParameterValue)
1296
1388
 
1389
+ SchemaAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1390
+ SchemaAlreadyExistsException.struct_class = Types::SchemaAlreadyExistsException
1391
+
1392
+ SchemaAlreadyPublishedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1393
+ SchemaAlreadyPublishedException.struct_class = Types::SchemaAlreadyPublishedException
1394
+
1297
1395
  SchemaFacet.add_member(:schema_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "SchemaArn"))
1298
1396
  SchemaFacet.add_member(:facet_name, Shapes::ShapeRef.new(shape: FacetName, location_name: "FacetName"))
1299
1397
  SchemaFacet.struct_class = Types::SchemaFacet
1300
1398
 
1301
1399
  SchemaFacetList.member = Shapes::ShapeRef.new(shape: SchemaFacet)
1302
1400
 
1401
+ StillContainsLinksException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1402
+ StillContainsLinksException.struct_class = Types::StillContainsLinksException
1403
+
1303
1404
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
1304
1405
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
1305
1406
  Tag.struct_class = Types::Tag
@@ -1368,6 +1469,9 @@ module Aws::CloudDirectory
1368
1469
 
1369
1470
  TypedLinkSpecifierList.member = Shapes::ShapeRef.new(shape: TypedLinkSpecifier)
1370
1471
 
1472
+ UnsupportedIndexTypeException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1473
+ UnsupportedIndexTypeException.struct_class = Types::UnsupportedIndexTypeException
1474
+
1371
1475
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
1372
1476
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
1373
1477
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1430,6 +1534,9 @@ module Aws::CloudDirectory
1430
1534
  UpgradePublishedSchemaResponse.add_member(:upgraded_schema_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "UpgradedSchemaArn"))
1431
1535
  UpgradePublishedSchemaResponse.struct_class = Types::UpgradePublishedSchemaResponse
1432
1536
 
1537
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
1538
+ ValidationException.struct_class = Types::ValidationException
1539
+
1433
1540
 
1434
1541
  # @api private
1435
1542
  API = Seahorse::Model::Api.new.tap do |api|
@@ -10,5 +10,575 @@ module Aws::CloudDirectory
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::CloudDirectory::Types::AccessDeniedException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class BatchWriteException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::CloudDirectory::Types::BatchWriteException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def index
40
+ @data[:index]
41
+ end
42
+
43
+ # @return [String]
44
+ def type
45
+ @data[:type]
46
+ end
47
+
48
+ # @return [String]
49
+ def message
50
+ @message || @data[:message]
51
+ end
52
+
53
+ end
54
+
55
+ class CannotListParentOfRootException < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::CloudDirectory::Types::CannotListParentOfRootException] data
60
+ def initialize(context, message, data = Aws::EmptyStructure.new)
61
+ super(context, message, data)
62
+ end
63
+
64
+ # @return [String]
65
+ def message
66
+ @message || @data[:message]
67
+ end
68
+
69
+ end
70
+
71
+ class DirectoryAlreadyExistsException < ServiceError
72
+
73
+ # @param [Seahorse::Client::RequestContext] context
74
+ # @param [String] message
75
+ # @param [Aws::CloudDirectory::Types::DirectoryAlreadyExistsException] data
76
+ def initialize(context, message, data = Aws::EmptyStructure.new)
77
+ super(context, message, data)
78
+ end
79
+
80
+ # @return [String]
81
+ def message
82
+ @message || @data[:message]
83
+ end
84
+
85
+ end
86
+
87
+ class DirectoryDeletedException < ServiceError
88
+
89
+ # @param [Seahorse::Client::RequestContext] context
90
+ # @param [String] message
91
+ # @param [Aws::CloudDirectory::Types::DirectoryDeletedException] data
92
+ def initialize(context, message, data = Aws::EmptyStructure.new)
93
+ super(context, message, data)
94
+ end
95
+
96
+ # @return [String]
97
+ def message
98
+ @message || @data[:message]
99
+ end
100
+
101
+ end
102
+
103
+ class DirectoryNotDisabledException < ServiceError
104
+
105
+ # @param [Seahorse::Client::RequestContext] context
106
+ # @param [String] message
107
+ # @param [Aws::CloudDirectory::Types::DirectoryNotDisabledException] data
108
+ def initialize(context, message, data = Aws::EmptyStructure.new)
109
+ super(context, message, data)
110
+ end
111
+
112
+ # @return [String]
113
+ def message
114
+ @message || @data[:message]
115
+ end
116
+
117
+ end
118
+
119
+ class DirectoryNotEnabledException < ServiceError
120
+
121
+ # @param [Seahorse::Client::RequestContext] context
122
+ # @param [String] message
123
+ # @param [Aws::CloudDirectory::Types::DirectoryNotEnabledException] data
124
+ def initialize(context, message, data = Aws::EmptyStructure.new)
125
+ super(context, message, data)
126
+ end
127
+
128
+ # @return [String]
129
+ def message
130
+ @message || @data[:message]
131
+ end
132
+
133
+ end
134
+
135
+ class FacetAlreadyExistsException < ServiceError
136
+
137
+ # @param [Seahorse::Client::RequestContext] context
138
+ # @param [String] message
139
+ # @param [Aws::CloudDirectory::Types::FacetAlreadyExistsException] data
140
+ def initialize(context, message, data = Aws::EmptyStructure.new)
141
+ super(context, message, data)
142
+ end
143
+
144
+ # @return [String]
145
+ def message
146
+ @message || @data[:message]
147
+ end
148
+
149
+ end
150
+
151
+ class FacetInUseException < ServiceError
152
+
153
+ # @param [Seahorse::Client::RequestContext] context
154
+ # @param [String] message
155
+ # @param [Aws::CloudDirectory::Types::FacetInUseException] data
156
+ def initialize(context, message, data = Aws::EmptyStructure.new)
157
+ super(context, message, data)
158
+ end
159
+
160
+ # @return [String]
161
+ def message
162
+ @message || @data[:message]
163
+ end
164
+
165
+ end
166
+
167
+ class FacetNotFoundException < ServiceError
168
+
169
+ # @param [Seahorse::Client::RequestContext] context
170
+ # @param [String] message
171
+ # @param [Aws::CloudDirectory::Types::FacetNotFoundException] data
172
+ def initialize(context, message, data = Aws::EmptyStructure.new)
173
+ super(context, message, data)
174
+ end
175
+
176
+ # @return [String]
177
+ def message
178
+ @message || @data[:message]
179
+ end
180
+
181
+ end
182
+
183
+ class FacetValidationException < ServiceError
184
+
185
+ # @param [Seahorse::Client::RequestContext] context
186
+ # @param [String] message
187
+ # @param [Aws::CloudDirectory::Types::FacetValidationException] data
188
+ def initialize(context, message, data = Aws::EmptyStructure.new)
189
+ super(context, message, data)
190
+ end
191
+
192
+ # @return [String]
193
+ def message
194
+ @message || @data[:message]
195
+ end
196
+
197
+ end
198
+
199
+ class IncompatibleSchemaException < ServiceError
200
+
201
+ # @param [Seahorse::Client::RequestContext] context
202
+ # @param [String] message
203
+ # @param [Aws::CloudDirectory::Types::IncompatibleSchemaException] data
204
+ def initialize(context, message, data = Aws::EmptyStructure.new)
205
+ super(context, message, data)
206
+ end
207
+
208
+ # @return [String]
209
+ def message
210
+ @message || @data[:message]
211
+ end
212
+
213
+ end
214
+
215
+ class IndexedAttributeMissingException < ServiceError
216
+
217
+ # @param [Seahorse::Client::RequestContext] context
218
+ # @param [String] message
219
+ # @param [Aws::CloudDirectory::Types::IndexedAttributeMissingException] data
220
+ def initialize(context, message, data = Aws::EmptyStructure.new)
221
+ super(context, message, data)
222
+ end
223
+
224
+ # @return [String]
225
+ def message
226
+ @message || @data[:message]
227
+ end
228
+
229
+ end
230
+
231
+ class InternalServiceException < ServiceError
232
+
233
+ # @param [Seahorse::Client::RequestContext] context
234
+ # @param [String] message
235
+ # @param [Aws::CloudDirectory::Types::InternalServiceException] data
236
+ def initialize(context, message, data = Aws::EmptyStructure.new)
237
+ super(context, message, data)
238
+ end
239
+
240
+ # @return [String]
241
+ def message
242
+ @message || @data[:message]
243
+ end
244
+
245
+ end
246
+
247
+ class InvalidArnException < ServiceError
248
+
249
+ # @param [Seahorse::Client::RequestContext] context
250
+ # @param [String] message
251
+ # @param [Aws::CloudDirectory::Types::InvalidArnException] data
252
+ def initialize(context, message, data = Aws::EmptyStructure.new)
253
+ super(context, message, data)
254
+ end
255
+
256
+ # @return [String]
257
+ def message
258
+ @message || @data[:message]
259
+ end
260
+
261
+ end
262
+
263
+ class InvalidAttachmentException < ServiceError
264
+
265
+ # @param [Seahorse::Client::RequestContext] context
266
+ # @param [String] message
267
+ # @param [Aws::CloudDirectory::Types::InvalidAttachmentException] data
268
+ def initialize(context, message, data = Aws::EmptyStructure.new)
269
+ super(context, message, data)
270
+ end
271
+
272
+ # @return [String]
273
+ def message
274
+ @message || @data[:message]
275
+ end
276
+
277
+ end
278
+
279
+ class InvalidFacetUpdateException < ServiceError
280
+
281
+ # @param [Seahorse::Client::RequestContext] context
282
+ # @param [String] message
283
+ # @param [Aws::CloudDirectory::Types::InvalidFacetUpdateException] data
284
+ def initialize(context, message, data = Aws::EmptyStructure.new)
285
+ super(context, message, data)
286
+ end
287
+
288
+ # @return [String]
289
+ def message
290
+ @message || @data[:message]
291
+ end
292
+
293
+ end
294
+
295
+ class InvalidNextTokenException < ServiceError
296
+
297
+ # @param [Seahorse::Client::RequestContext] context
298
+ # @param [String] message
299
+ # @param [Aws::CloudDirectory::Types::InvalidNextTokenException] data
300
+ def initialize(context, message, data = Aws::EmptyStructure.new)
301
+ super(context, message, data)
302
+ end
303
+
304
+ # @return [String]
305
+ def message
306
+ @message || @data[:message]
307
+ end
308
+
309
+ end
310
+
311
+ class InvalidRuleException < ServiceError
312
+
313
+ # @param [Seahorse::Client::RequestContext] context
314
+ # @param [String] message
315
+ # @param [Aws::CloudDirectory::Types::InvalidRuleException] data
316
+ def initialize(context, message, data = Aws::EmptyStructure.new)
317
+ super(context, message, data)
318
+ end
319
+
320
+ # @return [String]
321
+ def message
322
+ @message || @data[:message]
323
+ end
324
+
325
+ end
326
+
327
+ class InvalidSchemaDocException < ServiceError
328
+
329
+ # @param [Seahorse::Client::RequestContext] context
330
+ # @param [String] message
331
+ # @param [Aws::CloudDirectory::Types::InvalidSchemaDocException] data
332
+ def initialize(context, message, data = Aws::EmptyStructure.new)
333
+ super(context, message, data)
334
+ end
335
+
336
+ # @return [String]
337
+ def message
338
+ @message || @data[:message]
339
+ end
340
+
341
+ end
342
+
343
+ class InvalidTaggingRequestException < ServiceError
344
+
345
+ # @param [Seahorse::Client::RequestContext] context
346
+ # @param [String] message
347
+ # @param [Aws::CloudDirectory::Types::InvalidTaggingRequestException] data
348
+ def initialize(context, message, data = Aws::EmptyStructure.new)
349
+ super(context, message, data)
350
+ end
351
+
352
+ # @return [String]
353
+ def message
354
+ @message || @data[:message]
355
+ end
356
+
357
+ end
358
+
359
+ class LimitExceededException < ServiceError
360
+
361
+ # @param [Seahorse::Client::RequestContext] context
362
+ # @param [String] message
363
+ # @param [Aws::CloudDirectory::Types::LimitExceededException] data
364
+ def initialize(context, message, data = Aws::EmptyStructure.new)
365
+ super(context, message, data)
366
+ end
367
+
368
+ # @return [String]
369
+ def message
370
+ @message || @data[:message]
371
+ end
372
+
373
+ end
374
+
375
+ class LinkNameAlreadyInUseException < ServiceError
376
+
377
+ # @param [Seahorse::Client::RequestContext] context
378
+ # @param [String] message
379
+ # @param [Aws::CloudDirectory::Types::LinkNameAlreadyInUseException] data
380
+ def initialize(context, message, data = Aws::EmptyStructure.new)
381
+ super(context, message, data)
382
+ end
383
+
384
+ # @return [String]
385
+ def message
386
+ @message || @data[:message]
387
+ end
388
+
389
+ end
390
+
391
+ class NotIndexException < ServiceError
392
+
393
+ # @param [Seahorse::Client::RequestContext] context
394
+ # @param [String] message
395
+ # @param [Aws::CloudDirectory::Types::NotIndexException] data
396
+ def initialize(context, message, data = Aws::EmptyStructure.new)
397
+ super(context, message, data)
398
+ end
399
+
400
+ # @return [String]
401
+ def message
402
+ @message || @data[:message]
403
+ end
404
+
405
+ end
406
+
407
+ class NotNodeException < ServiceError
408
+
409
+ # @param [Seahorse::Client::RequestContext] context
410
+ # @param [String] message
411
+ # @param [Aws::CloudDirectory::Types::NotNodeException] data
412
+ def initialize(context, message, data = Aws::EmptyStructure.new)
413
+ super(context, message, data)
414
+ end
415
+
416
+ # @return [String]
417
+ def message
418
+ @message || @data[:message]
419
+ end
420
+
421
+ end
422
+
423
+ class NotPolicyException < ServiceError
424
+
425
+ # @param [Seahorse::Client::RequestContext] context
426
+ # @param [String] message
427
+ # @param [Aws::CloudDirectory::Types::NotPolicyException] data
428
+ def initialize(context, message, data = Aws::EmptyStructure.new)
429
+ super(context, message, data)
430
+ end
431
+
432
+ # @return [String]
433
+ def message
434
+ @message || @data[:message]
435
+ end
436
+
437
+ end
438
+
439
+ class ObjectAlreadyDetachedException < ServiceError
440
+
441
+ # @param [Seahorse::Client::RequestContext] context
442
+ # @param [String] message
443
+ # @param [Aws::CloudDirectory::Types::ObjectAlreadyDetachedException] data
444
+ def initialize(context, message, data = Aws::EmptyStructure.new)
445
+ super(context, message, data)
446
+ end
447
+
448
+ # @return [String]
449
+ def message
450
+ @message || @data[:message]
451
+ end
452
+
453
+ end
454
+
455
+ class ObjectNotDetachedException < ServiceError
456
+
457
+ # @param [Seahorse::Client::RequestContext] context
458
+ # @param [String] message
459
+ # @param [Aws::CloudDirectory::Types::ObjectNotDetachedException] data
460
+ def initialize(context, message, data = Aws::EmptyStructure.new)
461
+ super(context, message, data)
462
+ end
463
+
464
+ # @return [String]
465
+ def message
466
+ @message || @data[:message]
467
+ end
468
+
469
+ end
470
+
471
+ class ResourceNotFoundException < ServiceError
472
+
473
+ # @param [Seahorse::Client::RequestContext] context
474
+ # @param [String] message
475
+ # @param [Aws::CloudDirectory::Types::ResourceNotFoundException] data
476
+ def initialize(context, message, data = Aws::EmptyStructure.new)
477
+ super(context, message, data)
478
+ end
479
+
480
+ # @return [String]
481
+ def message
482
+ @message || @data[:message]
483
+ end
484
+
485
+ end
486
+
487
+ class RetryableConflictException < ServiceError
488
+
489
+ # @param [Seahorse::Client::RequestContext] context
490
+ # @param [String] message
491
+ # @param [Aws::CloudDirectory::Types::RetryableConflictException] data
492
+ def initialize(context, message, data = Aws::EmptyStructure.new)
493
+ super(context, message, data)
494
+ end
495
+
496
+ # @return [String]
497
+ def message
498
+ @message || @data[:message]
499
+ end
500
+
501
+ end
502
+
503
+ class SchemaAlreadyExistsException < ServiceError
504
+
505
+ # @param [Seahorse::Client::RequestContext] context
506
+ # @param [String] message
507
+ # @param [Aws::CloudDirectory::Types::SchemaAlreadyExistsException] data
508
+ def initialize(context, message, data = Aws::EmptyStructure.new)
509
+ super(context, message, data)
510
+ end
511
+
512
+ # @return [String]
513
+ def message
514
+ @message || @data[:message]
515
+ end
516
+
517
+ end
518
+
519
+ class SchemaAlreadyPublishedException < ServiceError
520
+
521
+ # @param [Seahorse::Client::RequestContext] context
522
+ # @param [String] message
523
+ # @param [Aws::CloudDirectory::Types::SchemaAlreadyPublishedException] data
524
+ def initialize(context, message, data = Aws::EmptyStructure.new)
525
+ super(context, message, data)
526
+ end
527
+
528
+ # @return [String]
529
+ def message
530
+ @message || @data[:message]
531
+ end
532
+
533
+ end
534
+
535
+ class StillContainsLinksException < ServiceError
536
+
537
+ # @param [Seahorse::Client::RequestContext] context
538
+ # @param [String] message
539
+ # @param [Aws::CloudDirectory::Types::StillContainsLinksException] data
540
+ def initialize(context, message, data = Aws::EmptyStructure.new)
541
+ super(context, message, data)
542
+ end
543
+
544
+ # @return [String]
545
+ def message
546
+ @message || @data[:message]
547
+ end
548
+
549
+ end
550
+
551
+ class UnsupportedIndexTypeException < ServiceError
552
+
553
+ # @param [Seahorse::Client::RequestContext] context
554
+ # @param [String] message
555
+ # @param [Aws::CloudDirectory::Types::UnsupportedIndexTypeException] data
556
+ def initialize(context, message, data = Aws::EmptyStructure.new)
557
+ super(context, message, data)
558
+ end
559
+
560
+ # @return [String]
561
+ def message
562
+ @message || @data[:message]
563
+ end
564
+
565
+ end
566
+
567
+ class ValidationException < ServiceError
568
+
569
+ # @param [Seahorse::Client::RequestContext] context
570
+ # @param [String] message
571
+ # @param [Aws::CloudDirectory::Types::ValidationException] data
572
+ def initialize(context, message, data = Aws::EmptyStructure.new)
573
+ super(context, message, data)
574
+ end
575
+
576
+ # @return [String]
577
+ def message
578
+ @message || @data[:message]
579
+ end
580
+
581
+ end
582
+
13
583
  end
14
584
  end