@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,94 +0,0 @@
|
|
|
1
|
-
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
2
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListTagsForResourceCommand,
|
|
5
|
-
serializeAws_json1_1ListTagsForResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
21
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns all the tags associated with a specified resource. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataSyncClient, ListTagsForResourceCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
29
|
-
* // const { DataSyncClient, ListTagsForResourceCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
30
|
-
* const client = new DataSyncClient(config);
|
|
31
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
41
|
-
ListTagsForResourceCommandInput,
|
|
42
|
-
ListTagsForResourceCommandOutput,
|
|
43
|
-
DataSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: DataSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "DataSyncClient";
|
|
68
|
-
const commandName = "ListTagsForResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ListTagsForResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
2
|
-
import { ListTaskExecutionsRequest, ListTaskExecutionsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListTaskExecutionsCommand,
|
|
5
|
-
serializeAws_json1_1ListTaskExecutionsCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListTaskExecutionsCommandInput extends ListTaskExecutionsRequest {}
|
|
21
|
-
export interface ListTaskExecutionsCommandOutput extends ListTaskExecutionsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns a list of executed tasks.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataSyncClient, ListTaskExecutionsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
29
|
-
* // const { DataSyncClient, ListTaskExecutionsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
30
|
-
* const client = new DataSyncClient(config);
|
|
31
|
-
* const command = new ListTaskExecutionsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListTaskExecutionsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListTaskExecutionsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListTaskExecutionsCommand extends $Command<
|
|
41
|
-
ListTaskExecutionsCommandInput,
|
|
42
|
-
ListTaskExecutionsCommandOutput,
|
|
43
|
-
DataSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListTaskExecutionsCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: DataSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListTaskExecutionsCommandInput, ListTaskExecutionsCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "DataSyncClient";
|
|
68
|
-
const commandName = "ListTaskExecutionsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListTaskExecutionsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListTaskExecutionsResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ListTaskExecutionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ListTaskExecutionsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTaskExecutionsCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ListTaskExecutionsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
2
|
-
import { ListTasksRequest, ListTasksResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1ListTasksCommand, serializeAws_json1_1ListTasksCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
import {
|
|
8
|
-
FinalizeHandlerArguments,
|
|
9
|
-
Handler,
|
|
10
|
-
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
|
-
MetadataBearer as __MetadataBearer,
|
|
14
|
-
SerdeContext as __SerdeContext,
|
|
15
|
-
} from "@aws-sdk/types";
|
|
16
|
-
|
|
17
|
-
export interface ListTasksCommandInput extends ListTasksRequest {}
|
|
18
|
-
export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBearer {}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* <p>Returns a list of all the tasks.</p>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { DataSyncClient, ListTasksCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
26
|
-
* // const { DataSyncClient, ListTasksCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
27
|
-
* const client = new DataSyncClient(config);
|
|
28
|
-
* const command = new ListTasksCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link ListTasksCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link ListTasksCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
export class ListTasksCommand extends $Command<
|
|
38
|
-
ListTasksCommandInput,
|
|
39
|
-
ListTasksCommandOutput,
|
|
40
|
-
DataSyncClientResolvedConfig
|
|
41
|
-
> {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
|
-
|
|
45
|
-
constructor(readonly input: ListTasksCommandInput) {
|
|
46
|
-
// Start section: command_constructor
|
|
47
|
-
super();
|
|
48
|
-
// End section: command_constructor
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
resolveMiddleware(
|
|
55
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
56
|
-
configuration: DataSyncClientResolvedConfig,
|
|
57
|
-
options?: __HttpHandlerOptions
|
|
58
|
-
): Handler<ListTasksCommandInput, ListTasksCommandOutput> {
|
|
59
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
60
|
-
|
|
61
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
62
|
-
|
|
63
|
-
const { logger } = configuration;
|
|
64
|
-
const clientName = "DataSyncClient";
|
|
65
|
-
const commandName = "ListTasksCommand";
|
|
66
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
67
|
-
logger,
|
|
68
|
-
clientName,
|
|
69
|
-
commandName,
|
|
70
|
-
inputFilterSensitiveLog: ListTasksRequest.filterSensitiveLog,
|
|
71
|
-
outputFilterSensitiveLog: ListTasksResponse.filterSensitiveLog,
|
|
72
|
-
};
|
|
73
|
-
const { requestHandler } = configuration;
|
|
74
|
-
return stack.resolve(
|
|
75
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
76
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
77
|
-
handlerExecutionContext
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
private serialize(input: ListTasksCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
82
|
-
return serializeAws_json1_1ListTasksCommand(input, context);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTasksCommandOutput> {
|
|
86
|
-
return deserializeAws_json1_1ListTasksCommand(output, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Start section: command_body_extra
|
|
90
|
-
// End section: command_body_extra
|
|
91
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
2
|
-
import { StartTaskExecutionRequest, StartTaskExecutionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1StartTaskExecutionCommand,
|
|
5
|
-
serializeAws_json1_1StartTaskExecutionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface StartTaskExecutionCommandInput extends StartTaskExecutionRequest {}
|
|
21
|
-
export interface StartTaskExecutionCommandOutput extends StartTaskExecutionResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Starts a specific invocation of a task. A <code>TaskExecution</code> value represents
|
|
25
|
-
* an individual run of a task. Each task can have at most one <code>TaskExecution</code> at a
|
|
26
|
-
* time.</p>
|
|
27
|
-
* <p>
|
|
28
|
-
* <code>TaskExecution</code> has the following transition phases: INITIALIZING |
|
|
29
|
-
* PREPARING | TRANSFERRING | VERIFYING | SUCCESS/FAILURE. </p>
|
|
30
|
-
*
|
|
31
|
-
* <p>For detailed information, see the Task Execution section in the Components and
|
|
32
|
-
* Terminology topic in the <i>DataSync User Guide</i>.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { DataSyncClient, StartTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
37
|
-
* // const { DataSyncClient, StartTaskExecutionCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
38
|
-
* const client = new DataSyncClient(config);
|
|
39
|
-
* const command = new StartTaskExecutionCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link StartTaskExecutionCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link StartTaskExecutionCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class StartTaskExecutionCommand extends $Command<
|
|
49
|
-
StartTaskExecutionCommandInput,
|
|
50
|
-
StartTaskExecutionCommandOutput,
|
|
51
|
-
DataSyncClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: StartTaskExecutionCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: DataSyncClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<StartTaskExecutionCommandInput, StartTaskExecutionCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "DataSyncClient";
|
|
76
|
-
const commandName = "StartTaskExecutionCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: StartTaskExecutionRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: StartTaskExecutionResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: StartTaskExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1StartTaskExecutionCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartTaskExecutionCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1StartTaskExecutionCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
2
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1TagResourceCommand,
|
|
5
|
-
serializeAws_json1_1TagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
21
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Applies a key-value pair to an Amazon Web Services resource.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataSyncClient, TagResourceCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
29
|
-
* // const { DataSyncClient, TagResourceCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
30
|
-
* const client = new DataSyncClient(config);
|
|
31
|
-
* const command = new TagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class TagResourceCommand extends $Command<
|
|
41
|
-
TagResourceCommandInput,
|
|
42
|
-
TagResourceCommandOutput,
|
|
43
|
-
DataSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: DataSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "DataSyncClient";
|
|
68
|
-
const commandName = "TagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1TagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1TagResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
2
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UntagResourceCommand,
|
|
5
|
-
serializeAws_json1_1UntagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
21
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Removes a tag from an Amazon Web Services resource.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataSyncClient, UntagResourceCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
29
|
-
* // const { DataSyncClient, UntagResourceCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
30
|
-
* const client = new DataSyncClient(config);
|
|
31
|
-
* const command = new UntagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UntagResourceCommand extends $Command<
|
|
41
|
-
UntagResourceCommandInput,
|
|
42
|
-
UntagResourceCommandOutput,
|
|
43
|
-
DataSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: DataSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "DataSyncClient";
|
|
68
|
-
const commandName = "UntagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1UntagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1UntagResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
2
|
-
import { UpdateAgentRequest, UpdateAgentResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UpdateAgentCommand,
|
|
5
|
-
serializeAws_json1_1UpdateAgentCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateAgentCommandInput extends UpdateAgentRequest {}
|
|
21
|
-
export interface UpdateAgentCommandOutput extends UpdateAgentResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates the name of an agent.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataSyncClient, UpdateAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
29
|
-
* // const { DataSyncClient, UpdateAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
30
|
-
* const client = new DataSyncClient(config);
|
|
31
|
-
* const command = new UpdateAgentCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateAgentCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateAgentCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateAgentCommand extends $Command<
|
|
41
|
-
UpdateAgentCommandInput,
|
|
42
|
-
UpdateAgentCommandOutput,
|
|
43
|
-
DataSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateAgentCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: DataSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UpdateAgentCommandInput, UpdateAgentCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "DataSyncClient";
|
|
68
|
-
const commandName = "UpdateAgentCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateAgentRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateAgentResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UpdateAgentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1UpdateAgentCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateAgentCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1UpdateAgentCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|