import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client"; import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client"; import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config"; import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints"; import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols"; import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry"; import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; import type { ActivateGatewayCommandInput, ActivateGatewayCommandOutput } from "./commands/ActivateGatewayCommand"; import type { AddCacheCommandInput, AddCacheCommandOutput } from "./commands/AddCacheCommand"; import type { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand"; import type { AddUploadBufferCommandInput, AddUploadBufferCommandOutput } from "./commands/AddUploadBufferCommand"; import type { AddWorkingStorageCommandInput, AddWorkingStorageCommandOutput } from "./commands/AddWorkingStorageCommand"; import type { AssignTapePoolCommandInput, AssignTapePoolCommandOutput } from "./commands/AssignTapePoolCommand"; import type { AssociateFileSystemCommandInput, AssociateFileSystemCommandOutput } from "./commands/AssociateFileSystemCommand"; import type { AttachVolumeCommandInput, AttachVolumeCommandOutput } from "./commands/AttachVolumeCommand"; import type { CancelArchivalCommandInput, CancelArchivalCommandOutput } from "./commands/CancelArchivalCommand"; import type { CancelCacheReportCommandInput, CancelCacheReportCommandOutput } from "./commands/CancelCacheReportCommand"; import type { CancelRetrievalCommandInput, CancelRetrievalCommandOutput } from "./commands/CancelRetrievalCommand"; import type { CreateCachediSCSIVolumeCommandInput, CreateCachediSCSIVolumeCommandOutput } from "./commands/CreateCachediSCSIVolumeCommand"; import type { CreateNFSFileShareCommandInput, CreateNFSFileShareCommandOutput } from "./commands/CreateNFSFileShareCommand"; import type { CreateSMBFileShareCommandInput, CreateSMBFileShareCommandOutput } from "./commands/CreateSMBFileShareCommand"; import type { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand"; import type { CreateSnapshotFromVolumeRecoveryPointCommandInput, CreateSnapshotFromVolumeRecoveryPointCommandOutput } from "./commands/CreateSnapshotFromVolumeRecoveryPointCommand"; import type { CreateStorediSCSIVolumeCommandInput, CreateStorediSCSIVolumeCommandOutput } from "./commands/CreateStorediSCSIVolumeCommand"; import type { CreateTapePoolCommandInput, CreateTapePoolCommandOutput } from "./commands/CreateTapePoolCommand"; import type { CreateTapesCommandInput, CreateTapesCommandOutput } from "./commands/CreateTapesCommand"; import type { CreateTapeWithBarcodeCommandInput, CreateTapeWithBarcodeCommandOutput } from "./commands/CreateTapeWithBarcodeCommand"; import type { DeleteAutomaticTapeCreationPolicyCommandInput, DeleteAutomaticTapeCreationPolicyCommandOutput } from "./commands/DeleteAutomaticTapeCreationPolicyCommand"; import type { DeleteBandwidthRateLimitCommandInput, DeleteBandwidthRateLimitCommandOutput } from "./commands/DeleteBandwidthRateLimitCommand"; import type { DeleteCacheReportCommandInput, DeleteCacheReportCommandOutput } from "./commands/DeleteCacheReportCommand"; import type { DeleteChapCredentialsCommandInput, DeleteChapCredentialsCommandOutput } from "./commands/DeleteChapCredentialsCommand"; import type { DeleteFileShareCommandInput, DeleteFileShareCommandOutput } from "./commands/DeleteFileShareCommand"; import type { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand"; import type { DeleteSnapshotScheduleCommandInput, DeleteSnapshotScheduleCommandOutput } from "./commands/DeleteSnapshotScheduleCommand"; import type { DeleteTapeArchiveCommandInput, DeleteTapeArchiveCommandOutput } from "./commands/DeleteTapeArchiveCommand"; import type { DeleteTapeCommandInput, DeleteTapeCommandOutput } from "./commands/DeleteTapeCommand"; import type { DeleteTapePoolCommandInput, DeleteTapePoolCommandOutput } from "./commands/DeleteTapePoolCommand"; import type { DeleteVolumeCommandInput, DeleteVolumeCommandOutput } from "./commands/DeleteVolumeCommand"; import type { DescribeAvailabilityMonitorTestCommandInput, DescribeAvailabilityMonitorTestCommandOutput } from "./commands/DescribeAvailabilityMonitorTestCommand"; import type { DescribeBandwidthRateLimitCommandInput, DescribeBandwidthRateLimitCommandOutput } from "./commands/DescribeBandwidthRateLimitCommand"; import type { DescribeBandwidthRateLimitScheduleCommandInput, DescribeBandwidthRateLimitScheduleCommandOutput } from "./commands/DescribeBandwidthRateLimitScheduleCommand"; import type { DescribeCacheCommandInput, DescribeCacheCommandOutput } from "./commands/DescribeCacheCommand"; import type { DescribeCachediSCSIVolumesCommandInput, DescribeCachediSCSIVolumesCommandOutput } from "./commands/DescribeCachediSCSIVolumesCommand"; import type { DescribeCacheReportCommandInput, DescribeCacheReportCommandOutput } from "./commands/DescribeCacheReportCommand"; import type { DescribeChapCredentialsCommandInput, DescribeChapCredentialsCommandOutput } from "./commands/DescribeChapCredentialsCommand"; import type { DescribeFileSystemAssociationsCommandInput, DescribeFileSystemAssociationsCommandOutput } from "./commands/DescribeFileSystemAssociationsCommand"; import type { DescribeGatewayInformationCommandInput, DescribeGatewayInformationCommandOutput } from "./commands/DescribeGatewayInformationCommand"; import type { DescribeMaintenanceStartTimeCommandInput, DescribeMaintenanceStartTimeCommandOutput } from "./commands/DescribeMaintenanceStartTimeCommand"; import type { DescribeNFSFileSharesCommandInput, DescribeNFSFileSharesCommandOutput } from "./commands/DescribeNFSFileSharesCommand"; import type { DescribeSMBFileSharesCommandInput, DescribeSMBFileSharesCommandOutput } from "./commands/DescribeSMBFileSharesCommand"; import type { DescribeSMBSettingsCommandInput, DescribeSMBSettingsCommandOutput } from "./commands/DescribeSMBSettingsCommand"; import type { DescribeSnapshotScheduleCommandInput, DescribeSnapshotScheduleCommandOutput } from "./commands/DescribeSnapshotScheduleCommand"; import type { DescribeStorediSCSIVolumesCommandInput, DescribeStorediSCSIVolumesCommandOutput } from "./commands/DescribeStorediSCSIVolumesCommand"; import type { DescribeTapeArchivesCommandInput, DescribeTapeArchivesCommandOutput } from "./commands/DescribeTapeArchivesCommand"; import type { DescribeTapeRecoveryPointsCommandInput, DescribeTapeRecoveryPointsCommandOutput } from "./commands/DescribeTapeRecoveryPointsCommand"; import type { DescribeTapesCommandInput, DescribeTapesCommandOutput } from "./commands/DescribeTapesCommand"; import type { DescribeUploadBufferCommandInput, DescribeUploadBufferCommandOutput } from "./commands/DescribeUploadBufferCommand"; import type { DescribeVTLDevicesCommandInput, DescribeVTLDevicesCommandOutput } from "./commands/DescribeVTLDevicesCommand"; import type { DescribeWorkingStorageCommandInput, DescribeWorkingStorageCommandOutput } from "./commands/DescribeWorkingStorageCommand"; import type { DetachVolumeCommandInput, DetachVolumeCommandOutput } from "./commands/DetachVolumeCommand"; import type { DisableGatewayCommandInput, DisableGatewayCommandOutput } from "./commands/DisableGatewayCommand"; import type { DisassociateFileSystemCommandInput, DisassociateFileSystemCommandOutput } from "./commands/DisassociateFileSystemCommand"; import type { EvictFilesFailingUploadCommandInput, EvictFilesFailingUploadCommandOutput } from "./commands/EvictFilesFailingUploadCommand"; import type { JoinDomainCommandInput, JoinDomainCommandOutput } from "./commands/JoinDomainCommand"; import type { ListAutomaticTapeCreationPoliciesCommandInput, ListAutomaticTapeCreationPoliciesCommandOutput } from "./commands/ListAutomaticTapeCreationPoliciesCommand"; import type { ListCacheReportsCommandInput, ListCacheReportsCommandOutput } from "./commands/ListCacheReportsCommand"; import type { ListFileSharesCommandInput, ListFileSharesCommandOutput } from "./commands/ListFileSharesCommand"; import type { ListFileSystemAssociationsCommandInput, ListFileSystemAssociationsCommandOutput } from "./commands/ListFileSystemAssociationsCommand"; import type { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand"; import type { ListLocalDisksCommandInput, ListLocalDisksCommandOutput } from "./commands/ListLocalDisksCommand"; import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import type { ListTapePoolsCommandInput, ListTapePoolsCommandOutput } from "./commands/ListTapePoolsCommand"; import type { ListTapesCommandInput, ListTapesCommandOutput } from "./commands/ListTapesCommand"; import type { ListVolumeInitiatorsCommandInput, ListVolumeInitiatorsCommandOutput } from "./commands/ListVolumeInitiatorsCommand"; import type { ListVolumeRecoveryPointsCommandInput, ListVolumeRecoveryPointsCommandOutput } from "./commands/ListVolumeRecoveryPointsCommand"; import type { ListVolumesCommandInput, ListVolumesCommandOutput } from "./commands/ListVolumesCommand"; import type { NotifyWhenUploadedCommandInput, NotifyWhenUploadedCommandOutput } from "./commands/NotifyWhenUploadedCommand"; import type { RefreshCacheCommandInput, RefreshCacheCommandOutput } from "./commands/RefreshCacheCommand"; import type { RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput } from "./commands/RemoveTagsFromResourceCommand"; import type { ResetCacheCommandInput, ResetCacheCommandOutput } from "./commands/ResetCacheCommand"; import type { RetrieveTapeArchiveCommandInput, RetrieveTapeArchiveCommandOutput } from "./commands/RetrieveTapeArchiveCommand"; import type { RetrieveTapeRecoveryPointCommandInput, RetrieveTapeRecoveryPointCommandOutput } from "./commands/RetrieveTapeRecoveryPointCommand"; import type { SetLocalConsolePasswordCommandInput, SetLocalConsolePasswordCommandOutput } from "./commands/SetLocalConsolePasswordCommand"; import type { SetSMBGuestPasswordCommandInput, SetSMBGuestPasswordCommandOutput } from "./commands/SetSMBGuestPasswordCommand"; import type { ShutdownGatewayCommandInput, ShutdownGatewayCommandOutput } from "./commands/ShutdownGatewayCommand"; import type { StartAvailabilityMonitorTestCommandInput, StartAvailabilityMonitorTestCommandOutput } from "./commands/StartAvailabilityMonitorTestCommand"; import type { StartCacheReportCommandInput, StartCacheReportCommandOutput } from "./commands/StartCacheReportCommand"; import type { StartGatewayCommandInput, StartGatewayCommandOutput } from "./commands/StartGatewayCommand"; import type { UpdateAutomaticTapeCreationPolicyCommandInput, UpdateAutomaticTapeCreationPolicyCommandOutput } from "./commands/UpdateAutomaticTapeCreationPolicyCommand"; import type { UpdateBandwidthRateLimitCommandInput, UpdateBandwidthRateLimitCommandOutput } from "./commands/UpdateBandwidthRateLimitCommand"; import type { UpdateBandwidthRateLimitScheduleCommandInput, UpdateBandwidthRateLimitScheduleCommandOutput } from "./commands/UpdateBandwidthRateLimitScheduleCommand"; import type { UpdateChapCredentialsCommandInput, UpdateChapCredentialsCommandOutput } from "./commands/UpdateChapCredentialsCommand"; import type { UpdateFileSystemAssociationCommandInput, UpdateFileSystemAssociationCommandOutput } from "./commands/UpdateFileSystemAssociationCommand"; import type { UpdateGatewayInformationCommandInput, UpdateGatewayInformationCommandOutput } from "./commands/UpdateGatewayInformationCommand"; import type { UpdateGatewaySoftwareNowCommandInput, UpdateGatewaySoftwareNowCommandOutput } from "./commands/UpdateGatewaySoftwareNowCommand"; import type { UpdateMaintenanceStartTimeCommandInput, UpdateMaintenanceStartTimeCommandOutput } from "./commands/UpdateMaintenanceStartTimeCommand"; import type { UpdateNFSFileShareCommandInput, UpdateNFSFileShareCommandOutput } from "./commands/UpdateNFSFileShareCommand"; import type { UpdateSMBFileShareCommandInput, UpdateSMBFileShareCommandOutput } from "./commands/UpdateSMBFileShareCommand"; import type { UpdateSMBFileShareVisibilityCommandInput, UpdateSMBFileShareVisibilityCommandOutput } from "./commands/UpdateSMBFileShareVisibilityCommand"; import type { UpdateSMBLocalGroupsCommandInput, UpdateSMBLocalGroupsCommandOutput } from "./commands/UpdateSMBLocalGroupsCommand"; import type { UpdateSMBSecurityStrategyCommandInput, UpdateSMBSecurityStrategyCommandOutput } from "./commands/UpdateSMBSecurityStrategyCommand"; import type { UpdateSnapshotScheduleCommandInput, UpdateSnapshotScheduleCommandOutput } from "./commands/UpdateSnapshotScheduleCommand"; import type { UpdateVTLDeviceTypeCommandInput, UpdateVTLDeviceTypeCommandOutput } from "./commands/UpdateVTLDeviceTypeCommand"; import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters"; import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; export { __Client }; /** * @public */ export type ServiceInputTypes = ActivateGatewayCommandInput | AddCacheCommandInput | AddTagsToResourceCommandInput | AddUploadBufferCommandInput | AddWorkingStorageCommandInput | AssignTapePoolCommandInput | AssociateFileSystemCommandInput | AttachVolumeCommandInput | CancelArchivalCommandInput | CancelCacheReportCommandInput | CancelRetrievalCommandInput | CreateCachediSCSIVolumeCommandInput | CreateNFSFileShareCommandInput | CreateSMBFileShareCommandInput | CreateSnapshotCommandInput | CreateSnapshotFromVolumeRecoveryPointCommandInput | CreateStorediSCSIVolumeCommandInput | CreateTapePoolCommandInput | CreateTapeWithBarcodeCommandInput | CreateTapesCommandInput | DeleteAutomaticTapeCreationPolicyCommandInput | DeleteBandwidthRateLimitCommandInput | DeleteCacheReportCommandInput | DeleteChapCredentialsCommandInput | DeleteFileShareCommandInput | DeleteGatewayCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTapeArchiveCommandInput | DeleteTapeCommandInput | DeleteTapePoolCommandInput | DeleteVolumeCommandInput | DescribeAvailabilityMonitorTestCommandInput | DescribeBandwidthRateLimitCommandInput | DescribeBandwidthRateLimitScheduleCommandInput | DescribeCacheCommandInput | DescribeCacheReportCommandInput | DescribeCachediSCSIVolumesCommandInput | DescribeChapCredentialsCommandInput | DescribeFileSystemAssociationsCommandInput | DescribeGatewayInformationCommandInput | DescribeMaintenanceStartTimeCommandInput | DescribeNFSFileSharesCommandInput | DescribeSMBFileSharesCommandInput | DescribeSMBSettingsCommandInput | DescribeSnapshotScheduleCommandInput | DescribeStorediSCSIVolumesCommandInput | DescribeTapeArchivesCommandInput | DescribeTapeRecoveryPointsCommandInput | DescribeTapesCommandInput | DescribeUploadBufferCommandInput | DescribeVTLDevicesCommandInput | DescribeWorkingStorageCommandInput | DetachVolumeCommandInput | DisableGatewayCommandInput | DisassociateFileSystemCommandInput | EvictFilesFailingUploadCommandInput | JoinDomainCommandInput | ListAutomaticTapeCreationPoliciesCommandInput | ListCacheReportsCommandInput | ListFileSharesCommandInput | ListFileSystemAssociationsCommandInput | ListGatewaysCommandInput | ListLocalDisksCommandInput | ListTagsForResourceCommandInput | ListTapePoolsCommandInput | ListTapesCommandInput | ListVolumeInitiatorsCommandInput | ListVolumeRecoveryPointsCommandInput | ListVolumesCommandInput | NotifyWhenUploadedCommandInput | RefreshCacheCommandInput | RemoveTagsFromResourceCommandInput | ResetCacheCommandInput | RetrieveTapeArchiveCommandInput | RetrieveTapeRecoveryPointCommandInput | SetLocalConsolePasswordCommandInput | SetSMBGuestPasswordCommandInput | ShutdownGatewayCommandInput | StartAvailabilityMonitorTestCommandInput | StartCacheReportCommandInput | StartGatewayCommandInput | UpdateAutomaticTapeCreationPolicyCommandInput | UpdateBandwidthRateLimitCommandInput | UpdateBandwidthRateLimitScheduleCommandInput | UpdateChapCredentialsCommandInput | UpdateFileSystemAssociationCommandInput | UpdateGatewayInformationCommandInput | UpdateGatewaySoftwareNowCommandInput | UpdateMaintenanceStartTimeCommandInput | UpdateNFSFileShareCommandInput | UpdateSMBFileShareCommandInput | UpdateSMBFileShareVisibilityCommandInput | UpdateSMBLocalGroupsCommandInput | UpdateSMBSecurityStrategyCommandInput | UpdateSnapshotScheduleCommandInput | UpdateVTLDeviceTypeCommandInput; /** * @public */ export type ServiceOutputTypes = ActivateGatewayCommandOutput | AddCacheCommandOutput | AddTagsToResourceCommandOutput | AddUploadBufferCommandOutput | AddWorkingStorageCommandOutput | AssignTapePoolCommandOutput | AssociateFileSystemCommandOutput | AttachVolumeCommandOutput | CancelArchivalCommandOutput | CancelCacheReportCommandOutput | CancelRetrievalCommandOutput | CreateCachediSCSIVolumeCommandOutput | CreateNFSFileShareCommandOutput | CreateSMBFileShareCommandOutput | CreateSnapshotCommandOutput | CreateSnapshotFromVolumeRecoveryPointCommandOutput | CreateStorediSCSIVolumeCommandOutput | CreateTapePoolCommandOutput | CreateTapeWithBarcodeCommandOutput | CreateTapesCommandOutput | DeleteAutomaticTapeCreationPolicyCommandOutput | DeleteBandwidthRateLimitCommandOutput | DeleteCacheReportCommandOutput | DeleteChapCredentialsCommandOutput | DeleteFileShareCommandOutput | DeleteGatewayCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTapeArchiveCommandOutput | DeleteTapeCommandOutput | DeleteTapePoolCommandOutput | DeleteVolumeCommandOutput | DescribeAvailabilityMonitorTestCommandOutput | DescribeBandwidthRateLimitCommandOutput | DescribeBandwidthRateLimitScheduleCommandOutput | DescribeCacheCommandOutput | DescribeCacheReportCommandOutput | DescribeCachediSCSIVolumesCommandOutput | DescribeChapCredentialsCommandOutput | DescribeFileSystemAssociationsCommandOutput | DescribeGatewayInformationCommandOutput | DescribeMaintenanceStartTimeCommandOutput | DescribeNFSFileSharesCommandOutput | DescribeSMBFileSharesCommandOutput | DescribeSMBSettingsCommandOutput | DescribeSnapshotScheduleCommandOutput | DescribeStorediSCSIVolumesCommandOutput | DescribeTapeArchivesCommandOutput | DescribeTapeRecoveryPointsCommandOutput | DescribeTapesCommandOutput | DescribeUploadBufferCommandOutput | DescribeVTLDevicesCommandOutput | DescribeWorkingStorageCommandOutput | DetachVolumeCommandOutput | DisableGatewayCommandOutput | DisassociateFileSystemCommandOutput | EvictFilesFailingUploadCommandOutput | JoinDomainCommandOutput | ListAutomaticTapeCreationPoliciesCommandOutput | ListCacheReportsCommandOutput | ListFileSharesCommandOutput | ListFileSystemAssociationsCommandOutput | ListGatewaysCommandOutput | ListLocalDisksCommandOutput | ListTagsForResourceCommandOutput | ListTapePoolsCommandOutput | ListTapesCommandOutput | ListVolumeInitiatorsCommandOutput | ListVolumeRecoveryPointsCommandOutput | ListVolumesCommandOutput | NotifyWhenUploadedCommandOutput | RefreshCacheCommandOutput | RemoveTagsFromResourceCommandOutput | ResetCacheCommandOutput | RetrieveTapeArchiveCommandOutput | RetrieveTapeRecoveryPointCommandOutput | SetLocalConsolePasswordCommandOutput | SetSMBGuestPasswordCommandOutput | ShutdownGatewayCommandOutput | StartAvailabilityMonitorTestCommandOutput | StartCacheReportCommandOutput | StartGatewayCommandOutput | UpdateAutomaticTapeCreationPolicyCommandOutput | UpdateBandwidthRateLimitCommandOutput | UpdateBandwidthRateLimitScheduleCommandOutput | UpdateChapCredentialsCommandOutput | UpdateFileSystemAssociationCommandOutput | UpdateGatewayInformationCommandOutput | UpdateGatewaySoftwareNowCommandOutput | UpdateMaintenanceStartTimeCommandOutput | UpdateNFSFileShareCommandOutput | UpdateSMBFileShareCommandOutput | UpdateSMBFileShareVisibilityCommandOutput | UpdateSMBLocalGroupsCommandOutput | UpdateSMBSecurityStrategyCommandOutput | UpdateSnapshotScheduleCommandOutput | UpdateVTLDeviceTypeCommandOutput; /** * @public */ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { /** * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. */ requestHandler?: __HttpHandlerUserInput; /** * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface * that computes the SHA-256 HMAC or checksum of a string or binary buffer. * @internal */ sha256?: __ChecksumConstructor | __HashConstructor; /** * The function that will be used to convert strings into HTTP endpoints. * @internal */ urlParser?: __UrlParser; /** * A function that can calculate the length of a request body. * @internal */ bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. * @internal */ streamCollector?: __StreamCollector; /** * The function that will be used to convert a base64-encoded string to a byte array. * @internal */ base64Decoder?: __Decoder; /** * The function that will be used to convert binary data to a base64-encoded string. * @internal */ base64Encoder?: __Encoder; /** * The function that will be used to convert a UTF8-encoded string to a byte array. * @internal */ utf8Decoder?: __Decoder; /** * The function that will be used to convert binary data to a UTF-8 encoded string. * @internal */ utf8Encoder?: __Encoder; /** * The runtime environment. * @internal */ runtime?: string; /** * Disable dynamically changing the endpoint of the client based on the hostPrefix * trait of an operation. */ disableHostPrefix?: boolean; /** * Unique service identifier. * @internal */ serviceId?: string; /** * Enables IPv6/IPv4 dualstack endpoint. */ useDualstackEndpoint?: boolean | __Provider; /** * Enables FIPS compatible endpoints. */ useFipsEndpoint?: boolean | __Provider; /** * The AWS region to which this client will send requests */ region?: string | __Provider; /** * Setting a client profile is similar to setting a value for the * AWS_PROFILE environment variable. Setting a profile on a client * in code only affects the single client instance, unlike AWS_PROFILE. * * When set, and only for environments where an AWS configuration * file exists, fields configurable by this file will be retrieved * from the specified profile within that file. * Conflicting code configuration and environment variables will * still have higher priority. * * For client credential resolution that involves checking the AWS * configuration file, the client's profile (this value) will be * used unless a different profile is set in the credential * provider options. * */ profile?: string; /** * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header * @internal */ defaultUserAgentProvider?: __Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. * @deprecated * @internal */ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; /** * Value for how many times a request will be made at most in case of retry. */ maxAttempts?: number | __Provider; /** * Specifies which retry algorithm to use. * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ * */ retryMode?: string | __Provider; /** * Optional logger for logging debug/info/warn/error. */ logger?: __Logger; /** * Optional extensions */ extensions?: RuntimeExtension[]; /** * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. */ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; } /** * @public */ export type StorageGatewayClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; /** * @public * * The configuration interface of StorageGatewayClient class constructor that set the region, credentials and other options. */ export interface StorageGatewayClientConfig extends StorageGatewayClientConfigType { } /** * @public */ export type StorageGatewayClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; /** * @public * * The resolved configuration interface of StorageGatewayClient class. This is resolved and normalized from the {@link StorageGatewayClientConfig | constructor configuration interface}. */ export interface StorageGatewayClientResolvedConfig extends StorageGatewayClientResolvedConfigType { } /** * Storage Gateway Service * *

Amazon FSx File Gateway is no longer available to new customers. Existing * customers of FSx File Gateway can continue to use the service normally. For * capabilities similar to FSx File Gateway, visit this blog post.

*
*

Storage Gateway is the service that connects an on-premises software appliance * with cloud-based storage to provide seamless and secure integration between an * organization's on-premises IT environment and the Amazon Web Services storage * infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.

*

Use the following links to get started using the Storage Gateway * Service API Reference:

*
    *
  • *

    * Storage Gateway required request headers: Describes the required * headers that you must send with every POST request to Storage Gateway.

    *
  • *
  • *

    * Signing requests: Storage Gateway requires that you authenticate * every request you send; this topic describes how sign such a request.

    *
  • *
  • *

    * Error responses: Provides reference information about Storage Gateway errors.

    *
  • *
  • *

    * Operations in Storage Gateway: Contains detailed descriptions of all Storage Gateway operations, their request parameters, response elements, possible errors, and * examples of requests and responses.

    *
  • *
  • *

    * Storage Gateway * endpoints and quotas: Provides a list of each Amazon Web Services Region * and the endpoints available for use with Storage Gateway.

    *
  • *
* *

Storage Gateway resource IDs are in uppercase. When you use these resource IDs * with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change * your resource ID to lowercase to use it with the EC2 API. For example, in Storage * Gateway the ID for a volume might be vol-AA22BB012345DAF670. When you use * this ID with the EC2 API, you must change it to vol-aa22bb012345daf670. * Otherwise, the EC2 API might not behave as expected.

*
* *

IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway * volumes are changing to a longer format. Starting in December 2016, all new volumes and * snapshots will be created with a 17-character string. Starting in April 2016, you will * be able to use these longer IDs so you can test your systems with the new format. For * more information, see Longer EC2 and * EBS resource IDs.

*

For example, a volume Amazon Resource Name (ARN) with the longer volume ID format * looks like the following:

*

* arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.

*

A snapshot ID with the longer ID format looks like the following: * snap-78e226633445566ee.

*

For more information, see Announcement: * Heads-up – Longer Storage Gateway volume and snapshot IDs coming in * 2016.

*
* @public */ export declare class StorageGatewayClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig> { /** * The resolved configuration of StorageGatewayClient class. This is resolved and normalized from the {@link StorageGatewayClientConfig | constructor configuration interface}. */ readonly config: StorageGatewayClientResolvedConfig; constructor(...[configuration]: __CheckOptionalClientConfig); /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy(): void; }