@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
23
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
24
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
|
|
36
|
+
* **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
|
|
7
54
|
|
|
8
55
|
**Note:** Version bump only for package @aws-sdk/client-datasync
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DataSync = void 0;
|
|
4
|
-
const DataSyncClient_1 = require("./DataSyncClient");
|
|
5
4
|
const CancelTaskExecutionCommand_1 = require("./commands/CancelTaskExecutionCommand");
|
|
6
5
|
const CreateAgentCommand_1 = require("./commands/CreateAgentCommand");
|
|
7
6
|
const CreateLocationEfsCommand_1 = require("./commands/CreateLocationEfsCommand");
|
|
@@ -37,15 +36,7 @@ const UpdateLocationObjectStorageCommand_1 = require("./commands/UpdateLocationO
|
|
|
37
36
|
const UpdateLocationSmbCommand_1 = require("./commands/UpdateLocationSmbCommand");
|
|
38
37
|
const UpdateTaskCommand_1 = require("./commands/UpdateTaskCommand");
|
|
39
38
|
const UpdateTaskExecutionCommand_1 = require("./commands/UpdateTaskExecutionCommand");
|
|
40
|
-
|
|
41
|
-
* <fullname>DataSync</fullname>
|
|
42
|
-
*
|
|
43
|
-
* <p>DataSync is a managed data transfer service that makes it simpler for you to
|
|
44
|
-
* automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)
|
|
45
|
-
* or Amazon Elastic File System (Amazon EFS). </p>
|
|
46
|
-
* <p>This API interface reference for DataSync contains documentation for a
|
|
47
|
-
* programming interface that you can use to manage DataSync.</p>
|
|
48
|
-
*/
|
|
39
|
+
const DataSyncClient_1 = require("./DataSyncClient");
|
|
49
40
|
class DataSync extends DataSyncClient_1.DataSyncClient {
|
|
50
41
|
cancelTaskExecution(args, optionsOrCb, cb) {
|
|
51
42
|
const command = new CancelTaskExecutionCommand_1.CancelTaskExecutionCommand(args);
|
|
@@ -539,4 +530,3 @@ class DataSync extends DataSyncClient_1.DataSyncClient {
|
|
|
539
530
|
}
|
|
540
531
|
}
|
|
541
532
|
exports.DataSync = DataSync;
|
|
542
|
-
//# sourceMappingURL=DataSync.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DataSyncClient = void 0;
|
|
4
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
6
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
7
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
@@ -10,24 +9,16 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
10
9
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
|
-
|
|
14
|
-
* <fullname>DataSync</fullname>
|
|
15
|
-
*
|
|
16
|
-
* <p>DataSync is a managed data transfer service that makes it simpler for you to
|
|
17
|
-
* automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)
|
|
18
|
-
* or Amazon Elastic File System (Amazon EFS). </p>
|
|
19
|
-
* <p>This API interface reference for DataSync contains documentation for a
|
|
20
|
-
* programming interface that you can use to manage DataSync.</p>
|
|
21
|
-
*/
|
|
12
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
22
13
|
class DataSyncClient extends smithy_client_1.Client {
|
|
23
14
|
constructor(configuration) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
15
|
+
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
+
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
+
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
+
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
+
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
+
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
+
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
31
22
|
super(_config_6);
|
|
32
23
|
this.config = _config_6;
|
|
33
24
|
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
@@ -37,14 +28,8 @@ class DataSyncClient extends smithy_client_1.Client {
|
|
|
37
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
38
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
39
30
|
}
|
|
40
|
-
/**
|
|
41
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
42
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
43
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
44
|
-
*/
|
|
45
31
|
destroy() {
|
|
46
32
|
super.destroy();
|
|
47
33
|
}
|
|
48
34
|
}
|
|
49
35
|
exports.DataSyncClient = DataSyncClient;
|
|
50
|
-
//# sourceMappingURL=DataSyncClient.js.map
|
|
@@ -1,46 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CancelTaskExecutionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* <p>When you cancel a task execution, the transfer of some files is abruptly interrupted.
|
|
11
|
-
* The contents of files that are transferred to the destination might be incomplete or
|
|
12
|
-
* inconsistent with the source files. However, if you start a new task execution on the same
|
|
13
|
-
* task and you allow the task execution to complete, file content on the destination is complete
|
|
14
|
-
* and consistent. This applies to other unexpected failures that interrupt a task execution. In
|
|
15
|
-
* all of these cases, DataSync successfully complete the transfer when you start the next
|
|
16
|
-
* task execution.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { DataSyncClient, CancelTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
21
|
-
* // const { DataSyncClient, CancelTaskExecutionCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
22
|
-
* const client = new DataSyncClient(config);
|
|
23
|
-
* const command = new CancelTaskExecutionCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link CancelTaskExecutionCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link CancelTaskExecutionCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
32
8
|
class CancelTaskExecutionCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +34,3 @@ class CancelTaskExecutionCommand extends smithy_client_1.Command {
|
|
|
65
34
|
}
|
|
66
35
|
}
|
|
67
36
|
exports.CancelTaskExecutionCommand = CancelTaskExecutionCommand;
|
|
68
|
-
//# sourceMappingURL=CancelTaskExecutionCommand.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateAgentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateAgentCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DataSyncClient";
|
|
18
|
+
const commandName = "CreateAgentCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateAgentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateAgentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreateAgentCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateAgentCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateAgentCommand = CreateAgentCommand;
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateLocationEfsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { DataSyncClient, CreateLocationEfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
14
|
-
* // const { DataSyncClient, CreateLocationEfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
15
|
-
* const client = new DataSyncClient(config);
|
|
16
|
-
* const command = new CreateLocationEfsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateLocationEfsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateLocationEfsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
25
8
|
class CreateLocationEfsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class CreateLocationEfsCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.CreateLocationEfsCommand = CreateLocationEfsCommand;
|
|
61
|
-
//# sourceMappingURL=CreateLocationEfsCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateLocationFsxWindowsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { DataSyncClient, CreateLocationFsxWindowsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
14
|
-
* // const { DataSyncClient, CreateLocationFsxWindowsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
15
|
-
* const client = new DataSyncClient(config);
|
|
16
|
-
* const command = new CreateLocationFsxWindowsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateLocationFsxWindowsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateLocationFsxWindowsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
25
8
|
class CreateLocationFsxWindowsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class CreateLocationFsxWindowsCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.CreateLocationFsxWindowsCommand = CreateLocationFsxWindowsCommand;
|
|
61
|
-
//# sourceMappingURL=CreateLocationFsxWindowsCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateLocationNfsCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* written to.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { DataSyncClient, CreateLocationNfsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
15
|
-
* // const { DataSyncClient, CreateLocationNfsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
16
|
-
* const client = new DataSyncClient(config);
|
|
17
|
-
* const command = new CreateLocationNfsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateLocationNfsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateLocationNfsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class CreateLocationNfsCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class CreateLocationNfsCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.CreateLocationNfsCommand = CreateLocationNfsCommand;
|
|
62
|
-
//# sourceMappingURL=CreateLocationNfsCommand.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateLocationObjectStorageCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* 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>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { DataSyncClient, CreateLocationObjectStorageCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
15
|
-
* // const { DataSyncClient, CreateLocationObjectStorageCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
16
|
-
* const client = new DataSyncClient(config);
|
|
17
|
-
* const command = new CreateLocationObjectStorageCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateLocationObjectStorageCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateLocationObjectStorageCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class CreateLocationObjectStorageCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class CreateLocationObjectStorageCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.CreateLocationObjectStorageCommand = CreateLocationObjectStorageCommand;
|
|
62
|
-
//# sourceMappingURL=CreateLocationObjectStorageCommand.js.map
|
|
@@ -1,45 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateLocationS3Command = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* <p>For
|
|
13
|
-
* more information, see
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli">Create an Amazon S3 location</a>
|
|
15
|
-
* in the <i>DataSync User Guide</i>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { DataSyncClient, CreateLocationS3Command } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
20
|
-
* // const { DataSyncClient, CreateLocationS3Command } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
21
|
-
* const client = new DataSyncClient(config);
|
|
22
|
-
* const command = new CreateLocationS3Command(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link CreateLocationS3CommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link CreateLocationS3CommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
31
8
|
class CreateLocationS3Command extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -64,4 +34,3 @@ class CreateLocationS3Command extends smithy_client_1.Command {
|
|
|
64
34
|
}
|
|
65
35
|
}
|
|
66
36
|
exports.CreateLocationS3Command = CreateLocationS3Command;
|
|
67
|
-
//# sourceMappingURL=CreateLocationS3Command.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateLocationSmbCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* written to.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { DataSyncClient, CreateLocationSmbCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
15
|
-
* // const { DataSyncClient, CreateLocationSmbCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
16
|
-
* const client = new DataSyncClient(config);
|
|
17
|
-
* const command = new CreateLocationSmbCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateLocationSmbCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateLocationSmbCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
26
8
|
class CreateLocationSmbCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class CreateLocationSmbCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.CreateLocationSmbCommand = CreateLocationSmbCommand;
|
|
62
|
-
//# sourceMappingURL=CreateLocationSmbCommand.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateTaskCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateTaskCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DataSyncClient";
|
|
18
|
+
const commandName = "CreateTaskCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateTaskRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateTaskResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreateTaskCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateTaskCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateTaskCommand = CreateTaskCommand;
|
|
@@ -1,42 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteAgentCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* of the agent in your request. The operation disassociates the agent from your Amazon Web Services account.
|
|
11
|
-
* However, it doesn't delete the agent virtual machine (VM) from your on-premises
|
|
12
|
-
* environment.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { DataSyncClient, DeleteAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
17
|
-
* // const { DataSyncClient, DeleteAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
18
|
-
* const client = new DataSyncClient(config);
|
|
19
|
-
* const command = new DeleteAgentCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DeleteAgentCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DeleteAgentCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
28
8
|
class DeleteAgentCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class DeleteAgentCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.DeleteAgentCommand = DeleteAgentCommand;
|
|
64
|
-
//# sourceMappingURL=DeleteAgentCommand.js.map
|
|
@@ -1,39 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteLocationCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { DataSyncClient, DeleteLocationCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
14
|
-
* // const { DataSyncClient, DeleteLocationCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
15
|
-
* const client = new DataSyncClient(config);
|
|
16
|
-
* const command = new DeleteLocationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteLocationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteLocationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
25
8
|
class DeleteLocationCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DeleteLocationCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DeleteLocationCommand = DeleteLocationCommand;
|
|
61
|
-
//# sourceMappingURL=DeleteLocationCommand.js.map
|