aws-sdk-storagegateway 1.103.0 → 1.105.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-storagegateway/client.rb +341 -38
- data/lib/aws-sdk-storagegateway/client_api.rb +134 -0
- data/lib/aws-sdk-storagegateway/types.rb +329 -0
- data/lib/aws-sdk-storagegateway.rb +1 -1
- data/sig/client.rbs +74 -0
- data/sig/types.rbs +81 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc313a01a40ff763bff38e7cfc9a7511e0cde24d6889b9d05462ad72393b9068
|
4
|
+
data.tar.gz: aa91df19b7b4cd3238d182e5700146364070df584b000ebb861ffd12d37b1a52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c38510d1462cf285ddeeb15051e160b070f7ae43223dfd4bc6232b418ec7dd7564b58a0e58a00ec7c785c492182f0b445c8c0c128611da64bc178ca9a7926c99
|
7
|
+
data.tar.gz: a9a4006ce68887d65dce98ac81f7bf477a085f004e79cfe217f969d79ed1fd448d64a70bd8c19f0c05436d08dea47878661466f1ff153d0eb0aaa00f26ba7130
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.105.0 (2025-02-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.104.0 (2025-02-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for generating cache reports on S3 File Gateways for files that fail to upload.
|
13
|
+
|
4
14
|
1.103.0 (2025-02-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.105.0
|
@@ -7,34 +7,34 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
-
require 'seahorse/client/plugins/content_length
|
11
|
-
require 'aws-sdk-core/plugins/credentials_configuration
|
12
|
-
require 'aws-sdk-core/plugins/logging
|
13
|
-
require 'aws-sdk-core/plugins/param_converter
|
14
|
-
require 'aws-sdk-core/plugins/param_validator
|
15
|
-
require 'aws-sdk-core/plugins/user_agent
|
16
|
-
require 'aws-sdk-core/plugins/helpful_socket_errors
|
17
|
-
require 'aws-sdk-core/plugins/retry_errors
|
18
|
-
require 'aws-sdk-core/plugins/global_configuration
|
19
|
-
require 'aws-sdk-core/plugins/regional_endpoint
|
20
|
-
require 'aws-sdk-core/plugins/endpoint_discovery
|
21
|
-
require 'aws-sdk-core/plugins/endpoint_pattern
|
22
|
-
require 'aws-sdk-core/plugins/response_paging
|
23
|
-
require 'aws-sdk-core/plugins/stub_responses
|
24
|
-
require 'aws-sdk-core/plugins/idempotency_token
|
25
|
-
require 'aws-sdk-core/plugins/invocation_id
|
26
|
-
require 'aws-sdk-core/plugins/jsonvalue_converter
|
27
|
-
require 'aws-sdk-core/plugins/client_metrics_plugin
|
28
|
-
require 'aws-sdk-core/plugins/client_metrics_send_plugin
|
29
|
-
require 'aws-sdk-core/plugins/transfer_encoding
|
30
|
-
require 'aws-sdk-core/plugins/http_checksum
|
31
|
-
require 'aws-sdk-core/plugins/checksum_algorithm
|
32
|
-
require 'aws-sdk-core/plugins/request_compression
|
33
|
-
require 'aws-sdk-core/plugins/defaults_mode
|
34
|
-
require 'aws-sdk-core/plugins/recursion_detection
|
35
|
-
require 'aws-sdk-core/plugins/telemetry
|
36
|
-
require 'aws-sdk-core/plugins/sign
|
37
|
-
require 'aws-sdk-core/plugins/protocols/json_rpc
|
10
|
+
require 'seahorse/client/plugins/content_length'
|
11
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
12
|
+
require 'aws-sdk-core/plugins/logging'
|
13
|
+
require 'aws-sdk-core/plugins/param_converter'
|
14
|
+
require 'aws-sdk-core/plugins/param_validator'
|
15
|
+
require 'aws-sdk-core/plugins/user_agent'
|
16
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
17
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
18
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
19
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
20
|
+
require 'aws-sdk-core/plugins/endpoint_discovery'
|
21
|
+
require 'aws-sdk-core/plugins/endpoint_pattern'
|
22
|
+
require 'aws-sdk-core/plugins/response_paging'
|
23
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
24
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
26
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
27
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin'
|
28
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
|
29
|
+
require 'aws-sdk-core/plugins/transfer_encoding'
|
30
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
31
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
32
|
+
require 'aws-sdk-core/plugins/request_compression'
|
33
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
34
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry'
|
36
|
+
require 'aws-sdk-core/plugins/sign'
|
37
|
+
require 'aws-sdk-core/plugins/protocols/json_rpc'
|
38
38
|
|
39
39
|
module Aws::StorageGateway
|
40
40
|
# An API client for StorageGateway. To construct a client, you need to configure a `:region` and `:credentials`.
|
@@ -1162,6 +1162,39 @@ module Aws::StorageGateway
|
|
1162
1162
|
req.send_request(options)
|
1163
1163
|
end
|
1164
1164
|
|
1165
|
+
# Cancels generation of a specified cache report. You can use this
|
1166
|
+
# operation to manually cancel an IN-PROGRESS report for any reason.
|
1167
|
+
# This action changes the report status from IN-PROGRESS to CANCELLED.
|
1168
|
+
# You can only cancel in-progress reports. If the the report you attempt
|
1169
|
+
# to cancel is in FAILED, ERROR, or COMPLETED state, the cancel
|
1170
|
+
# operation returns an error.
|
1171
|
+
#
|
1172
|
+
# @option params [required, String] :cache_report_arn
|
1173
|
+
# The Amazon Resource Name (ARN) of the cache report you want to cancel.
|
1174
|
+
#
|
1175
|
+
# @return [Types::CancelCacheReportOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1176
|
+
#
|
1177
|
+
# * {Types::CancelCacheReportOutput#cache_report_arn #cache_report_arn} => String
|
1178
|
+
#
|
1179
|
+
# @example Request syntax with placeholder values
|
1180
|
+
#
|
1181
|
+
# resp = client.cancel_cache_report({
|
1182
|
+
# cache_report_arn: "CacheReportARN", # required
|
1183
|
+
# })
|
1184
|
+
#
|
1185
|
+
# @example Response structure
|
1186
|
+
#
|
1187
|
+
# resp.cache_report_arn #=> String
|
1188
|
+
#
|
1189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelCacheReport AWS API Documentation
|
1190
|
+
#
|
1191
|
+
# @overload cancel_cache_report(params = {})
|
1192
|
+
# @param [Hash] params ({})
|
1193
|
+
def cancel_cache_report(params = {}, options = {})
|
1194
|
+
req = build_request(:cancel_cache_report, params)
|
1195
|
+
req.send_request(options)
|
1196
|
+
end
|
1197
|
+
|
1165
1198
|
# Cancels retrieval of a virtual tape from the virtual tape shelf (VTS)
|
1166
1199
|
# to a gateway after the retrieval process is initiated. The virtual
|
1167
1200
|
# tape is returned to the VTS. This operation is only supported in the
|
@@ -2782,6 +2815,43 @@ module Aws::StorageGateway
|
|
2782
2815
|
req.send_request(options)
|
2783
2816
|
end
|
2784
2817
|
|
2818
|
+
# Deletes the specified cache report and any associated tags from the
|
2819
|
+
# Storage Gateway database. You can only delete completed reports. If
|
2820
|
+
# the status of the report you attempt to delete still IN-PROGRESS, the
|
2821
|
+
# delete operation returns an error. You can use `CancelCacheReport` to
|
2822
|
+
# cancel an IN-PROGRESS report.
|
2823
|
+
#
|
2824
|
+
# <note markdown="1"> `DeleteCacheReport` does not delete the report object from your Amazon
|
2825
|
+
# S3 bucket.
|
2826
|
+
#
|
2827
|
+
# </note>
|
2828
|
+
#
|
2829
|
+
# @option params [required, String] :cache_report_arn
|
2830
|
+
# The Amazon Resource Name (ARN) of the cache report you want to delete.
|
2831
|
+
#
|
2832
|
+
# @return [Types::DeleteCacheReportOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2833
|
+
#
|
2834
|
+
# * {Types::DeleteCacheReportOutput#cache_report_arn #cache_report_arn} => String
|
2835
|
+
#
|
2836
|
+
# @example Request syntax with placeholder values
|
2837
|
+
#
|
2838
|
+
# resp = client.delete_cache_report({
|
2839
|
+
# cache_report_arn: "CacheReportARN", # required
|
2840
|
+
# })
|
2841
|
+
#
|
2842
|
+
# @example Response structure
|
2843
|
+
#
|
2844
|
+
# resp.cache_report_arn #=> String
|
2845
|
+
#
|
2846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteCacheReport AWS API Documentation
|
2847
|
+
#
|
2848
|
+
# @overload delete_cache_report(params = {})
|
2849
|
+
# @param [Hash] params ({})
|
2850
|
+
def delete_cache_report(params = {}, options = {})
|
2851
|
+
req = build_request(:delete_cache_report, params)
|
2852
|
+
req.send_request(options)
|
2853
|
+
end
|
2854
|
+
|
2785
2855
|
# Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials
|
2786
2856
|
# for a specified iSCSI target and initiator pair. This operation is
|
2787
2857
|
# supported in volume and tape gateway types.
|
@@ -3430,6 +3500,55 @@ module Aws::StorageGateway
|
|
3430
3500
|
req.send_request(options)
|
3431
3501
|
end
|
3432
3502
|
|
3503
|
+
# Returns information about the specified cache report, including
|
3504
|
+
# completion status and generation progress.
|
3505
|
+
#
|
3506
|
+
# @option params [required, String] :cache_report_arn
|
3507
|
+
# The Amazon Resource Name (ARN) of the cache report you want to
|
3508
|
+
# describe.
|
3509
|
+
#
|
3510
|
+
# @return [Types::DescribeCacheReportOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3511
|
+
#
|
3512
|
+
# * {Types::DescribeCacheReportOutput#cache_report_info #cache_report_info} => Types::CacheReportInfo
|
3513
|
+
#
|
3514
|
+
# @example Request syntax with placeholder values
|
3515
|
+
#
|
3516
|
+
# resp = client.describe_cache_report({
|
3517
|
+
# cache_report_arn: "CacheReportARN", # required
|
3518
|
+
# })
|
3519
|
+
#
|
3520
|
+
# @example Response structure
|
3521
|
+
#
|
3522
|
+
# resp.cache_report_info.cache_report_arn #=> String
|
3523
|
+
# resp.cache_report_info.cache_report_status #=> String, one of "IN_PROGRESS", "COMPLETED", "CANCELED", "FAILED", "ERROR"
|
3524
|
+
# resp.cache_report_info.report_completion_percent #=> Integer
|
3525
|
+
# resp.cache_report_info.end_time #=> Time
|
3526
|
+
# resp.cache_report_info.role #=> String
|
3527
|
+
# resp.cache_report_info.file_share_arn #=> String
|
3528
|
+
# resp.cache_report_info.location_arn #=> String
|
3529
|
+
# resp.cache_report_info.start_time #=> Time
|
3530
|
+
# resp.cache_report_info.inclusion_filters #=> Array
|
3531
|
+
# resp.cache_report_info.inclusion_filters[0].name #=> String, one of "UploadState", "UploadFailureReason"
|
3532
|
+
# resp.cache_report_info.inclusion_filters[0].values #=> Array
|
3533
|
+
# resp.cache_report_info.inclusion_filters[0].values[0] #=> String
|
3534
|
+
# resp.cache_report_info.exclusion_filters #=> Array
|
3535
|
+
# resp.cache_report_info.exclusion_filters[0].name #=> String, one of "UploadState", "UploadFailureReason"
|
3536
|
+
# resp.cache_report_info.exclusion_filters[0].values #=> Array
|
3537
|
+
# resp.cache_report_info.exclusion_filters[0].values[0] #=> String
|
3538
|
+
# resp.cache_report_info.report_name #=> String
|
3539
|
+
# resp.cache_report_info.tags #=> Array
|
3540
|
+
# resp.cache_report_info.tags[0].key #=> String
|
3541
|
+
# resp.cache_report_info.tags[0].value #=> String
|
3542
|
+
#
|
3543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCacheReport AWS API Documentation
|
3544
|
+
#
|
3545
|
+
# @overload describe_cache_report(params = {})
|
3546
|
+
# @param [Hash] params ({})
|
3547
|
+
def describe_cache_report(params = {}, options = {})
|
3548
|
+
req = build_request(:describe_cache_report, params)
|
3549
|
+
req.send_request(options)
|
3550
|
+
end
|
3551
|
+
|
3433
3552
|
# Returns a description of the gateway volumes specified in the request.
|
3434
3553
|
# This operation is only supported in the cached volume gateway types.
|
3435
3554
|
#
|
@@ -4944,6 +5063,62 @@ module Aws::StorageGateway
|
|
4944
5063
|
req.send_request(options)
|
4945
5064
|
end
|
4946
5065
|
|
5066
|
+
# Returns a list of existing cache reports for all file shares
|
5067
|
+
# associated with your Amazon Web Services account. This list includes
|
5068
|
+
# all information provided by the `DescribeCacheReport` action, such as
|
5069
|
+
# report name, status, completion progress, start time, end time,
|
5070
|
+
# filters, and tags.
|
5071
|
+
#
|
5072
|
+
# @option params [String] :marker
|
5073
|
+
# Opaque pagination token returned from a previous `ListCacheReports`
|
5074
|
+
# operation. If present, `Marker` specifies where to continue the list
|
5075
|
+
# from after a previous call to `ListCacheReports`. Optional.
|
5076
|
+
#
|
5077
|
+
# @return [Types::ListCacheReportsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5078
|
+
#
|
5079
|
+
# * {Types::ListCacheReportsOutput#cache_report_list #cache_report_list} => Array<Types::CacheReportInfo>
|
5080
|
+
# * {Types::ListCacheReportsOutput#marker #marker} => String
|
5081
|
+
#
|
5082
|
+
# @example Request syntax with placeholder values
|
5083
|
+
#
|
5084
|
+
# resp = client.list_cache_reports({
|
5085
|
+
# marker: "Marker",
|
5086
|
+
# })
|
5087
|
+
#
|
5088
|
+
# @example Response structure
|
5089
|
+
#
|
5090
|
+
# resp.cache_report_list #=> Array
|
5091
|
+
# resp.cache_report_list[0].cache_report_arn #=> String
|
5092
|
+
# resp.cache_report_list[0].cache_report_status #=> String, one of "IN_PROGRESS", "COMPLETED", "CANCELED", "FAILED", "ERROR"
|
5093
|
+
# resp.cache_report_list[0].report_completion_percent #=> Integer
|
5094
|
+
# resp.cache_report_list[0].end_time #=> Time
|
5095
|
+
# resp.cache_report_list[0].role #=> String
|
5096
|
+
# resp.cache_report_list[0].file_share_arn #=> String
|
5097
|
+
# resp.cache_report_list[0].location_arn #=> String
|
5098
|
+
# resp.cache_report_list[0].start_time #=> Time
|
5099
|
+
# resp.cache_report_list[0].inclusion_filters #=> Array
|
5100
|
+
# resp.cache_report_list[0].inclusion_filters[0].name #=> String, one of "UploadState", "UploadFailureReason"
|
5101
|
+
# resp.cache_report_list[0].inclusion_filters[0].values #=> Array
|
5102
|
+
# resp.cache_report_list[0].inclusion_filters[0].values[0] #=> String
|
5103
|
+
# resp.cache_report_list[0].exclusion_filters #=> Array
|
5104
|
+
# resp.cache_report_list[0].exclusion_filters[0].name #=> String, one of "UploadState", "UploadFailureReason"
|
5105
|
+
# resp.cache_report_list[0].exclusion_filters[0].values #=> Array
|
5106
|
+
# resp.cache_report_list[0].exclusion_filters[0].values[0] #=> String
|
5107
|
+
# resp.cache_report_list[0].report_name #=> String
|
5108
|
+
# resp.cache_report_list[0].tags #=> Array
|
5109
|
+
# resp.cache_report_list[0].tags[0].key #=> String
|
5110
|
+
# resp.cache_report_list[0].tags[0].value #=> String
|
5111
|
+
# resp.marker #=> String
|
5112
|
+
#
|
5113
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListCacheReports AWS API Documentation
|
5114
|
+
#
|
5115
|
+
# @overload list_cache_reports(params = {})
|
5116
|
+
# @param [Hash] params ({})
|
5117
|
+
def list_cache_reports(params = {}, options = {})
|
5118
|
+
req = build_request(:list_cache_reports, params)
|
5119
|
+
req.send_request(options)
|
5120
|
+
end
|
5121
|
+
|
4947
5122
|
# Gets a list of the file shares for a specific S3 File Gateway, or the
|
4948
5123
|
# list of file shares that belong to the calling Amazon Web Services
|
4949
5124
|
# account. This operation is only supported for S3 File Gateways.
|
@@ -5615,18 +5790,18 @@ module Aws::StorageGateway
|
|
5615
5790
|
req.send_request(options)
|
5616
5791
|
end
|
5617
5792
|
|
5618
|
-
# Sends you notification through
|
5793
|
+
# Sends you notification through Amazon EventBridge when all files
|
5619
5794
|
# written to your file share have been uploaded to Amazon S3.
|
5620
5795
|
#
|
5621
|
-
# Storage Gateway can send a notification through Amazon
|
5622
|
-
#
|
5623
|
-
#
|
5624
|
-
#
|
5796
|
+
# Storage Gateway can send a notification through Amazon EventBridge
|
5797
|
+
# when all files written to your file share up to that point in time
|
5798
|
+
# have been uploaded to Amazon S3. These files include files written to
|
5799
|
+
# the file share up to the time that you make a request for
|
5625
5800
|
# notification. When the upload is done, Storage Gateway sends you
|
5626
|
-
# notification through
|
5627
|
-
#
|
5628
|
-
#
|
5629
|
-
#
|
5801
|
+
# notification through EventBridge. You can configure EventBridge to
|
5802
|
+
# send the notification through event targets such as Amazon SNS or
|
5803
|
+
# Lambda function. This operation is only supported for S3 File
|
5804
|
+
# Gateways.
|
5630
5805
|
#
|
5631
5806
|
# For more information, see [Getting file upload notification][1] in the
|
5632
5807
|
# *Amazon S3 File Gateway User Guide*.
|
@@ -6204,6 +6379,134 @@ module Aws::StorageGateway
|
|
6204
6379
|
req.send_request(options)
|
6205
6380
|
end
|
6206
6381
|
|
6382
|
+
# Starts generating a report of the file metadata currently cached by an
|
6383
|
+
# S3 File Gateway for a specific file share. You can use this report to
|
6384
|
+
# identify and resolve issues if you have files failing upload from your
|
6385
|
+
# gateway to Amazon S3. The report is a CSV file containing a list of
|
6386
|
+
# files which match the set of filter parameters you specify in the
|
6387
|
+
# request.
|
6388
|
+
#
|
6389
|
+
# <note markdown="1"> The **Files Failing Upload** flag is reset every 24 hours and during
|
6390
|
+
# gateway reboot. If this report captures the files after the reset, but
|
6391
|
+
# before they become flagged again, they will not be reported as **Files
|
6392
|
+
# Failing Upload**.
|
6393
|
+
#
|
6394
|
+
# </note>
|
6395
|
+
#
|
6396
|
+
# The following requirements must be met to successfully generate a
|
6397
|
+
# cache report:
|
6398
|
+
#
|
6399
|
+
# * You must have permissions to list the entire Amazon S3 bucket
|
6400
|
+
# associated with the specified file share.
|
6401
|
+
#
|
6402
|
+
# * No other cache reports can currently be in-progress for the
|
6403
|
+
# specified file share.
|
6404
|
+
#
|
6405
|
+
# * There must be fewer than 10 existing cache reports for the specified
|
6406
|
+
# file share.
|
6407
|
+
#
|
6408
|
+
# * The gateway must be online and connected to Amazon Web Services.
|
6409
|
+
#
|
6410
|
+
# * The root disk must have at least 20GB of free space when report
|
6411
|
+
# generation starts.
|
6412
|
+
#
|
6413
|
+
# * You must specify at least one value for `InclusionFilters` or
|
6414
|
+
# `ExclusionFilters` in the request.
|
6415
|
+
#
|
6416
|
+
# @option params [required, String] :file_share_arn
|
6417
|
+
# The Amazon Resource Name (ARN) of the file share.
|
6418
|
+
#
|
6419
|
+
# @option params [required, String] :role
|
6420
|
+
# The ARN of the IAM role used when saving the cache report to Amazon
|
6421
|
+
# S3.
|
6422
|
+
#
|
6423
|
+
# @option params [required, String] :location_arn
|
6424
|
+
# The ARN of the Amazon S3 bucket where the cache report will be saved.
|
6425
|
+
#
|
6426
|
+
# <note markdown="1"> We do not recommend saving the cache report to the same Amazon S3
|
6427
|
+
# bucket for which you are generating the report.
|
6428
|
+
#
|
6429
|
+
# This field does not accept access point ARNs.
|
6430
|
+
#
|
6431
|
+
# </note>
|
6432
|
+
#
|
6433
|
+
# @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.
|
6436
|
+
#
|
6437
|
+
# @option params [String] :vpc_endpoint_dns_name
|
6438
|
+
# The DNS name of the VPC endpoint associated with the Amazon S3 where
|
6439
|
+
# you want to save the cache report. Optional.
|
6440
|
+
#
|
6441
|
+
# @option params [Array<Types::CacheReportFilter>] :inclusion_filters
|
6442
|
+
# The list of filters and parameters that determine which files are
|
6443
|
+
# included in the report. You must specify at least one value for
|
6444
|
+
# `InclusionFilters` or `ExclusionFilters` in a `StartCacheReport`
|
6445
|
+
# request.
|
6446
|
+
#
|
6447
|
+
# @option params [Array<Types::CacheReportFilter>] :exclusion_filters
|
6448
|
+
# The list of filters and parameters that determine which files are
|
6449
|
+
# excluded from the report. You must specify at least one value for
|
6450
|
+
# `InclusionFilters` or `ExclusionFilters` in a `StartCacheReport`
|
6451
|
+
# request.
|
6452
|
+
#
|
6453
|
+
# @option params [required, String] :client_token
|
6454
|
+
# A unique identifier that you use to ensure idempotent report
|
6455
|
+
# generation if you need to retry an unsuccessful `StartCacheReport`
|
6456
|
+
# request. If you retry a request, use the same `ClientToken` you
|
6457
|
+
# specified in the initial request.
|
6458
|
+
#
|
6459
|
+
# @option params [Array<Types::Tag>] :tags
|
6460
|
+
# A list of up to 50 key/value tags that you can assign to the cache
|
6461
|
+
# report. Using tags can help you categorize your reports and more
|
6462
|
+
# easily locate them in search results.
|
6463
|
+
#
|
6464
|
+
# @return [Types::StartCacheReportOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6465
|
+
#
|
6466
|
+
# * {Types::StartCacheReportOutput#cache_report_arn #cache_report_arn} => String
|
6467
|
+
#
|
6468
|
+
# @example Request syntax with placeholder values
|
6469
|
+
#
|
6470
|
+
# resp = client.start_cache_report({
|
6471
|
+
# file_share_arn: "FileShareARN", # required
|
6472
|
+
# role: "Role", # required
|
6473
|
+
# location_arn: "LocationARN", # required
|
6474
|
+
# bucket_region: "RegionId", # required
|
6475
|
+
# vpc_endpoint_dns_name: "DNSHostName",
|
6476
|
+
# inclusion_filters: [
|
6477
|
+
# {
|
6478
|
+
# name: "UploadState", # required, accepts UploadState, UploadFailureReason
|
6479
|
+
# values: ["CacheReportFilterValue"], # required
|
6480
|
+
# },
|
6481
|
+
# ],
|
6482
|
+
# exclusion_filters: [
|
6483
|
+
# {
|
6484
|
+
# name: "UploadState", # required, accepts UploadState, UploadFailureReason
|
6485
|
+
# values: ["CacheReportFilterValue"], # required
|
6486
|
+
# },
|
6487
|
+
# ],
|
6488
|
+
# client_token: "ClientToken", # required
|
6489
|
+
# tags: [
|
6490
|
+
# {
|
6491
|
+
# key: "TagKey", # required
|
6492
|
+
# value: "TagValue", # required
|
6493
|
+
# },
|
6494
|
+
# ],
|
6495
|
+
# })
|
6496
|
+
#
|
6497
|
+
# @example Response structure
|
6498
|
+
#
|
6499
|
+
# resp.cache_report_arn #=> String
|
6500
|
+
#
|
6501
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartCacheReport AWS API Documentation
|
6502
|
+
#
|
6503
|
+
# @overload start_cache_report(params = {})
|
6504
|
+
# @param [Hash] params ({})
|
6505
|
+
def start_cache_report(params = {}, options = {})
|
6506
|
+
req = build_request(:start_cache_report, params)
|
6507
|
+
req.send_request(options)
|
6508
|
+
end
|
6509
|
+
|
6207
6510
|
# Starts a gateway that you previously shut down (see ShutdownGateway).
|
6208
6511
|
# After the gateway starts, you can then make other API calls, your
|
6209
6512
|
# applications can read from or write to the gateway's storage volumes
|
@@ -7603,7 +7906,7 @@ module Aws::StorageGateway
|
|
7603
7906
|
tracer: tracer
|
7604
7907
|
)
|
7605
7908
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
7606
|
-
context[:gem_version] = '1.
|
7909
|
+
context[:gem_version] = '1.105.0'
|
7607
7910
|
Seahorse::Client::Request.new(handlers, context)
|
7608
7911
|
end
|
7609
7912
|
|