Skip to content

Commit

Permalink
feat(client-datasync): AWS DataSync now supports Microsoft Azure Blob…
Browse files Browse the repository at this point in the history
… Storage locations.
  • Loading branch information
awstools committed Jul 25, 2023
1 parent 8a53186 commit 7f4cc75
Show file tree
Hide file tree
Showing 14 changed files with 1,511 additions and 74 deletions.
24 changes: 24 additions & 0 deletions clients/client-datasync/README.md
Expand Up @@ -235,6 +235,14 @@ CreateAgent

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/createagentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/createagentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/createagentcommandoutput.html)

</details>
<details>
<summary>
CreateLocationAzureBlob
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/createlocationazureblobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/createlocationazureblobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/createlocationazureblobcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -363,6 +371,14 @@ DescribeDiscoveryJob

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/describediscoveryjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describediscoveryjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describediscoveryjobcommandoutput.html)

</details>
<details>
<summary>
DescribeLocationAzureBlob
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/describelocationazureblobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describelocationazureblobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describelocationazureblobcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -611,6 +627,14 @@ UpdateDiscoveryJob

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/updatediscoveryjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updatediscoveryjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updatediscoveryjobcommandoutput.html)

</details>
<details>
<summary>
UpdateLocationAzureBlob
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/updatelocationazureblobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updatelocationazureblobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updatelocationazureblobcommandoutput.html)

</details>
<details>
<summary>
Expand Down
69 changes: 69 additions & 0 deletions clients/client-datasync/src/DataSync.ts
Expand Up @@ -13,6 +13,11 @@ import {
CancelTaskExecutionCommandOutput,
} from "./commands/CancelTaskExecutionCommand";
import { CreateAgentCommand, CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
import {
CreateLocationAzureBlobCommand,
CreateLocationAzureBlobCommandInput,
CreateLocationAzureBlobCommandOutput,
} from "./commands/CreateLocationAzureBlobCommand";
import {
CreateLocationEfsCommand,
CreateLocationEfsCommandInput,
Expand Down Expand Up @@ -81,6 +86,11 @@ import {
DescribeDiscoveryJobCommandInput,
DescribeDiscoveryJobCommandOutput,
} from "./commands/DescribeDiscoveryJobCommand";
import {
DescribeLocationAzureBlobCommand,
DescribeLocationAzureBlobCommandInput,
DescribeLocationAzureBlobCommandOutput,
} from "./commands/DescribeLocationAzureBlobCommand";
import {
DescribeLocationEfsCommand,
DescribeLocationEfsCommandInput,
Expand Down Expand Up @@ -220,6 +230,11 @@ import {
UpdateDiscoveryJobCommandInput,
UpdateDiscoveryJobCommandOutput,
} from "./commands/UpdateDiscoveryJobCommand";
import {
UpdateLocationAzureBlobCommand,
UpdateLocationAzureBlobCommandInput,
UpdateLocationAzureBlobCommandOutput,
} from "./commands/UpdateLocationAzureBlobCommand";
import {
UpdateLocationHdfsCommand,
UpdateLocationHdfsCommandInput,
Expand Down Expand Up @@ -257,6 +272,7 @@ const commands = {
AddStorageSystemCommand,
CancelTaskExecutionCommand,
CreateAgentCommand,
CreateLocationAzureBlobCommand,
CreateLocationEfsCommand,
CreateLocationFsxLustreCommand,
CreateLocationFsxOntapCommand,
Expand All @@ -273,6 +289,7 @@ const commands = {
DeleteTaskCommand,
DescribeAgentCommand,
DescribeDiscoveryJobCommand,
DescribeLocationAzureBlobCommand,
DescribeLocationEfsCommand,
DescribeLocationFsxLustreCommand,
DescribeLocationFsxOntapCommand,
Expand Down Expand Up @@ -304,6 +321,7 @@ const commands = {
UntagResourceCommand,
UpdateAgentCommand,
UpdateDiscoveryJobCommand,
UpdateLocationAzureBlobCommand,
UpdateLocationHdfsCommand,
UpdateLocationNfsCommand,
UpdateLocationObjectStorageCommand,
Expand Down Expand Up @@ -359,6 +377,23 @@ export interface DataSync {
cb: (err: any, data?: CreateAgentCommandOutput) => void
): void;

/**
* @see {@link CreateLocationAzureBlobCommand}
*/
createLocationAzureBlob(
args: CreateLocationAzureBlobCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateLocationAzureBlobCommandOutput>;
createLocationAzureBlob(
args: CreateLocationAzureBlobCommandInput,
cb: (err: any, data?: CreateLocationAzureBlobCommandOutput) => void
): void;
createLocationAzureBlob(
args: CreateLocationAzureBlobCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateLocationAzureBlobCommandOutput) => void
): void;

/**
* @see {@link CreateLocationEfsCommand}
*/
Expand Down Expand Up @@ -604,6 +639,23 @@ export interface DataSync {
cb: (err: any, data?: DescribeDiscoveryJobCommandOutput) => void
): void;

/**
* @see {@link DescribeLocationAzureBlobCommand}
*/
describeLocationAzureBlob(
args: DescribeLocationAzureBlobCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeLocationAzureBlobCommandOutput>;
describeLocationAzureBlob(
args: DescribeLocationAzureBlobCommandInput,
cb: (err: any, data?: DescribeLocationAzureBlobCommandOutput) => void
): void;
describeLocationAzureBlob(
args: DescribeLocationAzureBlobCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeLocationAzureBlobCommandOutput) => void
): void;

/**
* @see {@link DescribeLocationEfsCommand}
*/
Expand Down Expand Up @@ -1089,6 +1141,23 @@ export interface DataSync {
cb: (err: any, data?: UpdateDiscoveryJobCommandOutput) => void
): void;

/**
* @see {@link UpdateLocationAzureBlobCommand}
*/
updateLocationAzureBlob(
args: UpdateLocationAzureBlobCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateLocationAzureBlobCommandOutput>;
updateLocationAzureBlob(
args: UpdateLocationAzureBlobCommandInput,
cb: (err: any, data?: UpdateLocationAzureBlobCommandOutput) => void
): void;
updateLocationAzureBlob(
args: UpdateLocationAzureBlobCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateLocationAzureBlobCommandOutput) => void
): void;

/**
* @see {@link UpdateLocationHdfsCommand}
*/
Expand Down
18 changes: 18 additions & 0 deletions clients/client-datasync/src/DataSyncClient.ts
Expand Up @@ -55,6 +55,10 @@ import {
CancelTaskExecutionCommandOutput,
} from "./commands/CancelTaskExecutionCommand";
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
import {
CreateLocationAzureBlobCommandInput,
CreateLocationAzureBlobCommandOutput,
} from "./commands/CreateLocationAzureBlobCommand";
import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
import {
CreateLocationFsxLustreCommandInput,
Expand Down Expand Up @@ -89,6 +93,10 @@ import {
DescribeDiscoveryJobCommandInput,
DescribeDiscoveryJobCommandOutput,
} from "./commands/DescribeDiscoveryJobCommand";
import {
DescribeLocationAzureBlobCommandInput,
DescribeLocationAzureBlobCommandOutput,
} from "./commands/DescribeLocationAzureBlobCommand";
import {
DescribeLocationEfsCommandInput,
DescribeLocationEfsCommandOutput,
Expand Down Expand Up @@ -168,6 +176,10 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "./commands/UpdateAgentCommand";
import { UpdateDiscoveryJobCommandInput, UpdateDiscoveryJobCommandOutput } from "./commands/UpdateDiscoveryJobCommand";
import {
UpdateLocationAzureBlobCommandInput,
UpdateLocationAzureBlobCommandOutput,
} from "./commands/UpdateLocationAzureBlobCommand";
import { UpdateLocationHdfsCommandInput, UpdateLocationHdfsCommandOutput } from "./commands/UpdateLocationHdfsCommand";
import { UpdateLocationNfsCommandInput, UpdateLocationNfsCommandOutput } from "./commands/UpdateLocationNfsCommand";
import {
Expand Down Expand Up @@ -201,6 +213,7 @@ export type ServiceInputTypes =
| AddStorageSystemCommandInput
| CancelTaskExecutionCommandInput
| CreateAgentCommandInput
| CreateLocationAzureBlobCommandInput
| CreateLocationEfsCommandInput
| CreateLocationFsxLustreCommandInput
| CreateLocationFsxOntapCommandInput
Expand All @@ -217,6 +230,7 @@ export type ServiceInputTypes =
| DeleteTaskCommandInput
| DescribeAgentCommandInput
| DescribeDiscoveryJobCommandInput
| DescribeLocationAzureBlobCommandInput
| DescribeLocationEfsCommandInput
| DescribeLocationFsxLustreCommandInput
| DescribeLocationFsxOntapCommandInput
Expand Down Expand Up @@ -248,6 +262,7 @@ export type ServiceInputTypes =
| UntagResourceCommandInput
| UpdateAgentCommandInput
| UpdateDiscoveryJobCommandInput
| UpdateLocationAzureBlobCommandInput
| UpdateLocationHdfsCommandInput
| UpdateLocationNfsCommandInput
| UpdateLocationObjectStorageCommandInput
Expand All @@ -263,6 +278,7 @@ export type ServiceOutputTypes =
| AddStorageSystemCommandOutput
| CancelTaskExecutionCommandOutput
| CreateAgentCommandOutput
| CreateLocationAzureBlobCommandOutput
| CreateLocationEfsCommandOutput
| CreateLocationFsxLustreCommandOutput
| CreateLocationFsxOntapCommandOutput
Expand All @@ -279,6 +295,7 @@ export type ServiceOutputTypes =
| DeleteTaskCommandOutput
| DescribeAgentCommandOutput
| DescribeDiscoveryJobCommandOutput
| DescribeLocationAzureBlobCommandOutput
| DescribeLocationEfsCommandOutput
| DescribeLocationFsxLustreCommandOutput
| DescribeLocationFsxOntapCommandOutput
Expand Down Expand Up @@ -310,6 +327,7 @@ export type ServiceOutputTypes =
| UntagResourceCommandOutput
| UpdateAgentCommandOutput
| UpdateDiscoveryJobCommandOutput
| UpdateLocationAzureBlobCommandOutput
| UpdateLocationHdfsCommandOutput
| UpdateLocationNfsCommandOutput
| UpdateLocationObjectStorageCommandOutput
Expand Down

0 comments on commit 7f4cc75

Please sign in to comment.