@aws-sdk/client-storage-gateway 3.35.0 → 3.36.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.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/StorageGateway.js +0 -1
- package/dist-cjs/StorageGatewayClient.js +0 -1
- package/dist-cjs/commands/ActivateGatewayCommand.js +0 -1
- package/dist-cjs/commands/AddCacheCommand.js +0 -1
- package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -1
- package/dist-cjs/commands/AddUploadBufferCommand.js +0 -1
- package/dist-cjs/commands/AddWorkingStorageCommand.js +0 -1
- package/dist-cjs/commands/AssignTapePoolCommand.js +0 -1
- package/dist-cjs/commands/AssociateFileSystemCommand.js +0 -1
- package/dist-cjs/commands/AttachVolumeCommand.js +0 -1
- package/dist-cjs/commands/CancelArchivalCommand.js +0 -1
- package/dist-cjs/commands/CancelRetrievalCommand.js +0 -1
- package/dist-cjs/commands/CreateCachediSCSIVolumeCommand.js +0 -1
- package/dist-cjs/commands/CreateNFSFileShareCommand.js +0 -1
- package/dist-cjs/commands/CreateSMBFileShareCommand.js +0 -1
- package/dist-cjs/commands/CreateSnapshotCommand.js +0 -1
- package/dist-cjs/commands/CreateSnapshotFromVolumeRecoveryPointCommand.js +0 -1
- package/dist-cjs/commands/CreateStorediSCSIVolumeCommand.js +0 -1
- package/dist-cjs/commands/CreateTapePoolCommand.js +0 -1
- package/dist-cjs/commands/CreateTapeWithBarcodeCommand.js +0 -1
- package/dist-cjs/commands/CreateTapesCommand.js +0 -1
- package/dist-cjs/commands/DeleteAutomaticTapeCreationPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteBandwidthRateLimitCommand.js +0 -1
- package/dist-cjs/commands/DeleteChapCredentialsCommand.js +0 -1
- package/dist-cjs/commands/DeleteFileShareCommand.js +0 -1
- package/dist-cjs/commands/DeleteGatewayCommand.js +0 -1
- package/dist-cjs/commands/DeleteSnapshotScheduleCommand.js +0 -1
- package/dist-cjs/commands/DeleteTapeArchiveCommand.js +0 -1
- package/dist-cjs/commands/DeleteTapeCommand.js +0 -1
- package/dist-cjs/commands/DeleteTapePoolCommand.js +0 -1
- package/dist-cjs/commands/DeleteVolumeCommand.js +0 -1
- package/dist-cjs/commands/DescribeAvailabilityMonitorTestCommand.js +0 -1
- package/dist-cjs/commands/DescribeBandwidthRateLimitCommand.js +0 -1
- package/dist-cjs/commands/DescribeBandwidthRateLimitScheduleCommand.js +0 -1
- package/dist-cjs/commands/DescribeCacheCommand.js +0 -1
- package/dist-cjs/commands/DescribeCachediSCSIVolumesCommand.js +0 -1
- package/dist-cjs/commands/DescribeChapCredentialsCommand.js +0 -1
- package/dist-cjs/commands/DescribeFileSystemAssociationsCommand.js +0 -1
- package/dist-cjs/commands/DescribeGatewayInformationCommand.js +0 -1
- package/dist-cjs/commands/DescribeMaintenanceStartTimeCommand.js +0 -1
- package/dist-cjs/commands/DescribeNFSFileSharesCommand.js +0 -1
- package/dist-cjs/commands/DescribeSMBFileSharesCommand.js +0 -1
- package/dist-cjs/commands/DescribeSMBSettingsCommand.js +0 -1
- package/dist-cjs/commands/DescribeSnapshotScheduleCommand.js +0 -1
- package/dist-cjs/commands/DescribeStorediSCSIVolumesCommand.js +0 -1
- package/dist-cjs/commands/DescribeTapeArchivesCommand.js +0 -1
- package/dist-cjs/commands/DescribeTapeRecoveryPointsCommand.js +0 -1
- package/dist-cjs/commands/DescribeTapesCommand.js +0 -1
- package/dist-cjs/commands/DescribeUploadBufferCommand.js +0 -1
- package/dist-cjs/commands/DescribeVTLDevicesCommand.js +0 -1
- package/dist-cjs/commands/DescribeWorkingStorageCommand.js +0 -1
- package/dist-cjs/commands/DetachVolumeCommand.js +0 -1
- package/dist-cjs/commands/DisableGatewayCommand.js +0 -1
- package/dist-cjs/commands/DisassociateFileSystemCommand.js +0 -1
- package/dist-cjs/commands/JoinDomainCommand.js +0 -1
- package/dist-cjs/commands/ListAutomaticTapeCreationPoliciesCommand.js +0 -1
- package/dist-cjs/commands/ListFileSharesCommand.js +0 -1
- package/dist-cjs/commands/ListFileSystemAssociationsCommand.js +0 -1
- package/dist-cjs/commands/ListGatewaysCommand.js +0 -1
- package/dist-cjs/commands/ListLocalDisksCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListTapePoolsCommand.js +0 -1
- package/dist-cjs/commands/ListTapesCommand.js +0 -1
- package/dist-cjs/commands/ListVolumeInitiatorsCommand.js +0 -1
- package/dist-cjs/commands/ListVolumeRecoveryPointsCommand.js +0 -1
- package/dist-cjs/commands/ListVolumesCommand.js +0 -1
- package/dist-cjs/commands/NotifyWhenUploadedCommand.js +0 -1
- package/dist-cjs/commands/RefreshCacheCommand.js +0 -1
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -1
- package/dist-cjs/commands/ResetCacheCommand.js +0 -1
- package/dist-cjs/commands/RetrieveTapeArchiveCommand.js +0 -1
- package/dist-cjs/commands/RetrieveTapeRecoveryPointCommand.js +0 -1
- package/dist-cjs/commands/SetLocalConsolePasswordCommand.js +0 -1
- package/dist-cjs/commands/SetSMBGuestPasswordCommand.js +0 -1
- package/dist-cjs/commands/ShutdownGatewayCommand.js +0 -1
- package/dist-cjs/commands/StartAvailabilityMonitorTestCommand.js +0 -1
- package/dist-cjs/commands/StartGatewayCommand.js +0 -1
- package/dist-cjs/commands/UpdateAutomaticTapeCreationPolicyCommand.js +0 -1
- package/dist-cjs/commands/UpdateBandwidthRateLimitCommand.js +0 -1
- package/dist-cjs/commands/UpdateBandwidthRateLimitScheduleCommand.js +0 -1
- package/dist-cjs/commands/UpdateChapCredentialsCommand.js +0 -1
- package/dist-cjs/commands/UpdateFileSystemAssociationCommand.js +0 -1
- package/dist-cjs/commands/UpdateGatewayInformationCommand.js +0 -1
- package/dist-cjs/commands/UpdateGatewaySoftwareNowCommand.js +0 -1
- package/dist-cjs/commands/UpdateMaintenanceStartTimeCommand.js +0 -1
- package/dist-cjs/commands/UpdateNFSFileShareCommand.js +0 -1
- package/dist-cjs/commands/UpdateSMBFileShareCommand.js +0 -1
- package/dist-cjs/commands/UpdateSMBFileShareVisibilityCommand.js +0 -1
- package/dist-cjs/commands/UpdateSMBSecurityStrategyCommand.js +0 -1
- package/dist-cjs/commands/UpdateSnapshotScheduleCommand.js +0 -1
- package/dist-cjs/commands/UpdateVTLDeviceTypeCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/DescribeTapeArchivesPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeTapeRecoveryPointsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeTapesPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeVTLDevicesPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListFileSharesPaginator.js +0 -1
- package/dist-cjs/pagination/ListFileSystemAssociationsPaginator.js +0 -1
- package/dist-cjs/pagination/ListGatewaysPaginator.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-cjs/pagination/ListTapePoolsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTapesPaginator.js +0 -1
- package/dist-cjs/pagination/ListVolumesPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/StorageGateway.js +0 -1
- package/dist-es/StorageGatewayClient.js +0 -1
- package/dist-es/commands/ActivateGatewayCommand.js +0 -1
- package/dist-es/commands/AddCacheCommand.js +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js +0 -1
- package/dist-es/commands/AddUploadBufferCommand.js +0 -1
- package/dist-es/commands/AddWorkingStorageCommand.js +0 -1
- package/dist-es/commands/AssignTapePoolCommand.js +0 -1
- package/dist-es/commands/AssociateFileSystemCommand.js +0 -1
- package/dist-es/commands/AttachVolumeCommand.js +0 -1
- package/dist-es/commands/CancelArchivalCommand.js +0 -1
- package/dist-es/commands/CancelRetrievalCommand.js +0 -1
- package/dist-es/commands/CreateCachediSCSIVolumeCommand.js +0 -1
- package/dist-es/commands/CreateNFSFileShareCommand.js +0 -1
- package/dist-es/commands/CreateSMBFileShareCommand.js +0 -1
- package/dist-es/commands/CreateSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateSnapshotFromVolumeRecoveryPointCommand.js +0 -1
- package/dist-es/commands/CreateStorediSCSIVolumeCommand.js +0 -1
- package/dist-es/commands/CreateTapePoolCommand.js +0 -1
- package/dist-es/commands/CreateTapeWithBarcodeCommand.js +0 -1
- package/dist-es/commands/CreateTapesCommand.js +0 -1
- package/dist-es/commands/DeleteAutomaticTapeCreationPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteBandwidthRateLimitCommand.js +0 -1
- package/dist-es/commands/DeleteChapCredentialsCommand.js +0 -1
- package/dist-es/commands/DeleteFileShareCommand.js +0 -1
- package/dist-es/commands/DeleteGatewayCommand.js +0 -1
- package/dist-es/commands/DeleteSnapshotScheduleCommand.js +0 -1
- package/dist-es/commands/DeleteTapeArchiveCommand.js +0 -1
- package/dist-es/commands/DeleteTapeCommand.js +0 -1
- package/dist-es/commands/DeleteTapePoolCommand.js +0 -1
- package/dist-es/commands/DeleteVolumeCommand.js +0 -1
- package/dist-es/commands/DescribeAvailabilityMonitorTestCommand.js +0 -1
- package/dist-es/commands/DescribeBandwidthRateLimitCommand.js +0 -1
- package/dist-es/commands/DescribeBandwidthRateLimitScheduleCommand.js +0 -1
- package/dist-es/commands/DescribeCacheCommand.js +0 -1
- package/dist-es/commands/DescribeCachediSCSIVolumesCommand.js +0 -1
- package/dist-es/commands/DescribeChapCredentialsCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemAssociationsCommand.js +0 -1
- package/dist-es/commands/DescribeGatewayInformationCommand.js +0 -1
- package/dist-es/commands/DescribeMaintenanceStartTimeCommand.js +0 -1
- package/dist-es/commands/DescribeNFSFileSharesCommand.js +0 -1
- package/dist-es/commands/DescribeSMBFileSharesCommand.js +0 -1
- package/dist-es/commands/DescribeSMBSettingsCommand.js +0 -1
- package/dist-es/commands/DescribeSnapshotScheduleCommand.js +0 -1
- package/dist-es/commands/DescribeStorediSCSIVolumesCommand.js +0 -1
- package/dist-es/commands/DescribeTapeArchivesCommand.js +0 -1
- package/dist-es/commands/DescribeTapeRecoveryPointsCommand.js +0 -1
- package/dist-es/commands/DescribeTapesCommand.js +0 -1
- package/dist-es/commands/DescribeUploadBufferCommand.js +0 -1
- package/dist-es/commands/DescribeVTLDevicesCommand.js +0 -1
- package/dist-es/commands/DescribeWorkingStorageCommand.js +0 -1
- package/dist-es/commands/DetachVolumeCommand.js +0 -1
- package/dist-es/commands/DisableGatewayCommand.js +0 -1
- package/dist-es/commands/DisassociateFileSystemCommand.js +0 -1
- package/dist-es/commands/JoinDomainCommand.js +0 -1
- package/dist-es/commands/ListAutomaticTapeCreationPoliciesCommand.js +0 -1
- package/dist-es/commands/ListFileSharesCommand.js +0 -1
- package/dist-es/commands/ListFileSystemAssociationsCommand.js +0 -1
- package/dist-es/commands/ListGatewaysCommand.js +0 -1
- package/dist-es/commands/ListLocalDisksCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListTapePoolsCommand.js +0 -1
- package/dist-es/commands/ListTapesCommand.js +0 -1
- package/dist-es/commands/ListVolumeInitiatorsCommand.js +0 -1
- package/dist-es/commands/ListVolumeRecoveryPointsCommand.js +0 -1
- package/dist-es/commands/ListVolumesCommand.js +0 -1
- package/dist-es/commands/NotifyWhenUploadedCommand.js +0 -1
- package/dist-es/commands/RefreshCacheCommand.js +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +0 -1
- package/dist-es/commands/ResetCacheCommand.js +0 -1
- package/dist-es/commands/RetrieveTapeArchiveCommand.js +0 -1
- package/dist-es/commands/RetrieveTapeRecoveryPointCommand.js +0 -1
- package/dist-es/commands/SetLocalConsolePasswordCommand.js +0 -1
- package/dist-es/commands/SetSMBGuestPasswordCommand.js +0 -1
- package/dist-es/commands/ShutdownGatewayCommand.js +0 -1
- package/dist-es/commands/StartAvailabilityMonitorTestCommand.js +0 -1
- package/dist-es/commands/StartGatewayCommand.js +0 -1
- package/dist-es/commands/UpdateAutomaticTapeCreationPolicyCommand.js +0 -1
- package/dist-es/commands/UpdateBandwidthRateLimitCommand.js +0 -1
- package/dist-es/commands/UpdateBandwidthRateLimitScheduleCommand.js +0 -1
- package/dist-es/commands/UpdateChapCredentialsCommand.js +0 -1
- package/dist-es/commands/UpdateFileSystemAssociationCommand.js +0 -1
- package/dist-es/commands/UpdateGatewayInformationCommand.js +0 -1
- package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +0 -1
- package/dist-es/commands/UpdateMaintenanceStartTimeCommand.js +0 -1
- package/dist-es/commands/UpdateNFSFileShareCommand.js +0 -1
- package/dist-es/commands/UpdateSMBFileShareCommand.js +0 -1
- package/dist-es/commands/UpdateSMBFileShareVisibilityCommand.js +0 -1
- package/dist-es/commands/UpdateSMBSecurityStrategyCommand.js +0 -1
- package/dist-es/commands/UpdateSnapshotScheduleCommand.js +0 -1
- package/dist-es/commands/UpdateVTLDeviceTypeCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeTapeArchivesPaginator.js +0 -1
- package/dist-es/pagination/DescribeTapeRecoveryPointsPaginator.js +0 -1
- package/dist-es/pagination/DescribeTapesPaginator.js +0 -1
- package/dist-es/pagination/DescribeVTLDevicesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListFileSharesPaginator.js +0 -1
- package/dist-es/pagination/ListFileSystemAssociationsPaginator.js +0 -1
- package/dist-es/pagination/ListGatewaysPaginator.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/ListTapePoolsPaginator.js +0 -1
- package/dist-es/pagination/ListTapesPaginator.js +0 -1
- package/dist-es/pagination/ListVolumesPaginator.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/StorageGateway.js.map +0 -1
- package/dist-cjs/StorageGatewayClient.js.map +0 -1
- package/dist-cjs/commands/ActivateGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/AddCacheCommand.js.map +0 -1
- package/dist-cjs/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-cjs/commands/AddUploadBufferCommand.js.map +0 -1
- package/dist-cjs/commands/AddWorkingStorageCommand.js.map +0 -1
- package/dist-cjs/commands/AssignTapePoolCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/AttachVolumeCommand.js.map +0 -1
- package/dist-cjs/commands/CancelArchivalCommand.js.map +0 -1
- package/dist-cjs/commands/CancelRetrievalCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCachediSCSIVolumeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateNFSFileShareCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSMBFileShareCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSnapshotFromVolumeRecoveryPointCommand.js.map +0 -1
- package/dist-cjs/commands/CreateStorediSCSIVolumeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTapePoolCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTapeWithBarcodeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTapesCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAutomaticTapeCreationPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteBandwidthRateLimitCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteChapCredentialsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFileShareCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSnapshotScheduleCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTapeArchiveCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTapeCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTapePoolCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteVolumeCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAvailabilityMonitorTestCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeBandwidthRateLimitCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeBandwidthRateLimitScheduleCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCacheCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCachediSCSIVolumesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeChapCredentialsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemAssociationsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeGatewayInformationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMaintenanceStartTimeCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeNFSFileSharesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSMBFileSharesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSMBSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeSnapshotScheduleCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeStorediSCSIVolumesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTapeArchivesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTapeRecoveryPointsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTapesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUploadBufferCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeVTLDevicesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkingStorageCommand.js.map +0 -1
- package/dist-cjs/commands/DetachVolumeCommand.js.map +0 -1
- package/dist-cjs/commands/DisableGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/JoinDomainCommand.js.map +0 -1
- package/dist-cjs/commands/ListAutomaticTapeCreationPoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListFileSharesCommand.js.map +0 -1
- package/dist-cjs/commands/ListFileSystemAssociationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListGatewaysCommand.js.map +0 -1
- package/dist-cjs/commands/ListLocalDisksCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListTapePoolsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTapesCommand.js.map +0 -1
- package/dist-cjs/commands/ListVolumeInitiatorsCommand.js.map +0 -1
- package/dist-cjs/commands/ListVolumeRecoveryPointsCommand.js.map +0 -1
- package/dist-cjs/commands/ListVolumesCommand.js.map +0 -1
- package/dist-cjs/commands/NotifyWhenUploadedCommand.js.map +0 -1
- package/dist-cjs/commands/RefreshCacheCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ResetCacheCommand.js.map +0 -1
- package/dist-cjs/commands/RetrieveTapeArchiveCommand.js.map +0 -1
- package/dist-cjs/commands/RetrieveTapeRecoveryPointCommand.js.map +0 -1
- package/dist-cjs/commands/SetLocalConsolePasswordCommand.js.map +0 -1
- package/dist-cjs/commands/SetSMBGuestPasswordCommand.js.map +0 -1
- package/dist-cjs/commands/ShutdownGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/StartAvailabilityMonitorTestCommand.js.map +0 -1
- package/dist-cjs/commands/StartGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAutomaticTapeCreationPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateBandwidthRateLimitCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateBandwidthRateLimitScheduleCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateChapCredentialsCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFileSystemAssociationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGatewayInformationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGatewaySoftwareNowCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateMaintenanceStartTimeCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateNFSFileShareCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSMBFileShareCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSMBFileShareVisibilityCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSMBSecurityStrategyCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSnapshotScheduleCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateVTLDeviceTypeCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeTapeArchivesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeTapeRecoveryPointsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeTapesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeVTLDevicesPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListFileSharesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFileSystemAssociationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListGatewaysPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTapePoolsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTapesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListVolumesPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/StorageGateway.js.map +0 -1
- package/dist-es/StorageGatewayClient.js.map +0 -1
- package/dist-es/commands/ActivateGatewayCommand.js.map +0 -1
- package/dist-es/commands/AddCacheCommand.js.map +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-es/commands/AddUploadBufferCommand.js.map +0 -1
- package/dist-es/commands/AddWorkingStorageCommand.js.map +0 -1
- package/dist-es/commands/AssignTapePoolCommand.js.map +0 -1
- package/dist-es/commands/AssociateFileSystemCommand.js.map +0 -1
- package/dist-es/commands/AttachVolumeCommand.js.map +0 -1
- package/dist-es/commands/CancelArchivalCommand.js.map +0 -1
- package/dist-es/commands/CancelRetrievalCommand.js.map +0 -1
- package/dist-es/commands/CreateCachediSCSIVolumeCommand.js.map +0 -1
- package/dist-es/commands/CreateNFSFileShareCommand.js.map +0 -1
- package/dist-es/commands/CreateSMBFileShareCommand.js.map +0 -1
- package/dist-es/commands/CreateSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateSnapshotFromVolumeRecoveryPointCommand.js.map +0 -1
- package/dist-es/commands/CreateStorediSCSIVolumeCommand.js.map +0 -1
- package/dist-es/commands/CreateTapePoolCommand.js.map +0 -1
- package/dist-es/commands/CreateTapeWithBarcodeCommand.js.map +0 -1
- package/dist-es/commands/CreateTapesCommand.js.map +0 -1
- package/dist-es/commands/DeleteAutomaticTapeCreationPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteBandwidthRateLimitCommand.js.map +0 -1
- package/dist-es/commands/DeleteChapCredentialsCommand.js.map +0 -1
- package/dist-es/commands/DeleteFileShareCommand.js.map +0 -1
- package/dist-es/commands/DeleteGatewayCommand.js.map +0 -1
- package/dist-es/commands/DeleteSnapshotScheduleCommand.js.map +0 -1
- package/dist-es/commands/DeleteTapeArchiveCommand.js.map +0 -1
- package/dist-es/commands/DeleteTapeCommand.js.map +0 -1
- package/dist-es/commands/DeleteTapePoolCommand.js.map +0 -1
- package/dist-es/commands/DeleteVolumeCommand.js.map +0 -1
- package/dist-es/commands/DescribeAvailabilityMonitorTestCommand.js.map +0 -1
- package/dist-es/commands/DescribeBandwidthRateLimitCommand.js.map +0 -1
- package/dist-es/commands/DescribeBandwidthRateLimitScheduleCommand.js.map +0 -1
- package/dist-es/commands/DescribeCacheCommand.js.map +0 -1
- package/dist-es/commands/DescribeCachediSCSIVolumesCommand.js.map +0 -1
- package/dist-es/commands/DescribeChapCredentialsCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemAssociationsCommand.js.map +0 -1
- package/dist-es/commands/DescribeGatewayInformationCommand.js.map +0 -1
- package/dist-es/commands/DescribeMaintenanceStartTimeCommand.js.map +0 -1
- package/dist-es/commands/DescribeNFSFileSharesCommand.js.map +0 -1
- package/dist-es/commands/DescribeSMBFileSharesCommand.js.map +0 -1
- package/dist-es/commands/DescribeSMBSettingsCommand.js.map +0 -1
- package/dist-es/commands/DescribeSnapshotScheduleCommand.js.map +0 -1
- package/dist-es/commands/DescribeStorediSCSIVolumesCommand.js.map +0 -1
- package/dist-es/commands/DescribeTapeArchivesCommand.js.map +0 -1
- package/dist-es/commands/DescribeTapeRecoveryPointsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTapesCommand.js.map +0 -1
- package/dist-es/commands/DescribeUploadBufferCommand.js.map +0 -1
- package/dist-es/commands/DescribeVTLDevicesCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkingStorageCommand.js.map +0 -1
- package/dist-es/commands/DetachVolumeCommand.js.map +0 -1
- package/dist-es/commands/DisableGatewayCommand.js.map +0 -1
- package/dist-es/commands/DisassociateFileSystemCommand.js.map +0 -1
- package/dist-es/commands/JoinDomainCommand.js.map +0 -1
- package/dist-es/commands/ListAutomaticTapeCreationPoliciesCommand.js.map +0 -1
- package/dist-es/commands/ListFileSharesCommand.js.map +0 -1
- package/dist-es/commands/ListFileSystemAssociationsCommand.js.map +0 -1
- package/dist-es/commands/ListGatewaysCommand.js.map +0 -1
- package/dist-es/commands/ListLocalDisksCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListTapePoolsCommand.js.map +0 -1
- package/dist-es/commands/ListTapesCommand.js.map +0 -1
- package/dist-es/commands/ListVolumeInitiatorsCommand.js.map +0 -1
- package/dist-es/commands/ListVolumeRecoveryPointsCommand.js.map +0 -1
- package/dist-es/commands/ListVolumesCommand.js.map +0 -1
- package/dist-es/commands/NotifyWhenUploadedCommand.js.map +0 -1
- package/dist-es/commands/RefreshCacheCommand.js.map +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-es/commands/ResetCacheCommand.js.map +0 -1
- package/dist-es/commands/RetrieveTapeArchiveCommand.js.map +0 -1
- package/dist-es/commands/RetrieveTapeRecoveryPointCommand.js.map +0 -1
- package/dist-es/commands/SetLocalConsolePasswordCommand.js.map +0 -1
- package/dist-es/commands/SetSMBGuestPasswordCommand.js.map +0 -1
- package/dist-es/commands/ShutdownGatewayCommand.js.map +0 -1
- package/dist-es/commands/StartAvailabilityMonitorTestCommand.js.map +0 -1
- package/dist-es/commands/StartGatewayCommand.js.map +0 -1
- package/dist-es/commands/UpdateAutomaticTapeCreationPolicyCommand.js.map +0 -1
- package/dist-es/commands/UpdateBandwidthRateLimitCommand.js.map +0 -1
- package/dist-es/commands/UpdateBandwidthRateLimitScheduleCommand.js.map +0 -1
- package/dist-es/commands/UpdateChapCredentialsCommand.js.map +0 -1
- package/dist-es/commands/UpdateFileSystemAssociationCommand.js.map +0 -1
- package/dist-es/commands/UpdateGatewayInformationCommand.js.map +0 -1
- package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js.map +0 -1
- package/dist-es/commands/UpdateMaintenanceStartTimeCommand.js.map +0 -1
- package/dist-es/commands/UpdateNFSFileShareCommand.js.map +0 -1
- package/dist-es/commands/UpdateSMBFileShareCommand.js.map +0 -1
- package/dist-es/commands/UpdateSMBFileShareVisibilityCommand.js.map +0 -1
- package/dist-es/commands/UpdateSMBSecurityStrategyCommand.js.map +0 -1
- package/dist-es/commands/UpdateSnapshotScheduleCommand.js.map +0 -1
- package/dist-es/commands/UpdateVTLDeviceTypeCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeTapeArchivesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeTapeRecoveryPointsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeTapesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeVTLDevicesPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListFileSharesPaginator.js.map +0 -1
- package/dist-es/pagination/ListFileSystemAssociationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListGatewaysPaginator.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/pagination/ListTapePoolsPaginator.js.map +0 -1
- package/dist-es/pagination/ListTapesPaginator.js.map +0 -1
- package/dist-es/pagination/ListVolumesPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/StorageGateway.ts +0 -3925
- package/src/StorageGatewayClient.ts +0 -724
- package/src/commands/ActivateGatewayCommand.ts +0 -102
- package/src/commands/AddCacheCommand.ts +0 -96
- package/src/commands/AddTagsToResourceCommand.ts +0 -119
- package/src/commands/AddUploadBufferCommand.ts +0 -101
- package/src/commands/AddWorkingStorageCommand.ts +0 -107
- package/src/commands/AssignTapePoolCommand.ts +0 -101
- package/src/commands/AssociateFileSystemCommand.ts +0 -98
- package/src/commands/AttachVolumeCommand.ts +0 -98
- package/src/commands/CancelArchivalCommand.ts +0 -96
- package/src/commands/CancelRetrievalCommand.ts +0 -97
- package/src/commands/CreateCachediSCSIVolumeCommand.ts +0 -112
- package/src/commands/CreateNFSFileShareCommand.ts +0 -109
- package/src/commands/CreateSMBFileShareCommand.ts +0 -110
- package/src/commands/CreateSnapshotCommand.ts +0 -122
- package/src/commands/CreateSnapshotFromVolumeRecoveryPointCommand.ts +0 -126
- package/src/commands/CreateStorediSCSIVolumeCommand.ts +0 -106
- package/src/commands/CreateTapePoolCommand.ts +0 -96
- package/src/commands/CreateTapeWithBarcodeCommand.ts +0 -103
- package/src/commands/CreateTapesCommand.ts +0 -101
- package/src/commands/DeleteAutomaticTapeCreationPolicyCommand.ts +0 -105
- package/src/commands/DeleteBandwidthRateLimitCommand.ts +0 -99
- package/src/commands/DeleteChapCredentialsCommand.ts +0 -97
- package/src/commands/DeleteFileShareCommand.ts +0 -96
- package/src/commands/DeleteGatewayCommand.ts +0 -112
- package/src/commands/DeleteSnapshotScheduleCommand.ts +0 -109
- package/src/commands/DeleteTapeArchiveCommand.ts +0 -96
- package/src/commands/DeleteTapeCommand.ts +0 -96
- package/src/commands/DeleteTapePoolCommand.ts +0 -97
- package/src/commands/DeleteVolumeCommand.ts +0 -107
- package/src/commands/DescribeAvailabilityMonitorTestCommand.ts +0 -105
- package/src/commands/DescribeBandwidthRateLimitCommand.ts +0 -105
- package/src/commands/DescribeBandwidthRateLimitScheduleCommand.ts +0 -123
- package/src/commands/DescribeCacheCommand.ts +0 -99
- package/src/commands/DescribeCachediSCSIVolumesCommand.ts +0 -103
- package/src/commands/DescribeChapCredentialsCommand.ts +0 -97
- package/src/commands/DescribeFileSystemAssociationsCommand.ts +0 -104
- package/src/commands/DescribeGatewayInformationCommand.ts +0 -100
- package/src/commands/DescribeMaintenanceStartTimeCommand.ts +0 -101
- package/src/commands/DescribeNFSFileSharesCommand.ts +0 -96
- package/src/commands/DescribeSMBFileSharesCommand.ts +0 -96
- package/src/commands/DescribeSMBSettingsCommand.ts +0 -96
- package/src/commands/DescribeSnapshotScheduleCommand.ts +0 -98
- package/src/commands/DescribeStorediSCSIVolumesCommand.ts +0 -100
- package/src/commands/DescribeTapeArchivesCommand.ts +0 -99
- package/src/commands/DescribeTapeRecoveryPointsCommand.ts +0 -104
- package/src/commands/DescribeTapesCommand.ts +0 -98
- package/src/commands/DescribeUploadBufferCommand.ts +0 -99
- package/src/commands/DescribeVTLDevicesCommand.ts +0 -98
- package/src/commands/DescribeWorkingStorageCommand.ts +0 -105
- package/src/commands/DetachVolumeCommand.ts +0 -99
- package/src/commands/DisableGatewayCommand.ts +0 -103
- package/src/commands/DisassociateFileSystemCommand.ts +0 -97
- package/src/commands/JoinDomainCommand.ts +0 -96
- package/src/commands/ListAutomaticTapeCreationPoliciesCommand.ts +0 -106
- package/src/commands/ListFileSharesCommand.ts +0 -96
- package/src/commands/ListFileSystemAssociationsCommand.ts +0 -100
- package/src/commands/ListGatewaysCommand.ts +0 -104
- package/src/commands/ListLocalDisksCommand.ts +0 -103
- package/src/commands/ListTagsForResourceCommand.ts +0 -96
- package/src/commands/ListTapePoolsCommand.ts +0 -103
- package/src/commands/ListTapesCommand.ts +0 -102
- package/src/commands/ListVolumeInitiatorsCommand.ts +0 -97
- package/src/commands/ListVolumeRecoveryPointsCommand.ts +0 -101
- package/src/commands/ListVolumesCommand.ts +0 -104
- package/src/commands/NotifyWhenUploadedCommand.ts +0 -109
- package/src/commands/RefreshCacheCommand.ts +0 -125
- package/src/commands/RemoveTagsFromResourceCommand.ts +0 -96
- package/src/commands/ResetCacheCommand.ts +0 -107
- package/src/commands/RetrieveTapeArchiveCommand.ts +0 -102
- package/src/commands/RetrieveTapeRecoveryPointCommand.ts +0 -109
- package/src/commands/SetLocalConsolePasswordCommand.ts +0 -98
- package/src/commands/SetSMBGuestPasswordCommand.ts +0 -97
- package/src/commands/ShutdownGatewayCommand.ts +0 -118
- package/src/commands/StartAvailabilityMonitorTestCommand.ts +0 -107
- package/src/commands/StartGatewayCommand.ts +0 -107
- package/src/commands/UpdateAutomaticTapeCreationPolicyCommand.ts +0 -111
- package/src/commands/UpdateBandwidthRateLimitCommand.ts +0 -105
- package/src/commands/UpdateBandwidthRateLimitScheduleCommand.ts +0 -108
- package/src/commands/UpdateChapCredentialsCommand.ts +0 -103
- package/src/commands/UpdateFileSystemAssociationCommand.ts +0 -98
- package/src/commands/UpdateGatewayInformationCommand.ts +0 -103
- package/src/commands/UpdateGatewaySoftwareNowCommand.ts +0 -110
- package/src/commands/UpdateMaintenanceStartTimeCommand.ts +0 -99
- package/src/commands/UpdateNFSFileShareCommand.ts +0 -120
- package/src/commands/UpdateSMBFileShareCommand.ts +0 -113
- package/src/commands/UpdateSMBFileShareVisibilityCommand.ts +0 -101
- package/src/commands/UpdateSMBSecurityStrategyCommand.ts +0 -105
- package/src/commands/UpdateSnapshotScheduleCommand.ts +0 -104
- package/src/commands/UpdateVTLDeviceTypeCommand.ts +0 -98
- package/src/endpoints.ts +0 -63
- package/src/index.ts +0 -104
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -8368
- package/src/pagination/DescribeTapeArchivesPaginator.ts +0 -59
- package/src/pagination/DescribeTapeRecoveryPointsPaginator.ts +0 -59
- package/src/pagination/DescribeTapesPaginator.ts +0 -59
- package/src/pagination/DescribeVTLDevicesPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListFileSharesPaginator.ts +0 -59
- package/src/pagination/ListFileSystemAssociationsPaginator.ts +0 -59
- package/src/pagination/ListGatewaysPaginator.ts +0 -59
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/pagination/ListTapePoolsPaginator.ts +0 -59
- package/src/pagination/ListTapesPaginator.ts +0 -55
- package/src/pagination/ListVolumesPaginator.ts +0 -55
- package/src/protocols/Aws_json1_1.ts +0 -10378
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ActivateGatewayInput, ActivateGatewayOutput } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1ActivateGatewayCommand,
|
|
17
|
-
serializeAws_json1_1ActivateGatewayCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient";
|
|
20
|
-
|
|
21
|
-
export interface ActivateGatewayCommandInput extends ActivateGatewayInput {}
|
|
22
|
-
export interface ActivateGatewayCommandOutput extends ActivateGatewayOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Activates the gateway you previously deployed on your host. In the activation process,
|
|
26
|
-
* you specify information such as the Region that you want to use for storing snapshots
|
|
27
|
-
* or tapes, the time zone for scheduled snapshots the gateway snapshot schedule window, an
|
|
28
|
-
* activation key, and a name for your gateway. The activation process also associates your
|
|
29
|
-
* gateway with your account. For more information, see <a>UpdateGatewayInformation</a>.</p>
|
|
30
|
-
* <note>
|
|
31
|
-
* <p>You must turn on the gateway VM before you can activate your gateway.</p>
|
|
32
|
-
* </note>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { StorageGatewayClient, ActivateGatewayCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import
|
|
37
|
-
* // const { StorageGatewayClient, ActivateGatewayCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import
|
|
38
|
-
* const client = new StorageGatewayClient(config);
|
|
39
|
-
* const command = new ActivateGatewayCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link ActivateGatewayCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link ActivateGatewayCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link StorageGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class ActivateGatewayCommand extends $Command<
|
|
49
|
-
ActivateGatewayCommandInput,
|
|
50
|
-
ActivateGatewayCommandOutput,
|
|
51
|
-
StorageGatewayClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: ActivateGatewayCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: StorageGatewayClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<ActivateGatewayCommandInput, ActivateGatewayCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "StorageGatewayClient";
|
|
76
|
-
const commandName = "ActivateGatewayCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: ActivateGatewayInput.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: ActivateGatewayOutput.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: ActivateGatewayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1ActivateGatewayCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ActivateGatewayCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1ActivateGatewayCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AddCacheInput, AddCacheOutput } from "../models/models_0";
|
|
15
|
-
import { deserializeAws_json1_1AddCacheCommand, serializeAws_json1_1AddCacheCommand } from "../protocols/Aws_json1_1";
|
|
16
|
-
import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient";
|
|
17
|
-
|
|
18
|
-
export interface AddCacheCommandInput extends AddCacheInput {}
|
|
19
|
-
export interface AddCacheCommandOutput extends AddCacheOutput, __MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <p>Configures one or more gateway local disks as cache for a gateway. This operation is
|
|
23
|
-
* only supported in the cached volume, tape, and file gateway type (see <a href="https://docs.aws.amazon.com/storagegateway/latest/userguide/StorageGatewayConcepts.html">How Storage Gateway works (architecture)</a>.</p>
|
|
24
|
-
*
|
|
25
|
-
* <p>In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to
|
|
26
|
-
* add cache, and one or more disk IDs that you want to configure as cache.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { StorageGatewayClient, AddCacheCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import
|
|
31
|
-
* // const { StorageGatewayClient, AddCacheCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import
|
|
32
|
-
* const client = new StorageGatewayClient(config);
|
|
33
|
-
* const command = new AddCacheCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link AddCacheCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link AddCacheCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link StorageGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class AddCacheCommand extends $Command<
|
|
43
|
-
AddCacheCommandInput,
|
|
44
|
-
AddCacheCommandOutput,
|
|
45
|
-
StorageGatewayClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: AddCacheCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: StorageGatewayClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<AddCacheCommandInput, AddCacheCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "StorageGatewayClient";
|
|
70
|
-
const commandName = "AddCacheCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: AddCacheInput.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: AddCacheOutput.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: AddCacheCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1AddCacheCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddCacheCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1AddCacheCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AddTagsToResourceInput, AddTagsToResourceOutput } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1AddTagsToResourceCommand,
|
|
17
|
-
serializeAws_json1_1AddTagsToResourceCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient";
|
|
20
|
-
|
|
21
|
-
export interface AddTagsToResourceCommandInput extends AddTagsToResourceInput {}
|
|
22
|
-
export interface AddTagsToResourceCommandOutput extends AddTagsToResourceOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Adds one or more tags to the specified resource. You use tags to add metadata to
|
|
26
|
-
* resources, which you can use to categorize these resources. For example, you can categorize
|
|
27
|
-
* resources by purpose, owner, environment, or team. Each tag consists of a key and a value,
|
|
28
|
-
* which you define. You can add tags to the following Storage Gateway resources:</p>
|
|
29
|
-
*
|
|
30
|
-
* <ul>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Storage gateways of all types</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>Storage volumes</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Virtual tapes</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>NFS and SMB file shares</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>File System associations</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* </ul>
|
|
47
|
-
*
|
|
48
|
-
* <p>You can create a maximum of 50 tags for each resource. Virtual tapes and storage volumes
|
|
49
|
-
* that are recovered to a new gateway maintain their tags.</p>
|
|
50
|
-
* @example
|
|
51
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
-
* ```javascript
|
|
53
|
-
* import { StorageGatewayClient, AddTagsToResourceCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import
|
|
54
|
-
* // const { StorageGatewayClient, AddTagsToResourceCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import
|
|
55
|
-
* const client = new StorageGatewayClient(config);
|
|
56
|
-
* const command = new AddTagsToResourceCommand(input);
|
|
57
|
-
* const response = await client.send(command);
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* @see {@link AddTagsToResourceCommandInput} for command's `input` shape.
|
|
61
|
-
* @see {@link AddTagsToResourceCommandOutput} for command's `response` shape.
|
|
62
|
-
* @see {@link StorageGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
|
-
export class AddTagsToResourceCommand extends $Command<
|
|
66
|
-
AddTagsToResourceCommandInput,
|
|
67
|
-
AddTagsToResourceCommandOutput,
|
|
68
|
-
StorageGatewayClientResolvedConfig
|
|
69
|
-
> {
|
|
70
|
-
// Start section: command_properties
|
|
71
|
-
// End section: command_properties
|
|
72
|
-
|
|
73
|
-
constructor(readonly input: AddTagsToResourceCommandInput) {
|
|
74
|
-
// Start section: command_constructor
|
|
75
|
-
super();
|
|
76
|
-
// End section: command_constructor
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
resolveMiddleware(
|
|
83
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
84
|
-
configuration: StorageGatewayClientResolvedConfig,
|
|
85
|
-
options?: __HttpHandlerOptions
|
|
86
|
-
): Handler<AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput> {
|
|
87
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
88
|
-
|
|
89
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
90
|
-
|
|
91
|
-
const { logger } = configuration;
|
|
92
|
-
const clientName = "StorageGatewayClient";
|
|
93
|
-
const commandName = "AddTagsToResourceCommand";
|
|
94
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
95
|
-
logger,
|
|
96
|
-
clientName,
|
|
97
|
-
commandName,
|
|
98
|
-
inputFilterSensitiveLog: AddTagsToResourceInput.filterSensitiveLog,
|
|
99
|
-
outputFilterSensitiveLog: AddTagsToResourceOutput.filterSensitiveLog,
|
|
100
|
-
};
|
|
101
|
-
const { requestHandler } = configuration;
|
|
102
|
-
return stack.resolve(
|
|
103
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
104
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
105
|
-
handlerExecutionContext
|
|
106
|
-
);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private serialize(input: AddTagsToResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
110
|
-
return serializeAws_json1_1AddTagsToResourceCommand(input, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddTagsToResourceCommandOutput> {
|
|
114
|
-
return deserializeAws_json1_1AddTagsToResourceCommand(output, context);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// Start section: command_body_extra
|
|
118
|
-
// End section: command_body_extra
|
|
119
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AddUploadBufferInput, AddUploadBufferOutput } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1AddUploadBufferCommand,
|
|
17
|
-
serializeAws_json1_1AddUploadBufferCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient";
|
|
20
|
-
|
|
21
|
-
export interface AddUploadBufferCommandInput extends AddUploadBufferInput {}
|
|
22
|
-
export interface AddUploadBufferCommandOutput extends AddUploadBufferOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Configures one or more gateway local disks as upload buffer for a specified gateway.
|
|
26
|
-
* This operation is supported for the stored volume, cached volume, and tape gateway
|
|
27
|
-
* types.</p>
|
|
28
|
-
*
|
|
29
|
-
* <p>In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to
|
|
30
|
-
* add upload buffer, and one or more disk IDs that you want to configure as upload
|
|
31
|
-
* buffer.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { StorageGatewayClient, AddUploadBufferCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import
|
|
36
|
-
* // const { StorageGatewayClient, AddUploadBufferCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import
|
|
37
|
-
* const client = new StorageGatewayClient(config);
|
|
38
|
-
* const command = new AddUploadBufferCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link AddUploadBufferCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link AddUploadBufferCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link StorageGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class AddUploadBufferCommand extends $Command<
|
|
48
|
-
AddUploadBufferCommandInput,
|
|
49
|
-
AddUploadBufferCommandOutput,
|
|
50
|
-
StorageGatewayClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: AddUploadBufferCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: StorageGatewayClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<AddUploadBufferCommandInput, AddUploadBufferCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "StorageGatewayClient";
|
|
75
|
-
const commandName = "AddUploadBufferCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: AddUploadBufferInput.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: AddUploadBufferOutput.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: AddUploadBufferCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_1AddUploadBufferCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddUploadBufferCommandOutput> {
|
|
96
|
-
return deserializeAws_json1_1AddUploadBufferCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AddWorkingStorageInput, AddWorkingStorageOutput } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1AddWorkingStorageCommand,
|
|
17
|
-
serializeAws_json1_1AddWorkingStorageCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient";
|
|
20
|
-
|
|
21
|
-
export interface AddWorkingStorageCommandInput extends AddWorkingStorageInput {}
|
|
22
|
-
export interface AddWorkingStorageCommandOutput extends AddWorkingStorageOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Configures one or more gateway local disks as working storage for a gateway. This
|
|
26
|
-
* operation is only supported in the stored volume gateway type. This operation is deprecated
|
|
27
|
-
* in cached volume API version 20120630. Use <a>AddUploadBuffer</a>
|
|
28
|
-
* instead.</p>
|
|
29
|
-
*
|
|
30
|
-
* <note>
|
|
31
|
-
* <p>Working storage is also referred to as upload buffer. You can also use the <a>AddUploadBuffer</a> operation to add upload buffer to a stored volume
|
|
32
|
-
* gateway.</p>
|
|
33
|
-
* </note>
|
|
34
|
-
*
|
|
35
|
-
* <p>In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to
|
|
36
|
-
* add working storage, and one or more disk IDs that you want to configure as working
|
|
37
|
-
* storage.</p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { StorageGatewayClient, AddWorkingStorageCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import
|
|
42
|
-
* // const { StorageGatewayClient, AddWorkingStorageCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import
|
|
43
|
-
* const client = new StorageGatewayClient(config);
|
|
44
|
-
* const command = new AddWorkingStorageCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link AddWorkingStorageCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link AddWorkingStorageCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link StorageGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class AddWorkingStorageCommand extends $Command<
|
|
54
|
-
AddWorkingStorageCommandInput,
|
|
55
|
-
AddWorkingStorageCommandOutput,
|
|
56
|
-
StorageGatewayClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: AddWorkingStorageCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: StorageGatewayClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<AddWorkingStorageCommandInput, AddWorkingStorageCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
|
|
77
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
78
|
-
|
|
79
|
-
const { logger } = configuration;
|
|
80
|
-
const clientName = "StorageGatewayClient";
|
|
81
|
-
const commandName = "AddWorkingStorageCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: AddWorkingStorageInput.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: AddWorkingStorageOutput.filterSensitiveLog,
|
|
88
|
-
};
|
|
89
|
-
const { requestHandler } = configuration;
|
|
90
|
-
return stack.resolve(
|
|
91
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
92
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
93
|
-
handlerExecutionContext
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private serialize(input: AddWorkingStorageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
98
|
-
return serializeAws_json1_1AddWorkingStorageCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddWorkingStorageCommandOutput> {
|
|
102
|
-
return deserializeAws_json1_1AddWorkingStorageCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { AssignTapePoolInput, AssignTapePoolOutput } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1AssignTapePoolCommand,
|
|
17
|
-
serializeAws_json1_1AssignTapePoolCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient";
|
|
20
|
-
|
|
21
|
-
export interface AssignTapePoolCommandInput extends AssignTapePoolInput {}
|
|
22
|
-
export interface AssignTapePoolCommandOutput extends AssignTapePoolOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Assigns a tape to a tape pool for archiving. The tape assigned to a pool is archived in
|
|
26
|
-
* the S3 storage class that is associated with the pool. When you use your backup application
|
|
27
|
-
* to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or
|
|
28
|
-
* S3 Glacier Deep Archive) that corresponds to the pool.</p>
|
|
29
|
-
*
|
|
30
|
-
* <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
|
|
31
|
-
* </p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { StorageGatewayClient, AssignTapePoolCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import
|
|
36
|
-
* // const { StorageGatewayClient, AssignTapePoolCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import
|
|
37
|
-
* const client = new StorageGatewayClient(config);
|
|
38
|
-
* const command = new AssignTapePoolCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link AssignTapePoolCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link AssignTapePoolCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link StorageGatewayClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class AssignTapePoolCommand extends $Command<
|
|
48
|
-
AssignTapePoolCommandInput,
|
|
49
|
-
AssignTapePoolCommandOutput,
|
|
50
|
-
StorageGatewayClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: AssignTapePoolCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: StorageGatewayClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<AssignTapePoolCommandInput, AssignTapePoolCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "StorageGatewayClient";
|
|
75
|
-
const commandName = "AssignTapePoolCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: AssignTapePoolInput.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: AssignTapePoolOutput.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: AssignTapePoolCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_1AssignTapePoolCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AssignTapePoolCommandOutput> {
|
|
96
|
-
return deserializeAws_json1_1AssignTapePoolCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|