@aws-sdk/client-datasync 3.31.0 → 3.35.0
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 +39 -0
- package/{dist/cjs → dist-cjs}/DataSync.js +1 -1
- package/dist-cjs/DataSync.js.map +1 -0
- package/{dist/cjs → dist-cjs}/DataSyncClient.js +14 -14
- package/dist-cjs/DataSyncClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CancelTaskExecutionCommand.js +5 -5
- package/dist-cjs/commands/CancelTaskExecutionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateAgentCommand.js +5 -5
- package/dist-cjs/commands/CreateAgentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLocationEfsCommand.js +5 -5
- package/dist-cjs/commands/CreateLocationEfsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLocationFsxWindowsCommand.js +5 -5
- package/dist-cjs/commands/CreateLocationFsxWindowsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLocationNfsCommand.js +5 -5
- package/dist-cjs/commands/CreateLocationNfsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLocationObjectStorageCommand.js +5 -5
- package/dist-cjs/commands/CreateLocationObjectStorageCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLocationS3Command.js +5 -5
- package/dist-cjs/commands/CreateLocationS3Command.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateLocationSmbCommand.js +5 -5
- package/dist-cjs/commands/CreateLocationSmbCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateTaskCommand.js +5 -5
- package/dist-cjs/commands/CreateTaskCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteAgentCommand.js +5 -5
- package/dist-cjs/commands/DeleteAgentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteLocationCommand.js +5 -5
- package/dist-cjs/commands/DeleteLocationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteTaskCommand.js +5 -5
- package/dist-cjs/commands/DeleteTaskCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeAgentCommand.js +5 -5
- package/dist-cjs/commands/DescribeAgentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationEfsCommand.js +5 -5
- package/dist-cjs/commands/DescribeLocationEfsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationFsxWindowsCommand.js +5 -5
- package/dist-cjs/commands/DescribeLocationFsxWindowsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationNfsCommand.js +5 -5
- package/dist-cjs/commands/DescribeLocationNfsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationObjectStorageCommand.js +5 -5
- package/dist-cjs/commands/DescribeLocationObjectStorageCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationS3Command.js +5 -5
- package/dist-cjs/commands/DescribeLocationS3Command.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeLocationSmbCommand.js +5 -5
- package/dist-cjs/commands/DescribeLocationSmbCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeTaskCommand.js +5 -5
- package/dist-cjs/commands/DescribeTaskCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeTaskExecutionCommand.js +5 -5
- package/dist-cjs/commands/DescribeTaskExecutionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListAgentsCommand.js +5 -5
- package/dist-cjs/commands/ListAgentsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListLocationsCommand.js +5 -5
- package/dist-cjs/commands/ListLocationsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListTaskExecutionsCommand.js +5 -5
- package/dist-cjs/commands/ListTaskExecutionsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListTasksCommand.js +5 -5
- package/dist-cjs/commands/ListTasksCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/StartTaskExecutionCommand.js +5 -5
- package/dist-cjs/commands/StartTaskExecutionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateAgentCommand.js +5 -5
- package/dist-cjs/commands/UpdateAgentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateLocationNfsCommand.js +5 -5
- package/dist-cjs/commands/UpdateLocationNfsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateLocationObjectStorageCommand.js +5 -5
- package/dist-cjs/commands/UpdateLocationObjectStorageCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateLocationSmbCommand.js +5 -5
- package/dist-cjs/commands/UpdateLocationSmbCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateTaskCommand.js +5 -5
- package/dist-cjs/commands/UpdateTaskCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateTaskExecutionCommand.js +5 -5
- package/dist-cjs/commands/UpdateTaskExecutionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +48 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +1 -1
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/pagination/ListAgentsPaginator.js +1 -1
- package/dist-cjs/pagination/ListAgentsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListLocationsPaginator.js +1 -1
- package/dist-cjs/pagination/ListLocationsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListTaskExecutionsPaginator.js +1 -1
- package/dist-cjs/pagination/ListTaskExecutionsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListTasksPaginator.js +1 -1
- package/dist-cjs/pagination/ListTasksPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +118 -118
- package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/DataSync.js +2 -11
- package/dist-es/DataSync.js.map +1 -0
- package/{dist/es → dist-es}/DataSyncClient.js +2 -16
- package/dist-es/DataSyncClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/CancelTaskExecutionCommand.js +4 -36
- package/dist-es/commands/CancelTaskExecutionCommand.js.map +1 -0
- package/dist-es/commands/CreateAgentCommand.js +40 -0
- package/dist-es/commands/CreateAgentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateLocationEfsCommand.js +4 -29
- package/dist-es/commands/CreateLocationEfsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateLocationFsxWindowsCommand.js +4 -29
- package/dist-es/commands/CreateLocationFsxWindowsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateLocationNfsCommand.js +4 -30
- package/dist-es/commands/CreateLocationNfsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateLocationObjectStorageCommand.js +4 -30
- package/dist-es/commands/CreateLocationObjectStorageCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateLocationS3Command.js +4 -35
- package/dist-es/commands/CreateLocationS3Command.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateLocationSmbCommand.js +4 -30
- package/dist-es/commands/CreateLocationSmbCommand.js.map +1 -0
- package/dist-es/commands/CreateTaskCommand.js +40 -0
- package/dist-es/commands/CreateTaskCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteAgentCommand.js +4 -32
- package/dist-es/commands/DeleteAgentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteLocationCommand.js +4 -29
- package/dist-es/commands/DeleteLocationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteTaskCommand.js +4 -29
- package/dist-es/commands/DeleteTaskCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeAgentCommand.js +4 -31
- package/dist-es/commands/DescribeAgentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeLocationEfsCommand.js +4 -29
- package/dist-es/commands/DescribeLocationEfsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeLocationFsxWindowsCommand.js +4 -30
- package/dist-es/commands/DescribeLocationFsxWindowsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeLocationNfsCommand.js +4 -29
- package/dist-es/commands/DescribeLocationNfsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeLocationObjectStorageCommand.js +4 -30
- package/dist-es/commands/DescribeLocationObjectStorageCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeLocationS3Command.js +4 -29
- package/dist-es/commands/DescribeLocationS3Command.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeLocationSmbCommand.js +4 -29
- package/dist-es/commands/DescribeLocationSmbCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeTaskCommand.js +4 -29
- package/dist-es/commands/DescribeTaskCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeTaskExecutionCommand.js +4 -29
- package/dist-es/commands/DescribeTaskExecutionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListAgentsCommand.js +4 -36
- package/dist-es/commands/ListAgentsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListLocationsCommand.js +4 -32
- package/dist-es/commands/ListLocationsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -29
- package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListTaskExecutionsCommand.js +4 -29
- package/dist-es/commands/ListTaskExecutionsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListTasksCommand.js +4 -29
- package/dist-es/commands/ListTasksCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/StartTaskExecutionCommand.js +4 -37
- package/dist-es/commands/StartTaskExecutionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -29
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -29
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateAgentCommand.js +4 -29
- package/dist-es/commands/UpdateAgentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateLocationNfsCommand.js +4 -30
- package/dist-es/commands/UpdateLocationNfsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateLocationObjectStorageCommand.js +4 -31
- package/dist-es/commands/UpdateLocationObjectStorageCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateLocationSmbCommand.js +4 -31
- package/dist-es/commands/UpdateLocationSmbCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateTaskCommand.js +4 -29
- package/dist-es/commands/UpdateTaskCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateTaskExecutionCommand.js +4 -38
- package/dist-es/commands/UpdateTaskExecutionCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +1 -1
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -267
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/pagination/ListAgentsPaginator.js +17 -29
- package/dist-es/pagination/ListAgentsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListLocationsPaginator.js +17 -29
- package/dist-es/pagination/ListLocationsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -29
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListTaskExecutionsPaginator.js +17 -29
- package/dist-es/pagination/ListTaskExecutionsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListTasksPaginator.js +17 -29
- package/dist-es/pagination/ListTasksPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +529 -534
- package/dist-es/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -5
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- 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/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → 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 +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/DataSync.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/DataSyncClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CancelTaskExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateAgentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLocationEfsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLocationFsxWindowsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLocationNfsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLocationObjectStorageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLocationS3Command.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateLocationSmbCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateTaskCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAgentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteTaskCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeAgentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationEfsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationFsxWindowsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationNfsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationObjectStorageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationS3Command.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeLocationSmbCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeTaskCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeTaskExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAgentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListLocationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTaskExecutionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTasksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StartTaskExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateAgentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateLocationNfsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateLocationObjectStorageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateLocationSmbCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateTaskCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateTaskExecutionCommand.d.ts +2 -2
- 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 → dist-types}/ts3.4/models/models_0.d.ts +0 -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 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- package/{DataSync.ts → src/DataSync.ts} +3 -2
- package/{DataSyncClient.ts → src/DataSyncClient.ts} +58 -57
- package/{commands → src/commands}/CancelTaskExecutionCommand.ts +8 -7
- package/{commands → src/commands}/CreateAgentCommand.ts +8 -7
- package/{commands → src/commands}/CreateLocationEfsCommand.ts +8 -7
- package/{commands → src/commands}/CreateLocationFsxWindowsCommand.ts +8 -7
- package/{commands → src/commands}/CreateLocationNfsCommand.ts +8 -7
- package/{commands → src/commands}/CreateLocationObjectStorageCommand.ts +8 -7
- package/{commands → src/commands}/CreateLocationS3Command.ts +8 -7
- package/{commands → src/commands}/CreateLocationSmbCommand.ts +8 -7
- package/{commands → src/commands}/CreateTaskCommand.ts +8 -7
- package/{commands → src/commands}/DeleteAgentCommand.ts +8 -7
- package/{commands → src/commands}/DeleteLocationCommand.ts +8 -7
- package/{commands → src/commands}/DeleteTaskCommand.ts +8 -7
- package/{commands → src/commands}/DescribeAgentCommand.ts +8 -7
- package/{commands → src/commands}/DescribeLocationEfsCommand.ts +8 -7
- package/{commands → src/commands}/DescribeLocationFsxWindowsCommand.ts +8 -7
- package/{commands → src/commands}/DescribeLocationNfsCommand.ts +8 -7
- package/{commands → src/commands}/DescribeLocationObjectStorageCommand.ts +8 -7
- package/{commands → src/commands}/DescribeLocationS3Command.ts +8 -7
- package/{commands → src/commands}/DescribeLocationSmbCommand.ts +8 -7
- package/{commands → src/commands}/DescribeTaskCommand.ts +8 -7
- package/{commands → src/commands}/DescribeTaskExecutionCommand.ts +8 -7
- package/{commands → src/commands}/ListAgentsCommand.ts +8 -7
- package/{commands → src/commands}/ListLocationsCommand.ts +8 -7
- package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
- package/{commands → src/commands}/ListTaskExecutionsCommand.ts +8 -7
- package/{commands → src/commands}/ListTasksCommand.ts +5 -4
- package/{commands → src/commands}/StartTaskExecutionCommand.ts +8 -7
- package/{commands → src/commands}/TagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UpdateAgentCommand.ts +8 -7
- package/{commands → src/commands}/UpdateLocationNfsCommand.ts +8 -7
- package/{commands → src/commands}/UpdateLocationObjectStorageCommand.ts +8 -7
- package/{commands → src/commands}/UpdateLocationSmbCommand.ts +8 -7
- package/{commands → src/commands}/UpdateTaskCommand.ts +8 -7
- package/{commands → src/commands}/UpdateTaskExecutionCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListAgentsPaginator.ts +3 -2
- package/{pagination → src/pagination}/ListLocationsPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListTagsForResourcePaginator.ts +4 -3
- package/{pagination → src/pagination}/ListTaskExecutionsPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListTasksPaginator.ts +3 -2
- package/{protocols → src/protocols}/Aws_json1_1.ts +53 -52
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -3
- package/tsconfig.json +7 -7
- package/tsconfig.types.json +9 -0
- 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.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.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.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.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -48
- package/dist/cjs/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/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.map +0 -1
- 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/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
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
2
|
-
import { UpdateTaskRequest, UpdateTaskResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UpdateTaskCommand,
|
|
5
|
-
serializeAws_json1_1UpdateTaskCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
15
|
+
import { UpdateTaskRequest, UpdateTaskResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1UpdateTaskCommand,
|
|
18
|
+
serializeAws_json1_1UpdateTaskCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface UpdateTaskCommandInput extends UpdateTaskRequest {}
|
|
21
22
|
export interface UpdateTaskCommandOutput extends UpdateTaskResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
2
|
-
import { UpdateTaskExecutionRequest, UpdateTaskExecutionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UpdateTaskExecutionCommand,
|
|
5
|
-
serializeAws_json1_1UpdateTaskExecutionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
15
|
+
import { UpdateTaskExecutionRequest, UpdateTaskExecutionResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1UpdateTaskExecutionCommand,
|
|
18
|
+
serializeAws_json1_1UpdateTaskExecutionCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface UpdateTaskExecutionCommandInput extends UpdateTaskExecutionRequest {}
|
|
21
22
|
export interface UpdateTaskExecutionCommandOutput extends UpdateTaskExecutionResponse, __MetadataBearer {}
|
|
22
23
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
|
|
1
3
|
import { DataSync } from "../DataSync";
|
|
2
4
|
import { DataSyncClient } from "../DataSyncClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
5
|
|
|
5
6
|
export interface DataSyncPaginationConfiguration extends PaginationConfiguration {
|
|
6
7
|
client: DataSync | DataSyncClient;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
import { ListAgentsCommand, ListAgentsCommandInput, ListAgentsCommandOutput } from "../commands/ListAgentsCommand";
|
|
1
4
|
import { DataSync } from "../DataSync";
|
|
2
5
|
import { DataSyncClient } from "../DataSyncClient";
|
|
3
|
-
import { ListAgentsCommand, ListAgentsCommandInput, ListAgentsCommandOutput } from "../commands/ListAgentsCommand";
|
|
4
6
|
import { DataSyncPaginationConfiguration } from "./Interfaces";
|
|
5
|
-
import { Paginator } from "@aws-sdk/types";
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @private
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
ListLocationsCommand,
|
|
5
5
|
ListLocationsCommandInput,
|
|
6
6
|
ListLocationsCommandOutput,
|
|
7
7
|
} from "../commands/ListLocationsCommand";
|
|
8
|
+
import { DataSync } from "../DataSync";
|
|
9
|
+
import { DataSyncClient } from "../DataSyncClient";
|
|
8
10
|
import { DataSyncPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
ListTagsForResourceCommand,
|
|
5
5
|
ListTagsForResourceCommandInput,
|
|
6
6
|
ListTagsForResourceCommandOutput,
|
|
7
7
|
} from "../commands/ListTagsForResourceCommand";
|
|
8
|
+
import { DataSync } from "../DataSync";
|
|
9
|
+
import { DataSyncClient } from "../DataSyncClient";
|
|
8
10
|
import { DataSyncPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
ListTaskExecutionsCommand,
|
|
5
5
|
ListTaskExecutionsCommandInput,
|
|
6
6
|
ListTaskExecutionsCommandOutput,
|
|
7
7
|
} from "../commands/ListTaskExecutionsCommand";
|
|
8
|
+
import { DataSync } from "../DataSync";
|
|
9
|
+
import { DataSyncClient } from "../DataSyncClient";
|
|
8
10
|
import { DataSyncPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
import { ListTasksCommand, ListTasksCommandInput, ListTasksCommandOutput } from "../commands/ListTasksCommand";
|
|
1
4
|
import { DataSync } from "../DataSync";
|
|
2
5
|
import { DataSyncClient } from "../DataSyncClient";
|
|
3
|
-
import { ListTasksCommand, ListTasksCommandInput, ListTasksCommandOutput } from "../commands/ListTasksCommand";
|
|
4
6
|
import { DataSyncPaginationConfiguration } from "./Interfaces";
|
|
5
|
-
import { Paginator } from "@aws-sdk/types";
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @private
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import {
|
|
3
|
+
expectInt32 as __expectInt32,
|
|
4
|
+
expectLong as __expectLong,
|
|
5
|
+
expectNonNull as __expectNonNull,
|
|
6
|
+
expectNumber as __expectNumber,
|
|
7
|
+
expectString as __expectString,
|
|
8
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
9
|
+
} from "@aws-sdk/smithy-client";
|
|
10
|
+
import {
|
|
11
|
+
Endpoint as __Endpoint,
|
|
12
|
+
HeaderBag as __HeaderBag,
|
|
13
|
+
MetadataBearer as __MetadataBearer,
|
|
14
|
+
ResponseMetadata as __ResponseMetadata,
|
|
15
|
+
SerdeContext as __SerdeContext,
|
|
16
|
+
SmithyException as __SmithyException,
|
|
17
|
+
} from "@aws-sdk/types";
|
|
18
|
+
|
|
1
19
|
import {
|
|
2
20
|
CancelTaskExecutionCommandInput,
|
|
3
21
|
CancelTaskExecutionCommandOutput,
|
|
@@ -160,23 +178,6 @@ import {
|
|
|
160
178
|
UpdateTaskRequest,
|
|
161
179
|
UpdateTaskResponse,
|
|
162
180
|
} from "../models/models_0";
|
|
163
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
164
|
-
import {
|
|
165
|
-
expectInt32 as __expectInt32,
|
|
166
|
-
expectLong as __expectLong,
|
|
167
|
-
expectNonNull as __expectNonNull,
|
|
168
|
-
expectNumber as __expectNumber,
|
|
169
|
-
expectString as __expectString,
|
|
170
|
-
parseEpochTimestamp as __parseEpochTimestamp,
|
|
171
|
-
} from "@aws-sdk/smithy-client";
|
|
172
|
-
import {
|
|
173
|
-
Endpoint as __Endpoint,
|
|
174
|
-
HeaderBag as __HeaderBag,
|
|
175
|
-
MetadataBearer as __MetadataBearer,
|
|
176
|
-
ResponseMetadata as __ResponseMetadata,
|
|
177
|
-
SerdeContext as __SerdeContext,
|
|
178
|
-
SmithyException as __SmithyException,
|
|
179
|
-
} from "@aws-sdk/types";
|
|
180
181
|
|
|
181
182
|
export const serializeAws_json1_1CancelTaskExecutionCommand = async (
|
|
182
183
|
input: CancelTaskExecutionCommandInput,
|
|
@@ -659,7 +660,7 @@ const deserializeAws_json1_1CancelTaskExecutionCommandError = async (
|
|
|
659
660
|
body: await parseBody(output.body, context),
|
|
660
661
|
};
|
|
661
662
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
662
|
-
let errorCode
|
|
663
|
+
let errorCode = "UnknownError";
|
|
663
664
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
664
665
|
switch (errorCode) {
|
|
665
666
|
case "InternalException":
|
|
@@ -721,7 +722,7 @@ const deserializeAws_json1_1CreateAgentCommandError = async (
|
|
|
721
722
|
body: await parseBody(output.body, context),
|
|
722
723
|
};
|
|
723
724
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
724
|
-
let errorCode
|
|
725
|
+
let errorCode = "UnknownError";
|
|
725
726
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
726
727
|
switch (errorCode) {
|
|
727
728
|
case "InternalException":
|
|
@@ -783,7 +784,7 @@ const deserializeAws_json1_1CreateLocationEfsCommandError = async (
|
|
|
783
784
|
body: await parseBody(output.body, context),
|
|
784
785
|
};
|
|
785
786
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
786
|
-
let errorCode
|
|
787
|
+
let errorCode = "UnknownError";
|
|
787
788
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
788
789
|
switch (errorCode) {
|
|
789
790
|
case "InternalException":
|
|
@@ -845,7 +846,7 @@ const deserializeAws_json1_1CreateLocationFsxWindowsCommandError = async (
|
|
|
845
846
|
body: await parseBody(output.body, context),
|
|
846
847
|
};
|
|
847
848
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
848
|
-
let errorCode
|
|
849
|
+
let errorCode = "UnknownError";
|
|
849
850
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
850
851
|
switch (errorCode) {
|
|
851
852
|
case "InternalException":
|
|
@@ -907,7 +908,7 @@ const deserializeAws_json1_1CreateLocationNfsCommandError = async (
|
|
|
907
908
|
body: await parseBody(output.body, context),
|
|
908
909
|
};
|
|
909
910
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
910
|
-
let errorCode
|
|
911
|
+
let errorCode = "UnknownError";
|
|
911
912
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
912
913
|
switch (errorCode) {
|
|
913
914
|
case "InternalException":
|
|
@@ -969,7 +970,7 @@ const deserializeAws_json1_1CreateLocationObjectStorageCommandError = async (
|
|
|
969
970
|
body: await parseBody(output.body, context),
|
|
970
971
|
};
|
|
971
972
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
972
|
-
let errorCode
|
|
973
|
+
let errorCode = "UnknownError";
|
|
973
974
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
974
975
|
switch (errorCode) {
|
|
975
976
|
case "InternalException":
|
|
@@ -1031,7 +1032,7 @@ const deserializeAws_json1_1CreateLocationS3CommandError = async (
|
|
|
1031
1032
|
body: await parseBody(output.body, context),
|
|
1032
1033
|
};
|
|
1033
1034
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1034
|
-
let errorCode
|
|
1035
|
+
let errorCode = "UnknownError";
|
|
1035
1036
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1036
1037
|
switch (errorCode) {
|
|
1037
1038
|
case "InternalException":
|
|
@@ -1093,7 +1094,7 @@ const deserializeAws_json1_1CreateLocationSmbCommandError = async (
|
|
|
1093
1094
|
body: await parseBody(output.body, context),
|
|
1094
1095
|
};
|
|
1095
1096
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1096
|
-
let errorCode
|
|
1097
|
+
let errorCode = "UnknownError";
|
|
1097
1098
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1098
1099
|
switch (errorCode) {
|
|
1099
1100
|
case "InternalException":
|
|
@@ -1155,7 +1156,7 @@ const deserializeAws_json1_1CreateTaskCommandError = async (
|
|
|
1155
1156
|
body: await parseBody(output.body, context),
|
|
1156
1157
|
};
|
|
1157
1158
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1158
|
-
let errorCode
|
|
1159
|
+
let errorCode = "UnknownError";
|
|
1159
1160
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1160
1161
|
switch (errorCode) {
|
|
1161
1162
|
case "InternalException":
|
|
@@ -1217,7 +1218,7 @@ const deserializeAws_json1_1DeleteAgentCommandError = async (
|
|
|
1217
1218
|
body: await parseBody(output.body, context),
|
|
1218
1219
|
};
|
|
1219
1220
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1220
|
-
let errorCode
|
|
1221
|
+
let errorCode = "UnknownError";
|
|
1221
1222
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1222
1223
|
switch (errorCode) {
|
|
1223
1224
|
case "InternalException":
|
|
@@ -1279,7 +1280,7 @@ const deserializeAws_json1_1DeleteLocationCommandError = async (
|
|
|
1279
1280
|
body: await parseBody(output.body, context),
|
|
1280
1281
|
};
|
|
1281
1282
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1282
|
-
let errorCode
|
|
1283
|
+
let errorCode = "UnknownError";
|
|
1283
1284
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1284
1285
|
switch (errorCode) {
|
|
1285
1286
|
case "InternalException":
|
|
@@ -1341,7 +1342,7 @@ const deserializeAws_json1_1DeleteTaskCommandError = async (
|
|
|
1341
1342
|
body: await parseBody(output.body, context),
|
|
1342
1343
|
};
|
|
1343
1344
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1344
|
-
let errorCode
|
|
1345
|
+
let errorCode = "UnknownError";
|
|
1345
1346
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1346
1347
|
switch (errorCode) {
|
|
1347
1348
|
case "InternalException":
|
|
@@ -1403,7 +1404,7 @@ const deserializeAws_json1_1DescribeAgentCommandError = async (
|
|
|
1403
1404
|
body: await parseBody(output.body, context),
|
|
1404
1405
|
};
|
|
1405
1406
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1406
|
-
let errorCode
|
|
1407
|
+
let errorCode = "UnknownError";
|
|
1407
1408
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1408
1409
|
switch (errorCode) {
|
|
1409
1410
|
case "InternalException":
|
|
@@ -1465,7 +1466,7 @@ const deserializeAws_json1_1DescribeLocationEfsCommandError = async (
|
|
|
1465
1466
|
body: await parseBody(output.body, context),
|
|
1466
1467
|
};
|
|
1467
1468
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1468
|
-
let errorCode
|
|
1469
|
+
let errorCode = "UnknownError";
|
|
1469
1470
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1470
1471
|
switch (errorCode) {
|
|
1471
1472
|
case "InternalException":
|
|
@@ -1527,7 +1528,7 @@ const deserializeAws_json1_1DescribeLocationFsxWindowsCommandError = async (
|
|
|
1527
1528
|
body: await parseBody(output.body, context),
|
|
1528
1529
|
};
|
|
1529
1530
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1530
|
-
let errorCode
|
|
1531
|
+
let errorCode = "UnknownError";
|
|
1531
1532
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1532
1533
|
switch (errorCode) {
|
|
1533
1534
|
case "InternalException":
|
|
@@ -1589,7 +1590,7 @@ const deserializeAws_json1_1DescribeLocationNfsCommandError = async (
|
|
|
1589
1590
|
body: await parseBody(output.body, context),
|
|
1590
1591
|
};
|
|
1591
1592
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1592
|
-
let errorCode
|
|
1593
|
+
let errorCode = "UnknownError";
|
|
1593
1594
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1594
1595
|
switch (errorCode) {
|
|
1595
1596
|
case "InternalException":
|
|
@@ -1651,7 +1652,7 @@ const deserializeAws_json1_1DescribeLocationObjectStorageCommandError = async (
|
|
|
1651
1652
|
body: await parseBody(output.body, context),
|
|
1652
1653
|
};
|
|
1653
1654
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1654
|
-
let errorCode
|
|
1655
|
+
let errorCode = "UnknownError";
|
|
1655
1656
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1656
1657
|
switch (errorCode) {
|
|
1657
1658
|
case "InternalException":
|
|
@@ -1713,7 +1714,7 @@ const deserializeAws_json1_1DescribeLocationS3CommandError = async (
|
|
|
1713
1714
|
body: await parseBody(output.body, context),
|
|
1714
1715
|
};
|
|
1715
1716
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1716
|
-
let errorCode
|
|
1717
|
+
let errorCode = "UnknownError";
|
|
1717
1718
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1718
1719
|
switch (errorCode) {
|
|
1719
1720
|
case "InternalException":
|
|
@@ -1775,7 +1776,7 @@ const deserializeAws_json1_1DescribeLocationSmbCommandError = async (
|
|
|
1775
1776
|
body: await parseBody(output.body, context),
|
|
1776
1777
|
};
|
|
1777
1778
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1778
|
-
let errorCode
|
|
1779
|
+
let errorCode = "UnknownError";
|
|
1779
1780
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1780
1781
|
switch (errorCode) {
|
|
1781
1782
|
case "InternalException":
|
|
@@ -1837,7 +1838,7 @@ const deserializeAws_json1_1DescribeTaskCommandError = async (
|
|
|
1837
1838
|
body: await parseBody(output.body, context),
|
|
1838
1839
|
};
|
|
1839
1840
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1840
|
-
let errorCode
|
|
1841
|
+
let errorCode = "UnknownError";
|
|
1841
1842
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1842
1843
|
switch (errorCode) {
|
|
1843
1844
|
case "InternalException":
|
|
@@ -1899,7 +1900,7 @@ const deserializeAws_json1_1DescribeTaskExecutionCommandError = async (
|
|
|
1899
1900
|
body: await parseBody(output.body, context),
|
|
1900
1901
|
};
|
|
1901
1902
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1902
|
-
let errorCode
|
|
1903
|
+
let errorCode = "UnknownError";
|
|
1903
1904
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1904
1905
|
switch (errorCode) {
|
|
1905
1906
|
case "InternalException":
|
|
@@ -1961,7 +1962,7 @@ const deserializeAws_json1_1ListAgentsCommandError = async (
|
|
|
1961
1962
|
body: await parseBody(output.body, context),
|
|
1962
1963
|
};
|
|
1963
1964
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1964
|
-
let errorCode
|
|
1965
|
+
let errorCode = "UnknownError";
|
|
1965
1966
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1966
1967
|
switch (errorCode) {
|
|
1967
1968
|
case "InternalException":
|
|
@@ -2023,7 +2024,7 @@ const deserializeAws_json1_1ListLocationsCommandError = async (
|
|
|
2023
2024
|
body: await parseBody(output.body, context),
|
|
2024
2025
|
};
|
|
2025
2026
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2026
|
-
let errorCode
|
|
2027
|
+
let errorCode = "UnknownError";
|
|
2027
2028
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2028
2029
|
switch (errorCode) {
|
|
2029
2030
|
case "InternalException":
|
|
@@ -2085,7 +2086,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (
|
|
|
2085
2086
|
body: await parseBody(output.body, context),
|
|
2086
2087
|
};
|
|
2087
2088
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2088
|
-
let errorCode
|
|
2089
|
+
let errorCode = "UnknownError";
|
|
2089
2090
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2090
2091
|
switch (errorCode) {
|
|
2091
2092
|
case "InternalException":
|
|
@@ -2147,7 +2148,7 @@ const deserializeAws_json1_1ListTaskExecutionsCommandError = async (
|
|
|
2147
2148
|
body: await parseBody(output.body, context),
|
|
2148
2149
|
};
|
|
2149
2150
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2150
|
-
let errorCode
|
|
2151
|
+
let errorCode = "UnknownError";
|
|
2151
2152
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2152
2153
|
switch (errorCode) {
|
|
2153
2154
|
case "InternalException":
|
|
@@ -2209,7 +2210,7 @@ const deserializeAws_json1_1ListTasksCommandError = async (
|
|
|
2209
2210
|
body: await parseBody(output.body, context),
|
|
2210
2211
|
};
|
|
2211
2212
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2212
|
-
let errorCode
|
|
2213
|
+
let errorCode = "UnknownError";
|
|
2213
2214
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2214
2215
|
switch (errorCode) {
|
|
2215
2216
|
case "InternalException":
|
|
@@ -2271,7 +2272,7 @@ const deserializeAws_json1_1StartTaskExecutionCommandError = async (
|
|
|
2271
2272
|
body: await parseBody(output.body, context),
|
|
2272
2273
|
};
|
|
2273
2274
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2274
|
-
let errorCode
|
|
2275
|
+
let errorCode = "UnknownError";
|
|
2275
2276
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2276
2277
|
switch (errorCode) {
|
|
2277
2278
|
case "InternalException":
|
|
@@ -2333,7 +2334,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (
|
|
|
2333
2334
|
body: await parseBody(output.body, context),
|
|
2334
2335
|
};
|
|
2335
2336
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2336
|
-
let errorCode
|
|
2337
|
+
let errorCode = "UnknownError";
|
|
2337
2338
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2338
2339
|
switch (errorCode) {
|
|
2339
2340
|
case "InternalException":
|
|
@@ -2395,7 +2396,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (
|
|
|
2395
2396
|
body: await parseBody(output.body, context),
|
|
2396
2397
|
};
|
|
2397
2398
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2398
|
-
let errorCode
|
|
2399
|
+
let errorCode = "UnknownError";
|
|
2399
2400
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2400
2401
|
switch (errorCode) {
|
|
2401
2402
|
case "InternalException":
|
|
@@ -2457,7 +2458,7 @@ const deserializeAws_json1_1UpdateAgentCommandError = async (
|
|
|
2457
2458
|
body: await parseBody(output.body, context),
|
|
2458
2459
|
};
|
|
2459
2460
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2460
|
-
let errorCode
|
|
2461
|
+
let errorCode = "UnknownError";
|
|
2461
2462
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2462
2463
|
switch (errorCode) {
|
|
2463
2464
|
case "InternalException":
|
|
@@ -2519,7 +2520,7 @@ const deserializeAws_json1_1UpdateLocationNfsCommandError = async (
|
|
|
2519
2520
|
body: await parseBody(output.body, context),
|
|
2520
2521
|
};
|
|
2521
2522
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2522
|
-
let errorCode
|
|
2523
|
+
let errorCode = "UnknownError";
|
|
2523
2524
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2524
2525
|
switch (errorCode) {
|
|
2525
2526
|
case "InternalException":
|
|
@@ -2581,7 +2582,7 @@ const deserializeAws_json1_1UpdateLocationObjectStorageCommandError = async (
|
|
|
2581
2582
|
body: await parseBody(output.body, context),
|
|
2582
2583
|
};
|
|
2583
2584
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2584
|
-
let errorCode
|
|
2585
|
+
let errorCode = "UnknownError";
|
|
2585
2586
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2586
2587
|
switch (errorCode) {
|
|
2587
2588
|
case "InternalException":
|
|
@@ -2643,7 +2644,7 @@ const deserializeAws_json1_1UpdateLocationSmbCommandError = async (
|
|
|
2643
2644
|
body: await parseBody(output.body, context),
|
|
2644
2645
|
};
|
|
2645
2646
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2646
|
-
let errorCode
|
|
2647
|
+
let errorCode = "UnknownError";
|
|
2647
2648
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2648
2649
|
switch (errorCode) {
|
|
2649
2650
|
case "InternalException":
|
|
@@ -2705,7 +2706,7 @@ const deserializeAws_json1_1UpdateTaskCommandError = async (
|
|
|
2705
2706
|
body: await parseBody(output.body, context),
|
|
2706
2707
|
};
|
|
2707
2708
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2708
|
-
let errorCode
|
|
2709
|
+
let errorCode = "UnknownError";
|
|
2709
2710
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2710
2711
|
switch (errorCode) {
|
|
2711
2712
|
case "InternalException":
|
|
@@ -2767,7 +2768,7 @@ const deserializeAws_json1_1UpdateTaskExecutionCommandError = async (
|
|
|
2767
2768
|
body: await parseBody(output.body, context),
|
|
2768
2769
|
};
|
|
2769
2770
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2770
|
-
let errorCode
|
|
2771
|
+
let errorCode = "UnknownError";
|
|
2771
2772
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2772
2773
|
switch (errorCode) {
|
|
2773
2774
|
case "InternalException":
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
2
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
3
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -8,6 +6,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
8
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
7
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
8
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
9
|
+
|
|
10
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
11
|
+
import packageInfo from "../package.json";
|
|
11
12
|
import { DataSyncClientConfig } from "./DataSyncClient";
|
|
12
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
14
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
3
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
|
|
4
4
|
import { DataSyncClientConfig } from "./DataSyncClient";
|
|
5
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @internal
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
2
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -7,13 +5,16 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
7
5
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
6
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
7
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
8
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
9
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
10
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
|
+
|
|
14
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
15
|
+
import packageInfo from "../package.json";
|
|
14
16
|
import { DataSyncClientConfig } from "./DataSyncClient";
|
|
15
17
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* @internal
|
package/tsconfig.es.json
CHANGED
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
"target": "es5",
|
|
5
5
|
"module": "esnext",
|
|
6
6
|
"moduleResolution": "node",
|
|
7
|
-
"declaration": false,
|
|
8
|
-
"declarationDir": null,
|
|
9
7
|
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
|
|
10
|
-
"outDir": "dist
|
|
8
|
+
"outDir": "dist-es"
|
|
11
9
|
}
|
|
12
10
|
}
|
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"alwaysStrict": true,
|
|
4
4
|
"target": "ES2018",
|
|
5
5
|
"module": "commonjs",
|
|
6
|
-
"declaration": true,
|
|
7
6
|
"strict": true,
|
|
8
7
|
"sourceMap": true,
|
|
9
8
|
"downlevelIteration": true,
|
|
@@ -12,9 +11,9 @@
|
|
|
12
11
|
"incremental": true,
|
|
13
12
|
"resolveJsonModule": true,
|
|
14
13
|
"esModuleInterop": true,
|
|
15
|
-
"
|
|
16
|
-
"outDir": "dist
|
|
17
|
-
"
|
|
14
|
+
"rootDir": "src",
|
|
15
|
+
"outDir": "dist-cjs",
|
|
16
|
+
"removeComments": true
|
|
18
17
|
},
|
|
19
18
|
"typedocOptions": {
|
|
20
19
|
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|
|
@@ -24,10 +23,11 @@
|
|
|
24
23
|
"ignoreCompilerErrors": true,
|
|
25
24
|
"includeDeclarations": true,
|
|
26
25
|
"stripInternal": true,
|
|
27
|
-
"readme": "
|
|
26
|
+
"readme": "README.md",
|
|
28
27
|
"mode": "file",
|
|
29
|
-
"out": "
|
|
28
|
+
"out": "docs",
|
|
30
29
|
"theme": "minimal",
|
|
31
30
|
"plugin": ["@aws-sdk/client-documentation-generator"]
|
|
32
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"exclude": ["test/**/*"]
|
|
33
33
|
}
|