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.
@@ -8,6 +8,18 @@
8
8
  module Aws::CloudDirectory
9
9
  module Types
10
10
 
11
+ # Access denied. Check your permissions.
12
+ #
13
+ # @!attribute [rw] message
14
+ # @return [String]
15
+ #
16
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AccessDeniedException AWS API Documentation
17
+ #
18
+ class AccessDeniedException < Struct.new(
19
+ :message)
20
+ include Aws::Structure
21
+ end
22
+
11
23
  # @note When making an API call, you may pass AddFacetToObjectRequest
12
24
  # data as a hash:
13
25
  #
@@ -2847,6 +2859,26 @@ module Aws::CloudDirectory
2847
2859
  include Aws::Structure
2848
2860
  end
2849
2861
 
2862
+ # A `BatchWrite` exception has occurred.
2863
+ #
2864
+ # @!attribute [rw] index
2865
+ # @return [Integer]
2866
+ #
2867
+ # @!attribute [rw] type
2868
+ # @return [String]
2869
+ #
2870
+ # @!attribute [rw] message
2871
+ # @return [String]
2872
+ #
2873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/BatchWriteException AWS API Documentation
2874
+ #
2875
+ class BatchWriteException < Struct.new(
2876
+ :index,
2877
+ :type,
2878
+ :message)
2879
+ include Aws::Structure
2880
+ end
2881
+
2850
2882
  # Represents the output of a `BatchWrite` operation.
2851
2883
  #
2852
2884
  # @note When making an API call, you may pass BatchWriteOperation
@@ -3590,6 +3622,18 @@ module Aws::CloudDirectory
3590
3622
  include Aws::Structure
3591
3623
  end
3592
3624
 
3625
+ # Cannot list the parents of a Directory root.
3626
+ #
3627
+ # @!attribute [rw] message
3628
+ # @return [String]
3629
+ #
3630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CannotListParentOfRootException AWS API Documentation
3631
+ #
3632
+ class CannotListParentOfRootException < Struct.new(
3633
+ :message)
3634
+ include Aws::Structure
3635
+ end
3636
+
3593
3637
  # @note When making an API call, you may pass CreateDirectoryRequest
3594
3638
  # data as a hash:
3595
3639
  #
@@ -4335,6 +4379,57 @@ module Aws::CloudDirectory
4335
4379
  include Aws::Structure
4336
4380
  end
4337
4381
 
4382
+ # Indicates that a Directory could not be created due to a naming
4383
+ # conflict. Choose a different name and try again.
4384
+ #
4385
+ # @!attribute [rw] message
4386
+ # @return [String]
4387
+ #
4388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DirectoryAlreadyExistsException AWS API Documentation
4389
+ #
4390
+ class DirectoryAlreadyExistsException < Struct.new(
4391
+ :message)
4392
+ include Aws::Structure
4393
+ end
4394
+
4395
+ # A directory that has been deleted and to which access has been
4396
+ # attempted. Note: The requested resource will eventually cease to
4397
+ # exist.
4398
+ #
4399
+ # @!attribute [rw] message
4400
+ # @return [String]
4401
+ #
4402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DirectoryDeletedException AWS API Documentation
4403
+ #
4404
+ class DirectoryDeletedException < Struct.new(
4405
+ :message)
4406
+ include Aws::Structure
4407
+ end
4408
+
4409
+ # An operation can only operate on a disabled directory.
4410
+ #
4411
+ # @!attribute [rw] message
4412
+ # @return [String]
4413
+ #
4414
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DirectoryNotDisabledException AWS API Documentation
4415
+ #
4416
+ class DirectoryNotDisabledException < Struct.new(
4417
+ :message)
4418
+ include Aws::Structure
4419
+ end
4420
+
4421
+ # Operations are only permitted on enabled directories.
4422
+ #
4423
+ # @!attribute [rw] message
4424
+ # @return [String]
4425
+ #
4426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DirectoryNotEnabledException AWS API Documentation
4427
+ #
4428
+ class DirectoryNotEnabledException < Struct.new(
4429
+ :message)
4430
+ include Aws::Structure
4431
+ end
4432
+
4338
4433
  # @note When making an API call, you may pass DisableDirectoryRequest
4339
4434
  # data as a hash:
4340
4435
  #
@@ -4425,6 +4520,18 @@ module Aws::CloudDirectory
4425
4520
  include Aws::Structure
4426
4521
  end
4427
4522
 
4523
+ # A facet with the same name already exists.
4524
+ #
4525
+ # @!attribute [rw] message
4526
+ # @return [String]
4527
+ #
4528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/FacetAlreadyExistsException AWS API Documentation
4529
+ #
4530
+ class FacetAlreadyExistsException < Struct.new(
4531
+ :message)
4532
+ include Aws::Structure
4533
+ end
4534
+
4428
4535
  # An attribute that is associated with the Facet.
4429
4536
  #
4430
4537
  # @note When making an API call, you may pass FacetAttribute
@@ -4640,6 +4747,44 @@ module Aws::CloudDirectory
4640
4747
  include Aws::Structure
4641
4748
  end
4642
4749
 
4750
+ # Occurs when deleting a facet that contains an attribute that is a
4751
+ # target to an attribute reference in a different facet.
4752
+ #
4753
+ # @!attribute [rw] message
4754
+ # @return [String]
4755
+ #
4756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/FacetInUseException AWS API Documentation
4757
+ #
4758
+ class FacetInUseException < Struct.new(
4759
+ :message)
4760
+ include Aws::Structure
4761
+ end
4762
+
4763
+ # The specified Facet could not be found.
4764
+ #
4765
+ # @!attribute [rw] message
4766
+ # @return [String]
4767
+ #
4768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/FacetNotFoundException AWS API Documentation
4769
+ #
4770
+ class FacetNotFoundException < Struct.new(
4771
+ :message)
4772
+ include Aws::Structure
4773
+ end
4774
+
4775
+ # The Facet that you provided was not well formed or could not be
4776
+ # validated with the schema.
4777
+ #
4778
+ # @!attribute [rw] message
4779
+ # @return [String]
4780
+ #
4781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/FacetValidationException AWS API Documentation
4782
+ #
4783
+ class FacetValidationException < Struct.new(
4784
+ :message)
4785
+ include Aws::Structure
4786
+ end
4787
+
4643
4788
  # @note When making an API call, you may pass GetAppliedSchemaVersionRequest
4644
4789
  # data as a hash:
4645
4790
  #
@@ -5008,6 +5153,20 @@ module Aws::CloudDirectory
5008
5153
  include Aws::Structure
5009
5154
  end
5010
5155
 
5156
+ # Indicates a failure occurred while performing a check for backward
5157
+ # compatibility between the specified schema and the schema that is
5158
+ # currently applied to the directory.
5159
+ #
5160
+ # @!attribute [rw] message
5161
+ # @return [String]
5162
+ #
5163
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/IncompatibleSchemaException AWS API Documentation
5164
+ #
5165
+ class IncompatibleSchemaException < Struct.new(
5166
+ :message)
5167
+ include Aws::Structure
5168
+ end
5169
+
5011
5170
  # Represents an index and an attached object.
5012
5171
  #
5013
5172
  # @!attribute [rw] indexed_attributes
@@ -5030,6 +5189,145 @@ module Aws::CloudDirectory
5030
5189
  include Aws::Structure
5031
5190
  end
5032
5191
 
5192
+ # An object has been attempted to be attached to an object that does not
5193
+ # have the appropriate attribute value.
5194
+ #
5195
+ # @!attribute [rw] message
5196
+ # @return [String]
5197
+ #
5198
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/IndexedAttributeMissingException AWS API Documentation
5199
+ #
5200
+ class IndexedAttributeMissingException < Struct.new(
5201
+ :message)
5202
+ include Aws::Structure
5203
+ end
5204
+
5205
+ # Indicates a problem that must be resolved by Amazon Web Services. This
5206
+ # might be a transient error in which case you can retry your request
5207
+ # until it succeeds. Otherwise, go to the [AWS Service Health
5208
+ # Dashboard][1] site to see if there are any operational issues with the
5209
+ # service.
5210
+ #
5211
+ #
5212
+ #
5213
+ # [1]: http://status.aws.amazon.com/
5214
+ #
5215
+ # @!attribute [rw] message
5216
+ # @return [String]
5217
+ #
5218
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/InternalServiceException AWS API Documentation
5219
+ #
5220
+ class InternalServiceException < Struct.new(
5221
+ :message)
5222
+ include Aws::Structure
5223
+ end
5224
+
5225
+ # Indicates that the provided ARN value is not valid.
5226
+ #
5227
+ # @!attribute [rw] message
5228
+ # @return [String]
5229
+ #
5230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/InvalidArnException AWS API Documentation
5231
+ #
5232
+ class InvalidArnException < Struct.new(
5233
+ :message)
5234
+ include Aws::Structure
5235
+ end
5236
+
5237
+ # Indicates that an attempt to make an attachment was invalid. For
5238
+ # example, attaching two nodes with a link type that is not applicable
5239
+ # to the nodes or attempting to apply a schema to a directory a second
5240
+ # time.
5241
+ #
5242
+ # @!attribute [rw] message
5243
+ # @return [String]
5244
+ #
5245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/InvalidAttachmentException AWS API Documentation
5246
+ #
5247
+ class InvalidAttachmentException < Struct.new(
5248
+ :message)
5249
+ include Aws::Structure
5250
+ end
5251
+
5252
+ # An attempt to modify a Facet resulted in an invalid schema exception.
5253
+ #
5254
+ # @!attribute [rw] message
5255
+ # @return [String]
5256
+ #
5257
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/InvalidFacetUpdateException AWS API Documentation
5258
+ #
5259
+ class InvalidFacetUpdateException < Struct.new(
5260
+ :message)
5261
+ include Aws::Structure
5262
+ end
5263
+
5264
+ # Indicates that the `NextToken` value is not valid.
5265
+ #
5266
+ # @!attribute [rw] message
5267
+ # @return [String]
5268
+ #
5269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/InvalidNextTokenException AWS API Documentation
5270
+ #
5271
+ class InvalidNextTokenException < Struct.new(
5272
+ :message)
5273
+ include Aws::Structure
5274
+ end
5275
+
5276
+ # Occurs when any of the rule parameter keys or values are invalid.
5277
+ #
5278
+ # @!attribute [rw] message
5279
+ # @return [String]
5280
+ #
5281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/InvalidRuleException AWS API Documentation
5282
+ #
5283
+ class InvalidRuleException < Struct.new(
5284
+ :message)
5285
+ include Aws::Structure
5286
+ end
5287
+
5288
+ # Indicates that the provided `SchemaDoc` value is not valid.
5289
+ #
5290
+ # @!attribute [rw] message
5291
+ # @return [String]
5292
+ #
5293
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/InvalidSchemaDocException AWS API Documentation
5294
+ #
5295
+ class InvalidSchemaDocException < Struct.new(
5296
+ :message)
5297
+ include Aws::Structure
5298
+ end
5299
+
5300
+ # Can occur for multiple reasons such as when you tag a resource that
5301
+ # doesn’t exist or if you specify a higher number of tags for a resource
5302
+ # than the allowed limit. Allowed limit is 50 tags per resource.
5303
+ #
5304
+ # @!attribute [rw] message
5305
+ # @return [String]
5306
+ #
5307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/InvalidTaggingRequestException AWS API Documentation
5308
+ #
5309
+ class InvalidTaggingRequestException < Struct.new(
5310
+ :message)
5311
+ include Aws::Structure
5312
+ end
5313
+
5314
+ # Indicates that limits are exceeded. See [Limits][1] for more
5315
+ # information.
5316
+ #
5317
+ #
5318
+ #
5319
+ # [1]: https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html
5320
+ #
5321
+ # @!attribute [rw] message
5322
+ # @return [String]
5323
+ #
5324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/LimitExceededException AWS API Documentation
5325
+ #
5326
+ class LimitExceededException < Struct.new(
5327
+ :message)
5328
+ include Aws::Structure
5329
+ end
5330
+
5033
5331
  # The action to take on a typed link attribute value. Updates are only
5034
5332
  # supported for attributes which don’t contribute to link identity.
5035
5333
  #
@@ -5102,6 +5400,19 @@ module Aws::CloudDirectory
5102
5400
  include Aws::Structure
5103
5401
  end
5104
5402
 
5403
+ # Indicates that a link could not be created due to a naming conflict.
5404
+ # Choose a different name and then try again.
5405
+ #
5406
+ # @!attribute [rw] message
5407
+ # @return [String]
5408
+ #
5409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/LinkNameAlreadyInUseException AWS API Documentation
5410
+ #
5411
+ class LinkNameAlreadyInUseException < Struct.new(
5412
+ :message)
5413
+ include Aws::Structure
5414
+ end
5415
+
5105
5416
  # @note When making an API call, you may pass ListAppliedSchemaArnsRequest
5106
5417
  # data as a hash:
5107
5418
  #
@@ -6422,6 +6733,58 @@ module Aws::CloudDirectory
6422
6733
  include Aws::Structure
6423
6734
  end
6424
6735
 
6736
+ # Indicates that the requested operation can only operate on index
6737
+ # objects.
6738
+ #
6739
+ # @!attribute [rw] message
6740
+ # @return [String]
6741
+ #
6742
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/NotIndexException AWS API Documentation
6743
+ #
6744
+ class NotIndexException < Struct.new(
6745
+ :message)
6746
+ include Aws::Structure
6747
+ end
6748
+
6749
+ # Occurs when any invalid operations are performed on an object that is
6750
+ # not a node, such as calling `ListObjectChildren` for a leaf node
6751
+ # object.
6752
+ #
6753
+ # @!attribute [rw] message
6754
+ # @return [String]
6755
+ #
6756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/NotNodeException AWS API Documentation
6757
+ #
6758
+ class NotNodeException < Struct.new(
6759
+ :message)
6760
+ include Aws::Structure
6761
+ end
6762
+
6763
+ # Indicates that the requested operation can only operate on policy
6764
+ # objects.
6765
+ #
6766
+ # @!attribute [rw] message
6767
+ # @return [String]
6768
+ #
6769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/NotPolicyException AWS API Documentation
6770
+ #
6771
+ class NotPolicyException < Struct.new(
6772
+ :message)
6773
+ include Aws::Structure
6774
+ end
6775
+
6776
+ # Indicates that the object is not attached to the index.
6777
+ #
6778
+ # @!attribute [rw] message
6779
+ # @return [String]
6780
+ #
6781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ObjectAlreadyDetachedException AWS API Documentation
6782
+ #
6783
+ class ObjectAlreadyDetachedException < Struct.new(
6784
+ :message)
6785
+ include Aws::Structure
6786
+ end
6787
+
6425
6788
  # The action to take on the object attribute.
6426
6789
  #
6427
6790
  # @note When making an API call, you may pass ObjectAttributeAction
@@ -6558,6 +6921,19 @@ module Aws::CloudDirectory
6558
6921
  include Aws::Structure
6559
6922
  end
6560
6923
 
6924
+ # Indicates that the requested operation cannot be completed because the
6925
+ # object has not been detached from the tree.
6926
+ #
6927
+ # @!attribute [rw] message
6928
+ # @return [String]
6929
+ #
6930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ObjectNotDetachedException AWS API Documentation
6931
+ #
6932
+ class ObjectNotDetachedException < Struct.new(
6933
+ :message)
6934
+ include Aws::Structure
6935
+ end
6936
+
6561
6937
  # The reference that identifies an object.
6562
6938
  #
6563
6939
  # @note When making an API call, you may pass ObjectReference
@@ -6793,6 +7169,36 @@ module Aws::CloudDirectory
6793
7169
  #
6794
7170
  class RemoveFacetFromObjectResponse < Aws::EmptyStructure; end
6795
7171
 
7172
+ # The specified resource could not be found.
7173
+ #
7174
+ # @!attribute [rw] message
7175
+ # @return [String]
7176
+ #
7177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ResourceNotFoundException AWS API Documentation
7178
+ #
7179
+ class ResourceNotFoundException < Struct.new(
7180
+ :message)
7181
+ include Aws::Structure
7182
+ end
7183
+
7184
+ # Occurs when a conflict with a previous successful write is detected.
7185
+ # For example, if a write operation occurs on an object and then an
7186
+ # attempt is made to read the object using “SERIALIZABLE” consistency,
7187
+ # this exception may result. This generally occurs when the previous
7188
+ # write did not have time to propagate to the host serving the current
7189
+ # request. A retry (with appropriate backoff logic) is the recommended
7190
+ # response to this exception.
7191
+ #
7192
+ # @!attribute [rw] message
7193
+ # @return [String]
7194
+ #
7195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/RetryableConflictException AWS API Documentation
7196
+ #
7197
+ class RetryableConflictException < Struct.new(
7198
+ :message)
7199
+ include Aws::Structure
7200
+ end
7201
+
6796
7202
  # Contains an Amazon Resource Name (ARN) and parameters that are
6797
7203
  # associated with the rule.
6798
7204
  #
@@ -6823,6 +7229,31 @@ module Aws::CloudDirectory
6823
7229
  include Aws::Structure
6824
7230
  end
6825
7231
 
7232
+ # Indicates that a schema could not be created due to a naming conflict.
7233
+ # Please select a different name and then try again.
7234
+ #
7235
+ # @!attribute [rw] message
7236
+ # @return [String]
7237
+ #
7238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/SchemaAlreadyExistsException AWS API Documentation
7239
+ #
7240
+ class SchemaAlreadyExistsException < Struct.new(
7241
+ :message)
7242
+ include Aws::Structure
7243
+ end
7244
+
7245
+ # Indicates that a schema is already published.
7246
+ #
7247
+ # @!attribute [rw] message
7248
+ # @return [String]
7249
+ #
7250
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/SchemaAlreadyPublishedException AWS API Documentation
7251
+ #
7252
+ class SchemaAlreadyPublishedException < Struct.new(
7253
+ :message)
7254
+ include Aws::Structure
7255
+ end
7256
+
6826
7257
  # A facet.
6827
7258
  #
6828
7259
  # @note When making an API call, you may pass SchemaFacet
@@ -6855,6 +7286,19 @@ module Aws::CloudDirectory
6855
7286
  include Aws::Structure
6856
7287
  end
6857
7288
 
7289
+ # The object could not be deleted because links still exist. Remove the
7290
+ # links and then try the operation again.
7291
+ #
7292
+ # @!attribute [rw] message
7293
+ # @return [String]
7294
+ #
7295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/StillContainsLinksException AWS API Documentation
7296
+ #
7297
+ class StillContainsLinksException < Struct.new(
7298
+ :message)
7299
+ include Aws::Structure
7300
+ end
7301
+
6858
7302
  # The tag structure that contains a tag key and value.
6859
7303
  #
6860
7304
  # @note When making an API call, you may pass Tag
@@ -7322,6 +7766,18 @@ module Aws::CloudDirectory
7322
7766
  include Aws::Structure
7323
7767
  end
7324
7768
 
7769
+ # Indicates that the requested index type is not supported.
7770
+ #
7771
+ # @!attribute [rw] message
7772
+ # @return [String]
7773
+ #
7774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UnsupportedIndexTypeException AWS API Documentation
7775
+ #
7776
+ class UnsupportedIndexTypeException < Struct.new(
7777
+ :message)
7778
+ include Aws::Structure
7779
+ end
7780
+
7325
7781
  # @note When making an API call, you may pass UntagResourceRequest
7326
7782
  # data as a hash:
7327
7783
  #
@@ -7790,5 +8246,18 @@ module Aws::CloudDirectory
7790
8246
  include Aws::Structure
7791
8247
  end
7792
8248
 
8249
+ # Indicates that your request is malformed in some manner. See the
8250
+ # exception message.
8251
+ #
8252
+ # @!attribute [rw] message
8253
+ # @return [String]
8254
+ #
8255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ValidationException AWS API Documentation
8256
+ #
8257
+ class ValidationException < Struct.new(
8258
+ :message)
8259
+ include Aws::Structure
8260
+ end
8261
+
7793
8262
  end
7794
8263
  end