@aws-sdk/client-datasync 3.33.0 → 3.36.1
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 +47 -0
- package/{dist/cjs → dist-cjs}/DataSync.js +1 -11
- package/{dist/cjs → dist-cjs}/DataSyncClient.js +8 -23
- package/{dist/cjs → dist-cjs}/commands/CancelTaskExecutionCommand.js +2 -34
- package/dist-cjs/commands/CreateAgentCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLocationEfsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateLocationFsxWindowsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateLocationNfsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateLocationObjectStorageCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateLocationS3Command.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/CreateLocationSmbCommand.js +2 -28
- package/dist-cjs/commands/CreateTaskCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteAgentCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/DeleteLocationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteTaskCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeAgentCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationEfsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationFsxWindowsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationNfsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationObjectStorageCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationS3Command.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationSmbCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeTaskCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeTaskExecutionCommand.js +2 -27
- package/dist-cjs/commands/ListAgentsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListLocationsCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTaskExecutionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTasksCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartTaskExecutionCommand.js +2 -35
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateAgentCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateLocationNfsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateLocationObjectStorageCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UpdateLocationSmbCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UpdateTaskCommand.js +2 -27
- package/dist-cjs/commands/UpdateTaskExecutionCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -268
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListAgentsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListLocationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTaskExecutionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTasksPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/DataSync.js +2 -12
- package/{dist/es → dist-es}/DataSyncClient.js +2 -17
- package/{dist/es → dist-es}/commands/CancelTaskExecutionCommand.js +4 -37
- package/dist-es/commands/CreateAgentCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateLocationEfsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateLocationFsxWindowsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateLocationNfsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateLocationObjectStorageCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateLocationS3Command.js +4 -36
- package/{dist/es → dist-es}/commands/CreateLocationSmbCommand.js +4 -31
- package/dist-es/commands/CreateTaskCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DeleteAgentCommand.js +4 -33
- package/{dist/es → dist-es}/commands/DeleteLocationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteTaskCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeAgentCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DescribeLocationEfsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeLocationFsxWindowsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeLocationNfsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeLocationObjectStorageCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeLocationS3Command.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeLocationSmbCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeTaskCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeTaskExecutionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListAgentsCommand.js +4 -37
- package/{dist/es → dist-es}/commands/ListLocationsCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTaskExecutionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTasksCommand.js +4 -30
- package/{dist/es → dist-es}/commands/StartTaskExecutionCommand.js +4 -38
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateAgentCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateLocationNfsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UpdateLocationObjectStorageCommand.js +4 -32
- package/{dist/es → dist-es}/commands/UpdateLocationSmbCommand.js +4 -32
- package/{dist/es → dist-es}/commands/UpdateTaskCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateTaskExecutionCommand.js +4 -39
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -268
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListAgentsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListLocationsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListTaskExecutionsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListTasksPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +529 -535
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/DataSync.d.ts +2 -2
- package/{dist/types → dist-types}/DataSyncClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CancelTaskExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateAgentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLocationEfsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLocationFsxWindowsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLocationNfsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLocationObjectStorageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLocationS3Command.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateLocationSmbCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateTaskCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAgentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteTaskCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeAgentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLocationEfsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLocationFsxWindowsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLocationNfsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLocationObjectStorageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLocationS3Command.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeLocationSmbCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeTaskCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeTaskExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAgentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListLocationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTaskExecutionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTasksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartTaskExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAgentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateLocationNfsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateLocationObjectStorageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateLocationSmbCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateTaskCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateTaskExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAgentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListLocationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTaskExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTasksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/DataSync.d.ts +38 -203
- package/{dist/types → dist-types}/ts3.4/DataSyncClient.d.ts +32 -103
- package/dist-types/ts3.4/commands/CancelTaskExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAgentCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateLocationEfsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/CreateLocationFsxWindowsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateLocationNfsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLocationS3Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLocationSmbCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAgentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLocationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAgentCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationEfsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationFsxWindowsCommand.d.ts +4 -23
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationNfsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationS3Command.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationSmbCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeTaskCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeTaskExecutionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListAgentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListTaskExecutionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartTaskExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAgentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateLocationNfsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateLocationSmbCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1271 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAgentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListLocationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTaskExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTasksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/DataSync.ts +0 -1302
- package/DataSyncClient.ts +0 -382
- package/commands/CancelTaskExecutionCommand.ts +0 -101
- package/commands/CreateAgentCommand.ts +0 -108
- package/commands/CreateLocationEfsCommand.ts +0 -94
- package/commands/CreateLocationFsxWindowsCommand.ts +0 -94
- package/commands/CreateLocationNfsCommand.ts +0 -95
- package/commands/CreateLocationObjectStorageCommand.ts +0 -100
- package/commands/CreateLocationS3Command.ts +0 -100
- package/commands/CreateLocationSmbCommand.ts +0 -95
- package/commands/CreateTaskCommand.ts +0 -112
- package/commands/DeleteAgentCommand.ts +0 -97
- package/commands/DeleteLocationCommand.ts +0 -94
- package/commands/DeleteTaskCommand.ts +0 -94
- package/commands/DescribeAgentCommand.ts +0 -96
- package/commands/DescribeLocationEfsCommand.ts +0 -94
- package/commands/DescribeLocationFsxWindowsCommand.ts +0 -98
- package/commands/DescribeLocationNfsCommand.ts +0 -94
- package/commands/DescribeLocationObjectStorageCommand.ts +0 -100
- package/commands/DescribeLocationS3Command.ts +0 -94
- package/commands/DescribeLocationSmbCommand.ts +0 -94
- package/commands/DescribeTaskCommand.ts +0 -94
- package/commands/DescribeTaskExecutionCommand.ts +0 -94
- package/commands/ListAgentsCommand.ts +0 -101
- package/commands/ListLocationsCommand.ts +0 -97
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListTaskExecutionsCommand.ts +0 -94
- package/commands/ListTasksCommand.ts +0 -91
- package/commands/StartTaskExecutionCommand.ts +0 -102
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateAgentCommand.ts +0 -94
- package/commands/UpdateLocationNfsCommand.ts +0 -95
- package/commands/UpdateLocationObjectStorageCommand.ts +0 -101
- package/commands/UpdateLocationSmbCommand.ts +0 -96
- package/commands/UpdateTaskCommand.ts +0 -94
- package/commands/UpdateTaskExecutionCommand.ts +0 -103
- package/dist/cjs/DataSync.js.map +0 -1
- package/dist/cjs/DataSyncClient.js.map +0 -1
- package/dist/cjs/commands/CancelTaskExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAgentCommand.js +0 -75
- package/dist/cjs/commands/CreateAgentCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLocationEfsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLocationFsxWindowsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLocationNfsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLocationObjectStorageCommand.js.map +0 -1
- package/dist/cjs/commands/CreateLocationS3Command.js.map +0 -1
- package/dist/cjs/commands/CreateLocationSmbCommand.js.map +0 -1
- package/dist/cjs/commands/CreateTaskCommand.js +0 -79
- package/dist/cjs/commands/CreateTaskCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAgentCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteLocationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTaskCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAgentCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLocationEfsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLocationFsxWindowsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLocationNfsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLocationObjectStorageCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeLocationS3Command.js.map +0 -1
- package/dist/cjs/commands/DescribeLocationSmbCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTaskCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTaskExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/ListAgentsCommand.js +0 -68
- package/dist/cjs/commands/ListAgentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListLocationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListTaskExecutionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTasksCommand.js.map +0 -1
- package/dist/cjs/commands/StartTaskExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAgentCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLocationNfsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLocationObjectStorageCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateLocationSmbCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateTaskCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateTaskExecutionCommand.js +0 -70
- package/dist/cjs/commands/UpdateTaskExecutionCommand.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/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListAgentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListLocationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTaskExecutionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTasksPaginator.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/DataSync.js.map +0 -1
- package/dist/es/DataSyncClient.js.map +0 -1
- package/dist/es/commands/CancelTaskExecutionCommand.js.map +0 -1
- package/dist/es/commands/CreateAgentCommand.js +0 -79
- package/dist/es/commands/CreateAgentCommand.js.map +0 -1
- package/dist/es/commands/CreateLocationEfsCommand.js.map +0 -1
- package/dist/es/commands/CreateLocationFsxWindowsCommand.js.map +0 -1
- package/dist/es/commands/CreateLocationNfsCommand.js.map +0 -1
- package/dist/es/commands/CreateLocationObjectStorageCommand.js.map +0 -1
- package/dist/es/commands/CreateLocationS3Command.js.map +0 -1
- package/dist/es/commands/CreateLocationSmbCommand.js.map +0 -1
- package/dist/es/commands/CreateTaskCommand.js +0 -83
- package/dist/es/commands/CreateTaskCommand.js.map +0 -1
- package/dist/es/commands/DeleteAgentCommand.js.map +0 -1
- package/dist/es/commands/DeleteLocationCommand.js.map +0 -1
- package/dist/es/commands/DeleteTaskCommand.js.map +0 -1
- package/dist/es/commands/DescribeAgentCommand.js.map +0 -1
- package/dist/es/commands/DescribeLocationEfsCommand.js.map +0 -1
- package/dist/es/commands/DescribeLocationFsxWindowsCommand.js.map +0 -1
- package/dist/es/commands/DescribeLocationNfsCommand.js.map +0 -1
- package/dist/es/commands/DescribeLocationObjectStorageCommand.js.map +0 -1
- package/dist/es/commands/DescribeLocationS3Command.js.map +0 -1
- package/dist/es/commands/DescribeLocationSmbCommand.js.map +0 -1
- package/dist/es/commands/DescribeTaskCommand.js.map +0 -1
- package/dist/es/commands/DescribeTaskExecutionCommand.js.map +0 -1
- package/dist/es/commands/ListAgentsCommand.js.map +0 -1
- package/dist/es/commands/ListLocationsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListTaskExecutionsCommand.js.map +0 -1
- package/dist/es/commands/ListTasksCommand.js.map +0 -1
- package/dist/es/commands/StartTaskExecutionCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateAgentCommand.js.map +0 -1
- package/dist/es/commands/UpdateLocationNfsCommand.js.map +0 -1
- package/dist/es/commands/UpdateLocationObjectStorageCommand.js.map +0 -1
- package/dist/es/commands/UpdateLocationSmbCommand.js.map +0 -1
- package/dist/es/commands/UpdateTaskCommand.js.map +0 -1
- package/dist/es/commands/UpdateTaskExecutionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -45
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListAgentsPaginator.js.map +0 -1
- package/dist/es/pagination/ListLocationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/es/pagination/ListTaskExecutionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListTasksPaginator.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/dist/types/ts3.4/commands/CancelTaskExecutionCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/CreateAgentCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/CreateLocationNfsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateLocationS3Command.d.ts +0 -41
- package/dist/types/ts3.4/commands/CreateLocationSmbCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateTaskCommand.d.ts +0 -53
- package/dist/types/ts3.4/commands/DeleteAgentCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeleteLocationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteTaskCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeAgentCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListAgentsCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/ListLocationsCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/ListTasksCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartTaskExecutionCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateAgentCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateLocationNfsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UpdateLocationSmbCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UpdateTaskCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +0 -44
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2774
- package/endpoints.ts +0 -91
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3336
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAgentsPaginator.ts +0 -54
- package/pagination/ListLocationsPaginator.ts +0 -58
- package/pagination/ListTagsForResourcePaginator.ts +0 -58
- package/pagination/ListTaskExecutionsPaginator.ts +0 -58
- package/pagination/ListTasksPaginator.ts +0 -54
- package/protocols/Aws_json1_1.ts +0 -4257
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
1
3
|
import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } from "../commands/CancelTaskExecutionCommand";
|
|
2
4
|
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "../commands/CreateAgentCommand";
|
|
3
5
|
import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "../commands/CreateLocationEfsCommand";
|
|
@@ -33,8 +35,6 @@ import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCom
|
|
|
33
35
|
import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "../commands/UpdateLocationSmbCommand";
|
|
34
36
|
import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "../commands/UpdateTaskCommand";
|
|
35
37
|
import { UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput } from "../commands/UpdateTaskExecutionCommand";
|
|
36
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
37
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
38
38
|
export declare const serializeAws_json1_1CancelTaskExecutionCommand: (input: CancelTaskExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
39
|
export declare const serializeAws_json1_1CreateAgentCommand: (input: CreateAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
40
|
export declare const serializeAws_json1_1CreateLocationEfsCommand: (input: CreateLocationEfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
File without changes
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
|
|
|
8
8
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
9
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
10
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/client-sts/dist
|
|
11
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
12
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
14
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } from "./commands/CancelTaskExecutionCommand";
|
|
3
3
|
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
4
4
|
import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
|
|
@@ -34,311 +34,146 @@ import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCom
|
|
|
34
34
|
import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
|
|
35
35
|
import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand";
|
|
36
36
|
import { UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput } from "./commands/UpdateTaskExecutionCommand";
|
|
37
|
-
import {
|
|
38
|
-
|
|
39
|
-
* <fullname>DataSync</fullname>
|
|
40
|
-
*
|
|
41
|
-
* <p>DataSync is a managed data transfer service that makes it simpler for you to
|
|
42
|
-
* automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)
|
|
43
|
-
* or Amazon Elastic File System (Amazon EFS). </p>
|
|
44
|
-
* <p>This API interface reference for DataSync contains documentation for a
|
|
45
|
-
* programming interface that you can use to manage DataSync.</p>
|
|
46
|
-
*/
|
|
37
|
+
import { DataSyncClient } from "./DataSyncClient";
|
|
38
|
+
|
|
47
39
|
export declare class DataSync extends DataSyncClient {
|
|
48
|
-
|
|
49
|
-
* <p>Cancels execution of a task. </p>
|
|
50
|
-
* <p>When you cancel a task execution, the transfer of some files is abruptly interrupted.
|
|
51
|
-
* The contents of files that are transferred to the destination might be incomplete or
|
|
52
|
-
* inconsistent with the source files. However, if you start a new task execution on the same
|
|
53
|
-
* task and you allow the task execution to complete, file content on the destination is complete
|
|
54
|
-
* and consistent. This applies to other unexpected failures that interrupt a task execution. In
|
|
55
|
-
* all of these cases, DataSync successfully complete the transfer when you start the next
|
|
56
|
-
* task execution.</p>
|
|
57
|
-
*/
|
|
40
|
+
|
|
58
41
|
cancelTaskExecution(args: CancelTaskExecutionCommandInput, options?: __HttpHandlerOptions): Promise<CancelTaskExecutionCommandOutput>;
|
|
59
42
|
cancelTaskExecution(args: CancelTaskExecutionCommandInput, cb: (err: any, data?: CancelTaskExecutionCommandOutput) => void): void;
|
|
60
43
|
cancelTaskExecution(args: CancelTaskExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelTaskExecutionCommandOutput) => void): void;
|
|
61
|
-
|
|
62
|
-
* <p>Activates an DataSync agent that you have deployed on your host. The activation
|
|
63
|
-
* process associates your agent with your account. In the activation process, you specify
|
|
64
|
-
* information such as the Amazon Web Services Region that you want to activate the agent in. You activate the
|
|
65
|
-
* agent in the Amazon Web Services Region where your target locations (in Amazon S3 or Amazon EFS) reside. Your
|
|
66
|
-
* tasks are created in this Amazon Web Services Region.</p>
|
|
67
|
-
* <p>You can activate the agent in a VPC (virtual private cloud) or provide the agent access to
|
|
68
|
-
* a VPC endpoint so you can run tasks without going over the public internet.</p>
|
|
69
|
-
* <p>You can use an agent for more than one location. If a task uses multiple agents, all of
|
|
70
|
-
* them need to have status AVAILABLE for the task to run. If you use multiple agents for a
|
|
71
|
-
* source location, the status of all the agents must be AVAILABLE for the task to run. </p>
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* <p>Agents are automatically updated by Amazon Web Services on a regular basis, using a mechanism that
|
|
75
|
-
* ensures minimal interruption to your tasks.</p>
|
|
76
|
-
* <p></p>
|
|
77
|
-
*/
|
|
44
|
+
|
|
78
45
|
createAgent(args: CreateAgentCommandInput, options?: __HttpHandlerOptions): Promise<CreateAgentCommandOutput>;
|
|
79
46
|
createAgent(args: CreateAgentCommandInput, cb: (err: any, data?: CreateAgentCommandOutput) => void): void;
|
|
80
47
|
createAgent(args: CreateAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentCommandOutput) => void): void;
|
|
81
|
-
|
|
82
|
-
* <p>Creates an endpoint for an Amazon EFS file system.</p>
|
|
83
|
-
*/
|
|
48
|
+
|
|
84
49
|
createLocationEfs(args: CreateLocationEfsCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationEfsCommandOutput>;
|
|
85
50
|
createLocationEfs(args: CreateLocationEfsCommandInput, cb: (err: any, data?: CreateLocationEfsCommandOutput) => void): void;
|
|
86
51
|
createLocationEfs(args: CreateLocationEfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationEfsCommandOutput) => void): void;
|
|
87
|
-
|
|
88
|
-
* <p>Creates an endpoint for an Amazon FSx for Windows File Server file system.</p>
|
|
89
|
-
*/
|
|
52
|
+
|
|
90
53
|
createLocationFsxWindows(args: CreateLocationFsxWindowsCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationFsxWindowsCommandOutput>;
|
|
91
54
|
createLocationFsxWindows(args: CreateLocationFsxWindowsCommandInput, cb: (err: any, data?: CreateLocationFsxWindowsCommandOutput) => void): void;
|
|
92
55
|
createLocationFsxWindows(args: CreateLocationFsxWindowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationFsxWindowsCommandOutput) => void): void;
|
|
93
|
-
|
|
94
|
-
* <p>Defines a file system on a Network File System (NFS) server that can be read from or
|
|
95
|
-
* written to.</p>
|
|
96
|
-
*/
|
|
56
|
+
|
|
97
57
|
createLocationNfs(args: CreateLocationNfsCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationNfsCommandOutput>;
|
|
98
58
|
createLocationNfs(args: CreateLocationNfsCommandInput, cb: (err: any, data?: CreateLocationNfsCommandOutput) => void): void;
|
|
99
59
|
createLocationNfs(args: CreateLocationNfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationNfsCommandOutput) => void): void;
|
|
100
|
-
|
|
101
|
-
* <p>Creates an endpoint for a self-managed object storage bucket. For more information
|
|
102
|
-
* about self-managed object storage locations, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
|
|
103
|
-
*/
|
|
60
|
+
|
|
104
61
|
createLocationObjectStorage(args: CreateLocationObjectStorageCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationObjectStorageCommandOutput>;
|
|
105
62
|
createLocationObjectStorage(args: CreateLocationObjectStorageCommandInput, cb: (err: any, data?: CreateLocationObjectStorageCommandOutput) => void): void;
|
|
106
63
|
createLocationObjectStorage(args: CreateLocationObjectStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationObjectStorageCommandOutput) => void): void;
|
|
107
|
-
|
|
108
|
-
* <p>Creates an endpoint for an Amazon S3 bucket.</p>
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* <p>For
|
|
112
|
-
* more information, see
|
|
113
|
-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli">Create an Amazon S3 location</a>
|
|
114
|
-
* in the <i>DataSync User Guide</i>.</p>
|
|
115
|
-
*/
|
|
64
|
+
|
|
116
65
|
createLocationS3(args: CreateLocationS3CommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationS3CommandOutput>;
|
|
117
66
|
createLocationS3(args: CreateLocationS3CommandInput, cb: (err: any, data?: CreateLocationS3CommandOutput) => void): void;
|
|
118
67
|
createLocationS3(args: CreateLocationS3CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationS3CommandOutput) => void): void;
|
|
119
|
-
|
|
120
|
-
* <p>Defines a file system on a Server Message Block (SMB) server that can be read from or
|
|
121
|
-
* written to.</p>
|
|
122
|
-
*/
|
|
68
|
+
|
|
123
69
|
createLocationSmb(args: CreateLocationSmbCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationSmbCommandOutput>;
|
|
124
70
|
createLocationSmb(args: CreateLocationSmbCommandInput, cb: (err: any, data?: CreateLocationSmbCommandOutput) => void): void;
|
|
125
71
|
createLocationSmb(args: CreateLocationSmbCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationSmbCommandOutput) => void): void;
|
|
126
|
-
|
|
127
|
-
* <p>Creates a task.</p>
|
|
128
|
-
* <p>A task includes a source location and a destination location, and a configuration
|
|
129
|
-
* that specifies how data is transferred. A task always transfers data from the source
|
|
130
|
-
* location to the destination location. The configuration specifies options such as
|
|
131
|
-
* task scheduling, bandwidth limits, etc. A task is the complete definition of a data
|
|
132
|
-
* transfer.</p>
|
|
133
|
-
* <p>When you create a task that transfers data between Amazon Web Services services in different Amazon Web Services Regions,
|
|
134
|
-
* one of the two locations that you specify must reside in the Region where DataSync is being
|
|
135
|
-
* used. The other location must be specified in a different Region.</p>
|
|
136
|
-
* <p>You can transfer data between commercial Amazon Web Services Regions except for China, or between
|
|
137
|
-
* Amazon Web Services GovCloud (US) Regions.</p>
|
|
138
|
-
*
|
|
139
|
-
* <important>
|
|
140
|
-
* <p>When you use DataSync to copy files or objects between Amazon Web Services Regions,
|
|
141
|
-
* you pay for data transfer between Regions. This is billed as data transfer OUT
|
|
142
|
-
* from your source Region to your destination Region. For more information,
|
|
143
|
-
* see <a href="http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer">Data Transfer pricing</a>.
|
|
144
|
-
* </p>
|
|
145
|
-
* </important>
|
|
146
|
-
*/
|
|
72
|
+
|
|
147
73
|
createTask(args: CreateTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateTaskCommandOutput>;
|
|
148
74
|
createTask(args: CreateTaskCommandInput, cb: (err: any, data?: CreateTaskCommandOutput) => void): void;
|
|
149
75
|
createTask(args: CreateTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTaskCommandOutput) => void): void;
|
|
150
|
-
|
|
151
|
-
* <p>Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN)
|
|
152
|
-
* of the agent in your request. The operation disassociates the agent from your Amazon Web Services account.
|
|
153
|
-
* However, it doesn't delete the agent virtual machine (VM) from your on-premises
|
|
154
|
-
* environment.</p>
|
|
155
|
-
*/
|
|
76
|
+
|
|
156
77
|
deleteAgent(args: DeleteAgentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAgentCommandOutput>;
|
|
157
78
|
deleteAgent(args: DeleteAgentCommandInput, cb: (err: any, data?: DeleteAgentCommandOutput) => void): void;
|
|
158
79
|
deleteAgent(args: DeleteAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAgentCommandOutput) => void): void;
|
|
159
|
-
|
|
160
|
-
* <p>Deletes the configuration of a location used by DataSync. </p>
|
|
161
|
-
*/
|
|
80
|
+
|
|
162
81
|
deleteLocation(args: DeleteLocationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLocationCommandOutput>;
|
|
163
82
|
deleteLocation(args: DeleteLocationCommandInput, cb: (err: any, data?: DeleteLocationCommandOutput) => void): void;
|
|
164
83
|
deleteLocation(args: DeleteLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLocationCommandOutput) => void): void;
|
|
165
|
-
|
|
166
|
-
* <p>Deletes a task.</p>
|
|
167
|
-
*/
|
|
84
|
+
|
|
168
85
|
deleteTask(args: DeleteTaskCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTaskCommandOutput>;
|
|
169
86
|
deleteTask(args: DeleteTaskCommandInput, cb: (err: any, data?: DeleteTaskCommandOutput) => void): void;
|
|
170
87
|
deleteTask(args: DeleteTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTaskCommandOutput) => void): void;
|
|
171
|
-
|
|
172
|
-
* <p>Returns metadata such as the name, the network interfaces, and the status (that is,
|
|
173
|
-
* whether the agent is running or not) for an agent. To specify which agent to describe, use the
|
|
174
|
-
* Amazon Resource Name (ARN) of the agent in your request. </p>
|
|
175
|
-
*/
|
|
88
|
+
|
|
176
89
|
describeAgent(args: DescribeAgentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAgentCommandOutput>;
|
|
177
90
|
describeAgent(args: DescribeAgentCommandInput, cb: (err: any, data?: DescribeAgentCommandOutput) => void): void;
|
|
178
91
|
describeAgent(args: DescribeAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAgentCommandOutput) => void): void;
|
|
179
|
-
|
|
180
|
-
* <p>Returns metadata, such as the path information about an Amazon EFS location.</p>
|
|
181
|
-
*/
|
|
92
|
+
|
|
182
93
|
describeLocationEfs(args: DescribeLocationEfsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationEfsCommandOutput>;
|
|
183
94
|
describeLocationEfs(args: DescribeLocationEfsCommandInput, cb: (err: any, data?: DescribeLocationEfsCommandOutput) => void): void;
|
|
184
95
|
describeLocationEfs(args: DescribeLocationEfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationEfsCommandOutput) => void): void;
|
|
185
|
-
|
|
186
|
-
* <p>Returns metadata, such as the path information about an Amazon FSx for Windows File Server
|
|
187
|
-
* location.</p>
|
|
188
|
-
*/
|
|
96
|
+
|
|
189
97
|
describeLocationFsxWindows(args: DescribeLocationFsxWindowsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationFsxWindowsCommandOutput>;
|
|
190
98
|
describeLocationFsxWindows(args: DescribeLocationFsxWindowsCommandInput, cb: (err: any, data?: DescribeLocationFsxWindowsCommandOutput) => void): void;
|
|
191
99
|
describeLocationFsxWindows(args: DescribeLocationFsxWindowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationFsxWindowsCommandOutput) => void): void;
|
|
192
|
-
|
|
193
|
-
* <p>Returns metadata, such as the path information, about an NFS location.</p>
|
|
194
|
-
*/
|
|
100
|
+
|
|
195
101
|
describeLocationNfs(args: DescribeLocationNfsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationNfsCommandOutput>;
|
|
196
102
|
describeLocationNfs(args: DescribeLocationNfsCommandInput, cb: (err: any, data?: DescribeLocationNfsCommandOutput) => void): void;
|
|
197
103
|
describeLocationNfs(args: DescribeLocationNfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationNfsCommandOutput) => void): void;
|
|
198
|
-
|
|
199
|
-
* <p>Returns metadata about a self-managed object storage server location. For more information
|
|
200
|
-
* about self-managed object storage locations, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
|
|
201
|
-
*/
|
|
104
|
+
|
|
202
105
|
describeLocationObjectStorage(args: DescribeLocationObjectStorageCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationObjectStorageCommandOutput>;
|
|
203
106
|
describeLocationObjectStorage(args: DescribeLocationObjectStorageCommandInput, cb: (err: any, data?: DescribeLocationObjectStorageCommandOutput) => void): void;
|
|
204
107
|
describeLocationObjectStorage(args: DescribeLocationObjectStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationObjectStorageCommandOutput) => void): void;
|
|
205
|
-
|
|
206
|
-
* <p>Returns metadata, such as bucket name, about an Amazon S3 bucket location.</p>
|
|
207
|
-
*/
|
|
108
|
+
|
|
208
109
|
describeLocationS3(args: DescribeLocationS3CommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationS3CommandOutput>;
|
|
209
110
|
describeLocationS3(args: DescribeLocationS3CommandInput, cb: (err: any, data?: DescribeLocationS3CommandOutput) => void): void;
|
|
210
111
|
describeLocationS3(args: DescribeLocationS3CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationS3CommandOutput) => void): void;
|
|
211
|
-
|
|
212
|
-
* <p>Returns metadata, such as the path and user information about an SMB location.</p>
|
|
213
|
-
*/
|
|
112
|
+
|
|
214
113
|
describeLocationSmb(args: DescribeLocationSmbCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationSmbCommandOutput>;
|
|
215
114
|
describeLocationSmb(args: DescribeLocationSmbCommandInput, cb: (err: any, data?: DescribeLocationSmbCommandOutput) => void): void;
|
|
216
115
|
describeLocationSmb(args: DescribeLocationSmbCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationSmbCommandOutput) => void): void;
|
|
217
|
-
|
|
218
|
-
* <p>Returns metadata about a task.</p>
|
|
219
|
-
*/
|
|
116
|
+
|
|
220
117
|
describeTask(args: DescribeTaskCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTaskCommandOutput>;
|
|
221
118
|
describeTask(args: DescribeTaskCommandInput, cb: (err: any, data?: DescribeTaskCommandOutput) => void): void;
|
|
222
119
|
describeTask(args: DescribeTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTaskCommandOutput) => void): void;
|
|
223
|
-
|
|
224
|
-
* <p>Returns detailed metadata about a task that is being executed.</p>
|
|
225
|
-
*/
|
|
120
|
+
|
|
226
121
|
describeTaskExecution(args: DescribeTaskExecutionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTaskExecutionCommandOutput>;
|
|
227
122
|
describeTaskExecution(args: DescribeTaskExecutionCommandInput, cb: (err: any, data?: DescribeTaskExecutionCommandOutput) => void): void;
|
|
228
123
|
describeTaskExecution(args: DescribeTaskExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTaskExecutionCommandOutput) => void): void;
|
|
229
|
-
|
|
230
|
-
* <p>Returns a list of agents owned by an Amazon Web Services account in the Amazon Web Services Region specified in the
|
|
231
|
-
* request. The returned list is ordered by agent Amazon Resource Name (ARN).</p>
|
|
232
|
-
* <p>By default, this operation returns a maximum of 100 agents. This operation supports
|
|
233
|
-
* pagination that enables you to optionally reduce the number of agents returned in a
|
|
234
|
-
* response.</p>
|
|
235
|
-
* <p>If you have more agents than are returned in a response (that is, the response returns
|
|
236
|
-
* only a truncated list of your agents), the response contains a marker that you can specify in
|
|
237
|
-
* your next request to fetch the next page of agents.</p>
|
|
238
|
-
*/
|
|
124
|
+
|
|
239
125
|
listAgents(args: ListAgentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentsCommandOutput>;
|
|
240
126
|
listAgents(args: ListAgentsCommandInput, cb: (err: any, data?: ListAgentsCommandOutput) => void): void;
|
|
241
127
|
listAgents(args: ListAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAgentsCommandOutput) => void): void;
|
|
242
|
-
|
|
243
|
-
* <p>Returns a list of source and destination locations.</p>
|
|
244
|
-
* <p>If you have more locations than are returned in a response (that is, the response
|
|
245
|
-
* returns only a truncated list of your agents), the response contains a token that you can
|
|
246
|
-
* specify in your next request to fetch the next page of locations.</p>
|
|
247
|
-
*/
|
|
128
|
+
|
|
248
129
|
listLocations(args: ListLocationsCommandInput, options?: __HttpHandlerOptions): Promise<ListLocationsCommandOutput>;
|
|
249
130
|
listLocations(args: ListLocationsCommandInput, cb: (err: any, data?: ListLocationsCommandOutput) => void): void;
|
|
250
131
|
listLocations(args: ListLocationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLocationsCommandOutput) => void): void;
|
|
251
|
-
|
|
252
|
-
* <p>Returns all the tags associated with a specified resource. </p>
|
|
253
|
-
*/
|
|
132
|
+
|
|
254
133
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
255
134
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
256
135
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
257
|
-
|
|
258
|
-
* <p>Returns a list of executed tasks.</p>
|
|
259
|
-
*/
|
|
136
|
+
|
|
260
137
|
listTaskExecutions(args: ListTaskExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListTaskExecutionsCommandOutput>;
|
|
261
138
|
listTaskExecutions(args: ListTaskExecutionsCommandInput, cb: (err: any, data?: ListTaskExecutionsCommandOutput) => void): void;
|
|
262
139
|
listTaskExecutions(args: ListTaskExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTaskExecutionsCommandOutput) => void): void;
|
|
263
|
-
|
|
264
|
-
* <p>Returns a list of all the tasks.</p>
|
|
265
|
-
*/
|
|
140
|
+
|
|
266
141
|
listTasks(args: ListTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListTasksCommandOutput>;
|
|
267
142
|
listTasks(args: ListTasksCommandInput, cb: (err: any, data?: ListTasksCommandOutput) => void): void;
|
|
268
143
|
listTasks(args: ListTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTasksCommandOutput) => void): void;
|
|
269
|
-
|
|
270
|
-
* <p>Starts a specific invocation of a task. A <code>TaskExecution</code> value represents
|
|
271
|
-
* an individual run of a task. Each task can have at most one <code>TaskExecution</code> at a
|
|
272
|
-
* time.</p>
|
|
273
|
-
* <p>
|
|
274
|
-
* <code>TaskExecution</code> has the following transition phases: INITIALIZING |
|
|
275
|
-
* PREPARING | TRANSFERRING | VERIFYING | SUCCESS/FAILURE. </p>
|
|
276
|
-
*
|
|
277
|
-
* <p>For detailed information, see the Task Execution section in the Components and
|
|
278
|
-
* Terminology topic in the <i>DataSync User Guide</i>.</p>
|
|
279
|
-
*/
|
|
144
|
+
|
|
280
145
|
startTaskExecution(args: StartTaskExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartTaskExecutionCommandOutput>;
|
|
281
146
|
startTaskExecution(args: StartTaskExecutionCommandInput, cb: (err: any, data?: StartTaskExecutionCommandOutput) => void): void;
|
|
282
147
|
startTaskExecution(args: StartTaskExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTaskExecutionCommandOutput) => void): void;
|
|
283
|
-
|
|
284
|
-
* <p>Applies a key-value pair to an Amazon Web Services resource.</p>
|
|
285
|
-
*/
|
|
148
|
+
|
|
286
149
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
287
150
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
288
151
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
289
|
-
|
|
290
|
-
* <p>Removes a tag from an Amazon Web Services resource.</p>
|
|
291
|
-
*/
|
|
152
|
+
|
|
292
153
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
293
154
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
294
155
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
295
|
-
|
|
296
|
-
* <p>Updates the name of an agent.</p>
|
|
297
|
-
*/
|
|
156
|
+
|
|
298
157
|
updateAgent(args: UpdateAgentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAgentCommandOutput>;
|
|
299
158
|
updateAgent(args: UpdateAgentCommandInput, cb: (err: any, data?: UpdateAgentCommandOutput) => void): void;
|
|
300
159
|
updateAgent(args: UpdateAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAgentCommandOutput) => void): void;
|
|
301
|
-
|
|
302
|
-
* <p>Updates some of the parameters of a previously created location for Network File System (NFS) access.
|
|
303
|
-
* For information about creating an NFS location, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html">Creating a location for NFS</a>.</p>
|
|
304
|
-
*/
|
|
160
|
+
|
|
305
161
|
updateLocationNfs(args: UpdateLocationNfsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationNfsCommandOutput>;
|
|
306
162
|
updateLocationNfs(args: UpdateLocationNfsCommandInput, cb: (err: any, data?: UpdateLocationNfsCommandOutput) => void): void;
|
|
307
163
|
updateLocationNfs(args: UpdateLocationNfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationNfsCommandOutput) => void): void;
|
|
308
|
-
|
|
309
|
-
* <p>Updates some of the parameters of a previously created location for self-managed object
|
|
310
|
-
* storage server access. For information about creating a self-managed object storage location,
|
|
311
|
-
* see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
|
|
312
|
-
*/
|
|
164
|
+
|
|
313
165
|
updateLocationObjectStorage(args: UpdateLocationObjectStorageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationObjectStorageCommandOutput>;
|
|
314
166
|
updateLocationObjectStorage(args: UpdateLocationObjectStorageCommandInput, cb: (err: any, data?: UpdateLocationObjectStorageCommandOutput) => void): void;
|
|
315
167
|
updateLocationObjectStorage(args: UpdateLocationObjectStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationObjectStorageCommandOutput) => void): void;
|
|
316
|
-
|
|
317
|
-
* <p>Updates some of the parameters of a previously created location for Server Message Block
|
|
318
|
-
* (SMB) file system access. For information about creating an SMB location, see
|
|
319
|
-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html">Creating a location for SMB</a>.</p>
|
|
320
|
-
*/
|
|
168
|
+
|
|
321
169
|
updateLocationSmb(args: UpdateLocationSmbCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLocationSmbCommandOutput>;
|
|
322
170
|
updateLocationSmb(args: UpdateLocationSmbCommandInput, cb: (err: any, data?: UpdateLocationSmbCommandOutput) => void): void;
|
|
323
171
|
updateLocationSmb(args: UpdateLocationSmbCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLocationSmbCommandOutput) => void): void;
|
|
324
|
-
|
|
325
|
-
* <p>Updates the metadata associated with a task.</p>
|
|
326
|
-
*/
|
|
172
|
+
|
|
327
173
|
updateTask(args: UpdateTaskCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTaskCommandOutput>;
|
|
328
174
|
updateTask(args: UpdateTaskCommandInput, cb: (err: any, data?: UpdateTaskCommandOutput) => void): void;
|
|
329
175
|
updateTask(args: UpdateTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTaskCommandOutput) => void): void;
|
|
330
|
-
|
|
331
|
-
* <p>Updates execution of a task.</p>
|
|
332
|
-
* <p>You can modify bandwidth throttling for a task execution that is running or queued.
|
|
333
|
-
* For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#adjust-bandwidth-throttling">Adjusting Bandwidth Throttling for a Task Execution</a>.</p>
|
|
334
|
-
*
|
|
335
|
-
* <note>
|
|
336
|
-
* <p>The only <code>Option</code> that can be modified by <code>UpdateTaskExecution</code>
|
|
337
|
-
* is <code>
|
|
338
|
-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-BytesPerSecond">BytesPerSecond</a>
|
|
339
|
-
* </code>.</p>
|
|
340
|
-
* </note>
|
|
341
|
-
*/
|
|
176
|
+
|
|
342
177
|
updateTaskExecution(args: UpdateTaskExecutionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTaskExecutionCommandOutput>;
|
|
343
178
|
updateTaskExecution(args: UpdateTaskExecutionCommandInput, cb: (err: any, data?: UpdateTaskExecutionCommandOutput) => void): void;
|
|
344
179
|
updateTaskExecution(args: UpdateTaskExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTaskExecutionCommandOutput) => void): void;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
1
9
|
import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } from "./commands/CancelTaskExecutionCommand";
|
|
2
10
|
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
3
11
|
import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
|
|
@@ -33,141 +41,62 @@ import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCom
|
|
|
33
41
|
import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
|
|
34
42
|
import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand";
|
|
35
43
|
import { UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput } from "./commands/UpdateTaskExecutionCommand";
|
|
36
|
-
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
37
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
38
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
39
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
40
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
41
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
42
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
43
|
-
import { Provider, RegionInfoProvider, Credentials as __Credentials, 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 "@aws-sdk/types";
|
|
44
44
|
export declare type ServiceInputTypes = CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | ListAgentsCommandInput | ListLocationsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | StartTaskExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
|
|
45
45
|
export declare type ServiceOutputTypes = CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | ListAgentsCommandOutput | ListLocationsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | StartTaskExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
|
|
46
46
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
47
|
-
|
|
48
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
49
|
-
*/
|
|
47
|
+
|
|
50
48
|
requestHandler?: __HttpHandler;
|
|
51
|
-
|
|
52
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
53
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
49
|
+
|
|
56
50
|
sha256?: __HashConstructor;
|
|
57
|
-
|
|
58
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
51
|
+
|
|
61
52
|
urlParser?: __UrlParser;
|
|
62
|
-
|
|
63
|
-
* A function that can calculate the length of a request body.
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
53
|
+
|
|
66
54
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
67
|
-
|
|
68
|
-
* A function that converts a stream into an array of bytes.
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
55
|
+
|
|
71
56
|
streamCollector?: __StreamCollector;
|
|
72
|
-
|
|
73
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
57
|
+
|
|
76
58
|
base64Decoder?: __Decoder;
|
|
77
|
-
|
|
78
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
59
|
+
|
|
81
60
|
base64Encoder?: __Encoder;
|
|
82
|
-
|
|
83
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
61
|
+
|
|
86
62
|
utf8Decoder?: __Decoder;
|
|
87
|
-
|
|
88
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
63
|
+
|
|
91
64
|
utf8Encoder?: __Encoder;
|
|
92
|
-
|
|
93
|
-
* The runtime environment.
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
65
|
+
|
|
96
66
|
runtime?: string;
|
|
97
|
-
|
|
98
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
99
|
-
* trait of an operation.
|
|
100
|
-
*/
|
|
67
|
+
|
|
101
68
|
disableHostPrefix?: boolean;
|
|
102
|
-
|
|
103
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
104
|
-
*/
|
|
69
|
+
|
|
105
70
|
maxAttempts?: number | __Provider<number>;
|
|
106
|
-
|
|
107
|
-
* Specifies which retry algorithm to use.
|
|
108
|
-
*/
|
|
71
|
+
|
|
109
72
|
retryMode?: string | __Provider<string>;
|
|
110
|
-
|
|
111
|
-
* Optional logger for logging debug/info/warn/error.
|
|
112
|
-
*/
|
|
73
|
+
|
|
113
74
|
logger?: __Logger;
|
|
114
|
-
|
|
115
|
-
* Unique service identifier.
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
75
|
+
|
|
118
76
|
serviceId?: string;
|
|
119
|
-
|
|
120
|
-
* The AWS region to which this client will send requests
|
|
121
|
-
*/
|
|
77
|
+
|
|
122
78
|
region?: string | __Provider<string>;
|
|
123
|
-
|
|
124
|
-
* Default credentials provider; Not available in browser runtime.
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
79
|
+
|
|
127
80
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
128
|
-
|
|
129
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
81
|
+
|
|
132
82
|
regionInfoProvider?: RegionInfoProvider;
|
|
133
|
-
|
|
134
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
83
|
+
|
|
137
84
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
138
85
|
}
|
|
139
86
|
declare type DataSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
140
|
-
|
|
141
|
-
* The configuration interface of DataSyncClient class constructor that set the region, credentials and other options.
|
|
142
|
-
*/
|
|
87
|
+
|
|
143
88
|
export interface DataSyncClientConfig extends DataSyncClientConfigType {
|
|
144
89
|
}
|
|
145
90
|
declare type DataSyncClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
146
|
-
|
|
147
|
-
* The resolved configuration interface of DataSyncClient class. This is resolved and normalized from the {@link DataSyncClientConfig | constructor configuration interface}.
|
|
148
|
-
*/
|
|
91
|
+
|
|
149
92
|
export interface DataSyncClientResolvedConfig extends DataSyncClientResolvedConfigType {
|
|
150
93
|
}
|
|
151
|
-
|
|
152
|
-
* <fullname>DataSync</fullname>
|
|
153
|
-
*
|
|
154
|
-
* <p>DataSync is a managed data transfer service that makes it simpler for you to
|
|
155
|
-
* automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)
|
|
156
|
-
* or Amazon Elastic File System (Amazon EFS). </p>
|
|
157
|
-
* <p>This API interface reference for DataSync contains documentation for a
|
|
158
|
-
* programming interface that you can use to manage DataSync.</p>
|
|
159
|
-
*/
|
|
94
|
+
|
|
160
95
|
export declare class DataSyncClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DataSyncClientResolvedConfig> {
|
|
161
|
-
|
|
162
|
-
* The resolved configuration of DataSyncClient class. This is resolved and normalized from the {@link DataSyncClientConfig | constructor configuration interface}.
|
|
163
|
-
*/
|
|
96
|
+
|
|
164
97
|
readonly config: DataSyncClientResolvedConfig;
|
|
165
98
|
constructor(configuration: DataSyncClientConfig);
|
|
166
|
-
|
|
167
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
168
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
169
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
170
|
-
*/
|
|
99
|
+
|
|
171
100
|
destroy(): void;
|
|
172
101
|
}
|
|
173
102
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
4
|
+
import { CancelTaskExecutionRequest, CancelTaskExecutionResponse } from "../models/models_0";
|
|
5
|
+
export interface CancelTaskExecutionCommandInput extends CancelTaskExecutionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CancelTaskExecutionCommandOutput extends CancelTaskExecutionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CancelTaskExecutionCommand extends $Command<CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput, DataSyncClientResolvedConfig> {
|
|
11
|
+
readonly input: CancelTaskExecutionCommandInput;
|
|
12
|
+
constructor(input: CancelTaskExecutionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
4
|
+
import { CreateAgentRequest, CreateAgentResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateAgentCommandInput extends CreateAgentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateAgentCommandOutput extends CreateAgentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateAgentCommand extends $Command<CreateAgentCommandInput, CreateAgentCommandOutput, DataSyncClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateAgentCommandInput;
|
|
12
|
+
constructor(input: CreateAgentCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAgentCommandInput, CreateAgentCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|