aws-sdk-storagegateway 1.102.0 → 1.104.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,40 +10,36 @@
10
10
  module Aws::StorageGateway
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  end
26
- if Aws::Endpoints::Matchers.set?(region)
27
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
- return Aws::Endpoints::Endpoint.new(url: "https://storagegateway-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://storagegateway-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
- return Aws::Endpoints::Endpoint.new(url: "https://storagegateway-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ return Aws::Endpoints::Endpoint.new(url: "https://storagegateway-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
33
  end
38
34
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
35
  end
40
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
- return Aws::Endpoints::Endpoint.new(url: "https://storagegateway.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://storagegateway.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
41
  end
46
- return Aws::Endpoints::Endpoint.new(url: "https://storagegateway.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ return Aws::Endpoints::Endpoint.new(url: "https://storagegateway.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
43
  end
48
44
  end
49
45
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -699,6 +699,122 @@ module Aws::StorageGateway
699
699
  include Aws::Structure
700
700
  end
701
701
 
702
+ # A list of filter parameters and associated values that determine which
703
+ # files are included or excluded from a cache report created by a
704
+ # `StartCacheReport` request. Multiple instances of the same filter
705
+ # parameter are combined with an OR operation, while different
706
+ # parameters are combined with an AND operation.
707
+ #
708
+ # @!attribute [rw] name
709
+ # The parameter name for a filter that determines which files are
710
+ # included or excluded from a cache report.
711
+ #
712
+ # **Valid Names:**
713
+ #
714
+ # UploadFailureReason \| UploadState
715
+ # @return [String]
716
+ #
717
+ # @!attribute [rw] values
718
+ # The parameter value for a filter that determines which files are
719
+ # included or excluded from a cache report.
720
+ #
721
+ # **Valid `UploadFailureReason` Values:**
722
+ #
723
+ # `InaccessibleStorageClass` \| `InvalidObjectState` \|
724
+ # `ObjectMissing` \| `S3AccessDenied`
725
+ #
726
+ # **Valid `UploadState` Values:**
727
+ #
728
+ # `FailingUpload`
729
+ # @return [Array<String>]
730
+ #
731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CacheReportFilter AWS API Documentation
732
+ #
733
+ class CacheReportFilter < Struct.new(
734
+ :name,
735
+ :values)
736
+ SENSITIVE = []
737
+ include Aws::Structure
738
+ end
739
+
740
+ # Contains all informational fields associated with a cache report.
741
+ # Includes name, ARN, tags, status, progress, filters, start time, and
742
+ # end time.
743
+ #
744
+ # @!attribute [rw] cache_report_arn
745
+ # The Amazon Resource Name (ARN) of the cache report you want to
746
+ # describe.
747
+ # @return [String]
748
+ #
749
+ # @!attribute [rw] cache_report_status
750
+ # The status of the specified cache report.
751
+ # @return [String]
752
+ #
753
+ # @!attribute [rw] report_completion_percent
754
+ # The percentage of the report generation process that has been
755
+ # completed at time of inquiry.
756
+ # @return [Integer]
757
+ #
758
+ # @!attribute [rw] end_time
759
+ # The time at which the gateway stopped generating the cache report.
760
+ # @return [Time]
761
+ #
762
+ # @!attribute [rw] role
763
+ # The ARN of the IAM role that an S3 File Gateway assumes when it
764
+ # accesses the underlying storage.
765
+ # @return [String]
766
+ #
767
+ # @!attribute [rw] file_share_arn
768
+ # The Amazon Resource Name (ARN) of the file share.
769
+ # @return [String]
770
+ #
771
+ # @!attribute [rw] location_arn
772
+ # The ARN of the Amazon S3 bucket location where the cache report is
773
+ # saved.
774
+ # @return [String]
775
+ #
776
+ # @!attribute [rw] start_time
777
+ # The time at which the gateway started generating the cache report.
778
+ # @return [Time]
779
+ #
780
+ # @!attribute [rw] inclusion_filters
781
+ # The list of filters and parameters that determine which files are
782
+ # included in the report.
783
+ # @return [Array<Types::CacheReportFilter>]
784
+ #
785
+ # @!attribute [rw] exclusion_filters
786
+ # The list of filters and parameters that determine which files are
787
+ # excluded from the report.
788
+ # @return [Array<Types::CacheReportFilter>]
789
+ #
790
+ # @!attribute [rw] report_name
791
+ # The file name of the completed cache report object stored in Amazon
792
+ # S3.
793
+ # @return [String]
794
+ #
795
+ # @!attribute [rw] tags
796
+ # The list of key/value tags associated with the report.
797
+ # @return [Array<Types::Tag>]
798
+ #
799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CacheReportInfo AWS API Documentation
800
+ #
801
+ class CacheReportInfo < Struct.new(
802
+ :cache_report_arn,
803
+ :cache_report_status,
804
+ :report_completion_percent,
805
+ :end_time,
806
+ :role,
807
+ :file_share_arn,
808
+ :location_arn,
809
+ :start_time,
810
+ :inclusion_filters,
811
+ :exclusion_filters,
812
+ :report_name,
813
+ :tags)
814
+ SENSITIVE = []
815
+ include Aws::Structure
816
+ end
817
+
702
818
  # Describes an iSCSI cached volume.
703
819
  #
704
820
  # @!attribute [rw] volume_arn
@@ -854,6 +970,32 @@ module Aws::StorageGateway
854
970
  include Aws::Structure
855
971
  end
856
972
 
973
+ # @!attribute [rw] cache_report_arn
974
+ # The Amazon Resource Name (ARN) of the cache report you want to
975
+ # cancel.
976
+ # @return [String]
977
+ #
978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelCacheReportInput AWS API Documentation
979
+ #
980
+ class CancelCacheReportInput < Struct.new(
981
+ :cache_report_arn)
982
+ SENSITIVE = []
983
+ include Aws::Structure
984
+ end
985
+
986
+ # @!attribute [rw] cache_report_arn
987
+ # The Amazon Resource Name (ARN) of the cache report you want to
988
+ # cancel.
989
+ # @return [String]
990
+ #
991
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelCacheReportOutput AWS API Documentation
992
+ #
993
+ class CancelCacheReportOutput < Struct.new(
994
+ :cache_report_arn)
995
+ SENSITIVE = []
996
+ include Aws::Structure
997
+ end
998
+
857
999
  # CancelRetrievalInput
858
1000
  #
859
1001
  # @!attribute [rw] gateway_arn
@@ -2288,6 +2430,32 @@ module Aws::StorageGateway
2288
2430
  include Aws::Structure
2289
2431
  end
2290
2432
 
2433
+ # @!attribute [rw] cache_report_arn
2434
+ # The Amazon Resource Name (ARN) of the cache report you want to
2435
+ # delete.
2436
+ # @return [String]
2437
+ #
2438
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteCacheReportInput AWS API Documentation
2439
+ #
2440
+ class DeleteCacheReportInput < Struct.new(
2441
+ :cache_report_arn)
2442
+ SENSITIVE = []
2443
+ include Aws::Structure
2444
+ end
2445
+
2446
+ # @!attribute [rw] cache_report_arn
2447
+ # The Amazon Resource Name (ARN) of the cache report you want to
2448
+ # delete.
2449
+ # @return [String]
2450
+ #
2451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteCacheReportOutput AWS API Documentation
2452
+ #
2453
+ class DeleteCacheReportOutput < Struct.new(
2454
+ :cache_report_arn)
2455
+ SENSITIVE = []
2456
+ include Aws::Structure
2457
+ end
2458
+
2291
2459
  # A JSON object containing one or more of the following fields:
2292
2460
  #
2293
2461
  # * DeleteChapCredentialsInput$InitiatorName
@@ -2754,6 +2922,33 @@ module Aws::StorageGateway
2754
2922
  include Aws::Structure
2755
2923
  end
2756
2924
 
2925
+ # @!attribute [rw] cache_report_arn
2926
+ # The Amazon Resource Name (ARN) of the cache report you want to
2927
+ # describe.
2928
+ # @return [String]
2929
+ #
2930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCacheReportInput AWS API Documentation
2931
+ #
2932
+ class DescribeCacheReportInput < Struct.new(
2933
+ :cache_report_arn)
2934
+ SENSITIVE = []
2935
+ include Aws::Structure
2936
+ end
2937
+
2938
+ # @!attribute [rw] cache_report_info
2939
+ # Contains all informational fields associated with a cache report.
2940
+ # Includes name, ARN, tags, status, progress, filters, start time, and
2941
+ # end time.
2942
+ # @return [Types::CacheReportInfo]
2943
+ #
2944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCacheReportOutput AWS API Documentation
2945
+ #
2946
+ class DescribeCacheReportOutput < Struct.new(
2947
+ :cache_report_info)
2948
+ SENSITIVE = []
2949
+ include Aws::Structure
2950
+ end
2951
+
2757
2952
  # @!attribute [rw] volume_arns
2758
2953
  # An array of strings where each string represents the Amazon Resource
2759
2954
  # Name (ARN) of a cached volume. All of the specified cached volumes
@@ -3220,6 +3415,12 @@ module Aws::StorageGateway
3220
3415
  # Indicates the status of a gateway that is a member of the Active
3221
3416
  # Directory domain.
3222
3417
  #
3418
+ # <note markdown="1"> This field is only used as part of a `JoinDomain` request. It is not
3419
+ # affected by Active Directory connectivity changes that occur after
3420
+ # the `JoinDomain` request succeeds.
3421
+ #
3422
+ # </note>
3423
+ #
3223
3424
  # * `ACCESS_DENIED`: Indicates that the `JoinDomain` operation failed
3224
3425
  # due to an authentication error.
3225
3426
  #
@@ -4363,6 +4564,12 @@ module Aws::StorageGateway
4363
4564
  # Indicates the status of the gateway as a member of the Active
4364
4565
  # Directory domain.
4365
4566
  #
4567
+ # <note markdown="1"> This field is only used as part of a `JoinDomain` request. It is not
4568
+ # affected by Active Directory connectivity changes that occur after
4569
+ # the `JoinDomain` request succeeds.
4570
+ #
4571
+ # </note>
4572
+ #
4366
4573
  # * `ACCESS_DENIED`: Indicates that the `JoinDomain` operation failed
4367
4574
  # due to an authentication error.
4368
4575
  #
@@ -4420,6 +4627,41 @@ module Aws::StorageGateway
4420
4627
  include Aws::Structure
4421
4628
  end
4422
4629
 
4630
+ # @!attribute [rw] marker
4631
+ # Opaque pagination token returned from a previous `ListCacheReports`
4632
+ # operation. If present, `Marker` specifies where to continue the list
4633
+ # from after a previous call to `ListCacheReports`. Optional.
4634
+ # @return [String]
4635
+ #
4636
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListCacheReportsInput AWS API Documentation
4637
+ #
4638
+ class ListCacheReportsInput < Struct.new(
4639
+ :marker)
4640
+ SENSITIVE = []
4641
+ include Aws::Structure
4642
+ end
4643
+
4644
+ # @!attribute [rw] cache_report_list
4645
+ # A list of existing cache reports for all file shares associated with
4646
+ # your Amazon Web Services account. This list includes all information
4647
+ # provided by the `DescribeCacheReport` action, such as report status,
4648
+ # completion progress, start time, end time, filters, and tags.
4649
+ # @return [Array<Types::CacheReportInfo>]
4650
+ #
4651
+ # @!attribute [rw] marker
4652
+ # If the request includes `Marker`, the response returns that value in
4653
+ # this field.
4654
+ # @return [String]
4655
+ #
4656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListCacheReportsOutput AWS API Documentation
4657
+ #
4658
+ class ListCacheReportsOutput < Struct.new(
4659
+ :cache_report_list,
4660
+ :marker)
4661
+ SENSITIVE = []
4662
+ include Aws::Structure
4663
+ end
4664
+
4423
4665
  # ListFileShareInput
4424
4666
  #
4425
4667
  # @!attribute [rw] gateway_arn
@@ -6088,6 +6330,93 @@ module Aws::StorageGateway
6088
6330
  include Aws::Structure
6089
6331
  end
6090
6332
 
6333
+ # @!attribute [rw] file_share_arn
6334
+ # The Amazon Resource Name (ARN) of the file share.
6335
+ # @return [String]
6336
+ #
6337
+ # @!attribute [rw] role
6338
+ # The ARN of the IAM role used when saving the cache report to Amazon
6339
+ # S3.
6340
+ # @return [String]
6341
+ #
6342
+ # @!attribute [rw] location_arn
6343
+ # The ARN of the Amazon S3 bucket where the cache report will be
6344
+ # saved.
6345
+ #
6346
+ # <note markdown="1"> We do not recommend saving the cache report to the same Amazon S3
6347
+ # bucket for which you are generating the report.
6348
+ #
6349
+ # This field does not accept access point ARNs.
6350
+ #
6351
+ # </note>
6352
+ # @return [String]
6353
+ #
6354
+ # @!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.
6357
+ # @return [String]
6358
+ #
6359
+ # @!attribute [rw] vpc_endpoint_dns_name
6360
+ # The DNS name of the VPC endpoint associated with the Amazon S3 where
6361
+ # you want to save the cache report. Optional.
6362
+ # @return [String]
6363
+ #
6364
+ # @!attribute [rw] inclusion_filters
6365
+ # The list of filters and parameters that determine which files are
6366
+ # included in the report. You must specify at least one value for
6367
+ # `InclusionFilters` or `ExclusionFilters` in a `StartCacheReport`
6368
+ # request.
6369
+ # @return [Array<Types::CacheReportFilter>]
6370
+ #
6371
+ # @!attribute [rw] exclusion_filters
6372
+ # The list of filters and parameters that determine which files are
6373
+ # excluded from the report. You must specify at least one value for
6374
+ # `InclusionFilters` or `ExclusionFilters` in a `StartCacheReport`
6375
+ # request.
6376
+ # @return [Array<Types::CacheReportFilter>]
6377
+ #
6378
+ # @!attribute [rw] client_token
6379
+ # A unique identifier that you use to ensure idempotent report
6380
+ # generation if you need to retry an unsuccessful `StartCacheReport`
6381
+ # request. If you retry a request, use the same `ClientToken` you
6382
+ # specified in the initial request.
6383
+ # @return [String]
6384
+ #
6385
+ # @!attribute [rw] tags
6386
+ # A list of up to 50 key/value tags that you can assign to the cache
6387
+ # report. Using tags can help you categorize your reports and more
6388
+ # easily locate them in search results.
6389
+ # @return [Array<Types::Tag>]
6390
+ #
6391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartCacheReportInput AWS API Documentation
6392
+ #
6393
+ class StartCacheReportInput < Struct.new(
6394
+ :file_share_arn,
6395
+ :role,
6396
+ :location_arn,
6397
+ :bucket_region,
6398
+ :vpc_endpoint_dns_name,
6399
+ :inclusion_filters,
6400
+ :exclusion_filters,
6401
+ :client_token,
6402
+ :tags)
6403
+ SENSITIVE = []
6404
+ include Aws::Structure
6405
+ end
6406
+
6407
+ # @!attribute [rw] cache_report_arn
6408
+ # The Amazon Resource Name (ARN) of the cache report generated by the
6409
+ # `StartCacheReport` request.
6410
+ # @return [String]
6411
+ #
6412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartCacheReportOutput AWS API Documentation
6413
+ #
6414
+ class StartCacheReportOutput < Struct.new(
6415
+ :cache_report_arn)
6416
+ SENSITIVE = []
6417
+ include Aws::Structure
6418
+ end
6419
+
6091
6420
  # A JSON object containing the Amazon Resource Name (ARN) of the gateway
6092
6421
  # to start.
6093
6422
  #
@@ -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.102.0'
57
+ GEM_VERSION = '1.104.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -214,6 +214,16 @@ module Aws
214
214
  ) -> _CancelArchivalResponseSuccess
215
215
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelArchivalResponseSuccess
216
216
 
217
+ interface _CancelCacheReportResponseSuccess
218
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelCacheReportOutput]
219
+ def cache_report_arn: () -> ::String
220
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#cancel_cache_report-instance_method
222
+ def cancel_cache_report: (
223
+ cache_report_arn: ::String
224
+ ) -> _CancelCacheReportResponseSuccess
225
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelCacheReportResponseSuccess
226
+
217
227
  interface _CancelRetrievalResponseSuccess
218
228
  include ::Seahorse::Client::_ResponseSuccess[Types::CancelRetrievalOutput]
219
229
  def tape_arn: () -> ::String
@@ -484,6 +494,16 @@ module Aws
484
494
  ) -> _DeleteBandwidthRateLimitResponseSuccess
485
495
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBandwidthRateLimitResponseSuccess
486
496
 
497
+ interface _DeleteCacheReportResponseSuccess
498
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCacheReportOutput]
499
+ def cache_report_arn: () -> ::String
500
+ end
501
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#delete_cache_report-instance_method
502
+ def delete_cache_report: (
503
+ cache_report_arn: ::String
504
+ ) -> _DeleteCacheReportResponseSuccess
505
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCacheReportResponseSuccess
506
+
487
507
  interface _DeleteChapCredentialsResponseSuccess
488
508
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChapCredentialsOutput]
489
509
  def target_arn: () -> ::String
@@ -621,6 +641,16 @@ module Aws
621
641
  ) -> _DescribeCacheResponseSuccess
622
642
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCacheResponseSuccess
623
643
 
644
+ interface _DescribeCacheReportResponseSuccess
645
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCacheReportOutput]
646
+ def cache_report_info: () -> Types::CacheReportInfo
647
+ end
648
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#describe_cache_report-instance_method
649
+ def describe_cache_report: (
650
+ cache_report_arn: ::String
651
+ ) -> _DescribeCacheReportResponseSuccess
652
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCacheReportResponseSuccess
653
+
624
654
  interface _DescribeCachediSCSIVolumesResponseSuccess
625
655
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCachediSCSIVolumesOutput]
626
656
  def cached_iscsi_volumes: () -> ::Array[Types::CachediSCSIVolume]
@@ -900,6 +930,17 @@ module Aws
900
930
  ) -> _ListAutomaticTapeCreationPoliciesResponseSuccess
901
931
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAutomaticTapeCreationPoliciesResponseSuccess
902
932
 
933
+ interface _ListCacheReportsResponseSuccess
934
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCacheReportsOutput]
935
+ def cache_report_list: () -> ::Array[Types::CacheReportInfo]
936
+ def marker: () -> ::String
937
+ end
938
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#list_cache_reports-instance_method
939
+ def list_cache_reports: (
940
+ ?marker: ::String
941
+ ) -> _ListCacheReportsResponseSuccess
942
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCacheReportsResponseSuccess
943
+
903
944
  interface _ListFileSharesResponseSuccess
904
945
  include ::Seahorse::Client::_ResponseSuccess[Types::ListFileSharesOutput]
905
946
  def marker: () -> ::String
@@ -1135,6 +1176,39 @@ module Aws
1135
1176
  ) -> _StartAvailabilityMonitorTestResponseSuccess
1136
1177
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAvailabilityMonitorTestResponseSuccess
1137
1178
 
1179
+ interface _StartCacheReportResponseSuccess
1180
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartCacheReportOutput]
1181
+ def cache_report_arn: () -> ::String
1182
+ end
1183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#start_cache_report-instance_method
1184
+ def start_cache_report: (
1185
+ file_share_arn: ::String,
1186
+ role: ::String,
1187
+ location_arn: ::String,
1188
+ bucket_region: ::String,
1189
+ ?vpc_endpoint_dns_name: ::String,
1190
+ ?inclusion_filters: Array[
1191
+ {
1192
+ name: ("UploadState" | "UploadFailureReason"),
1193
+ values: Array[::String]
1194
+ },
1195
+ ],
1196
+ ?exclusion_filters: Array[
1197
+ {
1198
+ name: ("UploadState" | "UploadFailureReason"),
1199
+ values: Array[::String]
1200
+ },
1201
+ ],
1202
+ client_token: ::String,
1203
+ ?tags: Array[
1204
+ {
1205
+ key: ::String,
1206
+ value: ::String
1207
+ },
1208
+ ]
1209
+ ) -> _StartCacheReportResponseSuccess
1210
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCacheReportResponseSuccess
1211
+
1138
1212
  interface _StartGatewayResponseSuccess
1139
1213
  include ::Seahorse::Client::_ResponseSuccess[Types::StartGatewayOutput]
1140
1214
  def gateway_arn: () -> ::String
data/sig/types.rbs CHANGED
@@ -145,6 +145,28 @@ module Aws::StorageGateway
145
145
  SENSITIVE: []
146
146
  end
147
147
 
148
+ class CacheReportFilter
149
+ attr_accessor name: ("UploadState" | "UploadFailureReason")
150
+ attr_accessor values: ::Array[::String]
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class CacheReportInfo
155
+ attr_accessor cache_report_arn: ::String
156
+ attr_accessor cache_report_status: ("IN_PROGRESS" | "COMPLETED" | "CANCELED" | "FAILED" | "ERROR")
157
+ attr_accessor report_completion_percent: ::Integer
158
+ attr_accessor end_time: ::Time
159
+ attr_accessor role: ::String
160
+ attr_accessor file_share_arn: ::String
161
+ attr_accessor location_arn: ::String
162
+ attr_accessor start_time: ::Time
163
+ attr_accessor inclusion_filters: ::Array[Types::CacheReportFilter]
164
+ attr_accessor exclusion_filters: ::Array[Types::CacheReportFilter]
165
+ attr_accessor report_name: ::String
166
+ attr_accessor tags: ::Array[Types::Tag]
167
+ SENSITIVE: []
168
+ end
169
+
148
170
  class CachediSCSIVolume
149
171
  attr_accessor volume_arn: ::String
150
172
  attr_accessor volume_id: ::String
@@ -173,6 +195,16 @@ module Aws::StorageGateway
173
195
  SENSITIVE: []
174
196
  end
175
197
 
198
+ class CancelCacheReportInput
199
+ attr_accessor cache_report_arn: ::String
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class CancelCacheReportOutput
204
+ attr_accessor cache_report_arn: ::String
205
+ SENSITIVE: []
206
+ end
207
+
176
208
  class CancelRetrievalInput
177
209
  attr_accessor gateway_arn: ::String
178
210
  attr_accessor tape_arn: ::String
@@ -397,6 +429,16 @@ module Aws::StorageGateway
397
429
  SENSITIVE: []
398
430
  end
399
431
 
432
+ class DeleteCacheReportInput
433
+ attr_accessor cache_report_arn: ::String
434
+ SENSITIVE: []
435
+ end
436
+
437
+ class DeleteCacheReportOutput
438
+ attr_accessor cache_report_arn: ::String
439
+ SENSITIVE: []
440
+ end
441
+
400
442
  class DeleteChapCredentialsInput
401
443
  attr_accessor target_arn: ::String
402
444
  attr_accessor initiator_name: ::String
@@ -534,6 +576,16 @@ module Aws::StorageGateway
534
576
  SENSITIVE: []
535
577
  end
536
578
 
579
+ class DescribeCacheReportInput
580
+ attr_accessor cache_report_arn: ::String
581
+ SENSITIVE: []
582
+ end
583
+
584
+ class DescribeCacheReportOutput
585
+ attr_accessor cache_report_info: Types::CacheReportInfo
586
+ SENSITIVE: []
587
+ end
588
+
537
589
  class DescribeCachediSCSIVolumesInput
538
590
  attr_accessor volume_arns: ::Array[::String]
539
591
  SENSITIVE: []
@@ -900,6 +952,17 @@ module Aws::StorageGateway
900
952
  SENSITIVE: []
901
953
  end
902
954
 
955
+ class ListCacheReportsInput
956
+ attr_accessor marker: ::String
957
+ SENSITIVE: []
958
+ end
959
+
960
+ class ListCacheReportsOutput
961
+ attr_accessor cache_report_list: ::Array[Types::CacheReportInfo]
962
+ attr_accessor marker: ::String
963
+ SENSITIVE: []
964
+ end
965
+
903
966
  class ListFileSharesInput
904
967
  attr_accessor gateway_arn: ::String
905
968
  attr_accessor limit: ::Integer
@@ -1239,6 +1302,24 @@ module Aws::StorageGateway
1239
1302
  SENSITIVE: []
1240
1303
  end
1241
1304
 
1305
+ class StartCacheReportInput
1306
+ attr_accessor file_share_arn: ::String
1307
+ attr_accessor role: ::String
1308
+ attr_accessor location_arn: ::String
1309
+ attr_accessor bucket_region: ::String
1310
+ attr_accessor vpc_endpoint_dns_name: ::String
1311
+ attr_accessor inclusion_filters: ::Array[Types::CacheReportFilter]
1312
+ attr_accessor exclusion_filters: ::Array[Types::CacheReportFilter]
1313
+ attr_accessor client_token: ::String
1314
+ attr_accessor tags: ::Array[Types::Tag]
1315
+ SENSITIVE: []
1316
+ end
1317
+
1318
+ class StartCacheReportOutput
1319
+ attr_accessor cache_report_arn: ::String
1320
+ SENSITIVE: []
1321
+ end
1322
+
1242
1323
  class StartGatewayInput
1243
1324
  attr_accessor gateway_arn: ::String
1244
1325
  SENSITIVE: []