aws-sdk-directoryservice 1.5.0 → 1.6.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: ece05609a0755de117546c74c1d2eea7292a2923
4
- data.tar.gz: 6f2a1a033f6a5db7a7220f10fa35c007c01accb0
3
+ metadata.gz: 8321230608980191cd0f546a8190482fb7da7ca7
4
+ data.tar.gz: '08b82dd0d7c892806c9af1348db0e9012150d042'
5
5
  SHA512:
6
- metadata.gz: 1c374c32edc4b128c0d07d172d13bf770a6e8d5b29f1857dde1725c48f4790233221b86d5ca9af217ad5f8c98266ec26ce5859942c2d7c20304f05353234d962
7
- data.tar.gz: ee961ded5afe9b7863bf524f01823063c98e138ef5962908a387adb607ab6181ec54b4d509a6657c33c75bb06b81ceac36ef3b6e84590f647ecbc39f2153893e
6
+ metadata.gz: 2f845f0db50bf8da96959a77c52ec50c8c3f0e91d290fe4f302671b968379e866afb0fbcedcb99416429388782b8d840171ae972acf05d33eaaedf632e8e955c
7
+ data.tar.gz: '07068391febed9ddac66736a174a95d5c771847469754ef4a9a4aed9a3446d0500cd1b935c7f99700f7edb0da4f2e87cbeb6d88cbc384f749d6bba068fda43e0'
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-directoryservice/customizations'
42
42
  # @service
43
43
  module Aws::DirectoryService
44
44
 
45
- GEM_VERSION = '1.5.0'
45
+ GEM_VERSION = '1.6.0'
46
46
 
47
47
  end
@@ -621,6 +621,36 @@ module Aws::DirectoryService
621
621
  req.send_request(options)
622
622
  end
623
623
 
624
+ # Creates a subscription to forward real time Directory Service domain
625
+ # controller security logs to the specified CloudWatch log group in your
626
+ # AWS account.
627
+ #
628
+ # @option params [required, String] :directory_id
629
+ # Identifier (ID) of the directory to which you want to subscribe and
630
+ # receive real-time logs to your specified CloudWatch log group.
631
+ #
632
+ # @option params [required, String] :log_group_name
633
+ # The name of the CloudWatch log group where the real-time domain
634
+ # controller logs are forwarded.
635
+ #
636
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
637
+ #
638
+ # @example Request syntax with placeholder values
639
+ #
640
+ # resp = client.create_log_subscription({
641
+ # directory_id: "DirectoryId", # required
642
+ # log_group_name: "LogGroupName", # required
643
+ # })
644
+ #
645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateLogSubscription AWS API Documentation
646
+ #
647
+ # @overload create_log_subscription(params = {})
648
+ # @param [Hash] params ({})
649
+ def create_log_subscription(params = {}, options = {})
650
+ req = build_request(:create_log_subscription, params)
651
+ req.send_request(options)
652
+ end
653
+
624
654
  # Creates a Microsoft AD in the AWS cloud.
625
655
  #
626
656
  # Before you call *CreateMicrosoftAD*, ensure that all of the required
@@ -854,6 +884,29 @@ module Aws::DirectoryService
854
884
  req.send_request(options)
855
885
  end
856
886
 
887
+ # Deletes the specified log subscription.
888
+ #
889
+ # @option params [required, String] :directory_id
890
+ # Identifier (ID) of the directory whose log subscription you want to
891
+ # delete.
892
+ #
893
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
894
+ #
895
+ # @example Request syntax with placeholder values
896
+ #
897
+ # resp = client.delete_log_subscription({
898
+ # directory_id: "DirectoryId", # required
899
+ # })
900
+ #
901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteLogSubscription AWS API Documentation
902
+ #
903
+ # @overload delete_log_subscription(params = {})
904
+ # @param [Hash] params ({})
905
+ def delete_log_subscription(params = {}, options = {})
906
+ req = build_request(:delete_log_subscription, params)
907
+ req.send_request(options)
908
+ end
909
+
857
910
  # Deletes a directory snapshot.
858
911
  #
859
912
  # @option params [required, String] :snapshot_id
@@ -1558,6 +1611,51 @@ module Aws::DirectoryService
1558
1611
  req.send_request(options)
1559
1612
  end
1560
1613
 
1614
+ # Lists the active log subscriptions for the AWS account.
1615
+ #
1616
+ # @option params [String] :directory_id
1617
+ # If a *DirectoryID* is provided, lists only the log subscription
1618
+ # associated with that directory. If no *DirectoryId* is provided, lists
1619
+ # all log subscriptions associated with your AWS account. If there are
1620
+ # no log subscriptions for the AWS account or the directory, an empty
1621
+ # list will be returned.
1622
+ #
1623
+ # @option params [String] :next_token
1624
+ # The token for the next set of items to return.
1625
+ #
1626
+ # @option params [Integer] :limit
1627
+ # The maximum number of items returned.
1628
+ #
1629
+ # @return [Types::ListLogSubscriptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1630
+ #
1631
+ # * {Types::ListLogSubscriptionsResult#log_subscriptions #log_subscriptions} => Array<Types::LogSubscription>
1632
+ # * {Types::ListLogSubscriptionsResult#next_token #next_token} => String
1633
+ #
1634
+ # @example Request syntax with placeholder values
1635
+ #
1636
+ # resp = client.list_log_subscriptions({
1637
+ # directory_id: "DirectoryId",
1638
+ # next_token: "NextToken",
1639
+ # limit: 1,
1640
+ # })
1641
+ #
1642
+ # @example Response structure
1643
+ #
1644
+ # resp.log_subscriptions #=> Array
1645
+ # resp.log_subscriptions[0].directory_id #=> String
1646
+ # resp.log_subscriptions[0].log_group_name #=> String
1647
+ # resp.log_subscriptions[0].subscription_created_date_time #=> Time
1648
+ # resp.next_token #=> String
1649
+ #
1650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListLogSubscriptions AWS API Documentation
1651
+ #
1652
+ # @overload list_log_subscriptions(params = {})
1653
+ # @param [Hash] params ({})
1654
+ def list_log_subscriptions(params = {}, options = {})
1655
+ req = build_request(:list_log_subscriptions, params)
1656
+ req.send_request(options)
1657
+ end
1658
+
1561
1659
  # Lists all schema extensions applied to a Microsoft AD Directory.
1562
1660
  #
1563
1661
  # @option params [required, String] :directory_id
@@ -1988,7 +2086,7 @@ module Aws::DirectoryService
1988
2086
  params: params,
1989
2087
  config: config)
1990
2088
  context[:gem_name] = 'aws-sdk-directoryservice'
1991
- context[:gem_version] = '1.5.0'
2089
+ context[:gem_version] = '1.6.0'
1992
2090
  Seahorse::Client::Request.new(handlers, context)
1993
2091
  end
1994
2092
 
@@ -48,6 +48,8 @@ module Aws::DirectoryService
48
48
  CreateConditionalForwarderResult = Shapes::StructureShape.new(name: 'CreateConditionalForwarderResult')
49
49
  CreateDirectoryRequest = Shapes::StructureShape.new(name: 'CreateDirectoryRequest')
50
50
  CreateDirectoryResult = Shapes::StructureShape.new(name: 'CreateDirectoryResult')
51
+ CreateLogSubscriptionRequest = Shapes::StructureShape.new(name: 'CreateLogSubscriptionRequest')
52
+ CreateLogSubscriptionResult = Shapes::StructureShape.new(name: 'CreateLogSubscriptionResult')
51
53
  CreateMicrosoftADRequest = Shapes::StructureShape.new(name: 'CreateMicrosoftADRequest')
52
54
  CreateMicrosoftADResult = Shapes::StructureShape.new(name: 'CreateMicrosoftADResult')
53
55
  CreateSnapshotBeforeSchemaExtension = Shapes::BooleanShape.new(name: 'CreateSnapshotBeforeSchemaExtension')
@@ -62,6 +64,8 @@ module Aws::DirectoryService
62
64
  DeleteConditionalForwarderResult = Shapes::StructureShape.new(name: 'DeleteConditionalForwarderResult')
63
65
  DeleteDirectoryRequest = Shapes::StructureShape.new(name: 'DeleteDirectoryRequest')
64
66
  DeleteDirectoryResult = Shapes::StructureShape.new(name: 'DeleteDirectoryResult')
67
+ DeleteLogSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteLogSubscriptionRequest')
68
+ DeleteLogSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteLogSubscriptionResult')
65
69
  DeleteSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteSnapshotRequest')
66
70
  DeleteSnapshotResult = Shapes::StructureShape.new(name: 'DeleteSnapshotResult')
67
71
  DeleteTrustRequest = Shapes::StructureShape.new(name: 'DeleteTrustRequest')
@@ -144,10 +148,15 @@ module Aws::DirectoryService
144
148
  Limit = Shapes::IntegerShape.new(name: 'Limit')
145
149
  ListIpRoutesRequest = Shapes::StructureShape.new(name: 'ListIpRoutesRequest')
146
150
  ListIpRoutesResult = Shapes::StructureShape.new(name: 'ListIpRoutesResult')
151
+ ListLogSubscriptionsRequest = Shapes::StructureShape.new(name: 'ListLogSubscriptionsRequest')
152
+ ListLogSubscriptionsResult = Shapes::StructureShape.new(name: 'ListLogSubscriptionsResult')
147
153
  ListSchemaExtensionsRequest = Shapes::StructureShape.new(name: 'ListSchemaExtensionsRequest')
148
154
  ListSchemaExtensionsResult = Shapes::StructureShape.new(name: 'ListSchemaExtensionsResult')
149
155
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
150
156
  ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
157
+ LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
158
+ LogSubscription = Shapes::StructureShape.new(name: 'LogSubscription')
159
+ LogSubscriptions = Shapes::ListShape.new(name: 'LogSubscriptions')
151
160
  ManualSnapshotsLimitReached = Shapes::BooleanShape.new(name: 'ManualSnapshotsLimitReached')
152
161
  NextToken = Shapes::StringShape.new(name: 'NextToken')
153
162
  OrganizationalUnitDN = Shapes::StringShape.new(name: 'OrganizationalUnitDN')
@@ -203,6 +212,7 @@ module Aws::DirectoryService
203
212
  StateLastUpdatedDateTime = Shapes::TimestampShape.new(name: 'StateLastUpdatedDateTime')
204
213
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
205
214
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
215
+ SubscriptionCreatedDateTime = Shapes::TimestampShape.new(name: 'SubscriptionCreatedDateTime')
206
216
  Tag = Shapes::StructureShape.new(name: 'Tag')
207
217
  TagKey = Shapes::StringShape.new(name: 'TagKey')
208
218
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
@@ -326,6 +336,12 @@ module Aws::DirectoryService
326
336
  CreateDirectoryResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
327
337
  CreateDirectoryResult.struct_class = Types::CreateDirectoryResult
328
338
 
339
+ CreateLogSubscriptionRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
340
+ CreateLogSubscriptionRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "LogGroupName"))
341
+ CreateLogSubscriptionRequest.struct_class = Types::CreateLogSubscriptionRequest
342
+
343
+ CreateLogSubscriptionResult.struct_class = Types::CreateLogSubscriptionResult
344
+
329
345
  CreateMicrosoftADRequest.add_member(:name, Shapes::ShapeRef.new(shape: DirectoryName, required: true, location_name: "Name"))
330
346
  CreateMicrosoftADRequest.add_member(:short_name, Shapes::ShapeRef.new(shape: DirectoryShortName, location_name: "ShortName"))
331
347
  CreateMicrosoftADRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "Password"))
@@ -367,6 +383,11 @@ module Aws::DirectoryService
367
383
  DeleteDirectoryResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
368
384
  DeleteDirectoryResult.struct_class = Types::DeleteDirectoryResult
369
385
 
386
+ DeleteLogSubscriptionRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
387
+ DeleteLogSubscriptionRequest.struct_class = Types::DeleteLogSubscriptionRequest
388
+
389
+ DeleteLogSubscriptionResult.struct_class = Types::DeleteLogSubscriptionResult
390
+
370
391
  DeleteSnapshotRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "SnapshotId"))
371
392
  DeleteSnapshotRequest.struct_class = Types::DeleteSnapshotRequest
372
393
 
@@ -590,6 +611,15 @@ module Aws::DirectoryService
590
611
  ListIpRoutesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
591
612
  ListIpRoutesResult.struct_class = Types::ListIpRoutesResult
592
613
 
614
+ ListLogSubscriptionsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
615
+ ListLogSubscriptionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
616
+ ListLogSubscriptionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
617
+ ListLogSubscriptionsRequest.struct_class = Types::ListLogSubscriptionsRequest
618
+
619
+ ListLogSubscriptionsResult.add_member(:log_subscriptions, Shapes::ShapeRef.new(shape: LogSubscriptions, location_name: "LogSubscriptions"))
620
+ ListLogSubscriptionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
621
+ ListLogSubscriptionsResult.struct_class = Types::ListLogSubscriptionsResult
622
+
593
623
  ListSchemaExtensionsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
594
624
  ListSchemaExtensionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
595
625
  ListSchemaExtensionsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
@@ -608,6 +638,13 @@ module Aws::DirectoryService
608
638
  ListTagsForResourceResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
609
639
  ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
610
640
 
641
+ LogSubscription.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
642
+ LogSubscription.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "LogGroupName"))
643
+ LogSubscription.add_member(:subscription_created_date_time, Shapes::ShapeRef.new(shape: SubscriptionCreatedDateTime, location_name: "SubscriptionCreatedDateTime"))
644
+ LogSubscription.struct_class = Types::LogSubscription
645
+
646
+ LogSubscriptions.member = Shapes::ShapeRef.new(shape: LogSubscription)
647
+
611
648
  RadiusSettings.add_member(:radius_servers, Shapes::ShapeRef.new(shape: Servers, location_name: "RadiusServers"))
612
649
  RadiusSettings.add_member(:radius_port, Shapes::ShapeRef.new(shape: PortNumber, location_name: "RadiusPort"))
613
650
  RadiusSettings.add_member(:radius_timeout, Shapes::ShapeRef.new(shape: RadiusTimeout, location_name: "RadiusTimeout"))
@@ -868,6 +905,20 @@ module Aws::DirectoryService
868
905
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
869
906
  end)
870
907
 
908
+ api.add_operation(:create_log_subscription, Seahorse::Model::Operation.new.tap do |o|
909
+ o.name = "CreateLogSubscription"
910
+ o.http_method = "POST"
911
+ o.http_request_uri = "/"
912
+ o.input = Shapes::ShapeRef.new(shape: CreateLogSubscriptionRequest)
913
+ o.output = Shapes::ShapeRef.new(shape: CreateLogSubscriptionResult)
914
+ o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException)
915
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
916
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
917
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientPermissionsException)
918
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
919
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
920
+ end)
921
+
871
922
  api.add_operation(:create_microsoft_ad, Seahorse::Model::Operation.new.tap do |o|
872
923
  o.name = "CreateMicrosoftAD"
873
924
  o.http_method = "POST"
@@ -933,6 +984,18 @@ module Aws::DirectoryService
933
984
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
934
985
  end)
935
986
 
987
+ api.add_operation(:delete_log_subscription, Seahorse::Model::Operation.new.tap do |o|
988
+ o.name = "DeleteLogSubscription"
989
+ o.http_method = "POST"
990
+ o.http_request_uri = "/"
991
+ o.input = Shapes::ShapeRef.new(shape: DeleteLogSubscriptionRequest)
992
+ o.output = Shapes::ShapeRef.new(shape: DeleteLogSubscriptionResult)
993
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
994
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
995
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
996
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
997
+ end)
998
+
936
999
  api.add_operation(:delete_snapshot, Seahorse::Model::Operation.new.tap do |o|
937
1000
  o.name = "DeleteSnapshot"
938
1001
  o.http_method = "POST"
@@ -1141,6 +1204,18 @@ module Aws::DirectoryService
1141
1204
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1142
1205
  end)
1143
1206
 
1207
+ api.add_operation(:list_log_subscriptions, Seahorse::Model::Operation.new.tap do |o|
1208
+ o.name = "ListLogSubscriptions"
1209
+ o.http_method = "POST"
1210
+ o.http_request_uri = "/"
1211
+ o.input = Shapes::ShapeRef.new(shape: ListLogSubscriptionsRequest)
1212
+ o.output = Shapes::ShapeRef.new(shape: ListLogSubscriptionsResult)
1213
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
1214
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1215
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1216
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1217
+ end)
1218
+
1144
1219
  api.add_operation(:list_schema_extensions, Seahorse::Model::Operation.new.tap do |o|
1145
1220
  o.name = "ListSchemaExtensions"
1146
1221
  o.http_method = "POST"
@@ -552,6 +552,36 @@ module Aws::DirectoryService
552
552
  include Aws::Structure
553
553
  end
554
554
 
555
+ # @note When making an API call, you may pass CreateLogSubscriptionRequest
556
+ # data as a hash:
557
+ #
558
+ # {
559
+ # directory_id: "DirectoryId", # required
560
+ # log_group_name: "LogGroupName", # required
561
+ # }
562
+ #
563
+ # @!attribute [rw] directory_id
564
+ # Identifier (ID) of the directory to which you want to subscribe and
565
+ # receive real-time logs to your specified CloudWatch log group.
566
+ # @return [String]
567
+ #
568
+ # @!attribute [rw] log_group_name
569
+ # The name of the CloudWatch log group where the real-time domain
570
+ # controller logs are forwarded.
571
+ # @return [String]
572
+ #
573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateLogSubscriptionRequest AWS API Documentation
574
+ #
575
+ class CreateLogSubscriptionRequest < Struct.new(
576
+ :directory_id,
577
+ :log_group_name)
578
+ include Aws::Structure
579
+ end
580
+
581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateLogSubscriptionResult AWS API Documentation
582
+ #
583
+ class CreateLogSubscriptionResult < Aws::EmptyStructure; end
584
+
555
585
  # Creates a Microsoft AD in the AWS cloud.
556
586
  #
557
587
  # @note When making an API call, you may pass CreateMicrosoftADRequest
@@ -809,6 +839,29 @@ module Aws::DirectoryService
809
839
  include Aws::Structure
810
840
  end
811
841
 
842
+ # @note When making an API call, you may pass DeleteLogSubscriptionRequest
843
+ # data as a hash:
844
+ #
845
+ # {
846
+ # directory_id: "DirectoryId", # required
847
+ # }
848
+ #
849
+ # @!attribute [rw] directory_id
850
+ # Identifier (ID) of the directory whose log subscription you want to
851
+ # delete.
852
+ # @return [String]
853
+ #
854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteLogSubscriptionRequest AWS API Documentation
855
+ #
856
+ class DeleteLogSubscriptionRequest < Struct.new(
857
+ :directory_id)
858
+ include Aws::Structure
859
+ end
860
+
861
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteLogSubscriptionResult AWS API Documentation
862
+ #
863
+ class DeleteLogSubscriptionResult < Aws::EmptyStructure; end
864
+
812
865
  # Contains the inputs for the DeleteSnapshot operation.
813
866
  #
814
867
  # @note When making an API call, you may pass DeleteSnapshotRequest
@@ -2028,6 +2081,57 @@ module Aws::DirectoryService
2028
2081
  include Aws::Structure
2029
2082
  end
2030
2083
 
2084
+ # @note When making an API call, you may pass ListLogSubscriptionsRequest
2085
+ # data as a hash:
2086
+ #
2087
+ # {
2088
+ # directory_id: "DirectoryId",
2089
+ # next_token: "NextToken",
2090
+ # limit: 1,
2091
+ # }
2092
+ #
2093
+ # @!attribute [rw] directory_id
2094
+ # If a *DirectoryID* is provided, lists only the log subscription
2095
+ # associated with that directory. If no *DirectoryId* is provided,
2096
+ # lists all log subscriptions associated with your AWS account. If
2097
+ # there are no log subscriptions for the AWS account or the directory,
2098
+ # an empty list will be returned.
2099
+ # @return [String]
2100
+ #
2101
+ # @!attribute [rw] next_token
2102
+ # The token for the next set of items to return.
2103
+ # @return [String]
2104
+ #
2105
+ # @!attribute [rw] limit
2106
+ # The maximum number of items returned.
2107
+ # @return [Integer]
2108
+ #
2109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListLogSubscriptionsRequest AWS API Documentation
2110
+ #
2111
+ class ListLogSubscriptionsRequest < Struct.new(
2112
+ :directory_id,
2113
+ :next_token,
2114
+ :limit)
2115
+ include Aws::Structure
2116
+ end
2117
+
2118
+ # @!attribute [rw] log_subscriptions
2119
+ # A list of active LogSubscription objects for calling the AWS
2120
+ # account.
2121
+ # @return [Array<Types::LogSubscription>]
2122
+ #
2123
+ # @!attribute [rw] next_token
2124
+ # The token for the next set of items to return.
2125
+ # @return [String]
2126
+ #
2127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListLogSubscriptionsResult AWS API Documentation
2128
+ #
2129
+ class ListLogSubscriptionsResult < Struct.new(
2130
+ :log_subscriptions,
2131
+ :next_token)
2132
+ include Aws::Structure
2133
+ end
2134
+
2031
2135
  # @note When making an API call, you may pass ListSchemaExtensionsRequest
2032
2136
  # data as a hash:
2033
2137
  #
@@ -2125,6 +2229,31 @@ module Aws::DirectoryService
2125
2229
  include Aws::Structure
2126
2230
  end
2127
2231
 
2232
+ # Represents a log subscription, which tracks real-time data from a
2233
+ # chosen log group to a specified destination.
2234
+ #
2235
+ # @!attribute [rw] directory_id
2236
+ # Identifier (ID) of the directory that you want to associate with the
2237
+ # log subscription.
2238
+ # @return [String]
2239
+ #
2240
+ # @!attribute [rw] log_group_name
2241
+ # The name of the log group.
2242
+ # @return [String]
2243
+ #
2244
+ # @!attribute [rw] subscription_created_date_time
2245
+ # The date and time that the log subscription was created.
2246
+ # @return [Time]
2247
+ #
2248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/LogSubscription AWS API Documentation
2249
+ #
2250
+ class LogSubscription < Struct.new(
2251
+ :directory_id,
2252
+ :log_group_name,
2253
+ :subscription_created_date_time)
2254
+ include Aws::Structure
2255
+ end
2256
+
2128
2257
  # Contains information about a Remote Authentication Dial In User
2129
2258
  # Service (RADIUS) server.
2130
2259
  #
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.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core