Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataSync client create_task TaskMode parameter not accepted #4331

Closed
1 task
giladrv opened this issue Nov 4, 2024 · 1 comment
Closed
1 task

DataSync client create_task TaskMode parameter not accepted #4331

giladrv opened this issue Nov 4, 2024 · 1 comment
Labels
bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged.

Comments

@giladrv
Copy link

giladrv commented Nov 4, 2024

Describe the bug

Creating a task with task mode:

src_datasync_task = boto3.client('datasync').create_task(..., TaskMode = 'ENHANCED')

leads to exception:

botocore.exceptions.ParamValidationError: Parameter validation failed: Unknown parameter in input: "TaskMode", must be one of: SourceLocationArn, DestinationLocationArn, CloudWatchLogGroupArn, Name, Options, Excludes, Schedule, Tags, Includes, ManifestConfig, TaskReportConfig

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

According to the [docs], (https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/datasync/client/create_task.html), this parameter should be accepted.

Current Behavior

Getting an exception:

botocore.exceptions.ParamValidationError: Parameter validation failed: Unknown parameter in input: "TaskMode"

Reproduction Steps

create a task with TaskMode parameter specified.

Possible Solution

No response

Additional Information/Context

No response

SDK version used

1.34.145

Environment details (OS name and version, etc.)

MacOS Sequoia 15.0.1

@giladrv giladrv added bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged. labels Nov 4, 2024
@giladrv giladrv closed this as completed Nov 5, 2024
Copy link

github-actions bot commented Nov 5, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant