| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails
Description
Synopsis
- data AwsApiGatewayV2ApiDetails = AwsApiGatewayV2ApiDetails' {}
- newAwsApiGatewayV2ApiDetails :: AwsApiGatewayV2ApiDetails
- awsApiGatewayV2ApiDetails_apiId :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text)
- awsApiGatewayV2ApiDetails_apiEndpoint :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text)
- awsApiGatewayV2ApiDetails_createdDate :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text)
- awsApiGatewayV2ApiDetails_name :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text)
- awsApiGatewayV2ApiDetails_version :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text)
- awsApiGatewayV2ApiDetails_apiKeySelectionExpression :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text)
- awsApiGatewayV2ApiDetails_corsConfiguration :: Lens' AwsApiGatewayV2ApiDetails (Maybe AwsCorsConfiguration)
- awsApiGatewayV2ApiDetails_routeSelectionExpression :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text)
- awsApiGatewayV2ApiDetails_description :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text)
- awsApiGatewayV2ApiDetails_protocolType :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text)
Documentation
data AwsApiGatewayV2ApiDetails Source #
Contains information about a version 2 API in Amazon API Gateway.
See: newAwsApiGatewayV2ApiDetails smart constructor.
Constructors
| AwsApiGatewayV2ApiDetails' | |
Fields
| |
Instances
newAwsApiGatewayV2ApiDetails :: AwsApiGatewayV2ApiDetails Source #
Create a value of AwsApiGatewayV2ApiDetails 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:apiId:AwsApiGatewayV2ApiDetails', awsApiGatewayV2ApiDetails_apiId - The identifier of the API.
$sel:apiEndpoint:AwsApiGatewayV2ApiDetails', awsApiGatewayV2ApiDetails_apiEndpoint - The URI of the API.
Uses the format <api-id>.execute-api.<region>.amazonaws.com
The stage name is typically appended to the URI to form a complete path to a deployed API stage.
$sel:createdDate:AwsApiGatewayV2ApiDetails', awsApiGatewayV2ApiDetails_createdDate - Indicates when the API was created.
Uses the date-time format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
$sel:name:AwsApiGatewayV2ApiDetails', awsApiGatewayV2ApiDetails_name - The name of the API.
$sel:version:AwsApiGatewayV2ApiDetails', awsApiGatewayV2ApiDetails_version - The version identifier for the API.
$sel:apiKeySelectionExpression:AwsApiGatewayV2ApiDetails', awsApiGatewayV2ApiDetails_apiKeySelectionExpression - An API key selection expression. Supported only for WebSocket APIs.
$sel:corsConfiguration:AwsApiGatewayV2ApiDetails', awsApiGatewayV2ApiDetails_corsConfiguration - A cross-origin resource sharing (CORS) configuration. Supported only for
HTTP APIs.
$sel:routeSelectionExpression:AwsApiGatewayV2ApiDetails', awsApiGatewayV2ApiDetails_routeSelectionExpression - The route selection expression for the API.
For HTTP APIs, must be ${request.method} ${request.path}. This is the
default value for HTTP APIs.
For WebSocket APIs, there is no default value.
$sel:description:AwsApiGatewayV2ApiDetails', awsApiGatewayV2ApiDetails_description - A description of the API.
$sel:protocolType:AwsApiGatewayV2ApiDetails', awsApiGatewayV2ApiDetails_protocolType - The API protocol for the API.
Valid values: WEBSOCKET | HTTP
awsApiGatewayV2ApiDetails_apiId :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text) Source #
The identifier of the API.
awsApiGatewayV2ApiDetails_apiEndpoint :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text) Source #
The URI of the API.
Uses the format <api-id>.execute-api.<region>.amazonaws.com
The stage name is typically appended to the URI to form a complete path to a deployed API stage.
awsApiGatewayV2ApiDetails_createdDate :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text) Source #
Indicates when the API was created.
Uses the date-time format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
awsApiGatewayV2ApiDetails_name :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text) Source #
The name of the API.
awsApiGatewayV2ApiDetails_version :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text) Source #
The version identifier for the API.
awsApiGatewayV2ApiDetails_apiKeySelectionExpression :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text) Source #
An API key selection expression. Supported only for WebSocket APIs.
awsApiGatewayV2ApiDetails_corsConfiguration :: Lens' AwsApiGatewayV2ApiDetails (Maybe AwsCorsConfiguration) Source #
A cross-origin resource sharing (CORS) configuration. Supported only for HTTP APIs.
awsApiGatewayV2ApiDetails_routeSelectionExpression :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text) Source #
The route selection expression for the API.
For HTTP APIs, must be ${request.method} ${request.path}. This is the
default value for HTTP APIs.
For WebSocket APIs, there is no default value.
awsApiGatewayV2ApiDetails_description :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text) Source #
A description of the API.
awsApiGatewayV2ApiDetails_protocolType :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text) Source #
The API protocol for the API.
Valid values: WEBSOCKET | HTTP