Closed giladrv closed 2 weeks ago
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
According to the [docs], (https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/datasync/client/create_task.html), this parameter should be accepted.
Getting an exception:
botocore.exceptions.ParamValidationError: Parameter validation failed: Unknown parameter in input: "TaskMode"
create a task with TaskMode parameter specified.
No response
1.34.145
MacOS Sequoia 15.0.1
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.
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
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