aws-sdk-storagegateway 1.103.0 → 1.105.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 +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
@@ -47,11 +47,23 @@ module Aws::StorageGateway
|
|
47
47
|
BandwidthUploadRateLimit = Shapes::IntegerShape.new(name: 'BandwidthUploadRateLimit')
|
48
48
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
49
49
|
CacheAttributes = Shapes::StructureShape.new(name: 'CacheAttributes')
|
50
|
+
CacheReportARN = Shapes::StringShape.new(name: 'CacheReportARN')
|
51
|
+
CacheReportFilter = Shapes::StructureShape.new(name: 'CacheReportFilter')
|
52
|
+
CacheReportFilterList = Shapes::ListShape.new(name: 'CacheReportFilterList')
|
53
|
+
CacheReportFilterName = Shapes::StringShape.new(name: 'CacheReportFilterName')
|
54
|
+
CacheReportFilterValue = Shapes::StringShape.new(name: 'CacheReportFilterValue')
|
55
|
+
CacheReportFilterValues = Shapes::ListShape.new(name: 'CacheReportFilterValues')
|
56
|
+
CacheReportInfo = Shapes::StructureShape.new(name: 'CacheReportInfo')
|
57
|
+
CacheReportList = Shapes::ListShape.new(name: 'CacheReportList')
|
58
|
+
CacheReportName = Shapes::StringShape.new(name: 'CacheReportName')
|
59
|
+
CacheReportStatus = Shapes::StringShape.new(name: 'CacheReportStatus')
|
50
60
|
CacheStaleTimeoutInSeconds = Shapes::IntegerShape.new(name: 'CacheStaleTimeoutInSeconds')
|
51
61
|
CachediSCSIVolume = Shapes::StructureShape.new(name: 'CachediSCSIVolume')
|
52
62
|
CachediSCSIVolumes = Shapes::ListShape.new(name: 'CachediSCSIVolumes')
|
53
63
|
CancelArchivalInput = Shapes::StructureShape.new(name: 'CancelArchivalInput')
|
54
64
|
CancelArchivalOutput = Shapes::StructureShape.new(name: 'CancelArchivalOutput')
|
65
|
+
CancelCacheReportInput = Shapes::StructureShape.new(name: 'CancelCacheReportInput')
|
66
|
+
CancelCacheReportOutput = Shapes::StructureShape.new(name: 'CancelCacheReportOutput')
|
55
67
|
CancelRetrievalInput = Shapes::StructureShape.new(name: 'CancelRetrievalInput')
|
56
68
|
CancelRetrievalOutput = Shapes::StructureShape.new(name: 'CancelRetrievalOutput')
|
57
69
|
CaseSensitivity = Shapes::StringShape.new(name: 'CaseSensitivity')
|
@@ -87,6 +99,8 @@ module Aws::StorageGateway
|
|
87
99
|
DeleteAutomaticTapeCreationPolicyOutput = Shapes::StructureShape.new(name: 'DeleteAutomaticTapeCreationPolicyOutput')
|
88
100
|
DeleteBandwidthRateLimitInput = Shapes::StructureShape.new(name: 'DeleteBandwidthRateLimitInput')
|
89
101
|
DeleteBandwidthRateLimitOutput = Shapes::StructureShape.new(name: 'DeleteBandwidthRateLimitOutput')
|
102
|
+
DeleteCacheReportInput = Shapes::StructureShape.new(name: 'DeleteCacheReportInput')
|
103
|
+
DeleteCacheReportOutput = Shapes::StructureShape.new(name: 'DeleteCacheReportOutput')
|
90
104
|
DeleteChapCredentialsInput = Shapes::StructureShape.new(name: 'DeleteChapCredentialsInput')
|
91
105
|
DeleteChapCredentialsOutput = Shapes::StructureShape.new(name: 'DeleteChapCredentialsOutput')
|
92
106
|
DeleteFileShareInput = Shapes::StructureShape.new(name: 'DeleteFileShareInput')
|
@@ -112,6 +126,8 @@ module Aws::StorageGateway
|
|
112
126
|
DescribeBandwidthRateLimitScheduleOutput = Shapes::StructureShape.new(name: 'DescribeBandwidthRateLimitScheduleOutput')
|
113
127
|
DescribeCacheInput = Shapes::StructureShape.new(name: 'DescribeCacheInput')
|
114
128
|
DescribeCacheOutput = Shapes::StructureShape.new(name: 'DescribeCacheOutput')
|
129
|
+
DescribeCacheReportInput = Shapes::StructureShape.new(name: 'DescribeCacheReportInput')
|
130
|
+
DescribeCacheReportOutput = Shapes::StructureShape.new(name: 'DescribeCacheReportOutput')
|
115
131
|
DescribeCachediSCSIVolumesInput = Shapes::StructureShape.new(name: 'DescribeCachediSCSIVolumesInput')
|
116
132
|
DescribeCachediSCSIVolumesOutput = Shapes::StructureShape.new(name: 'DescribeCachediSCSIVolumesOutput')
|
117
133
|
DescribeChapCredentialsInput = Shapes::StructureShape.new(name: 'DescribeChapCredentialsInput')
|
@@ -223,6 +239,8 @@ module Aws::StorageGateway
|
|
223
239
|
LastSoftwareUpdate = Shapes::StringShape.new(name: 'LastSoftwareUpdate')
|
224
240
|
ListAutomaticTapeCreationPoliciesInput = Shapes::StructureShape.new(name: 'ListAutomaticTapeCreationPoliciesInput')
|
225
241
|
ListAutomaticTapeCreationPoliciesOutput = Shapes::StructureShape.new(name: 'ListAutomaticTapeCreationPoliciesOutput')
|
242
|
+
ListCacheReportsInput = Shapes::StructureShape.new(name: 'ListCacheReportsInput')
|
243
|
+
ListCacheReportsOutput = Shapes::StructureShape.new(name: 'ListCacheReportsOutput')
|
226
244
|
ListFileSharesInput = Shapes::StructureShape.new(name: 'ListFileSharesInput')
|
227
245
|
ListFileSharesOutput = Shapes::StructureShape.new(name: 'ListFileSharesOutput')
|
228
246
|
ListFileSystemAssociationsInput = Shapes::StructureShape.new(name: 'ListFileSystemAssociationsInput')
|
@@ -279,6 +297,7 @@ module Aws::StorageGateway
|
|
279
297
|
RegionId = Shapes::StringShape.new(name: 'RegionId')
|
280
298
|
RemoveTagsFromResourceInput = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceInput')
|
281
299
|
RemoveTagsFromResourceOutput = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceOutput')
|
300
|
+
ReportCompletionPercent = Shapes::IntegerShape.new(name: 'ReportCompletionPercent')
|
282
301
|
ResetCacheInput = Shapes::StructureShape.new(name: 'ResetCacheInput')
|
283
302
|
ResetCacheOutput = Shapes::StructureShape.new(name: 'ResetCacheOutput')
|
284
303
|
ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
|
@@ -309,6 +328,8 @@ module Aws::StorageGateway
|
|
309
328
|
Squash = Shapes::StringShape.new(name: 'Squash')
|
310
329
|
StartAvailabilityMonitorTestInput = Shapes::StructureShape.new(name: 'StartAvailabilityMonitorTestInput')
|
311
330
|
StartAvailabilityMonitorTestOutput = Shapes::StructureShape.new(name: 'StartAvailabilityMonitorTestOutput')
|
331
|
+
StartCacheReportInput = Shapes::StructureShape.new(name: 'StartCacheReportInput')
|
332
|
+
StartCacheReportOutput = Shapes::StructureShape.new(name: 'StartCacheReportOutput')
|
312
333
|
StartGatewayInput = Shapes::StructureShape.new(name: 'StartGatewayInput')
|
313
334
|
StartGatewayOutput = Shapes::StructureShape.new(name: 'StartGatewayOutput')
|
314
335
|
StorageClass = Shapes::StringShape.new(name: 'StorageClass')
|
@@ -505,6 +526,30 @@ module Aws::StorageGateway
|
|
505
526
|
CacheAttributes.add_member(:cache_stale_timeout_in_seconds, Shapes::ShapeRef.new(shape: CacheStaleTimeoutInSeconds, location_name: "CacheStaleTimeoutInSeconds"))
|
506
527
|
CacheAttributes.struct_class = Types::CacheAttributes
|
507
528
|
|
529
|
+
CacheReportFilter.add_member(:name, Shapes::ShapeRef.new(shape: CacheReportFilterName, required: true, location_name: "Name"))
|
530
|
+
CacheReportFilter.add_member(:values, Shapes::ShapeRef.new(shape: CacheReportFilterValues, required: true, location_name: "Values"))
|
531
|
+
CacheReportFilter.struct_class = Types::CacheReportFilter
|
532
|
+
|
533
|
+
CacheReportFilterList.member = Shapes::ShapeRef.new(shape: CacheReportFilter)
|
534
|
+
|
535
|
+
CacheReportFilterValues.member = Shapes::ShapeRef.new(shape: CacheReportFilterValue)
|
536
|
+
|
537
|
+
CacheReportInfo.add_member(:cache_report_arn, Shapes::ShapeRef.new(shape: CacheReportARN, location_name: "CacheReportARN"))
|
538
|
+
CacheReportInfo.add_member(:cache_report_status, Shapes::ShapeRef.new(shape: CacheReportStatus, location_name: "CacheReportStatus"))
|
539
|
+
CacheReportInfo.add_member(:report_completion_percent, Shapes::ShapeRef.new(shape: ReportCompletionPercent, location_name: "ReportCompletionPercent"))
|
540
|
+
CacheReportInfo.add_member(:end_time, Shapes::ShapeRef.new(shape: Time, location_name: "EndTime"))
|
541
|
+
CacheReportInfo.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
|
542
|
+
CacheReportInfo.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
|
543
|
+
CacheReportInfo.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationARN, location_name: "LocationARN"))
|
544
|
+
CacheReportInfo.add_member(:start_time, Shapes::ShapeRef.new(shape: Time, location_name: "StartTime"))
|
545
|
+
CacheReportInfo.add_member(:inclusion_filters, Shapes::ShapeRef.new(shape: CacheReportFilterList, location_name: "InclusionFilters"))
|
546
|
+
CacheReportInfo.add_member(:exclusion_filters, Shapes::ShapeRef.new(shape: CacheReportFilterList, location_name: "ExclusionFilters"))
|
547
|
+
CacheReportInfo.add_member(:report_name, Shapes::ShapeRef.new(shape: CacheReportName, location_name: "ReportName"))
|
548
|
+
CacheReportInfo.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
549
|
+
CacheReportInfo.struct_class = Types::CacheReportInfo
|
550
|
+
|
551
|
+
CacheReportList.member = Shapes::ShapeRef.new(shape: CacheReportInfo)
|
552
|
+
|
508
553
|
CachediSCSIVolume.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, location_name: "VolumeARN"))
|
509
554
|
CachediSCSIVolume.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "VolumeId"))
|
510
555
|
CachediSCSIVolume.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
|
@@ -529,6 +574,12 @@ module Aws::StorageGateway
|
|
529
574
|
CancelArchivalOutput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, location_name: "TapeARN"))
|
530
575
|
CancelArchivalOutput.struct_class = Types::CancelArchivalOutput
|
531
576
|
|
577
|
+
CancelCacheReportInput.add_member(:cache_report_arn, Shapes::ShapeRef.new(shape: CacheReportARN, required: true, location_name: "CacheReportARN"))
|
578
|
+
CancelCacheReportInput.struct_class = Types::CancelCacheReportInput
|
579
|
+
|
580
|
+
CancelCacheReportOutput.add_member(:cache_report_arn, Shapes::ShapeRef.new(shape: CacheReportARN, location_name: "CacheReportARN"))
|
581
|
+
CancelCacheReportOutput.struct_class = Types::CancelCacheReportOutput
|
582
|
+
|
532
583
|
CancelRetrievalInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
533
584
|
CancelRetrievalInput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, required: true, location_name: "TapeARN"))
|
534
585
|
CancelRetrievalInput.struct_class = Types::CancelRetrievalInput
|
@@ -707,6 +758,12 @@ module Aws::StorageGateway
|
|
707
758
|
DeleteBandwidthRateLimitOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
708
759
|
DeleteBandwidthRateLimitOutput.struct_class = Types::DeleteBandwidthRateLimitOutput
|
709
760
|
|
761
|
+
DeleteCacheReportInput.add_member(:cache_report_arn, Shapes::ShapeRef.new(shape: CacheReportARN, required: true, location_name: "CacheReportARN"))
|
762
|
+
DeleteCacheReportInput.struct_class = Types::DeleteCacheReportInput
|
763
|
+
|
764
|
+
DeleteCacheReportOutput.add_member(:cache_report_arn, Shapes::ShapeRef.new(shape: CacheReportARN, location_name: "CacheReportARN"))
|
765
|
+
DeleteCacheReportOutput.struct_class = Types::DeleteCacheReportOutput
|
766
|
+
|
710
767
|
DeleteChapCredentialsInput.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, required: true, location_name: "TargetARN"))
|
711
768
|
DeleteChapCredentialsInput.add_member(:initiator_name, Shapes::ShapeRef.new(shape: IqnName, required: true, location_name: "InitiatorName"))
|
712
769
|
DeleteChapCredentialsInput.struct_class = Types::DeleteChapCredentialsInput
|
@@ -796,6 +853,12 @@ module Aws::StorageGateway
|
|
796
853
|
DescribeCacheOutput.add_member(:cache_miss_percentage, Shapes::ShapeRef.new(shape: double, location_name: "CacheMissPercentage"))
|
797
854
|
DescribeCacheOutput.struct_class = Types::DescribeCacheOutput
|
798
855
|
|
856
|
+
DescribeCacheReportInput.add_member(:cache_report_arn, Shapes::ShapeRef.new(shape: CacheReportARN, required: true, location_name: "CacheReportARN"))
|
857
|
+
DescribeCacheReportInput.struct_class = Types::DescribeCacheReportInput
|
858
|
+
|
859
|
+
DescribeCacheReportOutput.add_member(:cache_report_info, Shapes::ShapeRef.new(shape: CacheReportInfo, location_name: "CacheReportInfo"))
|
860
|
+
DescribeCacheReportOutput.struct_class = Types::DescribeCacheReportOutput
|
861
|
+
|
799
862
|
DescribeCachediSCSIVolumesInput.add_member(:volume_arns, Shapes::ShapeRef.new(shape: VolumeARNs, required: true, location_name: "VolumeARNs"))
|
800
863
|
DescribeCachediSCSIVolumesInput.struct_class = Types::DescribeCachediSCSIVolumesInput
|
801
864
|
|
@@ -1090,6 +1153,13 @@ module Aws::StorageGateway
|
|
1090
1153
|
ListAutomaticTapeCreationPoliciesOutput.add_member(:automatic_tape_creation_policy_infos, Shapes::ShapeRef.new(shape: AutomaticTapeCreationPolicyInfos, location_name: "AutomaticTapeCreationPolicyInfos"))
|
1091
1154
|
ListAutomaticTapeCreationPoliciesOutput.struct_class = Types::ListAutomaticTapeCreationPoliciesOutput
|
1092
1155
|
|
1156
|
+
ListCacheReportsInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
|
1157
|
+
ListCacheReportsInput.struct_class = Types::ListCacheReportsInput
|
1158
|
+
|
1159
|
+
ListCacheReportsOutput.add_member(:cache_report_list, Shapes::ShapeRef.new(shape: CacheReportList, location_name: "CacheReportList"))
|
1160
|
+
ListCacheReportsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
|
1161
|
+
ListCacheReportsOutput.struct_class = Types::ListCacheReportsOutput
|
1162
|
+
|
1093
1163
|
ListFileSharesInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
1094
1164
|
ListFileSharesInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntObject, location_name: "Limit"))
|
1095
1165
|
ListFileSharesInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
|
@@ -1341,6 +1411,20 @@ module Aws::StorageGateway
|
|
1341
1411
|
StartAvailabilityMonitorTestOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
|
1342
1412
|
StartAvailabilityMonitorTestOutput.struct_class = Types::StartAvailabilityMonitorTestOutput
|
1343
1413
|
|
1414
|
+
StartCacheReportInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
|
1415
|
+
StartCacheReportInput.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
|
1416
|
+
StartCacheReportInput.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationARN, required: true, location_name: "LocationARN"))
|
1417
|
+
StartCacheReportInput.add_member(:bucket_region, Shapes::ShapeRef.new(shape: RegionId, required: true, location_name: "BucketRegion"))
|
1418
|
+
StartCacheReportInput.add_member(:vpc_endpoint_dns_name, Shapes::ShapeRef.new(shape: DNSHostName, location_name: "VPCEndpointDNSName"))
|
1419
|
+
StartCacheReportInput.add_member(:inclusion_filters, Shapes::ShapeRef.new(shape: CacheReportFilterList, location_name: "InclusionFilters"))
|
1420
|
+
StartCacheReportInput.add_member(:exclusion_filters, Shapes::ShapeRef.new(shape: CacheReportFilterList, location_name: "ExclusionFilters"))
|
1421
|
+
StartCacheReportInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
|
1422
|
+
StartCacheReportInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
1423
|
+
StartCacheReportInput.struct_class = Types::StartCacheReportInput
|
1424
|
+
|
1425
|
+
StartCacheReportOutput.add_member(:cache_report_arn, Shapes::ShapeRef.new(shape: CacheReportARN, location_name: "CacheReportARN"))
|
1426
|
+
StartCacheReportOutput.struct_class = Types::StartCacheReportOutput
|
1427
|
+
|
1344
1428
|
StartGatewayInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
|
1345
1429
|
StartGatewayInput.struct_class = Types::StartGatewayInput
|
1346
1430
|
|
@@ -1744,6 +1828,16 @@ module Aws::StorageGateway
|
|
1744
1828
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1745
1829
|
end)
|
1746
1830
|
|
1831
|
+
api.add_operation(:cancel_cache_report, Seahorse::Model::Operation.new.tap do |o|
|
1832
|
+
o.name = "CancelCacheReport"
|
1833
|
+
o.http_method = "POST"
|
1834
|
+
o.http_request_uri = "/"
|
1835
|
+
o.input = Shapes::ShapeRef.new(shape: CancelCacheReportInput)
|
1836
|
+
o.output = Shapes::ShapeRef.new(shape: CancelCacheReportOutput)
|
1837
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
1838
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1839
|
+
end)
|
1840
|
+
|
1747
1841
|
api.add_operation(:cancel_retrieval, Seahorse::Model::Operation.new.tap do |o|
|
1748
1842
|
o.name = "CancelRetrieval"
|
1749
1843
|
o.http_method = "POST"
|
@@ -1866,6 +1960,16 @@ module Aws::StorageGateway
|
|
1866
1960
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1867
1961
|
end)
|
1868
1962
|
|
1963
|
+
api.add_operation(:delete_cache_report, Seahorse::Model::Operation.new.tap do |o|
|
1964
|
+
o.name = "DeleteCacheReport"
|
1965
|
+
o.http_method = "POST"
|
1966
|
+
o.http_request_uri = "/"
|
1967
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCacheReportInput)
|
1968
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCacheReportOutput)
|
1969
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
1970
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1971
|
+
end)
|
1972
|
+
|
1869
1973
|
api.add_operation(:delete_chap_credentials, Seahorse::Model::Operation.new.tap do |o|
|
1870
1974
|
o.name = "DeleteChapCredentials"
|
1871
1975
|
o.http_method = "POST"
|
@@ -1986,6 +2090,16 @@ module Aws::StorageGateway
|
|
1986
2090
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1987
2091
|
end)
|
1988
2092
|
|
2093
|
+
api.add_operation(:describe_cache_report, Seahorse::Model::Operation.new.tap do |o|
|
2094
|
+
o.name = "DescribeCacheReport"
|
2095
|
+
o.http_method = "POST"
|
2096
|
+
o.http_request_uri = "/"
|
2097
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCacheReportInput)
|
2098
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCacheReportOutput)
|
2099
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
2100
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2101
|
+
end)
|
2102
|
+
|
1989
2103
|
api.add_operation(:describe_cached_iscsi_volumes, Seahorse::Model::Operation.new.tap do |o|
|
1990
2104
|
o.name = "DescribeCachediSCSIVolumes"
|
1991
2105
|
o.http_method = "POST"
|
@@ -2220,6 +2334,16 @@ module Aws::StorageGateway
|
|
2220
2334
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2221
2335
|
end)
|
2222
2336
|
|
2337
|
+
api.add_operation(:list_cache_reports, Seahorse::Model::Operation.new.tap do |o|
|
2338
|
+
o.name = "ListCacheReports"
|
2339
|
+
o.http_method = "POST"
|
2340
|
+
o.http_request_uri = "/"
|
2341
|
+
o.input = Shapes::ShapeRef.new(shape: ListCacheReportsInput)
|
2342
|
+
o.output = Shapes::ShapeRef.new(shape: ListCacheReportsOutput)
|
2343
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
2344
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2345
|
+
end)
|
2346
|
+
|
2223
2347
|
api.add_operation(:list_file_shares, Seahorse::Model::Operation.new.tap do |o|
|
2224
2348
|
o.name = "ListFileShares"
|
2225
2349
|
o.http_method = "POST"
|
@@ -2462,6 +2586,16 @@ module Aws::StorageGateway
|
|
2462
2586
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2463
2587
|
end)
|
2464
2588
|
|
2589
|
+
api.add_operation(:start_cache_report, Seahorse::Model::Operation.new.tap do |o|
|
2590
|
+
o.name = "StartCacheReport"
|
2591
|
+
o.http_method = "POST"
|
2592
|
+
o.http_request_uri = "/"
|
2593
|
+
o.input = Shapes::ShapeRef.new(shape: StartCacheReportInput)
|
2594
|
+
o.output = Shapes::ShapeRef.new(shape: StartCacheReportOutput)
|
2595
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
|
2596
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2597
|
+
end)
|
2598
|
+
|
2465
2599
|
api.add_operation(:start_gateway, Seahorse::Model::Operation.new.tap do |o|
|
2466
2600
|
o.name = "StartGateway"
|
2467
2601
|
o.http_method = "POST"
|
@@ -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
|
#
|