aws-sdk-directoryservice 1.86.0 → 1.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-directoryservice/client.rb +565 -12
- data/lib/aws-sdk-directoryservice/client_api.rb +303 -0
- data/lib/aws-sdk-directoryservice/errors.rb +21 -0
- data/lib/aws-sdk-directoryservice/types.rb +754 -7
- data/lib/aws-sdk-directoryservice/waiters.rb +120 -0
- data/lib/aws-sdk-directoryservice.rb +2 -1
- data/sig/client.rbs +111 -0
- data/sig/errors.rbs +4 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +188 -0
- data/sig/waiters.rbs +12 -0
- metadata +4 -3
@@ -0,0 +1,120 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::DirectoryService
|
13
|
+
# Waiters are utility methods that poll for a particular state to occur
|
14
|
+
# on a client. Waiters can fail after a number of attempts at a polling
|
15
|
+
# interval defined for the service client.
|
16
|
+
#
|
17
|
+
# For a list of operations that can be waited for and the
|
18
|
+
# client methods called for each operation, see the table below or the
|
19
|
+
# {Client#wait_until} field documentation for the {Client}.
|
20
|
+
#
|
21
|
+
# # Invoking a Waiter
|
22
|
+
# To invoke a waiter, call #wait_until on a {Client}. The first parameter
|
23
|
+
# is the waiter name, which is specific to the service client and indicates
|
24
|
+
# which operation is being waited for. The second parameter is a hash of
|
25
|
+
# parameters that are passed to the client method called by the waiter,
|
26
|
+
# which varies according to the waiter name.
|
27
|
+
#
|
28
|
+
# # Wait Failures
|
29
|
+
# To catch errors in a waiter, use WaiterFailed,
|
30
|
+
# as shown in the following example.
|
31
|
+
#
|
32
|
+
# rescue rescue Aws::Waiters::Errors::WaiterFailed => error
|
33
|
+
# puts "failed waiting for instance running: #{error.message}
|
34
|
+
# end
|
35
|
+
#
|
36
|
+
# # Configuring a Waiter
|
37
|
+
# Each waiter has a default polling interval and a maximum number of
|
38
|
+
# attempts it will make before returning control to your program.
|
39
|
+
# To set these values, use the `max_attempts` and `delay` parameters
|
40
|
+
# in your `#wait_until` call.
|
41
|
+
# The following example waits for up to 25 seconds, polling every five seconds.
|
42
|
+
#
|
43
|
+
# client.wait_until(...) do |w|
|
44
|
+
# w.max_attempts = 5
|
45
|
+
# w.delay = 5
|
46
|
+
# end
|
47
|
+
#
|
48
|
+
# To disable wait failures, set the value of either of these parameters
|
49
|
+
# to `nil`.
|
50
|
+
#
|
51
|
+
# # Extending a Waiter
|
52
|
+
# To modify the behavior of waiters, you can register callbacks that are
|
53
|
+
# triggered before each polling attempt and before waiting.
|
54
|
+
#
|
55
|
+
# The following example implements an exponential backoff in a waiter
|
56
|
+
# by doubling the amount of time to wait on every attempt.
|
57
|
+
#
|
58
|
+
# client.wait_until(...) do |w|
|
59
|
+
# w.interval = 0 # disable normal sleep
|
60
|
+
# w.before_wait do |n, resp|
|
61
|
+
# sleep(n ** 2)
|
62
|
+
# end
|
63
|
+
# end
|
64
|
+
#
|
65
|
+
# # Available Waiters
|
66
|
+
#
|
67
|
+
# The following table lists the valid waiter names, the operations they call,
|
68
|
+
# and the default `:delay` and `:max_attempts` values.
|
69
|
+
#
|
70
|
+
# | waiter_name | params | :delay | :max_attempts |
|
71
|
+
# | ----------------- | ---------------------------------- | -------- | ------------- |
|
72
|
+
# | hybrid_ad_updated | {Client#describe_hybrid_ad_update} | 120 | 60 |
|
73
|
+
#
|
74
|
+
module Waiters
|
75
|
+
|
76
|
+
class HybridADUpdated
|
77
|
+
|
78
|
+
# @param [Hash] options
|
79
|
+
# @option options [required, Client] :client
|
80
|
+
# @option options [Integer] :max_attempts (60)
|
81
|
+
# @option options [Integer] :delay (120)
|
82
|
+
# @option options [Proc] :before_attempt
|
83
|
+
# @option options [Proc] :before_wait
|
84
|
+
def initialize(options)
|
85
|
+
@client = options.fetch(:client)
|
86
|
+
@waiter = Aws::Waiters::Waiter.new({
|
87
|
+
max_attempts: 60,
|
88
|
+
delay: 120,
|
89
|
+
poller: Aws::Waiters::Poller.new(
|
90
|
+
operation_name: :describe_hybrid_ad_update,
|
91
|
+
acceptors: [
|
92
|
+
{
|
93
|
+
"state" => "success",
|
94
|
+
"matcher" => "pathAll",
|
95
|
+
"argument" => "update_activities.self_managed_instances[].status",
|
96
|
+
"expected" => "Updated"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"state" => "failure",
|
100
|
+
"matcher" => "pathAny",
|
101
|
+
"argument" => "update_activities.self_managed_instances[].status",
|
102
|
+
"expected" => "UpdateFailed"
|
103
|
+
}
|
104
|
+
]
|
105
|
+
)
|
106
|
+
}.merge(options))
|
107
|
+
end
|
108
|
+
|
109
|
+
# @option (see Client#describe_hybrid_ad_update)
|
110
|
+
# @return (see Client#describe_hybrid_ad_update)
|
111
|
+
def wait(params = {})
|
112
|
+
@waiter.wait(client: @client, params: params)
|
113
|
+
end
|
114
|
+
|
115
|
+
# @api private
|
116
|
+
attr_reader :waiter
|
117
|
+
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
@@ -49,12 +49,13 @@ module Aws::DirectoryService
|
|
49
49
|
end
|
50
50
|
autoload :Client, 'aws-sdk-directoryservice/client'
|
51
51
|
autoload :Errors, 'aws-sdk-directoryservice/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-directoryservice/waiters'
|
52
53
|
autoload :Resource, 'aws-sdk-directoryservice/resource'
|
53
54
|
autoload :EndpointParameters, 'aws-sdk-directoryservice/endpoint_parameters'
|
54
55
|
autoload :EndpointProvider, 'aws-sdk-directoryservice/endpoint_provider'
|
55
56
|
autoload :Endpoints, 'aws-sdk-directoryservice/endpoints'
|
56
57
|
|
57
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.88.0'
|
58
59
|
|
59
60
|
end
|
60
61
|
|
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -235,6 +236,23 @@ module Aws
|
|
235
236
|
) -> _CreateDirectoryResponseSuccess
|
236
237
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDirectoryResponseSuccess
|
237
238
|
|
239
|
+
interface _CreateHybridADResponseSuccess
|
240
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateHybridADResult]
|
241
|
+
def directory_id: () -> ::String
|
242
|
+
end
|
243
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#create_hybrid_ad-instance_method
|
244
|
+
def create_hybrid_ad: (
|
245
|
+
secret_arn: ::String,
|
246
|
+
assessment_id: ::String,
|
247
|
+
?tags: Array[
|
248
|
+
{
|
249
|
+
key: ::String,
|
250
|
+
value: ::String
|
251
|
+
},
|
252
|
+
]
|
253
|
+
) -> _CreateHybridADResponseSuccess
|
254
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHybridADResponseSuccess
|
255
|
+
|
238
256
|
interface _CreateLogSubscriptionResponseSuccess
|
239
257
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLogSubscriptionResult]
|
240
258
|
end
|
@@ -296,6 +314,16 @@ module Aws
|
|
296
314
|
) -> _CreateTrustResponseSuccess
|
297
315
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrustResponseSuccess
|
298
316
|
|
317
|
+
interface _DeleteADAssessmentResponseSuccess
|
318
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteADAssessmentResult]
|
319
|
+
def assessment_id: () -> ::String
|
320
|
+
end
|
321
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#delete_ad_assessment-instance_method
|
322
|
+
def delete_ad_assessment: (
|
323
|
+
assessment_id: ::String
|
324
|
+
) -> _DeleteADAssessmentResponseSuccess
|
325
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteADAssessmentResponseSuccess
|
326
|
+
|
299
327
|
interface _DeleteConditionalForwarderResponseSuccess
|
300
328
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteConditionalForwarderResult]
|
301
329
|
end
|
@@ -366,6 +394,17 @@ module Aws
|
|
366
394
|
) -> _DeregisterEventTopicResponseSuccess
|
367
395
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterEventTopicResponseSuccess
|
368
396
|
|
397
|
+
interface _DescribeADAssessmentResponseSuccess
|
398
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeADAssessmentResult]
|
399
|
+
def assessment: () -> Types::Assessment
|
400
|
+
def assessment_reports: () -> ::Array[Types::AssessmentReport]
|
401
|
+
end
|
402
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#describe_ad_assessment-instance_method
|
403
|
+
def describe_ad_assessment: (
|
404
|
+
assessment_id: ::String
|
405
|
+
) -> _DescribeADAssessmentResponseSuccess
|
406
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeADAssessmentResponseSuccess
|
407
|
+
|
369
408
|
interface _DescribeCertificateResponseSuccess
|
370
409
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCertificateResult]
|
371
410
|
def certificate: () -> Types::Certificate
|
@@ -450,6 +489,19 @@ module Aws
|
|
450
489
|
) -> _DescribeEventTopicsResponseSuccess
|
451
490
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEventTopicsResponseSuccess
|
452
491
|
|
492
|
+
interface _DescribeHybridADUpdateResponseSuccess
|
493
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeHybridADUpdateResult]
|
494
|
+
def update_activities: () -> Types::HybridUpdateActivities
|
495
|
+
def next_token: () -> ::String
|
496
|
+
end
|
497
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#describe_hybrid_ad_update-instance_method
|
498
|
+
def describe_hybrid_ad_update: (
|
499
|
+
directory_id: ::String,
|
500
|
+
?update_type: ("SelfManagedInstances" | "HybridAdministratorAccount"),
|
501
|
+
?next_token: ::String
|
502
|
+
) -> _DescribeHybridADUpdateResponseSuccess
|
503
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeHybridADUpdateResponseSuccess
|
504
|
+
|
453
505
|
interface _DescribeLDAPSSettingsResponseSuccess
|
454
506
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLDAPSSettingsResult]
|
455
507
|
def ldaps_settings_info: () -> ::Array[Types::LDAPSSettingInfo]
|
@@ -674,6 +726,19 @@ module Aws
|
|
674
726
|
) -> _GetSnapshotLimitsResponseSuccess
|
675
727
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSnapshotLimitsResponseSuccess
|
676
728
|
|
729
|
+
interface _ListADAssessmentsResponseSuccess
|
730
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListADAssessmentsResult]
|
731
|
+
def assessments: () -> ::Array[Types::AssessmentSummary]
|
732
|
+
def next_token: () -> ::String
|
733
|
+
end
|
734
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#list_ad_assessments-instance_method
|
735
|
+
def list_ad_assessments: (
|
736
|
+
?directory_id: ::String,
|
737
|
+
?next_token: ::String,
|
738
|
+
?limit: ::Integer
|
739
|
+
) -> _ListADAssessmentsResponseSuccess
|
740
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListADAssessmentsResponseSuccess
|
741
|
+
|
677
742
|
interface _ListCertificatesResponseSuccess
|
678
743
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListCertificatesResult]
|
679
744
|
def next_token: () -> ::String
|
@@ -839,6 +904,26 @@ module Aws
|
|
839
904
|
) -> _ShareDirectoryResponseSuccess
|
840
905
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ShareDirectoryResponseSuccess
|
841
906
|
|
907
|
+
interface _StartADAssessmentResponseSuccess
|
908
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartADAssessmentResult]
|
909
|
+
def assessment_id: () -> ::String
|
910
|
+
end
|
911
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#start_ad_assessment-instance_method
|
912
|
+
def start_ad_assessment: (
|
913
|
+
?assessment_configuration: {
|
914
|
+
customer_dns_ips: Array[::String],
|
915
|
+
dns_name: ::String,
|
916
|
+
vpc_settings: {
|
917
|
+
vpc_id: ::String,
|
918
|
+
subnet_ids: Array[::String]
|
919
|
+
},
|
920
|
+
instance_ids: Array[::String],
|
921
|
+
security_group_ids: Array[::String]?
|
922
|
+
},
|
923
|
+
?directory_id: ::String
|
924
|
+
) -> _StartADAssessmentResponseSuccess
|
925
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartADAssessmentResponseSuccess
|
926
|
+
|
842
927
|
interface _StartSchemaExtensionResponseSuccess
|
843
928
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartSchemaExtensionResult]
|
844
929
|
def schema_extension_id: () -> ::String
|
@@ -891,6 +976,24 @@ module Aws
|
|
891
976
|
) -> _UpdateDirectorySetupResponseSuccess
|
892
977
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDirectorySetupResponseSuccess
|
893
978
|
|
979
|
+
interface _UpdateHybridADResponseSuccess
|
980
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHybridADResult]
|
981
|
+
def directory_id: () -> ::String
|
982
|
+
def assessment_id: () -> ::String
|
983
|
+
end
|
984
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#update_hybrid_ad-instance_method
|
985
|
+
def update_hybrid_ad: (
|
986
|
+
directory_id: ::String,
|
987
|
+
?hybrid_administrator_account_update: {
|
988
|
+
secret_arn: ::String
|
989
|
+
},
|
990
|
+
?self_managed_instances_settings: {
|
991
|
+
customer_dns_ips: Array[::String],
|
992
|
+
instance_ids: Array[::String]
|
993
|
+
}
|
994
|
+
) -> _UpdateHybridADResponseSuccess
|
995
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHybridADResponseSuccess
|
996
|
+
|
894
997
|
interface _UpdateNumberOfDomainControllersResponseSuccess
|
895
998
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNumberOfDomainControllersResult]
|
896
999
|
end
|
@@ -957,6 +1060,14 @@ module Aws
|
|
957
1060
|
trust_id: ::String
|
958
1061
|
) -> _VerifyTrustResponseSuccess
|
959
1062
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyTrustResponseSuccess
|
1063
|
+
|
1064
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#wait_until-instance_method
|
1065
|
+
def wait_until: (:hybrid_ad_updated waiter_name,
|
1066
|
+
directory_id: ::String,
|
1067
|
+
?update_type: ("SelfManagedInstances" | "HybridAdministratorAccount"),
|
1068
|
+
?next_token: ::String
|
1069
|
+
) -> Client::_DescribeHybridADUpdateResponseSuccess
|
1070
|
+
| (:hybrid_ad_updated waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeHybridADUpdateResponseSuccess
|
960
1071
|
end
|
961
1072
|
end
|
962
1073
|
end
|
data/sig/errors.rbs
CHANGED
@@ -11,6 +11,10 @@ module Aws
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
12
12
|
end
|
13
13
|
|
14
|
+
class ADAssessmentLimitExceededException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
def request_id: () -> ::String
|
17
|
+
end
|
14
18
|
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
19
|
def message: () -> ::String
|
16
20
|
def request_id: () -> ::String
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/types.rbs
CHANGED
@@ -8,6 +8,12 @@
|
|
8
8
|
module Aws::DirectoryService
|
9
9
|
module Types
|
10
10
|
|
11
|
+
class ADAssessmentLimitExceededException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
attr_accessor request_id: ::String
|
14
|
+
SENSITIVE: []
|
15
|
+
end
|
16
|
+
|
11
17
|
class AcceptSharedDirectoryRequest
|
12
18
|
attr_accessor shared_directory_id: ::String
|
13
19
|
SENSITIVE: []
|
@@ -53,6 +59,63 @@ module Aws::DirectoryService
|
|
53
59
|
class AddTagsToResourceResult < Aws::EmptyStructure
|
54
60
|
end
|
55
61
|
|
62
|
+
class Assessment
|
63
|
+
attr_accessor assessment_id: ::String
|
64
|
+
attr_accessor directory_id: ::String
|
65
|
+
attr_accessor dns_name: ::String
|
66
|
+
attr_accessor start_time: ::Time
|
67
|
+
attr_accessor last_update_date_time: ::Time
|
68
|
+
attr_accessor status: ::String
|
69
|
+
attr_accessor status_code: ::String
|
70
|
+
attr_accessor status_reason: ::String
|
71
|
+
attr_accessor customer_dns_ips: ::Array[::String]
|
72
|
+
attr_accessor vpc_id: ::String
|
73
|
+
attr_accessor subnet_ids: ::Array[::String]
|
74
|
+
attr_accessor security_group_ids: ::Array[::String]
|
75
|
+
attr_accessor self_managed_instance_ids: ::Array[::String]
|
76
|
+
attr_accessor report_type: ::String
|
77
|
+
attr_accessor version: ::String
|
78
|
+
SENSITIVE: []
|
79
|
+
end
|
80
|
+
|
81
|
+
class AssessmentConfiguration
|
82
|
+
attr_accessor customer_dns_ips: ::Array[::String]
|
83
|
+
attr_accessor dns_name: ::String
|
84
|
+
attr_accessor vpc_settings: Types::DirectoryVpcSettings
|
85
|
+
attr_accessor instance_ids: ::Array[::String]
|
86
|
+
attr_accessor security_group_ids: ::Array[::String]
|
87
|
+
SENSITIVE: []
|
88
|
+
end
|
89
|
+
|
90
|
+
class AssessmentReport
|
91
|
+
attr_accessor domain_controller_ip: ::String
|
92
|
+
attr_accessor validations: ::Array[Types::AssessmentValidation]
|
93
|
+
SENSITIVE: []
|
94
|
+
end
|
95
|
+
|
96
|
+
class AssessmentSummary
|
97
|
+
attr_accessor assessment_id: ::String
|
98
|
+
attr_accessor directory_id: ::String
|
99
|
+
attr_accessor dns_name: ::String
|
100
|
+
attr_accessor start_time: ::Time
|
101
|
+
attr_accessor last_update_date_time: ::Time
|
102
|
+
attr_accessor status: ::String
|
103
|
+
attr_accessor customer_dns_ips: ::Array[::String]
|
104
|
+
attr_accessor report_type: ::String
|
105
|
+
SENSITIVE: []
|
106
|
+
end
|
107
|
+
|
108
|
+
class AssessmentValidation
|
109
|
+
attr_accessor category: ::String
|
110
|
+
attr_accessor name: ::String
|
111
|
+
attr_accessor status: ::String
|
112
|
+
attr_accessor status_code: ::String
|
113
|
+
attr_accessor status_reason: ::String
|
114
|
+
attr_accessor start_time: ::Time
|
115
|
+
attr_accessor last_update_date_time: ::Time
|
116
|
+
SENSITIVE: []
|
117
|
+
end
|
118
|
+
|
56
119
|
class Attribute
|
57
120
|
attr_accessor name: ::String
|
58
121
|
attr_accessor value: ::String
|
@@ -219,6 +282,18 @@ module Aws::DirectoryService
|
|
219
282
|
SENSITIVE: []
|
220
283
|
end
|
221
284
|
|
285
|
+
class CreateHybridADRequest
|
286
|
+
attr_accessor secret_arn: ::String
|
287
|
+
attr_accessor assessment_id: ::String
|
288
|
+
attr_accessor tags: ::Array[Types::Tag]
|
289
|
+
SENSITIVE: []
|
290
|
+
end
|
291
|
+
|
292
|
+
class CreateHybridADResult
|
293
|
+
attr_accessor directory_id: ::String
|
294
|
+
SENSITIVE: []
|
295
|
+
end
|
296
|
+
|
222
297
|
class CreateLogSubscriptionRequest
|
223
298
|
attr_accessor directory_id: ::String
|
224
299
|
attr_accessor log_group_name: ::String
|
@@ -271,6 +346,16 @@ module Aws::DirectoryService
|
|
271
346
|
SENSITIVE: []
|
272
347
|
end
|
273
348
|
|
349
|
+
class DeleteADAssessmentRequest
|
350
|
+
attr_accessor assessment_id: ::String
|
351
|
+
SENSITIVE: []
|
352
|
+
end
|
353
|
+
|
354
|
+
class DeleteADAssessmentResult
|
355
|
+
attr_accessor assessment_id: ::String
|
356
|
+
SENSITIVE: []
|
357
|
+
end
|
358
|
+
|
274
359
|
class DeleteConditionalForwarderRequest
|
275
360
|
attr_accessor directory_id: ::String
|
276
361
|
attr_accessor remote_domain_name: ::String
|
@@ -337,6 +422,17 @@ module Aws::DirectoryService
|
|
337
422
|
class DeregisterEventTopicResult < Aws::EmptyStructure
|
338
423
|
end
|
339
424
|
|
425
|
+
class DescribeADAssessmentRequest
|
426
|
+
attr_accessor assessment_id: ::String
|
427
|
+
SENSITIVE: []
|
428
|
+
end
|
429
|
+
|
430
|
+
class DescribeADAssessmentResult
|
431
|
+
attr_accessor assessment: Types::Assessment
|
432
|
+
attr_accessor assessment_reports: ::Array[Types::AssessmentReport]
|
433
|
+
SENSITIVE: []
|
434
|
+
end
|
435
|
+
|
340
436
|
class DescribeCertificateRequest
|
341
437
|
attr_accessor directory_id: ::String
|
342
438
|
attr_accessor certificate_id: ::String
|
@@ -421,6 +517,19 @@ module Aws::DirectoryService
|
|
421
517
|
SENSITIVE: []
|
422
518
|
end
|
423
519
|
|
520
|
+
class DescribeHybridADUpdateRequest
|
521
|
+
attr_accessor directory_id: ::String
|
522
|
+
attr_accessor update_type: ("SelfManagedInstances" | "HybridAdministratorAccount")
|
523
|
+
attr_accessor next_token: ::String
|
524
|
+
SENSITIVE: []
|
525
|
+
end
|
526
|
+
|
527
|
+
class DescribeHybridADUpdateResult
|
528
|
+
attr_accessor update_activities: Types::HybridUpdateActivities
|
529
|
+
attr_accessor next_token: ::String
|
530
|
+
SENSITIVE: []
|
531
|
+
end
|
532
|
+
|
424
533
|
class DescribeLDAPSSettingsRequest
|
425
534
|
attr_accessor directory_id: ::String
|
426
535
|
attr_accessor type: ("Client")
|
@@ -575,6 +684,7 @@ module Aws::DirectoryService
|
|
575
684
|
attr_accessor owner_directory_description: Types::OwnerDirectoryDescription
|
576
685
|
attr_accessor regions_info: Types::RegionsInfo
|
577
686
|
attr_accessor os_version: ("SERVER_2012" | "SERVER_2019")
|
687
|
+
attr_accessor hybrid_settings: Types::HybridSettingsDescription
|
578
688
|
SENSITIVE: [:share_notes]
|
579
689
|
end
|
580
690
|
|
@@ -783,6 +893,47 @@ module Aws::DirectoryService
|
|
783
893
|
SENSITIVE: []
|
784
894
|
end
|
785
895
|
|
896
|
+
class HybridAdministratorAccountUpdate
|
897
|
+
attr_accessor secret_arn: ::String
|
898
|
+
SENSITIVE: []
|
899
|
+
end
|
900
|
+
|
901
|
+
class HybridCustomerInstancesSettings
|
902
|
+
attr_accessor customer_dns_ips: ::Array[::String]
|
903
|
+
attr_accessor instance_ids: ::Array[::String]
|
904
|
+
SENSITIVE: []
|
905
|
+
end
|
906
|
+
|
907
|
+
class HybridSettingsDescription
|
908
|
+
attr_accessor self_managed_dns_ip_addrs: ::Array[::String]
|
909
|
+
attr_accessor self_managed_instance_ids: ::Array[::String]
|
910
|
+
SENSITIVE: []
|
911
|
+
end
|
912
|
+
|
913
|
+
class HybridUpdateActivities
|
914
|
+
attr_accessor self_managed_instances: ::Array[Types::HybridUpdateInfoEntry]
|
915
|
+
attr_accessor hybrid_administrator_account: ::Array[Types::HybridUpdateInfoEntry]
|
916
|
+
SENSITIVE: []
|
917
|
+
end
|
918
|
+
|
919
|
+
class HybridUpdateInfoEntry
|
920
|
+
attr_accessor status: ("Updated" | "Updating" | "UpdateFailed")
|
921
|
+
attr_accessor status_reason: ::String
|
922
|
+
attr_accessor initiated_by: ::String
|
923
|
+
attr_accessor new_value: Types::HybridUpdateValue
|
924
|
+
attr_accessor previous_value: Types::HybridUpdateValue
|
925
|
+
attr_accessor start_time: ::Time
|
926
|
+
attr_accessor last_updated_date_time: ::Time
|
927
|
+
attr_accessor assessment_id: ::String
|
928
|
+
SENSITIVE: []
|
929
|
+
end
|
930
|
+
|
931
|
+
class HybridUpdateValue
|
932
|
+
attr_accessor instance_ids: ::Array[::String]
|
933
|
+
attr_accessor dns_ips: ::Array[::String]
|
934
|
+
SENSITIVE: []
|
935
|
+
end
|
936
|
+
|
786
937
|
class IncompatibleSettingsException
|
787
938
|
attr_accessor message: ::String
|
788
939
|
attr_accessor request_id: ::String
|
@@ -866,6 +1017,19 @@ module Aws::DirectoryService
|
|
866
1017
|
SENSITIVE: []
|
867
1018
|
end
|
868
1019
|
|
1020
|
+
class ListADAssessmentsRequest
|
1021
|
+
attr_accessor directory_id: ::String
|
1022
|
+
attr_accessor next_token: ::String
|
1023
|
+
attr_accessor limit: ::Integer
|
1024
|
+
SENSITIVE: []
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
class ListADAssessmentsResult
|
1028
|
+
attr_accessor assessments: ::Array[Types::AssessmentSummary]
|
1029
|
+
attr_accessor next_token: ::String
|
1030
|
+
SENSITIVE: []
|
1031
|
+
end
|
1032
|
+
|
869
1033
|
class ListCertificatesRequest
|
870
1034
|
attr_accessor directory_id: ::String
|
871
1035
|
attr_accessor next_token: ::String
|
@@ -1177,6 +1341,17 @@ module Aws::DirectoryService
|
|
1177
1341
|
SENSITIVE: []
|
1178
1342
|
end
|
1179
1343
|
|
1344
|
+
class StartADAssessmentRequest
|
1345
|
+
attr_accessor assessment_configuration: Types::AssessmentConfiguration
|
1346
|
+
attr_accessor directory_id: ::String
|
1347
|
+
SENSITIVE: []
|
1348
|
+
end
|
1349
|
+
|
1350
|
+
class StartADAssessmentResult
|
1351
|
+
attr_accessor assessment_id: ::String
|
1352
|
+
SENSITIVE: []
|
1353
|
+
end
|
1354
|
+
|
1180
1355
|
class StartSchemaExtensionRequest
|
1181
1356
|
attr_accessor directory_id: ::String
|
1182
1357
|
attr_accessor create_snapshot_before_schema_extension: bool
|
@@ -1267,6 +1442,19 @@ module Aws::DirectoryService
|
|
1267
1442
|
class UpdateDirectorySetupResult < Aws::EmptyStructure
|
1268
1443
|
end
|
1269
1444
|
|
1445
|
+
class UpdateHybridADRequest
|
1446
|
+
attr_accessor directory_id: ::String
|
1447
|
+
attr_accessor hybrid_administrator_account_update: Types::HybridAdministratorAccountUpdate
|
1448
|
+
attr_accessor self_managed_instances_settings: Types::HybridCustomerInstancesSettings
|
1449
|
+
SENSITIVE: []
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
class UpdateHybridADResult
|
1453
|
+
attr_accessor directory_id: ::String
|
1454
|
+
attr_accessor assessment_id: ::String
|
1455
|
+
SENSITIVE: []
|
1456
|
+
end
|
1457
|
+
|
1270
1458
|
class UpdateInfoEntry
|
1271
1459
|
attr_accessor region: ::String
|
1272
1460
|
attr_accessor status: ("Updated" | "Updating" | "UpdateFailed")
|
data/sig/waiters.rbs
CHANGED
@@ -8,6 +8,18 @@
|
|
8
8
|
module Aws
|
9
9
|
module DirectoryService
|
10
10
|
module Waiters
|
11
|
+
|
12
|
+
class HybridADUpdated
|
13
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
14
|
+
| (?Hash[Symbol, untyped]) -> void
|
15
|
+
|
16
|
+
def wait: (
|
17
|
+
directory_id: ::String,
|
18
|
+
?update_type: ("SelfManagedInstances" | "HybridAdministratorAccount"),
|
19
|
+
?next_token: ::String
|
20
|
+
) -> Client::_DescribeHybridADUpdateResponseSuccess
|
21
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeHybridADUpdateResponseSuccess
|
22
|
+
end
|
11
23
|
end
|
12
24
|
end
|
13
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-directoryservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.88.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.227.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- lib/aws-sdk-directoryservice/plugins/endpoints.rb
|
66
66
|
- lib/aws-sdk-directoryservice/resource.rb
|
67
67
|
- lib/aws-sdk-directoryservice/types.rb
|
68
|
+
- lib/aws-sdk-directoryservice/waiters.rb
|
68
69
|
- sig/client.rbs
|
69
70
|
- sig/errors.rbs
|
70
71
|
- sig/resource.rbs
|