aws-sdk-storagegateway 1.26.0 → 1.27.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: 6cfe69614173b1532948b647022c67bb57bb3154
4
- data.tar.gz: 47672c616d5b43c6e6c2edca85d43ea3eedb5441
3
+ metadata.gz: 259ddae6ae4de9736c8f20bae21d379aa76227a2
4
+ data.tar.gz: 5ea63144baa165ad1346605f132f6ec217653e1d
5
5
  SHA512:
6
- metadata.gz: d0d1d36d939f4d906b169eb2f07bce2eda71924cc7db411c72e97fc91ec4ce300c7d95da6e9d4726e5176f90a9ce68a00604320a3d520d0cab40615335866e43
7
- data.tar.gz: 8d472097e6e8608fa4ea0d6dc549a13f8f1171934769fba2c0a2e490d47e37fbe72c4ce8fe0a09be4deaed197f119438761ee33087124393e4a0473918ec2f66
6
+ metadata.gz: fcbe86cd3a1d104132658ffd9e6f251d29e87a2672a35703d74b2f5744e53cf32294662be54a7c4d479056e67b27f63811389156e2d83fb1ef97f09d4f71bd1d
7
+ data.tar.gz: bee63625767b93386b0323965c8e51e90dd373bd100bb502e1339f785b5e0f2af85c3690400b479fddd5e3fd3fa63599ab8b94d2fa0f2daf47ab369e43f74e3c
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-storagegateway/customizations'
42
42
  # @service
43
43
  module Aws::StorageGateway
44
44
 
45
- GEM_VERSION = '1.26.0'
45
+ GEM_VERSION = '1.27.0'
46
46
 
47
47
  end
@@ -2633,6 +2633,7 @@ module Aws::StorageGateway
2633
2633
  # * {Types::DescribeGatewayInformationOutput#ec2_instance_id #ec2_instance_id} => String
2634
2634
  # * {Types::DescribeGatewayInformationOutput#ec2_instance_region #ec2_instance_region} => String
2635
2635
  # * {Types::DescribeGatewayInformationOutput#tags #tags} => Array<Types::Tag>
2636
+ # * {Types::DescribeGatewayInformationOutput#vpc_endpoint #vpc_endpoint} => String
2636
2637
  #
2637
2638
  #
2638
2639
  # @example Example: To describe metadata about the gateway
@@ -2686,6 +2687,7 @@ module Aws::StorageGateway
2686
2687
  # resp.tags #=> Array
2687
2688
  # resp.tags[0].key #=> String
2688
2689
  # resp.tags[0].value #=> String
2690
+ # resp.vpc_endpoint #=> String
2689
2691
  #
2690
2692
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformation AWS API Documentation
2691
2693
  #
@@ -2879,6 +2881,7 @@ module Aws::StorageGateway
2879
2881
  # * {Types::DescribeSMBSettingsOutput#gateway_arn #gateway_arn} => String
2880
2882
  # * {Types::DescribeSMBSettingsOutput#domain_name #domain_name} => String
2881
2883
  # * {Types::DescribeSMBSettingsOutput#smb_guest_password_set #smb_guest_password_set} => Boolean
2884
+ # * {Types::DescribeSMBSettingsOutput#smb_security_strategy #smb_security_strategy} => String
2882
2885
  #
2883
2886
  # @example Request syntax with placeholder values
2884
2887
  #
@@ -2891,6 +2894,7 @@ module Aws::StorageGateway
2891
2894
  # resp.gateway_arn #=> String
2892
2895
  # resp.domain_name #=> String
2893
2896
  # resp.smb_guest_password_set #=> Boolean
2897
+ # resp.smb_security_strategy #=> String, one of "ClientSpecified", "MandatorySigning", "MandatoryEncryption"
2894
2898
  #
2895
2899
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettings AWS API Documentation
2896
2900
  #
@@ -5448,6 +5452,49 @@ module Aws::StorageGateway
5448
5452
  req.send_request(options)
5449
5453
  end
5450
5454
 
5455
+ # Updates the SMB security strategy on a file gateway. This action is
5456
+ # only supported in file gateways.
5457
+ #
5458
+ # @option params [required, String] :gateway_arn
5459
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
5460
+ # operation to return a list of gateways for your account and region.
5461
+ #
5462
+ # @option params [required, String] :smb_security_strategy
5463
+ # Specifies the type of security strategy.
5464
+ #
5465
+ # ClientSpecified: SMBv1 is enabled, SMB signing is offered but not
5466
+ # required, SMB encryption is offered but not required.
5467
+ #
5468
+ # MandatorySigning: SMBv1 is disabled, SMB signing is required, SMB
5469
+ # encryption is offered but not required.
5470
+ #
5471
+ # MandatoryEncryption: SMBv1 is disabled, SMB signing is offered but not
5472
+ # required, SMB encryption is required.
5473
+ #
5474
+ # @return [Types::UpdateSMBSecurityStrategyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5475
+ #
5476
+ # * {Types::UpdateSMBSecurityStrategyOutput#gateway_arn #gateway_arn} => String
5477
+ #
5478
+ # @example Request syntax with placeholder values
5479
+ #
5480
+ # resp = client.update_smb_security_strategy({
5481
+ # gateway_arn: "GatewayARN", # required
5482
+ # smb_security_strategy: "ClientSpecified", # required, accepts ClientSpecified, MandatorySigning, MandatoryEncryption
5483
+ # })
5484
+ #
5485
+ # @example Response structure
5486
+ #
5487
+ # resp.gateway_arn #=> String
5488
+ #
5489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBSecurityStrategy AWS API Documentation
5490
+ #
5491
+ # @overload update_smb_security_strategy(params = {})
5492
+ # @param [Hash] params ({})
5493
+ def update_smb_security_strategy(params = {}, options = {})
5494
+ req = build_request(:update_smb_security_strategy, params)
5495
+ req.send_request(options)
5496
+ end
5497
+
5451
5498
  # Updates a snapshot schedule configured for a gateway volume. This
5452
5499
  # operation is only supported in the cached volume and stored volume
5453
5500
  # gateway types.
@@ -5604,7 +5651,7 @@ module Aws::StorageGateway
5604
5651
  params: params,
5605
5652
  config: config)
5606
5653
  context[:gem_name] = 'aws-sdk-storagegateway'
5607
- context[:gem_version] = '1.26.0'
5654
+ context[:gem_version] = '1.27.0'
5608
5655
  Seahorse::Client::Request.new(handlers, context)
5609
5656
  end
5610
5657
 
@@ -221,6 +221,7 @@ module Aws::StorageGateway
221
221
  SMBFileShareInfo = Shapes::StructureShape.new(name: 'SMBFileShareInfo')
222
222
  SMBFileShareInfoList = Shapes::ListShape.new(name: 'SMBFileShareInfoList')
223
223
  SMBGuestPassword = Shapes::StringShape.new(name: 'SMBGuestPassword')
224
+ SMBSecurityStrategy = Shapes::StringShape.new(name: 'SMBSecurityStrategy')
224
225
  ServiceUnavailableError = Shapes::StructureShape.new(name: 'ServiceUnavailableError')
225
226
  SetLocalConsolePasswordInput = Shapes::StructureShape.new(name: 'SetLocalConsolePasswordInput')
226
227
  SetLocalConsolePasswordOutput = Shapes::StructureShape.new(name: 'SetLocalConsolePasswordOutput')
@@ -277,6 +278,8 @@ module Aws::StorageGateway
277
278
  UpdateNFSFileShareOutput = Shapes::StructureShape.new(name: 'UpdateNFSFileShareOutput')
278
279
  UpdateSMBFileShareInput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareInput')
279
280
  UpdateSMBFileShareOutput = Shapes::StructureShape.new(name: 'UpdateSMBFileShareOutput')
281
+ UpdateSMBSecurityStrategyInput = Shapes::StructureShape.new(name: 'UpdateSMBSecurityStrategyInput')
282
+ UpdateSMBSecurityStrategyOutput = Shapes::StructureShape.new(name: 'UpdateSMBSecurityStrategyOutput')
280
283
  UpdateSnapshotScheduleInput = Shapes::StructureShape.new(name: 'UpdateSnapshotScheduleInput')
281
284
  UpdateSnapshotScheduleOutput = Shapes::StructureShape.new(name: 'UpdateSnapshotScheduleOutput')
282
285
  UpdateVTLDeviceTypeInput = Shapes::StructureShape.new(name: 'UpdateVTLDeviceTypeInput')
@@ -623,6 +626,7 @@ module Aws::StorageGateway
623
626
  DescribeGatewayInformationOutput.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: Ec2InstanceId, location_name: "Ec2InstanceId"))
624
627
  DescribeGatewayInformationOutput.add_member(:ec2_instance_region, Shapes::ShapeRef.new(shape: Ec2InstanceRegion, location_name: "Ec2InstanceRegion"))
625
628
  DescribeGatewayInformationOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
629
+ DescribeGatewayInformationOutput.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "VPCEndpoint"))
626
630
  DescribeGatewayInformationOutput.struct_class = Types::DescribeGatewayInformationOutput
627
631
 
628
632
  DescribeMaintenanceStartTimeInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
@@ -654,6 +658,7 @@ module Aws::StorageGateway
654
658
  DescribeSMBSettingsOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
655
659
  DescribeSMBSettingsOutput.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
656
660
  DescribeSMBSettingsOutput.add_member(:smb_guest_password_set, Shapes::ShapeRef.new(shape: Boolean, location_name: "SMBGuestPasswordSet"))
661
+ DescribeSMBSettingsOutput.add_member(:smb_security_strategy, Shapes::ShapeRef.new(shape: SMBSecurityStrategy, location_name: "SMBSecurityStrategy"))
657
662
  DescribeSMBSettingsOutput.struct_class = Types::DescribeSMBSettingsOutput
658
663
 
659
664
  DescribeSnapshotScheduleInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
@@ -1170,6 +1175,13 @@ module Aws::StorageGateway
1170
1175
  UpdateSMBFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
1171
1176
  UpdateSMBFileShareOutput.struct_class = Types::UpdateSMBFileShareOutput
1172
1177
 
1178
+ UpdateSMBSecurityStrategyInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
1179
+ UpdateSMBSecurityStrategyInput.add_member(:smb_security_strategy, Shapes::ShapeRef.new(shape: SMBSecurityStrategy, required: true, location_name: "SMBSecurityStrategy"))
1180
+ UpdateSMBSecurityStrategyInput.struct_class = Types::UpdateSMBSecurityStrategyInput
1181
+
1182
+ UpdateSMBSecurityStrategyOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
1183
+ UpdateSMBSecurityStrategyOutput.struct_class = Types::UpdateSMBSecurityStrategyOutput
1184
+
1173
1185
  UpdateSnapshotScheduleInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
1174
1186
  UpdateSnapshotScheduleInput.add_member(:start_at, Shapes::ShapeRef.new(shape: HourOfDay, required: true, location_name: "StartAt"))
1175
1187
  UpdateSnapshotScheduleInput.add_member(:recurrence_in_hours, Shapes::ShapeRef.new(shape: RecurrenceInHours, required: true, location_name: "RecurrenceInHours"))
@@ -2003,6 +2015,16 @@ module Aws::StorageGateway
2003
2015
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2004
2016
  end)
2005
2017
 
2018
+ api.add_operation(:update_smb_security_strategy, Seahorse::Model::Operation.new.tap do |o|
2019
+ o.name = "UpdateSMBSecurityStrategy"
2020
+ o.http_method = "POST"
2021
+ o.http_request_uri = "/"
2022
+ o.input = Shapes::ShapeRef.new(shape: UpdateSMBSecurityStrategyInput)
2023
+ o.output = Shapes::ShapeRef.new(shape: UpdateSMBSecurityStrategyOutput)
2024
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
2025
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2026
+ end)
2027
+
2006
2028
  api.add_operation(:update_snapshot_schedule, Seahorse::Model::Operation.new.tap do |o|
2007
2029
  o.name = "UpdateSnapshotSchedule"
2008
2030
  o.http_method = "POST"
@@ -2285,6 +2285,11 @@ module Aws::StorageGateway
2285
2285
  # the `ListTagsForResource` API operation.
2286
2286
  # @return [Array<Types::Tag>]
2287
2287
  #
2288
+ # @!attribute [rw] vpc_endpoint
2289
+ # The configuration settings for the virtual private cloud (VPC)
2290
+ # endpoint for your gateway.
2291
+ # @return [String]
2292
+ #
2288
2293
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformationOutput AWS API Documentation
2289
2294
  #
2290
2295
  class DescribeGatewayInformationOutput < Struct.new(
@@ -2299,7 +2304,8 @@ module Aws::StorageGateway
2299
2304
  :last_software_update,
2300
2305
  :ec2_instance_id,
2301
2306
  :ec2_instance_region,
2302
- :tags)
2307
+ :tags,
2308
+ :vpc_endpoint)
2303
2309
  include Aws::Structure
2304
2310
  end
2305
2311
 
@@ -2489,12 +2495,26 @@ module Aws::StorageGateway
2489
2495
  # set, and otherwise false.
2490
2496
  # @return [Boolean]
2491
2497
  #
2498
+ # @!attribute [rw] smb_security_strategy
2499
+ # The type of security strategy that was specified for file gateway.
2500
+ #
2501
+ # ClientSpecified: SMBv1 is enabled, SMB signing is offered but not
2502
+ # required, SMB encryption is offered but not required.
2503
+ #
2504
+ # MandatorySigning: SMBv1 is disabled, SMB signing is required, SMB
2505
+ # encryption is offered but not required.
2506
+ #
2507
+ # MandatoryEncryption: SMBv1 is disabled, SMB signing is offered but
2508
+ # not required, SMB encryption is required.
2509
+ # @return [String]
2510
+ #
2492
2511
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettingsOutput AWS API Documentation
2493
2512
  #
2494
2513
  class DescribeSMBSettingsOutput < Struct.new(
2495
2514
  :gateway_arn,
2496
2515
  :domain_name,
2497
- :smb_guest_password_set)
2516
+ :smb_guest_password_set,
2517
+ :smb_security_strategy)
2498
2518
  include Aws::Structure
2499
2519
  end
2500
2520
 
@@ -5568,6 +5588,52 @@ module Aws::StorageGateway
5568
5588
  include Aws::Structure
5569
5589
  end
5570
5590
 
5591
+ # @note When making an API call, you may pass UpdateSMBSecurityStrategyInput
5592
+ # data as a hash:
5593
+ #
5594
+ # {
5595
+ # gateway_arn: "GatewayARN", # required
5596
+ # smb_security_strategy: "ClientSpecified", # required, accepts ClientSpecified, MandatorySigning, MandatoryEncryption
5597
+ # }
5598
+ #
5599
+ # @!attribute [rw] gateway_arn
5600
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
5601
+ # operation to return a list of gateways for your account and region.
5602
+ # @return [String]
5603
+ #
5604
+ # @!attribute [rw] smb_security_strategy
5605
+ # Specifies the type of security strategy.
5606
+ #
5607
+ # ClientSpecified: SMBv1 is enabled, SMB signing is offered but not
5608
+ # required, SMB encryption is offered but not required.
5609
+ #
5610
+ # MandatorySigning: SMBv1 is disabled, SMB signing is required, SMB
5611
+ # encryption is offered but not required.
5612
+ #
5613
+ # MandatoryEncryption: SMBv1 is disabled, SMB signing is offered but
5614
+ # not required, SMB encryption is required.
5615
+ # @return [String]
5616
+ #
5617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBSecurityStrategyInput AWS API Documentation
5618
+ #
5619
+ class UpdateSMBSecurityStrategyInput < Struct.new(
5620
+ :gateway_arn,
5621
+ :smb_security_strategy)
5622
+ include Aws::Structure
5623
+ end
5624
+
5625
+ # @!attribute [rw] gateway_arn
5626
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
5627
+ # operation to return a list of gateways for your account and region.
5628
+ # @return [String]
5629
+ #
5630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBSecurityStrategyOutput AWS API Documentation
5631
+ #
5632
+ class UpdateSMBSecurityStrategyOutput < Struct.new(
5633
+ :gateway_arn)
5634
+ include Aws::Structure
5635
+ end
5636
+
5571
5637
  # A JSON object containing one or more of the following fields:
5572
5638
  #
5573
5639
  # * UpdateSnapshotScheduleInput$Description
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.26.0
4
+ version: 1.27.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-28 00:00:00.000000000 Z
11
+ date: 2019-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core