aws-sdk-storagegateway 1.105.0 → 1.106.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
  SHA256:
3
- metadata.gz: dc313a01a40ff763bff38e7cfc9a7511e0cde24d6889b9d05462ad72393b9068
4
- data.tar.gz: aa91df19b7b4cd3238d182e5700146364070df584b000ebb861ffd12d37b1a52
3
+ metadata.gz: 23969e1ab5f1fbbc9ba764a39c665dc968b9eae98a57da4a32b3f24a71181a1a
4
+ data.tar.gz: b48277ef7bea6583d9baa8db9adb75568dd80a34337b15614303ff421cb2e9f4
5
5
  SHA512:
6
- metadata.gz: c38510d1462cf285ddeeb15051e160b070f7ae43223dfd4bc6232b418ec7dd7564b58a0e58a00ec7c785c492182f0b445c8c0c128611da64bc178ca9a7926c99
7
- data.tar.gz: a9a4006ce68887d65dce98ac81f7bf477a085f004e79cfe217f969d79ed1fd448d64a70bd8c19f0c05436d08dea47878661466f1ff153d0eb0aaa00f26ba7130
6
+ metadata.gz: 7de06e238242145fb9715a811a9da5027b17887b5d29ef4a47ed60dfe92662999cbc8921da5514b49777388fc0e213d0fae2d0e6da335b610354b7dfabc3f885
7
+ data.tar.gz: cb506ccd53b20d9c18f12e4fb58d24f17d5c1adde7ddd28bc0e67d7d1f933c3e8ad71efb6755e7ce6cf603f7bed3871f9c3451007d2f62fab94527a770a6337d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.106.0 (2025-02-27)
5
+ ------------------
6
+
7
+ * Feature - This release adds support to invoke a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3.
8
+
4
9
  1.105.0 (2025-02-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.105.0
1
+ 1.106.0
@@ -4941,6 +4941,67 @@ module Aws::StorageGateway
4941
4941
  req.send_request(options)
4942
4942
  end
4943
4943
 
4944
+ # Starts a process that cleans the specified file share's cache of file
4945
+ # entries that are failing upload to Amazon S3. This API operation
4946
+ # reports success if the request is received with valid arguments, and
4947
+ # there are no other cache clean operations currently in-progress for
4948
+ # the specified file share. After a successful request, the cache clean
4949
+ # operation occurs asynchronously and reports progress using CloudWatch
4950
+ # logs and notifications.
4951
+ #
4952
+ # If `ForceRemove` is set to `True`, the cache clean operation will
4953
+ # delete file data from the gateway which might otherwise be
4954
+ # recoverable. We recommend using this operation only after all other
4955
+ # methods to clear files failing upload have been exhausted, and if your
4956
+ # business need outweighs the potential data loss.
4957
+ #
4958
+ # @option params [required, String] :file_share_arn
4959
+ # The Amazon Resource Name (ARN) of the file share for which you want to
4960
+ # start the cache clean operation.
4961
+ #
4962
+ # @option params [Boolean] :force_remove
4963
+ # Specifies whether cache entries with full or partial file data
4964
+ # currently stored on the gateway will be forcibly removed by the cache
4965
+ # clean operation.
4966
+ #
4967
+ # Valid arguments:
4968
+ #
4969
+ # * `False` - The cache clean operation skips cache entries failing
4970
+ # upload if they are associated with data currently stored on the
4971
+ # gateway. This preserves the cached data.
4972
+ #
4973
+ # * `True` - The cache clean operation removes cache entries failing
4974
+ # upload even if they are associated with data currently stored on the
4975
+ # gateway. This deletes the cached data.
4976
+ #
4977
+ # If `ForceRemove` is set to `True`, the cache clean operation will
4978
+ # delete file data from the gateway which might otherwise be
4979
+ # recoverable.
4980
+ #
4981
+ # @return [Types::EvictFilesFailingUploadOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4982
+ #
4983
+ # * {Types::EvictFilesFailingUploadOutput#notification_id #notification_id} => String
4984
+ #
4985
+ # @example Request syntax with placeholder values
4986
+ #
4987
+ # resp = client.evict_files_failing_upload({
4988
+ # file_share_arn: "FileShareARN", # required
4989
+ # force_remove: false,
4990
+ # })
4991
+ #
4992
+ # @example Response structure
4993
+ #
4994
+ # resp.notification_id #=> String
4995
+ #
4996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/EvictFilesFailingUpload AWS API Documentation
4997
+ #
4998
+ # @overload evict_files_failing_upload(params = {})
4999
+ # @param [Hash] params ({})
5000
+ def evict_files_failing_upload(params = {}, options = {})
5001
+ req = build_request(:evict_files_failing_upload, params)
5002
+ req.send_request(options)
5003
+ end
5004
+
4944
5005
  # Adds a file gateway to an Active Directory domain. This operation is
4945
5006
  # only supported for file gateways that support the SMB file protocol.
4946
5007
  #
@@ -7906,7 +7967,7 @@ module Aws::StorageGateway
7906
7967
  tracer: tracer
7907
7968
  )
7908
7969
  context[:gem_name] = 'aws-sdk-storagegateway'
7909
- context[:gem_version] = '1.105.0'
7970
+ context[:gem_version] = '1.106.0'
7910
7971
  Seahorse::Client::Request.new(handlers, context)
7911
7972
  end
7912
7973
 
@@ -186,6 +186,8 @@ module Aws::StorageGateway
186
186
  EndpointNetworkConfiguration = Shapes::StructureShape.new(name: 'EndpointNetworkConfiguration')
187
187
  EndpointType = Shapes::StringShape.new(name: 'EndpointType')
188
188
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
189
+ EvictFilesFailingUploadInput = Shapes::StructureShape.new(name: 'EvictFilesFailingUploadInput')
190
+ EvictFilesFailingUploadOutput = Shapes::StructureShape.new(name: 'EvictFilesFailingUploadOutput')
189
191
  FileShareARN = Shapes::StringShape.new(name: 'FileShareARN')
190
192
  FileShareARNList = Shapes::ListShape.new(name: 'FileShareARNList')
191
193
  FileShareClientList = Shapes::ListShape.new(name: 'FileShareClientList')
@@ -1060,6 +1062,13 @@ module Aws::StorageGateway
1060
1062
  EndpointNetworkConfiguration.add_member(:ip_addresses, Shapes::ShapeRef.new(shape: IpAddressList, location_name: "IpAddresses"))
1061
1063
  EndpointNetworkConfiguration.struct_class = Types::EndpointNetworkConfiguration
1062
1064
 
1065
+ EvictFilesFailingUploadInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
1066
+ EvictFilesFailingUploadInput.add_member(:force_remove, Shapes::ShapeRef.new(shape: boolean, location_name: "ForceRemove"))
1067
+ EvictFilesFailingUploadInput.struct_class = Types::EvictFilesFailingUploadInput
1068
+
1069
+ EvictFilesFailingUploadOutput.add_member(:notification_id, Shapes::ShapeRef.new(shape: string, location_name: "NotificationId"))
1070
+ EvictFilesFailingUploadOutput.struct_class = Types::EvictFilesFailingUploadOutput
1071
+
1063
1072
  FileShareARNList.member = Shapes::ShapeRef.new(shape: FileShareARN)
1064
1073
 
1065
1074
  FileShareClientList.member = Shapes::ShapeRef.new(shape: IPV4AddressCIDR)
@@ -2314,6 +2323,16 @@ module Aws::StorageGateway
2314
2323
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2315
2324
  end)
2316
2325
 
2326
+ api.add_operation(:evict_files_failing_upload, Seahorse::Model::Operation.new.tap do |o|
2327
+ o.name = "EvictFilesFailingUpload"
2328
+ o.http_method = "POST"
2329
+ o.http_request_uri = "/"
2330
+ o.input = Shapes::ShapeRef.new(shape: EvictFilesFailingUploadInput)
2331
+ o.output = Shapes::ShapeRef.new(shape: EvictFilesFailingUploadOutput)
2332
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
2333
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2334
+ end)
2335
+
2317
2336
  api.add_operation(:join_domain, Seahorse::Model::Operation.new.tap do |o|
2318
2337
  o.name = "JoinDomain"
2319
2338
  o.http_method = "POST"
@@ -4203,6 +4203,53 @@ module Aws::StorageGateway
4203
4203
  include Aws::Structure
4204
4204
  end
4205
4205
 
4206
+ # @!attribute [rw] file_share_arn
4207
+ # The Amazon Resource Name (ARN) of the file share for which you want
4208
+ # to start the cache clean operation.
4209
+ # @return [String]
4210
+ #
4211
+ # @!attribute [rw] force_remove
4212
+ # Specifies whether cache entries with full or partial file data
4213
+ # currently stored on the gateway will be forcibly removed by the
4214
+ # cache clean operation.
4215
+ #
4216
+ # Valid arguments:
4217
+ #
4218
+ # * `False` - The cache clean operation skips cache entries failing
4219
+ # upload if they are associated with data currently stored on the
4220
+ # gateway. This preserves the cached data.
4221
+ #
4222
+ # * `True` - The cache clean operation removes cache entries failing
4223
+ # upload even if they are associated with data currently stored on
4224
+ # the gateway. This deletes the cached data.
4225
+ #
4226
+ # If `ForceRemove` is set to `True`, the cache clean operation will
4227
+ # delete file data from the gateway which might otherwise be
4228
+ # recoverable.
4229
+ # @return [Boolean]
4230
+ #
4231
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/EvictFilesFailingUploadInput AWS API Documentation
4232
+ #
4233
+ class EvictFilesFailingUploadInput < Struct.new(
4234
+ :file_share_arn,
4235
+ :force_remove)
4236
+ SENSITIVE = []
4237
+ include Aws::Structure
4238
+ end
4239
+
4240
+ # @!attribute [rw] notification_id
4241
+ # The randomly generated ID of the CloudWatch notification associated
4242
+ # with the cache clean operation. This ID is in UUID format.
4243
+ # @return [String]
4244
+ #
4245
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/EvictFilesFailingUploadOutput AWS API Documentation
4246
+ #
4247
+ class EvictFilesFailingUploadOutput < Struct.new(
4248
+ :notification_id)
4249
+ SENSITIVE = []
4250
+ include Aws::Structure
4251
+ end
4252
+
4206
4253
  # Describes a file share. Only supported S3 File Gateway.
4207
4254
  #
4208
4255
  # @!attribute [rw] file_share_type
@@ -54,7 +54,7 @@ module Aws::StorageGateway
54
54
  autoload :EndpointProvider, 'aws-sdk-storagegateway/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-storagegateway/endpoints'
56
56
 
57
- GEM_VERSION = '1.105.0'
57
+ GEM_VERSION = '1.106.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -903,6 +903,17 @@ module Aws
903
903
  ) -> _DisassociateFileSystemResponseSuccess
904
904
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateFileSystemResponseSuccess
905
905
 
906
+ interface _EvictFilesFailingUploadResponseSuccess
907
+ include ::Seahorse::Client::_ResponseSuccess[Types::EvictFilesFailingUploadOutput]
908
+ def notification_id: () -> ::String
909
+ end
910
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#evict_files_failing_upload-instance_method
911
+ def evict_files_failing_upload: (
912
+ file_share_arn: ::String,
913
+ ?force_remove: bool
914
+ ) -> _EvictFilesFailingUploadResponseSuccess
915
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EvictFilesFailingUploadResponseSuccess
916
+
906
917
  interface _JoinDomainResponseSuccess
907
918
  include ::Seahorse::Client::_ResponseSuccess[Types::JoinDomainOutput]
908
919
  def gateway_arn: () -> ::String
data/sig/types.rbs CHANGED
@@ -863,6 +863,17 @@ module Aws::StorageGateway
863
863
  SENSITIVE: []
864
864
  end
865
865
 
866
+ class EvictFilesFailingUploadInput
867
+ attr_accessor file_share_arn: ::String
868
+ attr_accessor force_remove: bool
869
+ SENSITIVE: []
870
+ end
871
+
872
+ class EvictFilesFailingUploadOutput
873
+ attr_accessor notification_id: ::String
874
+ SENSITIVE: []
875
+ end
876
+
866
877
  class FileShareInfo
867
878
  attr_accessor file_share_type: ("NFS" | "SMB")
868
879
  attr_accessor file_share_arn: ::String
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.105.0
4
+ version: 1.106.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: 2025-02-18 00:00:00.000000000 Z
11
+ date: 2025-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core