aws-sdk-directoryservice 1.1.0 → 1.2.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: ff6aef931bd03017f137390eabdc7aed597f9e67
4
- data.tar.gz: c3eb73ef26aad8c11a779216dc2c042e1b6d6269
3
+ metadata.gz: fd2a359d4ee0d74e61ea78dbdb9bc33778732684
4
+ data.tar.gz: f0fb1f963d6a1e8a474f10e56a8d4661b1827e2f
5
5
  SHA512:
6
- metadata.gz: d1e2a1a2f2616dec3e0a606b9529903fb6d8dfbf6f59f59547f48ccbde788147c370baa5eba924593b657165209d9f0d8e7078b999f6a3e8f3ae3d902e99ed42
7
- data.tar.gz: 59a98fd8650de425a56bdd54671e2cd34e2ae917e84ad12d3062d15c705720e4bd6604a3a458f8a928cecfbaf87bcae24c51e5b6a6d8728137a3bd02560c2644
6
+ metadata.gz: 37dbe774c457f2bdbedb978a41e4606bbcfde472f756370ff2085d469f640a5d1ce72f49e0ce49d7f0b8679df0e3a7aae5aa0a1b374593a7be3ea1efae807c67
7
+ data.tar.gz: 21e3e87cba3b5dd53e3bca566eb1b69a45eded21048d5bc2139475a6ef42add1016682f2cb219bdf2e8cc8696d55f33956708f0e3dad8c7b5b51bc464a22bd91
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-directoryservice/customizations'
42
42
  # @service
43
43
  module Aws::DirectoryService
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -1700,6 +1700,38 @@ module Aws::DirectoryService
1700
1700
  req.send_request(options)
1701
1701
  end
1702
1702
 
1703
+ # Resets the password for any user in your AWS Managed Microsoft AD or
1704
+ # Simple AD directory.
1705
+ #
1706
+ # @option params [required, String] :directory_id
1707
+ # Identifier of the AWS Managed Microsoft AD or Simple AD directory in
1708
+ # which the user resides.
1709
+ #
1710
+ # @option params [required, String] :user_name
1711
+ # The username of the user whose password will be reset.
1712
+ #
1713
+ # @option params [required, String] :new_password
1714
+ # The new password that will be reset.
1715
+ #
1716
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1717
+ #
1718
+ # @example Request syntax with placeholder values
1719
+ #
1720
+ # resp = client.reset_user_password({
1721
+ # directory_id: "DirectoryId", # required
1722
+ # user_name: "CustomerUserName", # required
1723
+ # new_password: "UserPassword", # required
1724
+ # })
1725
+ #
1726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ResetUserPassword AWS API Documentation
1727
+ #
1728
+ # @overload reset_user_password(params = {})
1729
+ # @param [Hash] params ({})
1730
+ def reset_user_password(params = {}, options = {})
1731
+ req = build_request(:reset_user_password, params)
1732
+ req.send_request(options)
1733
+ end
1734
+
1703
1735
  # Restores a directory using an existing directory snapshot.
1704
1736
  #
1705
1737
  # When you restore a directory from a snapshot, any changes made to the
@@ -1925,7 +1957,7 @@ module Aws::DirectoryService
1925
1957
  params: params,
1926
1958
  config: config)
1927
1959
  context[:gem_name] = 'aws-sdk-directoryservice'
1928
- context[:gem_version] = '1.1.0'
1960
+ context[:gem_version] = '1.2.0'
1929
1961
  Seahorse::Client::Request.new(handlers, context)
1930
1962
  end
1931
1963
 
@@ -56,6 +56,7 @@ module Aws::DirectoryService
56
56
  CreateTrustRequest = Shapes::StructureShape.new(name: 'CreateTrustRequest')
57
57
  CreateTrustResult = Shapes::StructureShape.new(name: 'CreateTrustResult')
58
58
  CreatedDateTime = Shapes::TimestampShape.new(name: 'CreatedDateTime')
59
+ CustomerUserName = Shapes::StringShape.new(name: 'CustomerUserName')
59
60
  DeleteAssociatedConditionalForwarder = Shapes::BooleanShape.new(name: 'DeleteAssociatedConditionalForwarder')
60
61
  DeleteConditionalForwarderRequest = Shapes::StructureShape.new(name: 'DeleteConditionalForwarderRequest')
61
62
  DeleteConditionalForwarderResult = Shapes::StructureShape.new(name: 'DeleteConditionalForwarderResult')
@@ -127,6 +128,7 @@ module Aws::DirectoryService
127
128
  InsufficientPermissionsException = Shapes::StructureShape.new(name: 'InsufficientPermissionsException')
128
129
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
129
130
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
131
+ InvalidPasswordException = Shapes::StructureShape.new(name: 'InvalidPasswordException')
130
132
  IpAddr = Shapes::StringShape.new(name: 'IpAddr')
131
133
  IpAddrs = Shapes::ListShape.new(name: 'IpAddrs')
132
134
  IpRoute = Shapes::StructureShape.new(name: 'IpRoute')
@@ -168,6 +170,8 @@ module Aws::DirectoryService
168
170
  RemoveTagsFromResourceResult = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceResult')
169
171
  ReplicationScope = Shapes::StringShape.new(name: 'ReplicationScope')
170
172
  RequestId = Shapes::StringShape.new(name: 'RequestId')
173
+ ResetUserPasswordRequest = Shapes::StructureShape.new(name: 'ResetUserPasswordRequest')
174
+ ResetUserPasswordResult = Shapes::StructureShape.new(name: 'ResetUserPasswordResult')
171
175
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
172
176
  RestoreFromSnapshotRequest = Shapes::StructureShape.new(name: 'RestoreFromSnapshotRequest')
173
177
  RestoreFromSnapshotResult = Shapes::StructureShape.new(name: 'RestoreFromSnapshotResult')
@@ -227,7 +231,9 @@ module Aws::DirectoryService
227
231
  UpdateRadiusResult = Shapes::StructureShape.new(name: 'UpdateRadiusResult')
228
232
  UpdateSecurityGroupForDirectoryControllers = Shapes::BooleanShape.new(name: 'UpdateSecurityGroupForDirectoryControllers')
229
233
  UseSameUsername = Shapes::BooleanShape.new(name: 'UseSameUsername')
234
+ UserDoesNotExistException = Shapes::StructureShape.new(name: 'UserDoesNotExistException')
230
235
  UserName = Shapes::StringShape.new(name: 'UserName')
236
+ UserPassword = Shapes::StringShape.new(name: 'UserPassword')
231
237
  VerifyTrustRequest = Shapes::StructureShape.new(name: 'VerifyTrustRequest')
232
238
  VerifyTrustResult = Shapes::StructureShape.new(name: 'VerifyTrustResult')
233
239
  VpcId = Shapes::StringShape.new(name: 'VpcId')
@@ -632,6 +638,13 @@ module Aws::DirectoryService
632
638
 
633
639
  RemoveTagsFromResourceResult.struct_class = Types::RemoveTagsFromResourceResult
634
640
 
641
+ ResetUserPasswordRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
642
+ ResetUserPasswordRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: CustomerUserName, required: true, location_name: "UserName"))
643
+ ResetUserPasswordRequest.add_member(:new_password, Shapes::ShapeRef.new(shape: UserPassword, required: true, location_name: "NewPassword"))
644
+ ResetUserPasswordRequest.struct_class = Types::ResetUserPasswordRequest
645
+
646
+ ResetUserPasswordResult.struct_class = Types::ResetUserPasswordResult
647
+
635
648
  RestoreFromSnapshotRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "SnapshotId"))
636
649
  RestoreFromSnapshotRequest.struct_class = Types::RestoreFromSnapshotRequest
637
650
 
@@ -1186,6 +1199,21 @@ module Aws::DirectoryService
1186
1199
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1187
1200
  end)
1188
1201
 
1202
+ api.add_operation(:reset_user_password, Seahorse::Model::Operation.new.tap do |o|
1203
+ o.name = "ResetUserPassword"
1204
+ o.http_method = "POST"
1205
+ o.http_request_uri = "/"
1206
+ o.input = Shapes::ShapeRef.new(shape: ResetUserPasswordRequest)
1207
+ o.output = Shapes::ShapeRef.new(shape: ResetUserPasswordResult)
1208
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
1209
+ o.errors << Shapes::ShapeRef.new(shape: UserDoesNotExistException)
1210
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPasswordException)
1211
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1212
+ o.errors << Shapes::ShapeRef.new(shape: EntityDoesNotExistException)
1213
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1214
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1215
+ end)
1216
+
1189
1217
  api.add_operation(:restore_from_snapshot, Seahorse::Model::Operation.new.tap do |o|
1190
1218
  o.name = "RestoreFromSnapshot"
1191
1219
  o.http_method = "POST"
@@ -2285,6 +2285,41 @@ module Aws::DirectoryService
2285
2285
  #
2286
2286
  class RemoveTagsFromResourceResult < Aws::EmptyStructure; end
2287
2287
 
2288
+ # @note When making an API call, you may pass ResetUserPasswordRequest
2289
+ # data as a hash:
2290
+ #
2291
+ # {
2292
+ # directory_id: "DirectoryId", # required
2293
+ # user_name: "CustomerUserName", # required
2294
+ # new_password: "UserPassword", # required
2295
+ # }
2296
+ #
2297
+ # @!attribute [rw] directory_id
2298
+ # Identifier of the AWS Managed Microsoft AD or Simple AD directory in
2299
+ # which the user resides.
2300
+ # @return [String]
2301
+ #
2302
+ # @!attribute [rw] user_name
2303
+ # The username of the user whose password will be reset.
2304
+ # @return [String]
2305
+ #
2306
+ # @!attribute [rw] new_password
2307
+ # The new password that will be reset.
2308
+ # @return [String]
2309
+ #
2310
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ResetUserPasswordRequest AWS API Documentation
2311
+ #
2312
+ class ResetUserPasswordRequest < Struct.new(
2313
+ :directory_id,
2314
+ :user_name,
2315
+ :new_password)
2316
+ include Aws::Structure
2317
+ end
2318
+
2319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ResetUserPasswordResult AWS API Documentation
2320
+ #
2321
+ class ResetUserPasswordResult < Aws::EmptyStructure; end
2322
+
2288
2323
  # An object representing the inputs for the RestoreFromSnapshot
2289
2324
  # operation.
2290
2325
  #
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.1.0
4
+ version: 1.2.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-01-09 00:00:00.000000000 Z
11
+ date: 2018-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.5.1
78
+ rubygems_version: 2.5.2.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - Directory Service