aws-sdk-storagegateway 1.9.0 → 1.10.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: d706871273da5f334248a137de224b1a98305753
4
- data.tar.gz: 37ff34637f2c1c4c97d09de71c5df5c2513bccba
3
+ metadata.gz: d5d38335f2ecc127749ba1923ec4e1179aba6f81
4
+ data.tar.gz: 11a609a6106e7f549c3538c5ba5227dc483719a2
5
5
  SHA512:
6
- metadata.gz: b709bdbdfd3d7e3146b20b0be245c10f2702684f214ba41c641f62ca9ccf887702c7bef64dda19d260b7561670edc42f294fde69e75bba1d8d7033fce37c15f1
7
- data.tar.gz: 0e2e9a5549def225255b5ab3d3b5bc297a1706f51625f06e245b5fddd8ceaff9c1abcbd058cdf8201a44beb822c0ece6bb23b7822710f6bef711298c7cd9b3cc
6
+ metadata.gz: '0084d1d9719c2736cdf2475fe14d5bb3f0433205ad8f97ff61a3ca4d8b6a53e0d6de7b82d6d723831d12a17e42d60b570d289579fc66cb5664508599ca04b8cf'
7
+ data.tar.gz: 959676ebfbebdbecb17c8256f466e4a5a9a6bff70d87e4925b66f309262e04bbf99e8aed67c8fdc634e1a23b014a2bfe339ffe4893d2d8ca96b07cb150b07c5c
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-storagegateway/customizations'
42
42
  # @service
43
43
  module Aws::StorageGateway
44
44
 
45
- GEM_VERSION = '1.9.0'
45
+ GEM_VERSION = '1.10.0'
46
46
 
47
47
  end
@@ -242,7 +242,7 @@ module Aws::StorageGateway
242
242
  # @option params [String] :gateway_type
243
243
  # A value that defines the type of gateway to activate. The type
244
244
  # specified is critical to all later functions of the gateway and cannot
245
- # be changed after activation. The default value is `STORED`.
245
+ # be changed after activation. The default value is `CACHED`.
246
246
  #
247
247
  # Valid Values: "STORED", "CACHED", "VTL", "FILE\_S3"
248
248
  #
@@ -3856,23 +3856,51 @@ module Aws::StorageGateway
3856
3856
  # objects in the Amazon S3 bucket that were added, removed or replaced
3857
3857
  # since the gateway last listed the bucket's contents and cached the
3858
3858
  # results. This operation is only supported in the file gateway type.
3859
+ # You can subscribe to be notified through an Amazon CloudWatch event
3860
+ # when your RefreshCache operation completes. For more information, see
3861
+ # [Getting Notified About File Operations][1].
3862
+ #
3863
+ #
3864
+ #
3865
+ # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/monitoring-file-gateway.html#get-notification
3859
3866
  #
3860
3867
  # @option params [required, String] :file_share_arn
3861
3868
  # The Amazon Resource Name (ARN) of the file share.
3862
3869
  #
3870
+ # @option params [Array<String>] :folder_list
3871
+ # A comma-separated list of the paths of folders to refresh in the
3872
+ # cache. The default is \[`"/"`\]. The default refreshes objects and
3873
+ # folders at the root of the Amazon S3 bucket. If `Recursive` is set to
3874
+ # "true", the entire S3 bucket that the file share has access to is
3875
+ # refreshed.
3876
+ #
3877
+ # @option params [Boolean] :recursive
3878
+ # A value that specifies whether to recursively refresh folders in the
3879
+ # cache. The refresh includes folders that were in the cache the last
3880
+ # time the gateway listed the folder's contents. If this value set to
3881
+ # "true", each folder that is listed in `FolderList` is recursively
3882
+ # updated. Otherwise, subfolders listed in `FolderList` are not
3883
+ # refreshed. Only objects that are in folders listed directly under
3884
+ # `FolderList` are found and used for the update. The default is
3885
+ # "true".
3886
+ #
3863
3887
  # @return [Types::RefreshCacheOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3864
3888
  #
3865
3889
  # * {Types::RefreshCacheOutput#file_share_arn #file_share_arn} => String
3890
+ # * {Types::RefreshCacheOutput#notification_id #notification_id} => String
3866
3891
  #
3867
3892
  # @example Request syntax with placeholder values
3868
3893
  #
3869
3894
  # resp = client.refresh_cache({
3870
3895
  # file_share_arn: "FileShareARN", # required
3896
+ # folder_list: ["Folder"],
3897
+ # recursive: false,
3871
3898
  # })
3872
3899
  #
3873
3900
  # @example Response structure
3874
3901
  #
3875
3902
  # resp.file_share_arn #=> String
3903
+ # resp.notification_id #=> String
3876
3904
  #
3877
3905
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RefreshCache AWS API Documentation
3878
3906
  #
@@ -5029,7 +5057,7 @@ module Aws::StorageGateway
5029
5057
  params: params,
5030
5058
  config: config)
5031
5059
  context[:gem_name] = 'aws-sdk-storagegateway'
5032
- context[:gem_version] = '1.9.0'
5060
+ context[:gem_version] = '1.10.0'
5033
5061
  Seahorse::Client::Request.new(handlers, context)
5034
5062
  end
5035
5063
 
@@ -130,6 +130,8 @@ module Aws::StorageGateway
130
130
  FileShareType = Shapes::StringShape.new(name: 'FileShareType')
131
131
  FileShareUser = Shapes::StringShape.new(name: 'FileShareUser')
132
132
  FileShareUserList = Shapes::ListShape.new(name: 'FileShareUserList')
133
+ Folder = Shapes::StringShape.new(name: 'Folder')
134
+ FolderList = Shapes::ListShape.new(name: 'FolderList')
133
135
  GatewayARN = Shapes::StringShape.new(name: 'GatewayARN')
134
136
  GatewayId = Shapes::StringShape.new(name: 'GatewayId')
135
137
  GatewayInfo = Shapes::StructureShape.new(name: 'GatewayInfo')
@@ -716,6 +718,8 @@ module Aws::StorageGateway
716
718
 
717
719
  FileShareUserList.member = Shapes::ShapeRef.new(shape: FileShareUser)
718
720
 
721
+ FolderList.member = Shapes::ShapeRef.new(shape: Folder)
722
+
719
723
  GatewayInfo.add_member(:gateway_id, Shapes::ShapeRef.new(shape: GatewayId, location_name: "GatewayId"))
720
724
  GatewayInfo.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
721
725
  GatewayInfo.add_member(:gateway_type, Shapes::ShapeRef.new(shape: GatewayType, location_name: "GatewayType"))
@@ -845,9 +849,12 @@ module Aws::StorageGateway
845
849
  NotifyWhenUploadedOutput.struct_class = Types::NotifyWhenUploadedOutput
846
850
 
847
851
  RefreshCacheInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
852
+ RefreshCacheInput.add_member(:folder_list, Shapes::ShapeRef.new(shape: FolderList, location_name: "FolderList"))
853
+ RefreshCacheInput.add_member(:recursive, Shapes::ShapeRef.new(shape: Boolean, location_name: "Recursive"))
848
854
  RefreshCacheInput.struct_class = Types::RefreshCacheInput
849
855
 
850
856
  RefreshCacheOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
857
+ RefreshCacheOutput.add_member(:notification_id, Shapes::ShapeRef.new(shape: NotificationId, location_name: "NotificationId"))
851
858
  RefreshCacheOutput.struct_class = Types::RefreshCacheOutput
852
859
 
853
860
  RemoveTagsFromResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
@@ -86,7 +86,7 @@ module Aws::StorageGateway
86
86
  # @!attribute [rw] gateway_type
87
87
  # A value that defines the type of gateway to activate. The type
88
88
  # specified is critical to all later functions of the gateway and
89
- # cannot be changed after activation. The default value is `STORED`.
89
+ # cannot be changed after activation. The default value is `CACHED`.
90
90
  #
91
91
  # Valid Values: "STORED", "CACHED", "VTL", "FILE\_S3"
92
92
  # @return [String]
@@ -3378,27 +3378,58 @@ module Aws::StorageGateway
3378
3378
  #
3379
3379
  # {
3380
3380
  # file_share_arn: "FileShareARN", # required
3381
+ # folder_list: ["Folder"],
3382
+ # recursive: false,
3381
3383
  # }
3382
3384
  #
3383
3385
  # @!attribute [rw] file_share_arn
3384
3386
  # The Amazon Resource Name (ARN) of the file share.
3385
3387
  # @return [String]
3386
3388
  #
3389
+ # @!attribute [rw] folder_list
3390
+ # A comma-separated list of the paths of folders to refresh in the
3391
+ # cache. The default is \[`"/"`\]. The default refreshes objects and
3392
+ # folders at the root of the Amazon S3 bucket. If `Recursive` is set
3393
+ # to "true", the entire S3 bucket that the file share has access to
3394
+ # is refreshed.
3395
+ # @return [Array<String>]
3396
+ #
3397
+ # @!attribute [rw] recursive
3398
+ # A value that specifies whether to recursively refresh folders in the
3399
+ # cache. The refresh includes folders that were in the cache the last
3400
+ # time the gateway listed the folder's contents. If this value set to
3401
+ # "true", each folder that is listed in `FolderList` is recursively
3402
+ # updated. Otherwise, subfolders listed in `FolderList` are not
3403
+ # refreshed. Only objects that are in folders listed directly under
3404
+ # `FolderList` are found and used for the update. The default is
3405
+ # "true".
3406
+ # @return [Boolean]
3407
+ #
3387
3408
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RefreshCacheInput AWS API Documentation
3388
3409
  #
3389
3410
  class RefreshCacheInput < Struct.new(
3390
- :file_share_arn)
3411
+ :file_share_arn,
3412
+ :folder_list,
3413
+ :recursive)
3391
3414
  include Aws::Structure
3392
3415
  end
3393
3416
 
3417
+ # RefreshCacheOutput
3418
+ #
3394
3419
  # @!attribute [rw] file_share_arn
3395
3420
  # The Amazon Resource Name (ARN) of the file share.
3396
3421
  # @return [String]
3397
3422
  #
3423
+ # @!attribute [rw] notification_id
3424
+ # The randomly generated ID of the notification that was sent. This ID
3425
+ # is in UUID format.
3426
+ # @return [String]
3427
+ #
3398
3428
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RefreshCacheOutput AWS API Documentation
3399
3429
  #
3400
3430
  class RefreshCacheOutput < Struct.new(
3401
- :file_share_arn)
3431
+ :file_share_arn,
3432
+ :notification_id)
3402
3433
  include Aws::Structure
3403
3434
  end
3404
3435
 
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.9.0
4
+ version: 1.10.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-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core