Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a transit gateway policy table.
Synopsis
- data CreateTransitGatewayPolicyTable = CreateTransitGatewayPolicyTable' {}
- newCreateTransitGatewayPolicyTable :: Text -> CreateTransitGatewayPolicyTable
- createTransitGatewayPolicyTable_dryRun :: Lens' CreateTransitGatewayPolicyTable (Maybe Bool)
- createTransitGatewayPolicyTable_tagSpecifications :: Lens' CreateTransitGatewayPolicyTable (Maybe [TagSpecification])
- createTransitGatewayPolicyTable_transitGatewayId :: Lens' CreateTransitGatewayPolicyTable Text
- data CreateTransitGatewayPolicyTableResponse = CreateTransitGatewayPolicyTableResponse' {}
- newCreateTransitGatewayPolicyTableResponse :: Int -> CreateTransitGatewayPolicyTableResponse
- createTransitGatewayPolicyTableResponse_transitGatewayPolicyTable :: Lens' CreateTransitGatewayPolicyTableResponse (Maybe TransitGatewayPolicyTable)
- createTransitGatewayPolicyTableResponse_httpStatus :: Lens' CreateTransitGatewayPolicyTableResponse Int
Creating a Request
data CreateTransitGatewayPolicyTable Source #
See: newCreateTransitGatewayPolicyTable
smart constructor.
CreateTransitGatewayPolicyTable' | |
|
Instances
newCreateTransitGatewayPolicyTable Source #
Create a value of CreateTransitGatewayPolicyTable
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:CreateTransitGatewayPolicyTable'
, createTransitGatewayPolicyTable_dryRun
- 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
.
CreateTransitGatewayPolicyTable
, createTransitGatewayPolicyTable_tagSpecifications
- The tags specification for the transit gateway policy table created
during the request.
CreateTransitGatewayPolicyTable
, createTransitGatewayPolicyTable_transitGatewayId
- The ID of the transit gateway used for the policy table.
Request Lenses
createTransitGatewayPolicyTable_dryRun :: Lens' CreateTransitGatewayPolicyTable (Maybe Bool) Source #
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
.
createTransitGatewayPolicyTable_tagSpecifications :: Lens' CreateTransitGatewayPolicyTable (Maybe [TagSpecification]) Source #
The tags specification for the transit gateway policy table created during the request.
createTransitGatewayPolicyTable_transitGatewayId :: Lens' CreateTransitGatewayPolicyTable Text Source #
The ID of the transit gateway used for the policy table.
Destructuring the Response
data CreateTransitGatewayPolicyTableResponse Source #
See: newCreateTransitGatewayPolicyTableResponse
smart constructor.
CreateTransitGatewayPolicyTableResponse' | |
|
Instances
newCreateTransitGatewayPolicyTableResponse Source #
Create a value of CreateTransitGatewayPolicyTableResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:transitGatewayPolicyTable:CreateTransitGatewayPolicyTableResponse'
, createTransitGatewayPolicyTableResponse_transitGatewayPolicyTable
- Describes the created transit gateway policy table.
$sel:httpStatus:CreateTransitGatewayPolicyTableResponse'
, createTransitGatewayPolicyTableResponse_httpStatus
- The response's http status code.
Response Lenses
createTransitGatewayPolicyTableResponse_transitGatewayPolicyTable :: Lens' CreateTransitGatewayPolicyTableResponse (Maybe TransitGatewayPolicyTable) Source #
Describes the created transit gateway policy table.
createTransitGatewayPolicyTableResponse_httpStatus :: Lens' CreateTransitGatewayPolicyTableResponse Int Source #
The response's http status code.