aws-sdk-directoryservice 1.17.0 → 1.18.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: 91e14c74c1335a5edface2f7bae3c900b4f245bf
4
- data.tar.gz: 28983a630dce44351ea9e5f907c50f37111a49d1
3
+ metadata.gz: 97f7f1a0ca69d6219c820082eb407e982acfe77c
4
+ data.tar.gz: d3ddab7eda10db7bfa7409b08e06b04729ad3555
5
5
  SHA512:
6
- metadata.gz: f729fb0669db01c2afdf93ba57f7987cfcb19f6f9293da46de59c20c50961a00364932b82a3e5c5f5f41c57ebfba913d33a740dd86b610552d61c6e76c45725f
7
- data.tar.gz: 73fdc23e910fc7cabc53c8efa81a502aef97bdb55a6d7ea0e5f4bba70cfc5b4a6498c17d1665aed5f16affda7f096d7411a4bb80698a7f048cf19af8833ed06d
6
+ metadata.gz: cba0589f2f6d62299868772fefed403dc9c986c0af226157e77cc39ade94cd25ba2816669088d34144b287abc0b6ea8ee485476b04ea48a7ff670fb2b1df3596
7
+ data.tar.gz: 232deb562965d2335682f4eebfe7b27a50bdc348496d72a09d5bcb252d800ec00249c3b330a7766e8551cd17aca60ac5cfbea3b057f51aa3c4c67592390ce74b
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-directoryservice/customizations'
42
42
  # @service
43
43
  module Aws::DirectoryService
44
44
 
45
- GEM_VERSION = '1.17.0'
45
+ GEM_VERSION = '1.18.0'
46
46
 
47
47
  end
@@ -2480,7 +2480,7 @@ module Aws::DirectoryService
2480
2480
  params: params,
2481
2481
  config: config)
2482
2482
  context[:gem_name] = 'aws-sdk-directoryservice'
2483
- context[:gem_version] = '1.17.0'
2483
+ context[:gem_version] = '1.18.0'
2484
2484
  Seahorse::Client::Request.new(handlers, context)
2485
2485
  end
2486
2486
 
@@ -284,6 +284,10 @@ module Aws::DirectoryService
284
284
  AcceptSharedDirectoryResult.add_member(:shared_directory, Shapes::ShapeRef.new(shape: SharedDirectory, location_name: "SharedDirectory"))
285
285
  AcceptSharedDirectoryResult.struct_class = Types::AcceptSharedDirectoryResult
286
286
 
287
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
288
+ AccessDeniedException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
289
+ AccessDeniedException.struct_class = Types::AccessDeniedException
290
+
287
291
  AddIpRoutesRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
288
292
  AddIpRoutesRequest.add_member(:ip_routes, Shapes::ShapeRef.new(shape: IpRoutes, required: true, location_name: "IpRoutes"))
289
293
  AddIpRoutesRequest.add_member(:update_security_group_for_directory_controllers, Shapes::ShapeRef.new(shape: UpdateSecurityGroupForDirectoryControllers, location_name: "UpdateSecurityGroupForDirectoryControllers"))
@@ -303,6 +307,10 @@ module Aws::DirectoryService
303
307
 
304
308
  Attributes.member = Shapes::ShapeRef.new(shape: Attribute)
305
309
 
310
+ AuthenticationFailedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
311
+ AuthenticationFailedException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
312
+ AuthenticationFailedException.struct_class = Types::AuthenticationFailedException
313
+
306
314
  AvailabilityZones.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
307
315
 
308
316
  CancelSchemaExtensionRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
@@ -313,6 +321,10 @@ module Aws::DirectoryService
313
321
 
314
322
  CidrIps.member = Shapes::ShapeRef.new(shape: CidrIp)
315
323
 
324
+ ClientException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
325
+ ClientException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
326
+ ClientException.struct_class = Types::ClientException
327
+
316
328
  Computer.add_member(:computer_id, Shapes::ShapeRef.new(shape: SID, location_name: "ComputerId"))
317
329
  Computer.add_member(:computer_name, Shapes::ShapeRef.new(shape: ComputerName, location_name: "ComputerName"))
318
330
  Computer.add_member(:computer_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "ComputerAttributes"))
@@ -510,6 +522,10 @@ module Aws::DirectoryService
510
522
  DescribeTrustsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
511
523
  DescribeTrustsResult.struct_class = Types::DescribeTrustsResult
512
524
 
525
+ DirectoryAlreadySharedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
526
+ DirectoryAlreadySharedException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
527
+ DirectoryAlreadySharedException.struct_class = Types::DirectoryAlreadySharedException
528
+
513
529
  DirectoryConnectSettings.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
514
530
  DirectoryConnectSettings.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
515
531
  DirectoryConnectSettings.add_member(:customer_dns_ips, Shapes::ShapeRef.new(shape: DnsIpAddrs, required: true, location_name: "CustomerDnsIps"))
@@ -554,6 +570,10 @@ module Aws::DirectoryService
554
570
 
555
571
  DirectoryIds.member = Shapes::ShapeRef.new(shape: DirectoryId)
556
572
 
573
+ DirectoryLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
574
+ DirectoryLimitExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
575
+ DirectoryLimitExceededException.struct_class = Types::DirectoryLimitExceededException
576
+
557
577
  DirectoryLimits.add_member(:cloud_only_directories_limit, Shapes::ShapeRef.new(shape: Limit, location_name: "CloudOnlyDirectoriesLimit"))
558
578
  DirectoryLimits.add_member(:cloud_only_directories_current_count, Shapes::ShapeRef.new(shape: Limit, location_name: "CloudOnlyDirectoriesCurrentCount"))
559
579
  DirectoryLimits.add_member(:cloud_only_directories_limit_reached, Shapes::ShapeRef.new(shape: CloudOnlyDirectoriesLimitReached, location_name: "CloudOnlyDirectoriesLimitReached"))
@@ -565,6 +585,14 @@ module Aws::DirectoryService
565
585
  DirectoryLimits.add_member(:connected_directories_limit_reached, Shapes::ShapeRef.new(shape: ConnectedDirectoriesLimitReached, location_name: "ConnectedDirectoriesLimitReached"))
566
586
  DirectoryLimits.struct_class = Types::DirectoryLimits
567
587
 
588
+ DirectoryNotSharedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
589
+ DirectoryNotSharedException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
590
+ DirectoryNotSharedException.struct_class = Types::DirectoryNotSharedException
591
+
592
+ DirectoryUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
593
+ DirectoryUnavailableException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
594
+ DirectoryUnavailableException.struct_class = Types::DirectoryUnavailableException
595
+
568
596
  DirectoryVpcSettings.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
569
597
  DirectoryVpcSettings.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
570
598
  DirectoryVpcSettings.struct_class = Types::DirectoryVpcSettings
@@ -603,6 +631,10 @@ module Aws::DirectoryService
603
631
 
604
632
  DomainControllerIds.member = Shapes::ShapeRef.new(shape: DomainControllerId)
605
633
 
634
+ DomainControllerLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
635
+ DomainControllerLimitExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
636
+ DomainControllerLimitExceededException.struct_class = Types::DomainControllerLimitExceededException
637
+
606
638
  DomainControllers.member = Shapes::ShapeRef.new(shape: DomainController)
607
639
 
608
640
  EnableRadiusRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
@@ -618,6 +650,14 @@ module Aws::DirectoryService
618
650
 
619
651
  EnableSsoResult.struct_class = Types::EnableSsoResult
620
652
 
653
+ EntityAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
654
+ EntityAlreadyExistsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
655
+ EntityAlreadyExistsException.struct_class = Types::EntityAlreadyExistsException
656
+
657
+ EntityDoesNotExistException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
658
+ EntityDoesNotExistException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
659
+ EntityDoesNotExistException.struct_class = Types::EntityDoesNotExistException
660
+
621
661
  EventTopic.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
622
662
  EventTopic.add_member(:topic_name, Shapes::ShapeRef.new(shape: TopicName, location_name: "TopicName"))
623
663
  EventTopic.add_member(:topic_arn, Shapes::ShapeRef.new(shape: TopicArn, location_name: "TopicArn"))
@@ -638,6 +678,26 @@ module Aws::DirectoryService
638
678
  GetSnapshotLimitsResult.add_member(:snapshot_limits, Shapes::ShapeRef.new(shape: SnapshotLimits, location_name: "SnapshotLimits"))
639
679
  GetSnapshotLimitsResult.struct_class = Types::GetSnapshotLimitsResult
640
680
 
681
+ InsufficientPermissionsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
682
+ InsufficientPermissionsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
683
+ InsufficientPermissionsException.struct_class = Types::InsufficientPermissionsException
684
+
685
+ InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
686
+ InvalidNextTokenException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
687
+ InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
688
+
689
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
690
+ InvalidParameterException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
691
+ InvalidParameterException.struct_class = Types::InvalidParameterException
692
+
693
+ InvalidPasswordException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
694
+ InvalidPasswordException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
695
+ InvalidPasswordException.struct_class = Types::InvalidPasswordException
696
+
697
+ InvalidTargetException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
698
+ InvalidTargetException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
699
+ InvalidTargetException.struct_class = Types::InvalidTargetException
700
+
641
701
  IpAddrs.member = Shapes::ShapeRef.new(shape: IpAddr)
642
702
 
643
703
  IpRoute.add_member(:cidr_ip, Shapes::ShapeRef.new(shape: CidrIp, location_name: "CidrIp"))
@@ -652,6 +712,10 @@ module Aws::DirectoryService
652
712
  IpRouteInfo.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
653
713
  IpRouteInfo.struct_class = Types::IpRouteInfo
654
714
 
715
+ IpRouteLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
716
+ IpRouteLimitExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
717
+ IpRouteLimitExceededException.struct_class = Types::IpRouteLimitExceededException
718
+
655
719
  IpRoutes.member = Shapes::ShapeRef.new(shape: IpRoute)
656
720
 
657
721
  IpRoutesInfo.member = Shapes::ShapeRef.new(shape: IpRouteInfo)
@@ -699,6 +763,10 @@ module Aws::DirectoryService
699
763
 
700
764
  LogSubscriptions.member = Shapes::ShapeRef.new(shape: LogSubscription)
701
765
 
766
+ OrganizationsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
767
+ OrganizationsException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
768
+ OrganizationsException.struct_class = Types::OrganizationsException
769
+
702
770
  OwnerDirectoryDescription.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
703
771
  OwnerDirectoryDescription.add_member(:account_id, Shapes::ShapeRef.new(shape: CustomerId, location_name: "AccountId"))
704
772
  OwnerDirectoryDescription.add_member(:dns_ip_addrs, Shapes::ShapeRef.new(shape: DnsIpAddrs, location_name: "DnsIpAddrs"))
@@ -768,6 +836,10 @@ module Aws::DirectoryService
768
836
 
769
837
  Servers.member = Shapes::ShapeRef.new(shape: Server)
770
838
 
839
+ ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
840
+ ServiceException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
841
+ ServiceException.struct_class = Types::ServiceException
842
+
771
843
  ShareDirectoryRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
772
844
  ShareDirectoryRequest.add_member(:share_notes, Shapes::ShapeRef.new(shape: Notes, location_name: "ShareNotes"))
773
845
  ShareDirectoryRequest.add_member(:share_target, Shapes::ShapeRef.new(shape: ShareTarget, required: true, location_name: "ShareTarget"))
@@ -777,6 +849,10 @@ module Aws::DirectoryService
777
849
  ShareDirectoryResult.add_member(:shared_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "SharedDirectoryId"))
778
850
  ShareDirectoryResult.struct_class = Types::ShareDirectoryResult
779
851
 
852
+ ShareLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
853
+ ShareLimitExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
854
+ ShareLimitExceededException.struct_class = Types::ShareLimitExceededException
855
+
780
856
  ShareTarget.add_member(:id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "Id"))
781
857
  ShareTarget.add_member(:type, Shapes::ShapeRef.new(shape: TargetType, required: true, location_name: "Type"))
782
858
  ShareTarget.struct_class = Types::ShareTarget
@@ -804,6 +880,10 @@ module Aws::DirectoryService
804
880
 
805
881
  SnapshotIds.member = Shapes::ShapeRef.new(shape: SnapshotId)
806
882
 
883
+ SnapshotLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
884
+ SnapshotLimitExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
885
+ SnapshotLimitExceededException.struct_class = Types::SnapshotLimitExceededException
886
+
807
887
  SnapshotLimits.add_member(:manual_snapshots_limit, Shapes::ShapeRef.new(shape: Limit, location_name: "ManualSnapshotsLimit"))
808
888
  SnapshotLimits.add_member(:manual_snapshots_current_count, Shapes::ShapeRef.new(shape: Limit, location_name: "ManualSnapshotsCurrentCount"))
809
889
  SnapshotLimits.add_member(:manual_snapshots_limit_reached, Shapes::ShapeRef.new(shape: ManualSnapshotsLimitReached, location_name: "ManualSnapshotsLimitReached"))
@@ -828,6 +908,10 @@ module Aws::DirectoryService
828
908
 
829
909
  TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
830
910
 
911
+ TagLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
912
+ TagLimitExceededException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
913
+ TagLimitExceededException.struct_class = Types::TagLimitExceededException
914
+
831
915
  Tags.member = Shapes::ShapeRef.new(shape: Tag)
832
916
 
833
917
  TopicNames.member = Shapes::ShapeRef.new(shape: TopicName)
@@ -860,6 +944,10 @@ module Aws::DirectoryService
860
944
  UnshareTarget.add_member(:type, Shapes::ShapeRef.new(shape: TargetType, required: true, location_name: "Type"))
861
945
  UnshareTarget.struct_class = Types::UnshareTarget
862
946
 
947
+ UnsupportedOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
948
+ UnsupportedOperationException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
949
+ UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
950
+
863
951
  UpdateConditionalForwarderRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
864
952
  UpdateConditionalForwarderRequest.add_member(:remote_domain_name, Shapes::ShapeRef.new(shape: RemoteDomainName, required: true, location_name: "RemoteDomainName"))
865
953
  UpdateConditionalForwarderRequest.add_member(:dns_ip_addrs, Shapes::ShapeRef.new(shape: DnsIpAddrs, required: true, location_name: "DnsIpAddrs"))
@@ -887,6 +975,10 @@ module Aws::DirectoryService
887
975
  UpdateTrustResult.add_member(:trust_id, Shapes::ShapeRef.new(shape: TrustId, location_name: "TrustId"))
888
976
  UpdateTrustResult.struct_class = Types::UpdateTrustResult
889
977
 
978
+ UserDoesNotExistException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
979
+ UserDoesNotExistException.add_member(:request_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "RequestId"))
980
+ UserDoesNotExistException.struct_class = Types::UserDoesNotExistException
981
+
890
982
  VerifyTrustRequest.add_member(:trust_id, Shapes::ShapeRef.new(shape: TrustId, required: true, location_name: "TrustId"))
891
983
  VerifyTrustRequest.struct_class = Types::VerifyTrustRequest
892
984
 
@@ -10,5 +10,488 @@ module Aws::DirectoryService
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::DirectoryService::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
+ # @return [String]
28
+ def request_id
29
+ @data[:request_id]
30
+ end
31
+
32
+ end
33
+
34
+ class AuthenticationFailedException < ServiceError
35
+
36
+ # @param [Seahorse::Client::RequestContext] context
37
+ # @param [String] message
38
+ # @param [Aws::DirectoryService::Types::AuthenticationFailedException] data
39
+ def initialize(context, message, data = Aws::EmptyStructure.new)
40
+ super(context, message, data)
41
+ end
42
+
43
+ # @return [String]
44
+ def message
45
+ @message || @data[:message]
46
+ end
47
+
48
+ # @return [String]
49
+ def request_id
50
+ @data[:request_id]
51
+ end
52
+
53
+ end
54
+
55
+ class ClientException < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::DirectoryService::Types::ClientException] 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
+ # @return [String]
70
+ def request_id
71
+ @data[:request_id]
72
+ end
73
+
74
+ end
75
+
76
+ class DirectoryAlreadySharedException < ServiceError
77
+
78
+ # @param [Seahorse::Client::RequestContext] context
79
+ # @param [String] message
80
+ # @param [Aws::DirectoryService::Types::DirectoryAlreadySharedException] data
81
+ def initialize(context, message, data = Aws::EmptyStructure.new)
82
+ super(context, message, data)
83
+ end
84
+
85
+ # @return [String]
86
+ def message
87
+ @message || @data[:message]
88
+ end
89
+
90
+ # @return [String]
91
+ def request_id
92
+ @data[:request_id]
93
+ end
94
+
95
+ end
96
+
97
+ class DirectoryLimitExceededException < ServiceError
98
+
99
+ # @param [Seahorse::Client::RequestContext] context
100
+ # @param [String] message
101
+ # @param [Aws::DirectoryService::Types::DirectoryLimitExceededException] data
102
+ def initialize(context, message, data = Aws::EmptyStructure.new)
103
+ super(context, message, data)
104
+ end
105
+
106
+ # @return [String]
107
+ def message
108
+ @message || @data[:message]
109
+ end
110
+
111
+ # @return [String]
112
+ def request_id
113
+ @data[:request_id]
114
+ end
115
+
116
+ end
117
+
118
+ class DirectoryNotSharedException < ServiceError
119
+
120
+ # @param [Seahorse::Client::RequestContext] context
121
+ # @param [String] message
122
+ # @param [Aws::DirectoryService::Types::DirectoryNotSharedException] data
123
+ def initialize(context, message, data = Aws::EmptyStructure.new)
124
+ super(context, message, data)
125
+ end
126
+
127
+ # @return [String]
128
+ def message
129
+ @message || @data[:message]
130
+ end
131
+
132
+ # @return [String]
133
+ def request_id
134
+ @data[:request_id]
135
+ end
136
+
137
+ end
138
+
139
+ class DirectoryUnavailableException < ServiceError
140
+
141
+ # @param [Seahorse::Client::RequestContext] context
142
+ # @param [String] message
143
+ # @param [Aws::DirectoryService::Types::DirectoryUnavailableException] data
144
+ def initialize(context, message, data = Aws::EmptyStructure.new)
145
+ super(context, message, data)
146
+ end
147
+
148
+ # @return [String]
149
+ def message
150
+ @message || @data[:message]
151
+ end
152
+
153
+ # @return [String]
154
+ def request_id
155
+ @data[:request_id]
156
+ end
157
+
158
+ end
159
+
160
+ class DomainControllerLimitExceededException < ServiceError
161
+
162
+ # @param [Seahorse::Client::RequestContext] context
163
+ # @param [String] message
164
+ # @param [Aws::DirectoryService::Types::DomainControllerLimitExceededException] data
165
+ def initialize(context, message, data = Aws::EmptyStructure.new)
166
+ super(context, message, data)
167
+ end
168
+
169
+ # @return [String]
170
+ def message
171
+ @message || @data[:message]
172
+ end
173
+
174
+ # @return [String]
175
+ def request_id
176
+ @data[:request_id]
177
+ end
178
+
179
+ end
180
+
181
+ class EntityAlreadyExistsException < ServiceError
182
+
183
+ # @param [Seahorse::Client::RequestContext] context
184
+ # @param [String] message
185
+ # @param [Aws::DirectoryService::Types::EntityAlreadyExistsException] data
186
+ def initialize(context, message, data = Aws::EmptyStructure.new)
187
+ super(context, message, data)
188
+ end
189
+
190
+ # @return [String]
191
+ def message
192
+ @message || @data[:message]
193
+ end
194
+
195
+ # @return [String]
196
+ def request_id
197
+ @data[:request_id]
198
+ end
199
+
200
+ end
201
+
202
+ class EntityDoesNotExistException < ServiceError
203
+
204
+ # @param [Seahorse::Client::RequestContext] context
205
+ # @param [String] message
206
+ # @param [Aws::DirectoryService::Types::EntityDoesNotExistException] data
207
+ def initialize(context, message, data = Aws::EmptyStructure.new)
208
+ super(context, message, data)
209
+ end
210
+
211
+ # @return [String]
212
+ def message
213
+ @message || @data[:message]
214
+ end
215
+
216
+ # @return [String]
217
+ def request_id
218
+ @data[:request_id]
219
+ end
220
+
221
+ end
222
+
223
+ class InsufficientPermissionsException < ServiceError
224
+
225
+ # @param [Seahorse::Client::RequestContext] context
226
+ # @param [String] message
227
+ # @param [Aws::DirectoryService::Types::InsufficientPermissionsException] data
228
+ def initialize(context, message, data = Aws::EmptyStructure.new)
229
+ super(context, message, data)
230
+ end
231
+
232
+ # @return [String]
233
+ def message
234
+ @message || @data[:message]
235
+ end
236
+
237
+ # @return [String]
238
+ def request_id
239
+ @data[:request_id]
240
+ end
241
+
242
+ end
243
+
244
+ class InvalidNextTokenException < ServiceError
245
+
246
+ # @param [Seahorse::Client::RequestContext] context
247
+ # @param [String] message
248
+ # @param [Aws::DirectoryService::Types::InvalidNextTokenException] data
249
+ def initialize(context, message, data = Aws::EmptyStructure.new)
250
+ super(context, message, data)
251
+ end
252
+
253
+ # @return [String]
254
+ def message
255
+ @message || @data[:message]
256
+ end
257
+
258
+ # @return [String]
259
+ def request_id
260
+ @data[:request_id]
261
+ end
262
+
263
+ end
264
+
265
+ class InvalidParameterException < ServiceError
266
+
267
+ # @param [Seahorse::Client::RequestContext] context
268
+ # @param [String] message
269
+ # @param [Aws::DirectoryService::Types::InvalidParameterException] data
270
+ def initialize(context, message, data = Aws::EmptyStructure.new)
271
+ super(context, message, data)
272
+ end
273
+
274
+ # @return [String]
275
+ def message
276
+ @message || @data[:message]
277
+ end
278
+
279
+ # @return [String]
280
+ def request_id
281
+ @data[:request_id]
282
+ end
283
+
284
+ end
285
+
286
+ class InvalidPasswordException < ServiceError
287
+
288
+ # @param [Seahorse::Client::RequestContext] context
289
+ # @param [String] message
290
+ # @param [Aws::DirectoryService::Types::InvalidPasswordException] data
291
+ def initialize(context, message, data = Aws::EmptyStructure.new)
292
+ super(context, message, data)
293
+ end
294
+
295
+ # @return [String]
296
+ def message
297
+ @message || @data[:message]
298
+ end
299
+
300
+ # @return [String]
301
+ def request_id
302
+ @data[:request_id]
303
+ end
304
+
305
+ end
306
+
307
+ class InvalidTargetException < ServiceError
308
+
309
+ # @param [Seahorse::Client::RequestContext] context
310
+ # @param [String] message
311
+ # @param [Aws::DirectoryService::Types::InvalidTargetException] data
312
+ def initialize(context, message, data = Aws::EmptyStructure.new)
313
+ super(context, message, data)
314
+ end
315
+
316
+ # @return [String]
317
+ def message
318
+ @message || @data[:message]
319
+ end
320
+
321
+ # @return [String]
322
+ def request_id
323
+ @data[:request_id]
324
+ end
325
+
326
+ end
327
+
328
+ class IpRouteLimitExceededException < ServiceError
329
+
330
+ # @param [Seahorse::Client::RequestContext] context
331
+ # @param [String] message
332
+ # @param [Aws::DirectoryService::Types::IpRouteLimitExceededException] data
333
+ def initialize(context, message, data = Aws::EmptyStructure.new)
334
+ super(context, message, data)
335
+ end
336
+
337
+ # @return [String]
338
+ def message
339
+ @message || @data[:message]
340
+ end
341
+
342
+ # @return [String]
343
+ def request_id
344
+ @data[:request_id]
345
+ end
346
+
347
+ end
348
+
349
+ class OrganizationsException < ServiceError
350
+
351
+ # @param [Seahorse::Client::RequestContext] context
352
+ # @param [String] message
353
+ # @param [Aws::DirectoryService::Types::OrganizationsException] data
354
+ def initialize(context, message, data = Aws::EmptyStructure.new)
355
+ super(context, message, data)
356
+ end
357
+
358
+ # @return [String]
359
+ def message
360
+ @message || @data[:message]
361
+ end
362
+
363
+ # @return [String]
364
+ def request_id
365
+ @data[:request_id]
366
+ end
367
+
368
+ end
369
+
370
+ class ServiceException < ServiceError
371
+
372
+ # @param [Seahorse::Client::RequestContext] context
373
+ # @param [String] message
374
+ # @param [Aws::DirectoryService::Types::ServiceException] data
375
+ def initialize(context, message, data = Aws::EmptyStructure.new)
376
+ super(context, message, data)
377
+ end
378
+
379
+ # @return [String]
380
+ def message
381
+ @message || @data[:message]
382
+ end
383
+
384
+ # @return [String]
385
+ def request_id
386
+ @data[:request_id]
387
+ end
388
+
389
+ end
390
+
391
+ class ShareLimitExceededException < ServiceError
392
+
393
+ # @param [Seahorse::Client::RequestContext] context
394
+ # @param [String] message
395
+ # @param [Aws::DirectoryService::Types::ShareLimitExceededException] 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
+ # @return [String]
406
+ def request_id
407
+ @data[:request_id]
408
+ end
409
+
410
+ end
411
+
412
+ class SnapshotLimitExceededException < ServiceError
413
+
414
+ # @param [Seahorse::Client::RequestContext] context
415
+ # @param [String] message
416
+ # @param [Aws::DirectoryService::Types::SnapshotLimitExceededException] data
417
+ def initialize(context, message, data = Aws::EmptyStructure.new)
418
+ super(context, message, data)
419
+ end
420
+
421
+ # @return [String]
422
+ def message
423
+ @message || @data[:message]
424
+ end
425
+
426
+ # @return [String]
427
+ def request_id
428
+ @data[:request_id]
429
+ end
430
+
431
+ end
432
+
433
+ class TagLimitExceededException < ServiceError
434
+
435
+ # @param [Seahorse::Client::RequestContext] context
436
+ # @param [String] message
437
+ # @param [Aws::DirectoryService::Types::TagLimitExceededException] data
438
+ def initialize(context, message, data = Aws::EmptyStructure.new)
439
+ super(context, message, data)
440
+ end
441
+
442
+ # @return [String]
443
+ def message
444
+ @message || @data[:message]
445
+ end
446
+
447
+ # @return [String]
448
+ def request_id
449
+ @data[:request_id]
450
+ end
451
+
452
+ end
453
+
454
+ class UnsupportedOperationException < ServiceError
455
+
456
+ # @param [Seahorse::Client::RequestContext] context
457
+ # @param [String] message
458
+ # @param [Aws::DirectoryService::Types::UnsupportedOperationException] data
459
+ def initialize(context, message, data = Aws::EmptyStructure.new)
460
+ super(context, message, data)
461
+ end
462
+
463
+ # @return [String]
464
+ def message
465
+ @message || @data[:message]
466
+ end
467
+
468
+ # @return [String]
469
+ def request_id
470
+ @data[:request_id]
471
+ end
472
+
473
+ end
474
+
475
+ class UserDoesNotExistException < ServiceError
476
+
477
+ # @param [Seahorse::Client::RequestContext] context
478
+ # @param [String] message
479
+ # @param [Aws::DirectoryService::Types::UserDoesNotExistException] data
480
+ def initialize(context, message, data = Aws::EmptyStructure.new)
481
+ super(context, message, data)
482
+ end
483
+
484
+ # @return [String]
485
+ def message
486
+ @message || @data[:message]
487
+ end
488
+
489
+ # @return [String]
490
+ def request_id
491
+ @data[:request_id]
492
+ end
493
+
494
+ end
495
+
13
496
  end
14
497
  end
@@ -39,6 +39,24 @@ module Aws::DirectoryService
39
39
  include Aws::Structure
40
40
  end
41
41
 
42
+ # You do not have sufficient access to perform this action.
43
+ #
44
+ # @!attribute [rw] message
45
+ # The descriptive message for the exception.
46
+ # @return [String]
47
+ #
48
+ # @!attribute [rw] request_id
49
+ # The AWS request identifier.
50
+ # @return [String]
51
+ #
52
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AccessDeniedException AWS API Documentation
53
+ #
54
+ class AccessDeniedException < Struct.new(
55
+ :message,
56
+ :request_id)
57
+ include Aws::Structure
58
+ end
59
+
42
60
  # @note When making an API call, you may pass AddIpRoutesRequest
43
61
  # data as a hash:
44
62
  #
@@ -201,6 +219,24 @@ module Aws::DirectoryService
201
219
  include Aws::Structure
202
220
  end
203
221
 
222
+ # An authentication error occurred.
223
+ #
224
+ # @!attribute [rw] message
225
+ # The textual message for the exception.
226
+ # @return [String]
227
+ #
228
+ # @!attribute [rw] request_id
229
+ # The identifier of the request that caused the exception.
230
+ # @return [String]
231
+ #
232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AuthenticationFailedException AWS API Documentation
233
+ #
234
+ class AuthenticationFailedException < Struct.new(
235
+ :message,
236
+ :request_id)
237
+ include Aws::Structure
238
+ end
239
+
204
240
  # @note When making an API call, you may pass CancelSchemaExtensionRequest
205
241
  # data as a hash:
206
242
  #
@@ -230,6 +266,24 @@ module Aws::DirectoryService
230
266
  #
231
267
  class CancelSchemaExtensionResult < Aws::EmptyStructure; end
232
268
 
269
+ # A client exception has occurred.
270
+ #
271
+ # @!attribute [rw] message
272
+ # The descriptive message for the exception.
273
+ # @return [String]
274
+ #
275
+ # @!attribute [rw] request_id
276
+ # The AWS request identifier.
277
+ # @return [String]
278
+ #
279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ClientException AWS API Documentation
280
+ #
281
+ class ClientException < Struct.new(
282
+ :message,
283
+ :request_id)
284
+ include Aws::Structure
285
+ end
286
+
233
287
  # Contains information about a computer account in a directory.
234
288
  #
235
289
  # @!attribute [rw] computer_id
@@ -1447,6 +1501,24 @@ module Aws::DirectoryService
1447
1501
  include Aws::Structure
1448
1502
  end
1449
1503
 
1504
+ # The specified directory has already been shared with this AWS account.
1505
+ #
1506
+ # @!attribute [rw] message
1507
+ # The descriptive message for the exception.
1508
+ # @return [String]
1509
+ #
1510
+ # @!attribute [rw] request_id
1511
+ # The AWS request identifier.
1512
+ # @return [String]
1513
+ #
1514
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryAlreadySharedException AWS API Documentation
1515
+ #
1516
+ class DirectoryAlreadySharedException < Struct.new(
1517
+ :message,
1518
+ :request_id)
1519
+ include Aws::Structure
1520
+ end
1521
+
1450
1522
  # Contains information for the ConnectDirectory operation when an AD
1451
1523
  # Connector directory is being created.
1452
1524
  #
@@ -1687,6 +1759,26 @@ module Aws::DirectoryService
1687
1759
  include Aws::Structure
1688
1760
  end
1689
1761
 
1762
+ # The maximum number of directories in the region has been reached. You
1763
+ # can use the GetDirectoryLimits operation to determine your directory
1764
+ # limits in the region.
1765
+ #
1766
+ # @!attribute [rw] message
1767
+ # The descriptive message for the exception.
1768
+ # @return [String]
1769
+ #
1770
+ # @!attribute [rw] request_id
1771
+ # The AWS request identifier.
1772
+ # @return [String]
1773
+ #
1774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryLimitExceededException AWS API Documentation
1775
+ #
1776
+ class DirectoryLimitExceededException < Struct.new(
1777
+ :message,
1778
+ :request_id)
1779
+ include Aws::Structure
1780
+ end
1781
+
1690
1782
  # Contains directory limit information for a region.
1691
1783
  #
1692
1784
  # @!attribute [rw] cloud_only_directories_limit
@@ -1743,6 +1835,42 @@ module Aws::DirectoryService
1743
1835
  include Aws::Structure
1744
1836
  end
1745
1837
 
1838
+ # The specified directory has not been shared with this AWS account.
1839
+ #
1840
+ # @!attribute [rw] message
1841
+ # The descriptive message for the exception.
1842
+ # @return [String]
1843
+ #
1844
+ # @!attribute [rw] request_id
1845
+ # The AWS request identifier.
1846
+ # @return [String]
1847
+ #
1848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryNotSharedException AWS API Documentation
1849
+ #
1850
+ class DirectoryNotSharedException < Struct.new(
1851
+ :message,
1852
+ :request_id)
1853
+ include Aws::Structure
1854
+ end
1855
+
1856
+ # The specified directory is unavailable or could not be found.
1857
+ #
1858
+ # @!attribute [rw] message
1859
+ # The descriptive message for the exception.
1860
+ # @return [String]
1861
+ #
1862
+ # @!attribute [rw] request_id
1863
+ # The AWS request identifier.
1864
+ # @return [String]
1865
+ #
1866
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryUnavailableException AWS API Documentation
1867
+ #
1868
+ class DirectoryUnavailableException < Struct.new(
1869
+ :message,
1870
+ :request_id)
1871
+ include Aws::Structure
1872
+ end
1873
+
1746
1874
  # Contains VPC information for the CreateDirectory or CreateMicrosoftAD
1747
1875
  # operation.
1748
1876
  #
@@ -1936,6 +2064,25 @@ module Aws::DirectoryService
1936
2064
  include Aws::Structure
1937
2065
  end
1938
2066
 
2067
+ # The maximum allowed number of domain controllers per directory was
2068
+ # exceeded. The default limit per directory is 20 domain controllers.
2069
+ #
2070
+ # @!attribute [rw] message
2071
+ # The descriptive message for the exception.
2072
+ # @return [String]
2073
+ #
2074
+ # @!attribute [rw] request_id
2075
+ # The AWS request identifier.
2076
+ # @return [String]
2077
+ #
2078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DomainControllerLimitExceededException AWS API Documentation
2079
+ #
2080
+ class DomainControllerLimitExceededException < Struct.new(
2081
+ :message,
2082
+ :request_id)
2083
+ include Aws::Structure
2084
+ end
2085
+
1939
2086
  # Contains the inputs for the EnableRadius operation.
1940
2087
  #
1941
2088
  # @note When making an API call, you may pass EnableRadiusRequest
@@ -2026,6 +2173,42 @@ module Aws::DirectoryService
2026
2173
  #
2027
2174
  class EnableSsoResult < Aws::EmptyStructure; end
2028
2175
 
2176
+ # The specified entity already exists.
2177
+ #
2178
+ # @!attribute [rw] message
2179
+ # The descriptive message for the exception.
2180
+ # @return [String]
2181
+ #
2182
+ # @!attribute [rw] request_id
2183
+ # The AWS request identifier.
2184
+ # @return [String]
2185
+ #
2186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EntityAlreadyExistsException AWS API Documentation
2187
+ #
2188
+ class EntityAlreadyExistsException < Struct.new(
2189
+ :message,
2190
+ :request_id)
2191
+ include Aws::Structure
2192
+ end
2193
+
2194
+ # The specified entity could not be found.
2195
+ #
2196
+ # @!attribute [rw] message
2197
+ # The descriptive message for the exception.
2198
+ # @return [String]
2199
+ #
2200
+ # @!attribute [rw] request_id
2201
+ # The AWS request identifier.
2202
+ # @return [String]
2203
+ #
2204
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EntityDoesNotExistException AWS API Documentation
2205
+ #
2206
+ class EntityDoesNotExistException < Struct.new(
2207
+ :message,
2208
+ :request_id)
2209
+ include Aws::Structure
2210
+ end
2211
+
2029
2212
  # Information about SNS topic and AWS Directory Service directory
2030
2213
  # associations.
2031
2214
  #
@@ -2119,6 +2302,98 @@ module Aws::DirectoryService
2119
2302
  include Aws::Structure
2120
2303
  end
2121
2304
 
2305
+ # The account does not have sufficient permission to perform the
2306
+ # operation.
2307
+ #
2308
+ # @!attribute [rw] message
2309
+ # The descriptive message for the exception.
2310
+ # @return [String]
2311
+ #
2312
+ # @!attribute [rw] request_id
2313
+ # The AWS request identifier.
2314
+ # @return [String]
2315
+ #
2316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/InsufficientPermissionsException AWS API Documentation
2317
+ #
2318
+ class InsufficientPermissionsException < Struct.new(
2319
+ :message,
2320
+ :request_id)
2321
+ include Aws::Structure
2322
+ end
2323
+
2324
+ # The `NextToken` value is not valid.
2325
+ #
2326
+ # @!attribute [rw] message
2327
+ # The descriptive message for the exception.
2328
+ # @return [String]
2329
+ #
2330
+ # @!attribute [rw] request_id
2331
+ # The AWS request identifier.
2332
+ # @return [String]
2333
+ #
2334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/InvalidNextTokenException AWS API Documentation
2335
+ #
2336
+ class InvalidNextTokenException < Struct.new(
2337
+ :message,
2338
+ :request_id)
2339
+ include Aws::Structure
2340
+ end
2341
+
2342
+ # One or more parameters are not valid.
2343
+ #
2344
+ # @!attribute [rw] message
2345
+ # The descriptive message for the exception.
2346
+ # @return [String]
2347
+ #
2348
+ # @!attribute [rw] request_id
2349
+ # The AWS request identifier.
2350
+ # @return [String]
2351
+ #
2352
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/InvalidParameterException AWS API Documentation
2353
+ #
2354
+ class InvalidParameterException < Struct.new(
2355
+ :message,
2356
+ :request_id)
2357
+ include Aws::Structure
2358
+ end
2359
+
2360
+ # The new password provided by the user does not meet the password
2361
+ # complexity requirements defined in your directory.
2362
+ #
2363
+ # @!attribute [rw] message
2364
+ # The descriptive message for the exception.
2365
+ # @return [String]
2366
+ #
2367
+ # @!attribute [rw] request_id
2368
+ # The AWS request identifier.
2369
+ # @return [String]
2370
+ #
2371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/InvalidPasswordException AWS API Documentation
2372
+ #
2373
+ class InvalidPasswordException < Struct.new(
2374
+ :message,
2375
+ :request_id)
2376
+ include Aws::Structure
2377
+ end
2378
+
2379
+ # The specified shared target is not valid.
2380
+ #
2381
+ # @!attribute [rw] message
2382
+ # The descriptive message for the exception.
2383
+ # @return [String]
2384
+ #
2385
+ # @!attribute [rw] request_id
2386
+ # The AWS request identifier.
2387
+ # @return [String]
2388
+ #
2389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/InvalidTargetException AWS API Documentation
2390
+ #
2391
+ class InvalidTargetException < Struct.new(
2392
+ :message,
2393
+ :request_id)
2394
+ include Aws::Structure
2395
+ end
2396
+
2122
2397
  # IP address block. This is often the address block of the DNS server
2123
2398
  # used for your on-premises domain.
2124
2399
  #
@@ -2187,6 +2462,25 @@ module Aws::DirectoryService
2187
2462
  include Aws::Structure
2188
2463
  end
2189
2464
 
2465
+ # The maximum allowed number of IP addresses was exceeded. The default
2466
+ # limit is 100 IP address blocks.
2467
+ #
2468
+ # @!attribute [rw] message
2469
+ # The descriptive message for the exception.
2470
+ # @return [String]
2471
+ #
2472
+ # @!attribute [rw] request_id
2473
+ # The AWS request identifier.
2474
+ # @return [String]
2475
+ #
2476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/IpRouteLimitExceededException AWS API Documentation
2477
+ #
2478
+ class IpRouteLimitExceededException < Struct.new(
2479
+ :message,
2480
+ :request_id)
2481
+ include Aws::Structure
2482
+ end
2483
+
2190
2484
  # @note When making an API call, you may pass ListIpRoutesRequest
2191
2485
  # data as a hash:
2192
2486
  #
@@ -2412,6 +2706,24 @@ module Aws::DirectoryService
2412
2706
  include Aws::Structure
2413
2707
  end
2414
2708
 
2709
+ # Exception encountered while trying to access your AWS organization.
2710
+ #
2711
+ # @!attribute [rw] message
2712
+ # The descriptive message for the exception.
2713
+ # @return [String]
2714
+ #
2715
+ # @!attribute [rw] request_id
2716
+ # The AWS request identifier.
2717
+ # @return [String]
2718
+ #
2719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/OrganizationsException AWS API Documentation
2720
+ #
2721
+ class OrganizationsException < Struct.new(
2722
+ :message,
2723
+ :request_id)
2724
+ include Aws::Structure
2725
+ end
2726
+
2415
2727
  # Describes the directory owner account details that have been shared to
2416
2728
  # the directory consumer account.
2417
2729
  #
@@ -2752,6 +3064,24 @@ module Aws::DirectoryService
2752
3064
  include Aws::Structure
2753
3065
  end
2754
3066
 
3067
+ # An exception has occurred in AWS Directory Service.
3068
+ #
3069
+ # @!attribute [rw] message
3070
+ # The descriptive message for the exception.
3071
+ # @return [String]
3072
+ #
3073
+ # @!attribute [rw] request_id
3074
+ # The AWS request identifier.
3075
+ # @return [String]
3076
+ #
3077
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ServiceException AWS API Documentation
3078
+ #
3079
+ class ServiceException < Struct.new(
3080
+ :message,
3081
+ :request_id)
3082
+ include Aws::Structure
3083
+ end
3084
+
2755
3085
  # @note When making an API call, you may pass ShareDirectoryRequest
2756
3086
  # data as a hash:
2757
3087
  #
@@ -2811,6 +3141,25 @@ module Aws::DirectoryService
2811
3141
  include Aws::Structure
2812
3142
  end
2813
3143
 
3144
+ # The maximum number of AWS accounts that you can share with this
3145
+ # directory has been reached.
3146
+ #
3147
+ # @!attribute [rw] message
3148
+ # The descriptive message for the exception.
3149
+ # @return [String]
3150
+ #
3151
+ # @!attribute [rw] request_id
3152
+ # The AWS request identifier.
3153
+ # @return [String]
3154
+ #
3155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ShareLimitExceededException AWS API Documentation
3156
+ #
3157
+ class ShareLimitExceededException < Struct.new(
3158
+ :message,
3159
+ :request_id)
3160
+ include Aws::Structure
3161
+ end
3162
+
2814
3163
  # Identifier that contains details about the directory consumer account.
2815
3164
  #
2816
3165
  # @note When making an API call, you may pass ShareTarget
@@ -2942,6 +3291,26 @@ module Aws::DirectoryService
2942
3291
  include Aws::Structure
2943
3292
  end
2944
3293
 
3294
+ # The maximum number of manual snapshots for the directory has been
3295
+ # reached. You can use the GetSnapshotLimits operation to determine the
3296
+ # snapshot limits for a directory.
3297
+ #
3298
+ # @!attribute [rw] message
3299
+ # The descriptive message for the exception.
3300
+ # @return [String]
3301
+ #
3302
+ # @!attribute [rw] request_id
3303
+ # The AWS request identifier.
3304
+ # @return [String]
3305
+ #
3306
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/SnapshotLimitExceededException AWS API Documentation
3307
+ #
3308
+ class SnapshotLimitExceededException < Struct.new(
3309
+ :message,
3310
+ :request_id)
3311
+ include Aws::Structure
3312
+ end
3313
+
2945
3314
  # Contains manual snapshot limit information for a directory.
2946
3315
  #
2947
3316
  # @!attribute [rw] manual_snapshots_limit
@@ -3051,6 +3420,24 @@ module Aws::DirectoryService
3051
3420
  include Aws::Structure
3052
3421
  end
3053
3422
 
3423
+ # The maximum allowed number of tags was exceeded.
3424
+ #
3425
+ # @!attribute [rw] message
3426
+ # The descriptive message for the exception.
3427
+ # @return [String]
3428
+ #
3429
+ # @!attribute [rw] request_id
3430
+ # The AWS request identifier.
3431
+ # @return [String]
3432
+ #
3433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/TagLimitExceededException AWS API Documentation
3434
+ #
3435
+ class TagLimitExceededException < Struct.new(
3436
+ :message,
3437
+ :request_id)
3438
+ include Aws::Structure
3439
+ end
3440
+
3054
3441
  # Describes a trust relationship between an AWS Managed Microsoft AD
3055
3442
  # directory and an external domain.
3056
3443
  #
@@ -3185,6 +3572,24 @@ module Aws::DirectoryService
3185
3572
  include Aws::Structure
3186
3573
  end
3187
3574
 
3575
+ # The operation is not supported.
3576
+ #
3577
+ # @!attribute [rw] message
3578
+ # The descriptive message for the exception.
3579
+ # @return [String]
3580
+ #
3581
+ # @!attribute [rw] request_id
3582
+ # The AWS request identifier.
3583
+ # @return [String]
3584
+ #
3585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnsupportedOperationException AWS API Documentation
3586
+ #
3587
+ class UnsupportedOperationException < Struct.new(
3588
+ :message,
3589
+ :request_id)
3590
+ include Aws::Structure
3591
+ end
3592
+
3188
3593
  # Updates a conditional forwarder.
3189
3594
  #
3190
3595
  # @note When making an API call, you may pass UpdateConditionalForwarderRequest
@@ -3338,6 +3743,24 @@ module Aws::DirectoryService
3338
3743
  include Aws::Structure
3339
3744
  end
3340
3745
 
3746
+ # The user provided a username that does not exist in your directory.
3747
+ #
3748
+ # @!attribute [rw] message
3749
+ # The descriptive message for the exception.
3750
+ # @return [String]
3751
+ #
3752
+ # @!attribute [rw] request_id
3753
+ # The AWS request identifier.
3754
+ # @return [String]
3755
+ #
3756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UserDoesNotExistException AWS API Documentation
3757
+ #
3758
+ class UserDoesNotExistException < Struct.new(
3759
+ :message,
3760
+ :request_id)
3761
+ include Aws::Structure
3762
+ end
3763
+
3341
3764
  # Initiates the verification of an existing trust relationship between
3342
3765
  # an AWS Managed Microsoft AD directory and an external domain.
3343
3766
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-directoryservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement