get_gateway¶
Operation¶
get_gateway
async
¶
get_gateway(input: GetGatewayInput, plugins: list[Plugin] | None = None) -> GetGatewayOutput
Retrieves information about a specific Gateway.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetGatewayInput
|
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 |
|---|---|
GetGatewayOutput
|
An instance of |
Input¶
GetGatewayInput
dataclass
¶
Output¶
GetGatewayOutput
dataclass
¶
Dataclass for GetGatewayOutput structure.
Attributes¶
authorizer_configuration
class-attribute
instance-attribute
¶
authorizer_configuration: AuthorizerConfiguration | None = None
The authorizer configuration for the gateway.
authorizer_type
instance-attribute
¶
authorizer_type: AuthorizerType
Authorizer type for the gateway.
custom_transform_configuration
class-attribute
instance-attribute
¶
custom_transform_configuration: CustomTransformConfiguration | None = None
The custom transformation configuration for the gateway. This configuration defines how the gateway transforms requests and responses.
description
class-attribute
instance-attribute
¶
description: str | None = field(repr=False, default=None)
The description of the gateway.
exception_level
class-attribute
instance-attribute
¶
exception_level: ExceptionLevel | None = None
The level of detail in error messages returned when invoking the gateway.
-
If the value is
DEBUG, granular exception messages are returned to help a user debug the gateway. -
If the value is omitted, a generic error message is returned to the end user.
gateway_url
class-attribute
instance-attribute
¶
gateway_url: str | None = None
An endpoint for invoking gateway.
interceptor_configurations
class-attribute
instance-attribute
¶
interceptor_configurations: list[GatewayInterceptorConfiguration] | None = None
The interceptors configured on the gateway.
kms_key_arn
class-attribute
instance-attribute
¶
kms_key_arn: str | None = None
The Amazon Resource Name (ARN) of the KMS key used to encrypt the gateway.
policy_engine_configuration
class-attribute
instance-attribute
¶
policy_engine_configuration: GatewayPolicyEngineConfiguration | None = None
The policy engine configuration for the gateway.
protocol_configuration
class-attribute
instance-attribute
¶
protocol_configuration: GatewayProtocolConfiguration | None = None
The configuration for a gateway protocol. This structure defines how the gateway communicates with external services.
protocol_type
class-attribute
instance-attribute
¶
protocol_type: GatewayProtocolType = GatewayProtocolType('MCP')
Protocol applied to a gateway.
role_arn
class-attribute
instance-attribute
¶
role_arn: str | None = None
The IAM role ARN that provides permissions for the gateway.
status_reasons
class-attribute
instance-attribute
¶
status_reasons: list[str] | None = None
The reasons for the current status of the gateway.
updated_at
instance-attribute
¶
updated_at: datetime
The timestamp when the gateway was last updated.
waf_configuration
class-attribute
instance-attribute
¶
waf_configuration: WafConfiguration | None = None
The Amazon Web Services WAF configuration for the gateway.
web_acl_arn
class-attribute
instance-attribute
¶
web_acl_arn: str | None = None
The Amazon Resource Name (ARN) of the Amazon Web Services WAF web ACL associated with the gateway.
workload_identity_details
class-attribute
instance-attribute
¶
workload_identity_details: WorkloadIdentityDetails | None = None
The workload identity details for the gateway.