libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails

Description

 
Synopsis

Documentation

data AwsApiGatewayV2ApiDetails Source #

Contains information about a version 2 API in Amazon API Gateway.

See: newAwsApiGatewayV2ApiDetails smart constructor.

Constructors

AwsApiGatewayV2ApiDetails' 

Fields

Instances

Instances details
Eq AwsApiGatewayV2ApiDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails

Read AwsApiGatewayV2ApiDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails

Show AwsApiGatewayV2ApiDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails

Generic AwsApiGatewayV2ApiDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails

Associated Types

type Rep AwsApiGatewayV2ApiDetails :: Type -> Type #

NFData AwsApiGatewayV2ApiDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails

Hashable AwsApiGatewayV2ApiDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails

ToJSON AwsApiGatewayV2ApiDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails

FromJSON AwsApiGatewayV2ApiDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails

type Rep AwsApiGatewayV2ApiDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails

type Rep AwsApiGatewayV2ApiDetails = D1 ('MetaData "AwsApiGatewayV2ApiDetails" "Amazonka.SecurityHub.Types.AwsApiGatewayV2ApiDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsApiGatewayV2ApiDetails'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "apiKeySelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "corsConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsCorsConfiguration))) :*: (S1 ('MetaSel ('Just "routeSelectionExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "protocolType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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_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_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_protocolType :: Lens' AwsApiGatewayV2ApiDetails (Maybe Text) Source #

The API protocol for the API.

Valid values: WEBSOCKET | HTTP