aws-sdk-storagegateway 1.105.0 → 1.107.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: 294f3e4b1718b23d2c7ceb0426664444f3ce175980796cc009cb195b6e1ad524
4
+ data.tar.gz: 5ae2ac579b0fc1802377f3d7ccce594a4671ab324ae9eaf9f9c30e07ea87204f
5
5
  SHA512:
6
- metadata.gz: c38510d1462cf285ddeeb15051e160b070f7ae43223dfd4bc6232b418ec7dd7564b58a0e58a00ec7c785c492182f0b445c8c0c128611da64bc178ca9a7926c99
7
- data.tar.gz: a9a4006ce68887d65dce98ac81f7bf477a085f004e79cfe217f969d79ed1fd448d64a70bd8c19f0c05436d08dea47878661466f1ff153d0eb0aaa00f26ba7130
6
+ metadata.gz: 91c81bae5ab67ff37f5e1f62c9299d675d5013e166aaf4c53a3a08feb3e0964a1210071df1eae8204cd9b3b7a904b470734c6e1bcff60dee03cc26fc9a4104af
7
+ data.tar.gz: bf0730a0bc68f65949ccf326309e1535609fa8e2f8eda60d8bd9b97258647069c64eb44b2185606d8b84f3816d7f8452e30c24f7d1d7db0815f614f620faea16
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.107.0 (2025-04-08)
5
+ ------------------
6
+
7
+ * Feature - Added new ActiveDirectoryStatus value, ListCacheReports paginator, and support for longer pagination tokens.
8
+
9
+ 1.106.0 (2025-02-27)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.105.0 (2025-02-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.105.0
1
+ 1.107.0
@@ -4063,7 +4063,7 @@ module Aws::StorageGateway
4063
4063
  #
4064
4064
  # resp.gateway_arn #=> String
4065
4065
  # resp.domain_name #=> String
4066
- # resp.active_directory_status #=> String, one of "ACCESS_DENIED", "DETACHED", "JOINED", "JOINING", "NETWORK_ERROR", "TIMEOUT", "UNKNOWN_ERROR"
4066
+ # resp.active_directory_status #=> String, one of "ACCESS_DENIED", "DETACHED", "JOINED", "JOINING", "NETWORK_ERROR", "TIMEOUT", "UNKNOWN_ERROR", "INSUFFICIENT_PERMISSIONS"
4067
4067
  # resp.smb_guest_password_set #=> Boolean
4068
4068
  # resp.smb_security_strategy #=> String, one of "ClientSpecified", "MandatorySigning", "MandatoryEncryption", "MandatoryEncryptionNoAes128"
4069
4069
  # resp.file_shares_visible #=> Boolean
@@ -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
  #
@@ -5011,7 +5072,7 @@ module Aws::StorageGateway
5011
5072
  # @example Response structure
5012
5073
  #
5013
5074
  # resp.gateway_arn #=> String
5014
- # resp.active_directory_status #=> String, one of "ACCESS_DENIED", "DETACHED", "JOINED", "JOINING", "NETWORK_ERROR", "TIMEOUT", "UNKNOWN_ERROR"
5075
+ # resp.active_directory_status #=> String, one of "ACCESS_DENIED", "DETACHED", "JOINED", "JOINING", "NETWORK_ERROR", "TIMEOUT", "UNKNOWN_ERROR", "INSUFFICIENT_PERMISSIONS"
5015
5076
  #
5016
5077
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/JoinDomain AWS API Documentation
5017
5078
  #
@@ -5079,6 +5140,8 @@ module Aws::StorageGateway
5079
5140
  # * {Types::ListCacheReportsOutput#cache_report_list #cache_report_list} => Array<Types::CacheReportInfo>
5080
5141
  # * {Types::ListCacheReportsOutput#marker #marker} => String
5081
5142
  #
5143
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5144
+ #
5082
5145
  # @example Request syntax with placeholder values
5083
5146
  #
5084
5147
  # resp = client.list_cache_reports({
@@ -6421,7 +6484,8 @@ module Aws::StorageGateway
6421
6484
  # S3.
6422
6485
  #
6423
6486
  # @option params [required, String] :location_arn
6424
- # The ARN of the Amazon S3 bucket where the cache report will be saved.
6487
+ # The ARN of the Amazon S3 bucket where you want to save the cache
6488
+ # report.
6425
6489
  #
6426
6490
  # <note markdown="1"> We do not recommend saving the cache report to the same Amazon S3
6427
6491
  # bucket for which you are generating the report.
@@ -6431,8 +6495,8 @@ module Aws::StorageGateway
6431
6495
  # </note>
6432
6496
  #
6433
6497
  # @option params [required, String] :bucket_region
6434
- # The Amazon Web Services Region of the Amazon S3 bucket associated with
6435
- # the file share for which you want to generate the cache report.
6498
+ # The Amazon Web Services Region of the Amazon S3 bucket where you want
6499
+ # to save the cache report.
6436
6500
  #
6437
6501
  # @option params [String] :vpc_endpoint_dns_name
6438
6502
  # The DNS name of the VPC endpoint associated with the Amazon S3 where
@@ -7906,7 +7970,7 @@ module Aws::StorageGateway
7906
7970
  tracer: tracer
7907
7971
  )
7908
7972
  context[:gem_name] = 'aws-sdk-storagegateway'
7909
- context[:gem_version] = '1.105.0'
7973
+ context[:gem_version] = '1.107.0'
7910
7974
  Seahorse::Client::Request.new(handlers, context)
7911
7975
  end
7912
7976
 
@@ -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"
@@ -2342,6 +2361,11 @@ module Aws::StorageGateway
2342
2361
  o.output = Shapes::ShapeRef.new(shape: ListCacheReportsOutput)
2343
2362
  o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
2344
2363
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2364
+ o[:pager] = Aws::Pager.new(
2365
+ tokens: {
2366
+ "marker" => "marker"
2367
+ }
2368
+ )
2345
2369
  end)
2346
2370
 
2347
2371
  api.add_operation(:list_file_shares, Seahorse::Model::Operation.new.tap do |o|
@@ -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
@@ -4580,6 +4627,10 @@ module Aws::StorageGateway
4580
4627
  #
4581
4628
  # * `JOINING`: Indicates that a `JoinDomain` operation is in progress.
4582
4629
  #
4630
+ # * `INSUFFICIENT_PERMISSIONS`: Indicates that the `JoinDomain`
4631
+ # operation failed because the specified user lacks the necessary
4632
+ # permissions to join the domain.
4633
+ #
4583
4634
  # * `NETWORK_ERROR`: Indicates that `JoinDomain` operation failed due
4584
4635
  # to a network or connectivity error.
4585
4636
  #
@@ -6340,8 +6391,8 @@ module Aws::StorageGateway
6340
6391
  # @return [String]
6341
6392
  #
6342
6393
  # @!attribute [rw] location_arn
6343
- # The ARN of the Amazon S3 bucket where the cache report will be
6344
- # saved.
6394
+ # The ARN of the Amazon S3 bucket where you want to save the cache
6395
+ # report.
6345
6396
  #
6346
6397
  # <note markdown="1"> We do not recommend saving the cache report to the same Amazon S3
6347
6398
  # bucket for which you are generating the report.
@@ -6352,8 +6403,8 @@ module Aws::StorageGateway
6352
6403
  # @return [String]
6353
6404
  #
6354
6405
  # @!attribute [rw] bucket_region
6355
- # The Amazon Web Services Region of the Amazon S3 bucket associated
6356
- # with the file share for which you want to generate the cache report.
6406
+ # The Amazon Web Services Region of the Amazon S3 bucket where you
6407
+ # want to save the cache report.
6357
6408
  # @return [String]
6358
6409
  #
6359
6410
  # @!attribute [rw] vpc_endpoint_dns_name
@@ -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.107.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -752,7 +752,7 @@ module Aws
752
752
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSMBSettingsOutput]
753
753
  def gateway_arn: () -> ::String
754
754
  def domain_name: () -> ::String
755
- def active_directory_status: () -> ("ACCESS_DENIED" | "DETACHED" | "JOINED" | "JOINING" | "NETWORK_ERROR" | "TIMEOUT" | "UNKNOWN_ERROR")
755
+ def active_directory_status: () -> ("ACCESS_DENIED" | "DETACHED" | "JOINED" | "JOINING" | "NETWORK_ERROR" | "TIMEOUT" | "UNKNOWN_ERROR" | "INSUFFICIENT_PERMISSIONS")
756
756
  def smb_guest_password_set: () -> bool
757
757
  def smb_security_strategy: () -> ("ClientSpecified" | "MandatorySigning" | "MandatoryEncryption" | "MandatoryEncryptionNoAes128")
758
758
  def file_shares_visible: () -> bool
@@ -903,10 +903,21 @@ 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
909
- def active_directory_status: () -> ("ACCESS_DENIED" | "DETACHED" | "JOINED" | "JOINING" | "NETWORK_ERROR" | "TIMEOUT" | "UNKNOWN_ERROR")
920
+ def active_directory_status: () -> ("ACCESS_DENIED" | "DETACHED" | "JOINED" | "JOINING" | "NETWORK_ERROR" | "TIMEOUT" | "UNKNOWN_ERROR" | "INSUFFICIENT_PERMISSIONS")
910
921
  end
911
922
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#join_domain-instance_method
912
923
  def join_domain: (
data/sig/types.rbs CHANGED
@@ -691,7 +691,7 @@ module Aws::StorageGateway
691
691
  class DescribeSMBSettingsOutput
692
692
  attr_accessor gateway_arn: ::String
693
693
  attr_accessor domain_name: ::String
694
- attr_accessor active_directory_status: ("ACCESS_DENIED" | "DETACHED" | "JOINED" | "JOINING" | "NETWORK_ERROR" | "TIMEOUT" | "UNKNOWN_ERROR")
694
+ attr_accessor active_directory_status: ("ACCESS_DENIED" | "DETACHED" | "JOINED" | "JOINING" | "NETWORK_ERROR" | "TIMEOUT" | "UNKNOWN_ERROR" | "INSUFFICIENT_PERMISSIONS")
695
695
  attr_accessor smb_guest_password_set: bool
696
696
  attr_accessor smb_security_strategy: ("ClientSpecified" | "MandatorySigning" | "MandatoryEncryption" | "MandatoryEncryptionNoAes128")
697
697
  attr_accessor file_shares_visible: bool
@@ -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
@@ -938,7 +949,7 @@ module Aws::StorageGateway
938
949
 
939
950
  class JoinDomainOutput
940
951
  attr_accessor gateway_arn: ::String
941
- attr_accessor active_directory_status: ("ACCESS_DENIED" | "DETACHED" | "JOINED" | "JOINING" | "NETWORK_ERROR" | "TIMEOUT" | "UNKNOWN_ERROR")
952
+ attr_accessor active_directory_status: ("ACCESS_DENIED" | "DETACHED" | "JOINED" | "JOINING" | "NETWORK_ERROR" | "TIMEOUT" | "UNKNOWN_ERROR" | "INSUFFICIENT_PERMISSIONS")
942
953
  SENSITIVE: []
943
954
  end
944
955
 
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.107.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-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core