update_workload_identity¶
Operation¶
update_workload_identity
async
¶
update_workload_identity(input: UpdateWorkloadIdentityInput, plugins: list[Plugin] | None = None) -> UpdateWorkloadIdentityOutput
Updates an existing workload identity.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateWorkloadIdentityInput
|
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 |
|---|---|
UpdateWorkloadIdentityOutput
|
An instance of |
Input¶
UpdateWorkloadIdentityInput
dataclass
¶
Dataclass for UpdateWorkloadIdentityInput structure.
Attributes¶
allowed_resource_oauth2_return_urls
class-attribute
instance-attribute
¶
allowed_resource_oauth2_return_urls: list[str] | None = None
The new list of allowed OAuth2 return URLs for resources associated with this workload identity. This list replaces the existing list.
name
class-attribute
instance-attribute
¶
name: str | None = None
The name of the workload identity to update.
Output¶
UpdateWorkloadIdentityOutput
dataclass
¶
Dataclass for UpdateWorkloadIdentityOutput structure.
Attributes¶
allowed_resource_oauth2_return_urls
class-attribute
instance-attribute
¶
allowed_resource_oauth2_return_urls: list[str] | None = None
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
created_time
instance-attribute
¶
created_time: datetime
The timestamp when the workload identity was created.
last_updated_time
instance-attribute
¶
last_updated_time: datetime
The timestamp when the workload identity was last updated.
workload_identity_arn
instance-attribute
¶
workload_identity_arn: str
The Amazon Resource Name (ARN) of the workload identity.