create_transit_gateway_connect¶
Operation¶
create_transit_gateway_connect
¶
create_transit_gateway_connect(request: CreateTransitGatewayConnectInput | CreateTransitGatewayConnectInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateTransitGatewayConnectInputDict]) -> CreateTransitGatewayConnectOutput
Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.
A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment as the underlying transport mechanism.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
CreateTransitGatewayConnectInput | CreateTransitGatewayConnectInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[CreateTransitGatewayConnectInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
CreateTransitGatewayConnectOutput
|
An instance of |
create_transit_gateway_connect
async
¶
create_transit_gateway_connect(request: CreateTransitGatewayConnectInput | CreateTransitGatewayConnectInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateTransitGatewayConnectInputDict]) -> CreateTransitGatewayConnectOutput
Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.
A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment as the underlying transport mechanism.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
CreateTransitGatewayConnectInput | CreateTransitGatewayConnectInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[CreateTransitGatewayConnectInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
CreateTransitGatewayConnectOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
CreateTransitGatewayConnectInputDict
¶
Bases: TypedDict
Dictionary form of CreateTransitGatewayConnectInput.
Attributes¶
dry_run
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.
options
instance-attribute
¶
options: Required[CreateTransitGatewayConnectRequestOptions | CreateTransitGatewayConnectRequestOptionsDict]
The Connect attachment options.
tag_specifications
instance-attribute
¶
tag_specifications: Sequence[TagSpecification | TagSpecificationDict] | None
The tags to apply to the Connect attachment.
CreateTransitGatewayConnectInput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateTransitGatewayConnectInput structure.
Attributes¶
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.
options
class-attribute
instance-attribute
¶
options: CreateTransitGatewayConnectRequestOptions | None = ...
The Connect attachment options.
tag_specifications
class-attribute
instance-attribute
¶
tag_specifications: list[TagSpecification] | None = ...
The tags to apply to the Connect attachment.
Output¶
CreateTransitGatewayConnectOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateTransitGatewayConnectOutput structure.
Attributes¶
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.
transit_gateway_connect
class-attribute
instance-attribute
¶
transit_gateway_connect: TransitGatewayConnect | None = ...
Information about the Connect attachment.