create_delegate_mac_volume_ownership_task¶
Operation¶
create_delegate_mac_volume_ownership_task
async
¶
create_delegate_mac_volume_ownership_task(input: CreateDelegateMacVolumeOwnershipTaskInput, plugins: list[Plugin] | None = None) -> CreateDelegateMacVolumeOwnershipTaskOutput
Delegates ownership of the Amazon EBS root volume for an Apple silicon Mac instance to an administrative user.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateDelegateMacVolumeOwnershipTaskInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CreateDelegateMacVolumeOwnershipTaskOutput
|
An instance of |
Input¶
CreateDelegateMacVolumeOwnershipTaskInput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateDelegateMacVolumeOwnershipTaskInput structure.
Attributes¶
client_token
class-attribute
instance-attribute
¶
client_token: str | None = ...
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
This field is autopopulated if not provided.
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation.
Otherwise, it is UnauthorizedOperation.
instance_id
class-attribute
instance-attribute
¶
instance_id: str | None = ...
The ID of the Amazon EC2 Mac instance.
mac_credentials
class-attribute
instance-attribute
¶
mac_credentials: str | None = ...
Specifies the following credentials:
-
Internal disk administrative user
-
Username - Only the default administrative user (
aws-managed-user) is supported and it is used by default. You can't specify a different administrative user. -
Password - If you did not change the default password for
aws-managed-user, specify the default password, which is blank. Otherwise, specify your password. -
Amazon EBS root volume administrative user
-
Username - If you did not change the default administrative user, specify
ec2-user. Otherwise, specify the username for your administrative user. -
Password - Specify the password for the administrative user.
The credentials must be specified in the following JSON format:
{ "internalDiskPassword":"internal-disk-admin_password", "rootVolumeUsername":"root-volume-admin_username", "rootVolumepassword":"root-volume-admin_password" }
Output¶
CreateDelegateMacVolumeOwnershipTaskOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateDelegateMacVolumeOwnershipTaskOutput structure.
Attributes¶
mac_modification_task
class-attribute
instance-attribute
¶
Information about the volume ownership delegation task.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.