aws-sdk-storagegateway 1.36.0 → 1.37.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1966791fe4ffd1150cba1f17924ab1f193df10c4
4
- data.tar.gz: 24d46f2a7bee282796f7ad79ae0e17b390bc6edf
3
+ metadata.gz: c4774326e22e8c7537a73af655386e21081ecda0
4
+ data.tar.gz: 2ae9ed67b83e8e2aa9fe5a3e49ab35ead9ea0549
5
5
  SHA512:
6
- metadata.gz: 8bea1f89bc98d85405f71367058a4db16a4bee3e42855ff68a63f9ed632b71b308ae46117cfaa28d610394f2e5192225b70cc38c7a31f61fd830d1a35c9c4437
7
- data.tar.gz: 601d5d8760aa052e76ee3ce6a22b4444fde090daa1ca1dd390cc244b23f4cfc62ae06f13cc484d8e3fbfdae532fe56694327ad8723e7f972edd9ce02d8ca5850
6
+ metadata.gz: 6c1979acc34616bd52bcdc1d246d95bfa78de65e66f3dc70544ff4668bff77794ee4fe38a8c413712e5fe9a58871b2c13ff7468a533d8731131286eabc8c813b
7
+ data.tar.gz: d6176192887a84587b1f515ea412e75fa5b799e0ba5f12d6f78f7f6f83a9ececae10e903714a8257573d2ca45686181abce23d226812a7d77bf00f10c3f708df
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-storagegateway/customizations'
45
45
  # @service
46
46
  module Aws::StorageGateway
47
47
 
48
- GEM_VERSION = '1.36.0'
48
+ GEM_VERSION = '1.37.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:storagegateway)
32
32
  module Aws::StorageGateway
33
33
  # An API client for StorageGateway. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::StorageGateway::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::StorageGateway::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::StorageGateway
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -275,8 +279,7 @@ module Aws::StorageGateway
275
279
  #
276
280
  # @option options [Integer] :http_read_timeout (60) The default
277
281
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
282
+ # safely be set per-request on the session.
280
283
  #
281
284
  # @option options [Float] :http_idle_timeout (5) The number of
282
285
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +291,7 @@ module Aws::StorageGateway
288
291
  # request body. This option has no effect unless the request has
289
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
293
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
294
+ # request on the session.
292
295
  #
293
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
297
  # HTTP debug output will be sent to the `:logger`.
@@ -1271,8 +1274,7 @@ module Aws::StorageGateway
1271
1274
  # ensure idempotent file share creation.
1272
1275
  #
1273
1276
  # @option params [required, String] :gateway_arn
1274
- # The Amazon Resource Name (ARN) of the file gateway on which you want
1275
- # to create a file share.
1277
+ # The ARN of the file gateway on which you want to create a file share.
1276
1278
  #
1277
1279
  # @option params [Boolean] :kms_encrypted
1278
1280
  # True to use Amazon S3 server side encryption with your own AWS KMS
@@ -1352,6 +1354,9 @@ module Aws::StorageGateway
1352
1354
  # character. For example `@group1`. Can only be set if Authentication is
1353
1355
  # set to `ActiveDirectory`.
1354
1356
  #
1357
+ # @option params [String] :audit_destination_arn
1358
+ # The Amazon Resource Name (ARN) of the storage used for the audit logs.
1359
+ #
1355
1360
  # @option params [String] :authentication
1356
1361
  # The authentication method that users use to access the file share.
1357
1362
  #
@@ -1391,6 +1396,7 @@ module Aws::StorageGateway
1391
1396
  # admin_user_list: ["FileShareUser"],
1392
1397
  # valid_user_list: ["FileShareUser"],
1393
1398
  # invalid_user_list: ["FileShareUser"],
1399
+ # audit_destination_arn: "AuditDestinationARN",
1394
1400
  # authentication: "Authentication",
1395
1401
  # tags: [
1396
1402
  # {
@@ -2989,6 +2995,7 @@ module Aws::StorageGateway
2989
2995
  # resp.smb_file_share_info_list[0].valid_user_list[0] #=> String
2990
2996
  # resp.smb_file_share_info_list[0].invalid_user_list #=> Array
2991
2997
  # resp.smb_file_share_info_list[0].invalid_user_list[0] #=> String
2998
+ # resp.smb_file_share_info_list[0].audit_destination_arn #=> String
2992
2999
  # resp.smb_file_share_info_list[0].authentication #=> String
2993
3000
  # resp.smb_file_share_info_list[0].tags #=> Array
2994
3001
  # resp.smb_file_share_info_list[0].tags[0].key #=> String
@@ -3217,6 +3224,8 @@ module Aws::StorageGateway
3217
3224
  # * {Types::DescribeTapeArchivesOutput#tape_archives #tape_archives} => Array<Types::TapeArchive>
3218
3225
  # * {Types::DescribeTapeArchivesOutput#marker #marker} => String
3219
3226
  #
3227
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3228
+ #
3220
3229
  #
3221
3230
  # @example Example: To describe virtual tapes in the VTS
3222
3231
  #
@@ -3312,6 +3321,8 @@ module Aws::StorageGateway
3312
3321
  # * {Types::DescribeTapeRecoveryPointsOutput#tape_recovery_point_infos #tape_recovery_point_infos} => Array<Types::TapeRecoveryPointInfo>
3313
3322
  # * {Types::DescribeTapeRecoveryPointsOutput#marker #marker} => String
3314
3323
  #
3324
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3325
+ #
3315
3326
  #
3316
3327
  # @example Example: To describe virtual tape recovery points
3317
3328
  #
@@ -3400,6 +3411,8 @@ module Aws::StorageGateway
3400
3411
  # * {Types::DescribeTapesOutput#tapes #tapes} => Array<Types::Tape>
3401
3412
  # * {Types::DescribeTapesOutput#marker #marker} => String
3402
3413
  #
3414
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3415
+ #
3403
3416
  #
3404
3417
  # @example Example: To describe virtual tape(s) associated with gateway
3405
3418
  #
@@ -3587,6 +3600,8 @@ module Aws::StorageGateway
3587
3600
  # * {Types::DescribeVTLDevicesOutput#vtl_devices #vtl_devices} => Array<Types::VTLDevice>
3588
3601
  # * {Types::DescribeVTLDevicesOutput#marker #marker} => String
3589
3602
  #
3603
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3604
+ #
3590
3605
  #
3591
3606
  # @example Example: To describe virtual tape library (VTL) devices of a single gateway
3592
3607
  #
@@ -3933,6 +3948,8 @@ module Aws::StorageGateway
3933
3948
  # * {Types::ListFileSharesOutput#next_marker #next_marker} => String
3934
3949
  # * {Types::ListFileSharesOutput#file_share_info_list #file_share_info_list} => Array<Types::FileShareInfo>
3935
3950
  #
3951
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3952
+ #
3936
3953
  # @example Request syntax with placeholder values
3937
3954
  #
3938
3955
  # resp = client.list_file_shares({
@@ -3987,6 +4004,8 @@ module Aws::StorageGateway
3987
4004
  # * {Types::ListGatewaysOutput#gateways #gateways} => Array<Types::GatewayInfo>
3988
4005
  # * {Types::ListGatewaysOutput#marker #marker} => String
3989
4006
  #
4007
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4008
+ #
3990
4009
  #
3991
4010
  # @example Example: To lists region specific gateways per AWS account
3992
4011
  #
@@ -4145,6 +4164,8 @@ module Aws::StorageGateway
4145
4164
  # * {Types::ListTagsForResourceOutput#marker #marker} => String
4146
4165
  # * {Types::ListTagsForResourceOutput#tags #tags} => Array<Types::Tag>
4147
4166
  #
4167
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4168
+ #
4148
4169
  #
4149
4170
  # @example Example: To list tags that have been added to a resource
4150
4171
  #
@@ -4225,6 +4246,8 @@ module Aws::StorageGateway
4225
4246
  # * {Types::ListTapesOutput#tape_infos #tape_infos} => Array<Types::TapeInfo>
4226
4247
  # * {Types::ListTapesOutput#marker #marker} => String
4227
4248
  #
4249
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4250
+ #
4228
4251
  # @example Request syntax with placeholder values
4229
4252
  #
4230
4253
  # resp = client.list_tapes({
@@ -4385,6 +4408,8 @@ module Aws::StorageGateway
4385
4408
  # * {Types::ListVolumesOutput#marker #marker} => String
4386
4409
  # * {Types::ListVolumesOutput#volume_infos #volume_infos} => Array<Types::VolumeInfo>
4387
4410
  #
4411
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4412
+ #
4388
4413
  #
4389
4414
  # @example Example: To list the iSCSI stored volumes of a gateway
4390
4415
  #
@@ -5655,6 +5680,9 @@ module Aws::StorageGateway
5655
5680
  # character. For example `@group1`. Can only be set if Authentication is
5656
5681
  # set to `ActiveDirectory`.
5657
5682
  #
5683
+ # @option params [String] :audit_destination_arn
5684
+ # The Amazon Resource Name (ARN) of the storage used for the audit logs.
5685
+ #
5658
5686
  # @return [Types::UpdateSMBFileShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5659
5687
  #
5660
5688
  # * {Types::UpdateSMBFileShareOutput#file_share_arn #file_share_arn} => String
@@ -5674,6 +5702,7 @@ module Aws::StorageGateway
5674
5702
  # admin_user_list: ["FileShareUser"],
5675
5703
  # valid_user_list: ["FileShareUser"],
5676
5704
  # invalid_user_list: ["FileShareUser"],
5705
+ # audit_destination_arn: "AuditDestinationARN",
5677
5706
  # })
5678
5707
  #
5679
5708
  # @example Response structure
@@ -5902,7 +5931,7 @@ module Aws::StorageGateway
5902
5931
  params: params,
5903
5932
  config: config)
5904
5933
  context[:gem_name] = 'aws-sdk-storagegateway'
5905
- context[:gem_version] = '1.36.0'
5934
+ context[:gem_version] = '1.37.0'
5906
5935
  Seahorse::Client::Request.new(handlers, context)
5907
5936
  end
5908
5937
 
@@ -27,6 +27,7 @@ module Aws::StorageGateway
27
27
  AssignTapePoolOutput = Shapes::StructureShape.new(name: 'AssignTapePoolOutput')
28
28
  AttachVolumeInput = Shapes::StructureShape.new(name: 'AttachVolumeInput')
29
29
  AttachVolumeOutput = Shapes::StructureShape.new(name: 'AttachVolumeOutput')
30
+ AuditDestinationARN = Shapes::StringShape.new(name: 'AuditDestinationARN')
30
31
  Authentication = Shapes::StringShape.new(name: 'Authentication')
31
32
  AvailabilityMonitorTestStatus = Shapes::StringShape.new(name: 'AvailabilityMonitorTestStatus')
32
33
  BandwidthDownloadRateLimit = Shapes::IntegerShape.new(name: 'BandwidthDownloadRateLimit')
@@ -468,6 +469,7 @@ module Aws::StorageGateway
468
469
  CreateSMBFileShareInput.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
469
470
  CreateSMBFileShareInput.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
470
471
  CreateSMBFileShareInput.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
472
+ CreateSMBFileShareInput.add_member(:audit_destination_arn, Shapes::ShapeRef.new(shape: AuditDestinationARN, location_name: "AuditDestinationARN"))
471
473
  CreateSMBFileShareInput.add_member(:authentication, Shapes::ShapeRef.new(shape: Authentication, location_name: "Authentication"))
472
474
  CreateSMBFileShareInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
473
475
  CreateSMBFileShareInput.struct_class = Types::CreateSMBFileShareInput
@@ -1008,6 +1010,7 @@ module Aws::StorageGateway
1008
1010
  SMBFileShareInfo.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
1009
1011
  SMBFileShareInfo.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
1010
1012
  SMBFileShareInfo.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
1013
+ SMBFileShareInfo.add_member(:audit_destination_arn, Shapes::ShapeRef.new(shape: AuditDestinationARN, location_name: "AuditDestinationARN"))
1011
1014
  SMBFileShareInfo.add_member(:authentication, Shapes::ShapeRef.new(shape: Authentication, location_name: "Authentication"))
1012
1015
  SMBFileShareInfo.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
1013
1016
  SMBFileShareInfo.struct_class = Types::SMBFileShareInfo
@@ -1201,6 +1204,7 @@ module Aws::StorageGateway
1201
1204
  UpdateSMBFileShareInput.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
1202
1205
  UpdateSMBFileShareInput.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
1203
1206
  UpdateSMBFileShareInput.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
1207
+ UpdateSMBFileShareInput.add_member(:audit_destination_arn, Shapes::ShapeRef.new(shape: AuditDestinationARN, location_name: "AuditDestinationARN"))
1204
1208
  UpdateSMBFileShareInput.struct_class = Types::UpdateSMBFileShareInput
1205
1209
 
1206
1210
  UpdateSMBFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::StorageGateway
9
- # This class provides a resource oriented interface for StorageGateway.
10
- # To create a resource object:
11
- # resource = Aws::StorageGateway::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::StorageGateway::Client.new(region: 'us-west-2')
15
- # resource = Aws::StorageGateway::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -1023,6 +1023,7 @@ module Aws::StorageGateway
1023
1023
  # admin_user_list: ["FileShareUser"],
1024
1024
  # valid_user_list: ["FileShareUser"],
1025
1025
  # invalid_user_list: ["FileShareUser"],
1026
+ # audit_destination_arn: "AuditDestinationARN",
1026
1027
  # authentication: "Authentication",
1027
1028
  # tags: [
1028
1029
  # {
@@ -1038,8 +1039,8 @@ module Aws::StorageGateway
1038
1039
  # @return [String]
1039
1040
  #
1040
1041
  # @!attribute [rw] gateway_arn
1041
- # The Amazon Resource Name (ARN) of the file gateway on which you want
1042
- # to create a file share.
1042
+ # The ARN of the file gateway on which you want to create a file
1043
+ # share.
1043
1044
  # @return [String]
1044
1045
  #
1045
1046
  # @!attribute [rw] kms_encrypted
@@ -1134,6 +1135,11 @@ module Aws::StorageGateway
1134
1135
  # Authentication is set to `ActiveDirectory`.
1135
1136
  # @return [Array<String>]
1136
1137
  #
1138
+ # @!attribute [rw] audit_destination_arn
1139
+ # The Amazon Resource Name (ARN) of the storage used for the audit
1140
+ # logs.
1141
+ # @return [String]
1142
+ #
1137
1143
  # @!attribute [rw] authentication
1138
1144
  # The authentication method that users use to access the file share.
1139
1145
  #
@@ -1171,6 +1177,7 @@ module Aws::StorageGateway
1171
1177
  :admin_user_list,
1172
1178
  :valid_user_list,
1173
1179
  :invalid_user_list,
1180
+ :audit_destination_arn,
1174
1181
  :authentication,
1175
1182
  :tags)
1176
1183
  include Aws::Structure
@@ -4625,6 +4632,11 @@ module Aws::StorageGateway
4625
4632
  # Authentication is set to `ActiveDirectory`.
4626
4633
  # @return [Array<String>]
4627
4634
  #
4635
+ # @!attribute [rw] audit_destination_arn
4636
+ # The Amazon Resource Name (ARN) of the storage used for the audit
4637
+ # logs.
4638
+ # @return [String]
4639
+ #
4628
4640
  # @!attribute [rw] authentication
4629
4641
  # The authentication method of the file share.
4630
4642
  #
@@ -4660,6 +4672,7 @@ module Aws::StorageGateway
4660
4672
  :admin_user_list,
4661
4673
  :valid_user_list,
4662
4674
  :invalid_user_list,
4675
+ :audit_destination_arn,
4663
4676
  :authentication,
4664
4677
  :tags)
4665
4678
  include Aws::Structure
@@ -5737,6 +5750,7 @@ module Aws::StorageGateway
5737
5750
  # admin_user_list: ["FileShareUser"],
5738
5751
  # valid_user_list: ["FileShareUser"],
5739
5752
  # invalid_user_list: ["FileShareUser"],
5753
+ # audit_destination_arn: "AuditDestinationARN",
5740
5754
  # }
5741
5755
  #
5742
5756
  # @!attribute [rw] file_share_arn
@@ -5824,6 +5838,11 @@ module Aws::StorageGateway
5824
5838
  # Authentication is set to `ActiveDirectory`.
5825
5839
  # @return [Array<String>]
5826
5840
  #
5841
+ # @!attribute [rw] audit_destination_arn
5842
+ # The Amazon Resource Name (ARN) of the storage used for the audit
5843
+ # logs.
5844
+ # @return [String]
5845
+ #
5827
5846
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareInput AWS API Documentation
5828
5847
  #
5829
5848
  class UpdateSMBFileShareInput < Struct.new(
@@ -5838,7 +5857,8 @@ module Aws::StorageGateway
5838
5857
  :smbacl_enabled,
5839
5858
  :admin_user_list,
5840
5859
  :valid_user_list,
5841
- :invalid_user_list)
5860
+ :invalid_user_list,
5861
+ :audit_destination_arn)
5842
5862
  include Aws::Structure
5843
5863
  end
5844
5864
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-storagegateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.37.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: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core