update_gateway_target¶
Operation¶
update_gateway_target
async
¶
update_gateway_target(input: UpdateGatewayTargetInput, plugins: list[Plugin] | None = None) -> UpdateGatewayTargetOutput
Updates an existing gateway target.
You cannot update a target that is in a pending authorization state
(CREATE_PENDING_AUTH, UPDATE_PENDING_AUTH, or
SYNCHRONIZE_PENDING_AUTH). Wait for the authorization to complete or
fail before updating the target.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateGatewayTargetInput
|
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 |
|---|---|
UpdateGatewayTargetOutput
|
An instance of |
Input¶
UpdateGatewayTargetInput
dataclass
¶
Dataclass for UpdateGatewayTargetInput structure.
Attributes¶
credential_provider_configurations
class-attribute
instance-attribute
¶
credential_provider_configurations: list[CredentialProviderConfiguration] | None = None
The updated credential provider configurations for the gateway target.
description
class-attribute
instance-attribute
¶
description: str | None = field(repr=False, default=None)
The updated description for the gateway target.
gateway_identifier
class-attribute
instance-attribute
¶
gateway_identifier: str | None = None
The unique identifier of the gateway associated with the target.
metadata_configuration
class-attribute
instance-attribute
¶
metadata_configuration: MetadataConfiguration | None = None
Configuration for HTTP header and query parameter propagation to the gateway target.
name
class-attribute
instance-attribute
¶
name: str | None = field(repr=False, default=None)
The updated name for the gateway target.
private_endpoint
class-attribute
instance-attribute
¶
private_endpoint: PrivateEndpoint | None = None
The private endpoint configuration for the gateway target. Use this to connect the gateway to private resources in your VPC.
target_configuration
class-attribute
instance-attribute
¶
target_configuration: TargetConfiguration | None = None
The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.
target_id
class-attribute
instance-attribute
¶
target_id: str | None = None
The unique identifier of the gateway target to update.
Output¶
UpdateGatewayTargetOutput
dataclass
¶
Dataclass for UpdateGatewayTargetOutput structure.
Attributes¶
authorization_data
class-attribute
instance-attribute
¶
authorization_data: AuthorizationData | None = None
OAuth2 authorization data for the updated gateway target. This data is returned when a target is configured with a credential provider with authorization code grant type and requires user federation.
created_at
instance-attribute
¶
created_at: datetime
The timestamp when the gateway target was created.
credential_provider_configurations
instance-attribute
¶
credential_provider_configurations: list[CredentialProviderConfiguration]
The updated credential provider configurations for the gateway target.
description
class-attribute
instance-attribute
¶
description: str | None = field(repr=False, default=None)
The updated description of the gateway target.
last_synchronized_at
class-attribute
instance-attribute
¶
last_synchronized_at: datetime | None = None
The date and time at which the targets were last synchronized.
metadata_configuration
class-attribute
instance-attribute
¶
metadata_configuration: MetadataConfiguration | None = None
The metadata configuration that was applied to the gateway target.
name
class-attribute
instance-attribute
¶
name: str = field(repr=False)
The updated name of the gateway target.
private_endpoint
class-attribute
instance-attribute
¶
private_endpoint: PrivateEndpoint | None = None
The private endpoint configuration for the gateway target.
private_endpoint_managed_resources
class-attribute
instance-attribute
¶
private_endpoint_managed_resources: list[ManagedResourceDetails] | None = None
The managed resources created by the gateway for private endpoint connectivity.
protocol_type
class-attribute
instance-attribute
¶
protocol_type: TargetProtocolType | None = None
The protocol type of the updated gateway target.
status_reasons
class-attribute
instance-attribute
¶
status_reasons: list[str] | None = None
The reasons for the current status of the updated gateway target.
target_configuration
instance-attribute
¶
target_configuration: TargetConfiguration
The configuration for a gateway target. This structure defines how the gateway connects to and interacts with the target endpoint.
updated_at
instance-attribute
¶
updated_at: datetime
The timestamp when the gateway target was last updated.