libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
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.APIGateway

Contents

Description

Derived from API version 2015-07-09 of the AWS service descriptions, licensed under Apache 2.0.

Amazon API Gateway

Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2015-07-09 of the Amazon API Gateway SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by APIGateway.

ConflictException

_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request configuration has conflicts. For details, see the accompanying error message.

NotFoundException

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested resource is not found. Make sure that the request URI is correct.

TooManyRequestsException

_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request has reached its throttling limit. Retry after the specified time period.

ServiceUnavailableException

_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested service is not available. For details see the accompanying error message. Retry after the specified time period.

UnauthorizedException

_UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request is denied because the caller has insufficient permissions.

BadRequestException

_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.

LimitExceededException

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request exceeded the rate limit. Retry after the specified time period.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetResource

data GetResource Source #

Request to list information about a resource.

See: newGetResource smart constructor.

Constructors

GetResource' (Maybe [Text]) Text Text 

Instances

Instances details
Eq GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

Read GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

Show GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

Generic GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

Associated Types

type Rep GetResource :: Type -> Type #

NFData GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

Methods

rnf :: GetResource -> () #

Hashable GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

AWSRequest GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

Associated Types

type AWSResponse GetResource #

ToHeaders GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

Methods

toHeaders :: GetResource -> [Header] #

ToPath GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

ToQuery GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

type Rep GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

type Rep GetResource = D1 ('MetaData "GetResource" "Amazonka.APIGateway.GetResource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "embed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetResource Source # 
Instance details

Defined in Amazonka.APIGateway.GetResource

newGetResource Source #

Create a value of GetResource 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:embed:GetResource', getResource_embed - A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the "methods" string. For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods.

$sel:restApiId:GetResource', getResource_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:GetResource', getResource_resourceId - [Required] The identifier for the Resource resource.

data Resource Source #

Represents an API resource.

Create an API

See: newResource smart constructor.

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

NFData Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

type Rep Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.APIGateway.Types.Resource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pathPart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Method))) :*: S1 ('MetaSel ('Just "parentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newResource :: Resource Source #

Create a value of Resource 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:pathPart:Resource', resource_pathPart - The last path segment for this resource.

$sel:path:Resource', resource_path - The full path for this resource.

$sel:id:Resource', resource_id - The resource's identifier.

$sel:resourceMethods:Resource', resource_resourceMethods - Gets an API resource's method of a given HTTP verb.

The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the 200 OK response of the GET /restapis/{restapi_id}/resources/{resource_id} or GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods request.

Example: Get the GET method of an API resource

Request
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20170223T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response
{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }

If the OPTIONS is enabled on the resource, you can follow the example here to get that method. Just replace the GET of the last path segment in the request URL with OPTIONS.

$sel:parentId:Resource', resource_parentId - The parent resource's identifier.

GetDeployments (Paginated)

data GetDeployments Source #

Requests API Gateway to get information about a Deployments collection.

See: newGetDeployments smart constructor.

Instances

Instances details
Eq GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Read GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Show GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Generic GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Associated Types

type Rep GetDeployments :: Type -> Type #

NFData GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Methods

rnf :: GetDeployments -> () #

Hashable GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

AWSPager GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

AWSRequest GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Associated Types

type AWSResponse GetDeployments #

ToHeaders GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

ToPath GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

ToQuery GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

type Rep GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

type Rep GetDeployments = D1 ('MetaData "GetDeployments" "Amazonka.APIGateway.GetDeployments" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDeployments'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

newGetDeployments Source #

Create a value of GetDeployments 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:limit:GetDeployments', getDeployments_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetDeployments', getDeployments_position - The current pagination position in the paged result set.

$sel:restApiId:GetDeployments', getDeployments_restApiId - [Required] The string identifier of the associated RestApi.

data GetDeploymentsResponse Source #

Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments.

To create a new deployment of a RestApi, make a POST request against this resource. To view, update, or delete an existing deployment, make a GET, PATCH, or DELETE request, respectively, on a specified Deployment resource.

Deploying an API, AWS CLI, AWS SDKs

See: newGetDeploymentsResponse smart constructor.

Instances

Instances details
Eq GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Read GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Show GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Generic GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Associated Types

type Rep GetDeploymentsResponse :: Type -> Type #

NFData GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Methods

rnf :: GetDeploymentsResponse -> () #

type Rep GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

type Rep GetDeploymentsResponse = D1 ('MetaData "GetDeploymentsResponse" "Amazonka.APIGateway.GetDeployments" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDeploymentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Deployment])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDeploymentsResponse Source #

Create a value of GetDeploymentsResponse 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:items:GetDeploymentsResponse', getDeploymentsResponse_items - The current page of elements from this collection.

$sel:position:GetDeployments', getDeploymentsResponse_position - Undocumented member.

$sel:httpStatus:GetDeploymentsResponse', getDeploymentsResponse_httpStatus - The response's http status code.

GetDeployment

data GetDeployment Source #

Requests API Gateway to get information about a Deployment resource.

See: newGetDeployment smart constructor.

Constructors

GetDeployment' (Maybe [Text]) Text Text 

Instances

Instances details
Eq GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

Read GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

Show GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

Generic GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

Associated Types

type Rep GetDeployment :: Type -> Type #

NFData GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

Methods

rnf :: GetDeployment -> () #

Hashable GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

AWSRequest GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

Associated Types

type AWSResponse GetDeployment #

ToHeaders GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

ToPath GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

ToQuery GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

type Rep GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

type Rep GetDeployment = D1 ('MetaData "GetDeployment" "Amazonka.APIGateway.GetDeployment" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "embed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployment

newGetDeployment Source #

Create a value of GetDeployment 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:embed:GetDeployment', getDeployment_embed - A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this embed parameter value is a list of comma-separated strings, as in GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the "apisummary" string. For example, GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary.

$sel:restApiId:GetDeployment', getDeployment_restApiId - [Required] The string identifier of the associated RestApi.

$sel:deploymentId:GetDeployment', getDeployment_deploymentId - [Required] The identifier of the Deployment resource to get information about.

data Deployment Source #

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

To create a deployment, call POST on the Deployments resource of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or DELETE on the specified deployment resource (/restapis/{restapi_id}/deployments/{deployment_id}).

RestApi, Deployments, Stage, AWS CLI, AWS SDKs

See: newDeployment smart constructor.

Instances

Instances details
Eq Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Read Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Show Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Generic Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Associated Types

type Rep Deployment :: Type -> Type #

NFData Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Methods

rnf :: Deployment -> () #

Hashable Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

FromJSON Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment = D1 ('MetaData "Deployment" "Amazonka.APIGateway.Types.Deployment" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Deployment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (HashMap Text MethodSnapshot)))) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDeployment :: Deployment Source #

Create a value of Deployment 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:apiSummary:Deployment', deployment_apiSummary - A summary of the RestApi at the date and time that the deployment resource was created.

$sel:createdDate:Deployment', deployment_createdDate - The date and time that the deployment resource was created.

$sel:id:Deployment', deployment_id - The identifier for the deployment resource.

$sel:description:Deployment', deployment_description - The description for the deployment resource.

GetTags

data GetTags Source #

Gets the Tags collection for a given resource.

See: newGetTags smart constructor.

Constructors

GetTags' (Maybe Int) (Maybe Text) Text 

Instances

Instances details
Eq GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Methods

(==) :: GetTags -> GetTags -> Bool #

(/=) :: GetTags -> GetTags -> Bool #

Read GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Show GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Generic GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Associated Types

type Rep GetTags :: Type -> Type #

Methods

from :: GetTags -> Rep GetTags x #

to :: Rep GetTags x -> GetTags #

NFData GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Methods

rnf :: GetTags -> () #

Hashable GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Methods

hashWithSalt :: Int -> GetTags -> Int #

hash :: GetTags -> Int #

AWSRequest GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Associated Types

type AWSResponse GetTags #

ToHeaders GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Methods

toHeaders :: GetTags -> [Header] #

ToPath GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Methods

toPath :: GetTags -> ByteString #

ToQuery GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

type Rep GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

type Rep GetTags = D1 ('MetaData "GetTags" "Amazonka.APIGateway.GetTags" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetTags'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetTags Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

newGetTags Source #

Create a value of GetTags 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:limit:GetTags', getTags_limit - (Not currently supported) The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetTags', getTags_position - (Not currently supported) The current pagination position in the paged result set.

$sel:resourceArn:GetTags', getTags_resourceArn - [Required] The ARN of a resource that can be tagged.

data GetTagsResponse Source #

The collection of tags. Each tag element is associated with a given resource.

See: newGetTagsResponse smart constructor.

Instances

Instances details
Eq GetTagsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Read GetTagsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Show GetTagsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Generic GetTagsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Associated Types

type Rep GetTagsResponse :: Type -> Type #

NFData GetTagsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

Methods

rnf :: GetTagsResponse -> () #

type Rep GetTagsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetTags

type Rep GetTagsResponse = D1 ('MetaData "GetTagsResponse" "Amazonka.APIGateway.GetTags" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetTagsResponse Source #

Create a value of GetTagsResponse 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:tags:GetTagsResponse', getTagsResponse_tags - The collection of tags. Each tag element is associated with a given resource.

$sel:httpStatus:GetTagsResponse', getTagsResponse_httpStatus - The response's http status code.

DeleteGatewayResponse

data DeleteGatewayResponse Source #

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

See: newDeleteGatewayResponse smart constructor.

Instances

Instances details
Eq DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

Read DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

Show DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

Generic DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

Associated Types

type Rep DeleteGatewayResponse :: Type -> Type #

NFData DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

Methods

rnf :: DeleteGatewayResponse -> () #

Hashable DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

AWSRequest DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

Associated Types

type AWSResponse DeleteGatewayResponse #

ToHeaders DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

ToPath DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

ToQuery DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

type Rep DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

type Rep DeleteGatewayResponse = D1 ('MetaData "DeleteGatewayResponse" "Amazonka.APIGateway.DeleteGatewayResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteGatewayResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "responseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GatewayResponseType)))
type AWSResponse DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

newDeleteGatewayResponse Source #

Create a value of DeleteGatewayResponse 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:restApiId:DeleteGatewayResponse', deleteGatewayResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:responseType:DeleteGatewayResponse', deleteGatewayResponse_responseType - [Required]

The response type of the associated GatewayResponse.

data DeleteGatewayResponseResponse Source #

See: newDeleteGatewayResponseResponse smart constructor.

Instances

Instances details
Eq DeleteGatewayResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

Read DeleteGatewayResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

Show DeleteGatewayResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

Generic DeleteGatewayResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

Associated Types

type Rep DeleteGatewayResponseResponse :: Type -> Type #

NFData DeleteGatewayResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

type Rep DeleteGatewayResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteGatewayResponse

type Rep DeleteGatewayResponseResponse = D1 ('MetaData "DeleteGatewayResponseResponse" "Amazonka.APIGateway.DeleteGatewayResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteGatewayResponseResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteGatewayResponseResponse :: DeleteGatewayResponseResponse Source #

Create a value of DeleteGatewayResponseResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateGatewayResponse

data UpdateGatewayResponse Source #

Updates a GatewayResponse of a specified response type on the given RestApi.

See: newUpdateGatewayResponse smart constructor.

Instances

Instances details
Eq UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

Read UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

Show UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

Generic UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

Associated Types

type Rep UpdateGatewayResponse :: Type -> Type #

NFData UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

Methods

rnf :: UpdateGatewayResponse -> () #

Hashable UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

ToJSON UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

AWSRequest UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

Associated Types

type AWSResponse UpdateGatewayResponse #

ToHeaders UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

ToPath UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

ToQuery UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

type Rep UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

type Rep UpdateGatewayResponse = D1 ('MetaData "UpdateGatewayResponse" "Amazonka.APIGateway.UpdateGatewayResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateGatewayResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "responseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GatewayResponseType))))
type AWSResponse UpdateGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateGatewayResponse

newUpdateGatewayResponse Source #

Create a value of UpdateGatewayResponse 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:patchOperations:UpdateGatewayResponse', updateGatewayResponse_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateGatewayResponse', updateGatewayResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:responseType:UpdateGatewayResponse', updateGatewayResponse_responseType - [Required]

The response type of the associated GatewayResponse.

data GatewayResponse Source #

A gateway response of a given response type and status code, with optional response parameters and mapping templates.

For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway

Example: Get a Gateway Response of a given response type

Request

This example shows how to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type.

GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45

The response type is specified as a URL path.

Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", "name": "gatewayresponse", "templated": true }, "self": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:delete": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, "defaultResponse": false, "responseParameters": { "gatewayresponse.header.x-request-path": "method.request.path.petId", "gatewayresponse.header.Access-Control-Allow-Origin": "'a.b.c'", "gatewayresponse.header.x-request-query": "method.request.querystring.q", "gatewayresponse.header.x-request-header": "method.request.header.Accept" }, "responseTemplates": { "application/json": "{\n \"message\": $context.error.messageString,\n \"type\": \"$context.error.responseType\",\n \"stage\": \"$context.stage\",\n \"resourcePath\": \"$context.resourcePath\",\n \"stageVariables.a\": \"$stageVariables.a\",\n \"statusCode\": \"'404'\"\n}" }, "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "404" }

Customize Gateway Responses

See: newGatewayResponse smart constructor.

Instances

Instances details
Eq GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Read GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Show GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Generic GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Associated Types

type Rep GatewayResponse :: Type -> Type #

NFData GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Methods

rnf :: GatewayResponse -> () #

Hashable GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

FromJSON GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

type Rep GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

type Rep GatewayResponse = D1 ('MetaData "GatewayResponse" "Amazonka.APIGateway.Types.GatewayResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GatewayResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "responseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GatewayResponseType)) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newGatewayResponse :: GatewayResponse Source #

Create a value of GatewayResponse 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:defaultResponse:GatewayResponse', gatewayResponse_defaultResponse - A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

$sel:responseTemplates:GatewayResponse', gatewayResponse_responseTemplates - Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

$sel:responseType:GatewayResponse', gatewayResponse_responseType - The response type of the associated GatewayResponse.

$sel:statusCode:GatewayResponse', gatewayResponse_statusCode - The HTTP status code for this GatewayResponse.

$sel:responseParameters:GatewayResponse', gatewayResponse_responseParameters - Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

CreateUsagePlan

data CreateUsagePlan Source #

The POST request to create a usage plan with the name, description, throttle limits and quota limits, as well as the associated API stages, specified in the payload.

See: newCreateUsagePlan smart constructor.

Instances

Instances details
Eq CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

Read CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

Show CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

Generic CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

Associated Types

type Rep CreateUsagePlan :: Type -> Type #

NFData CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

Methods

rnf :: CreateUsagePlan -> () #

Hashable CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

ToJSON CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

AWSRequest CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

Associated Types

type AWSResponse CreateUsagePlan #

ToHeaders CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

ToPath CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

ToQuery CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

type Rep CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

type AWSResponse CreateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlan

newCreateUsagePlan Source #

Create a value of CreateUsagePlan 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:apiStages:CreateUsagePlan', createUsagePlan_apiStages - The associated API stages of the usage plan.

$sel:throttle:CreateUsagePlan', createUsagePlan_throttle - The throttling limits of the usage plan.

$sel:quota:CreateUsagePlan', createUsagePlan_quota - The quota of the usage plan.

$sel:description:CreateUsagePlan', createUsagePlan_description - The description of the usage plan.

$sel:tags:CreateUsagePlan', createUsagePlan_tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

$sel:name:CreateUsagePlan', createUsagePlan_name - [Required] The name of the usage plan.

data UsagePlan Source #

Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.

In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan.

Create and Use Usage Plans

See: newUsagePlan smart constructor.

Instances

Instances details
Eq UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Read UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Show UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Generic UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Associated Types

type Rep UsagePlan :: Type -> Type #

NFData UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Methods

rnf :: UsagePlan -> () #

Hashable UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

FromJSON UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

type Rep UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

newUsagePlan :: UsagePlan Source #

Create a value of UsagePlan 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:apiStages:UsagePlan', usagePlan_apiStages - The associated API stages of a usage plan.

$sel:name:UsagePlan', usagePlan_name - The name of a usage plan.

$sel:id:UsagePlan', usagePlan_id - The identifier of a UsagePlan resource.

$sel:throttle:UsagePlan', usagePlan_throttle - The request throttle limits of a usage plan.

$sel:quota:UsagePlan', usagePlan_quota - The maximum number of permitted requests per a given unit time interval.

$sel:description:UsagePlan', usagePlan_description - The description of a usage plan.

$sel:productCode:UsagePlan', usagePlan_productCode - The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.

$sel:tags:UsagePlan', usagePlan_tags - The collection of tags. Each tag element is associated with a given resource.

GetDomainNames (Paginated)

data GetDomainNames Source #

Request to describe a collection of DomainName resources.

See: newGetDomainNames smart constructor.

Constructors

GetDomainNames' (Maybe Int) (Maybe Text) 

Instances

Instances details
Eq GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Read GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Show GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Generic GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Associated Types

type Rep GetDomainNames :: Type -> Type #

NFData GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Methods

rnf :: GetDomainNames -> () #

Hashable GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

AWSPager GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

AWSRequest GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Associated Types

type AWSResponse GetDomainNames #

ToHeaders GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

ToPath GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

ToQuery GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

type Rep GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

type Rep GetDomainNames = D1 ('MetaData "GetDomainNames" "Amazonka.APIGateway.GetDomainNames" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDomainNames'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetDomainNames Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

newGetDomainNames :: GetDomainNames Source #

Create a value of GetDomainNames 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:limit:GetDomainNames', getDomainNames_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetDomainNames', getDomainNames_position - The current pagination position in the paged result set.

data GetDomainNamesResponse Source #

Represents a collection of DomainName resources.

Use Client-Side Certificate

See: newGetDomainNamesResponse smart constructor.

Instances

Instances details
Eq GetDomainNamesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Read GetDomainNamesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Show GetDomainNamesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Generic GetDomainNamesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Associated Types

type Rep GetDomainNamesResponse :: Type -> Type #

NFData GetDomainNamesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

Methods

rnf :: GetDomainNamesResponse -> () #

type Rep GetDomainNamesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainNames

type Rep GetDomainNamesResponse = D1 ('MetaData "GetDomainNamesResponse" "Amazonka.APIGateway.GetDomainNames" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDomainNamesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DomainName])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDomainNamesResponse Source #

Create a value of GetDomainNamesResponse 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:items:GetDomainNamesResponse', getDomainNamesResponse_items - The current page of elements from this collection.

$sel:position:GetDomainNames', getDomainNamesResponse_position - Undocumented member.

$sel:httpStatus:GetDomainNamesResponse', getDomainNamesResponse_httpStatus - The response's http status code.

GetClientCertificate

data GetClientCertificate Source #

A request to get information about the current ClientCertificate resource.

See: newGetClientCertificate smart constructor.

Instances

Instances details
Eq GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Read GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Show GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Generic GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Associated Types

type Rep GetClientCertificate :: Type -> Type #

NFData GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Methods

rnf :: GetClientCertificate -> () #

Hashable GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

AWSRequest GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

Associated Types

type AWSResponse GetClientCertificate #

ToHeaders GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

ToPath GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

ToQuery GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

type Rep GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

type Rep GetClientCertificate = D1 ('MetaData "GetClientCertificate" "Amazonka.APIGateway.GetClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetClientCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificate

newGetClientCertificate Source #

Create a value of GetClientCertificate 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:clientCertificateId:GetClientCertificate', getClientCertificate_clientCertificateId - [Required] The identifier of the ClientCertificate resource to be described.

data ClientCertificate Source #

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool.

Use Client-Side Certificate

See: newClientCertificate smart constructor.

Instances

Instances details
Eq ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Read ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Show ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Generic ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Associated Types

type Rep ClientCertificate :: Type -> Type #

NFData ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Methods

rnf :: ClientCertificate -> () #

Hashable ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

FromJSON ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate = D1 ('MetaData "ClientCertificate" "Amazonka.APIGateway.Types.ClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ClientCertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pemEncodedCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newClientCertificate :: ClientCertificate Source #

Create a value of ClientCertificate 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:pemEncodedCertificate:ClientCertificate', clientCertificate_pemEncodedCertificate - The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

$sel:clientCertificateId:ClientCertificate', clientCertificate_clientCertificateId - The identifier of the client certificate.

$sel:createdDate:ClientCertificate', clientCertificate_createdDate - The timestamp when the client certificate was created.

$sel:expirationDate:ClientCertificate', clientCertificate_expirationDate - The timestamp when the client certificate will expire.

$sel:description:ClientCertificate', clientCertificate_description - The description of the client certificate.

$sel:tags:ClientCertificate', clientCertificate_tags - The collection of tags. Each tag element is associated with a given resource.

PutGatewayResponse

data PutGatewayResponse Source #

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

See: newPutGatewayResponse smart constructor.

Instances

Instances details
Eq PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

Read PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

Show PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

Generic PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

Associated Types

type Rep PutGatewayResponse :: Type -> Type #

NFData PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

Methods

rnf :: PutGatewayResponse -> () #

Hashable PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

ToJSON PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

AWSRequest PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

Associated Types

type AWSResponse PutGatewayResponse #

ToHeaders PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

ToPath PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

ToQuery PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

type Rep PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

type Rep PutGatewayResponse = D1 ('MetaData "PutGatewayResponse" "Amazonka.APIGateway.PutGatewayResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "PutGatewayResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "responseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GatewayResponseType)))))
type AWSResponse PutGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutGatewayResponse

newPutGatewayResponse Source #

Create a value of PutGatewayResponse 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:responseTemplates:PutGatewayResponse', putGatewayResponse_responseTemplates - Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

$sel:statusCode:PutGatewayResponse', putGatewayResponse_statusCode - The HTTP status code of the GatewayResponse.

$sel:responseParameters:PutGatewayResponse', putGatewayResponse_responseParameters - Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

$sel:restApiId:PutGatewayResponse', putGatewayResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:responseType:PutGatewayResponse', putGatewayResponse_responseType - [Required]

The response type of the associated GatewayResponse.

data GatewayResponse Source #

A gateway response of a given response type and status code, with optional response parameters and mapping templates.

For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway

Example: Get a Gateway Response of a given response type

Request

This example shows how to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type.

GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45

The response type is specified as a URL path.

Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", "name": "gatewayresponse", "templated": true }, "self": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:delete": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, "defaultResponse": false, "responseParameters": { "gatewayresponse.header.x-request-path": "method.request.path.petId", "gatewayresponse.header.Access-Control-Allow-Origin": "'a.b.c'", "gatewayresponse.header.x-request-query": "method.request.querystring.q", "gatewayresponse.header.x-request-header": "method.request.header.Accept" }, "responseTemplates": { "application/json": "{\n \"message\": $context.error.messageString,\n \"type\": \"$context.error.responseType\",\n \"stage\": \"$context.stage\",\n \"resourcePath\": \"$context.resourcePath\",\n \"stageVariables.a\": \"$stageVariables.a\",\n \"statusCode\": \"'404'\"\n}" }, "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "404" }

Customize Gateway Responses

See: newGatewayResponse smart constructor.

Instances

Instances details
Eq GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Read GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Show GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Generic GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Associated Types

type Rep GatewayResponse :: Type -> Type #

NFData GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Methods

rnf :: GatewayResponse -> () #

Hashable GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

FromJSON GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

type Rep GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

type Rep GatewayResponse = D1 ('MetaData "GatewayResponse" "Amazonka.APIGateway.Types.GatewayResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GatewayResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "responseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GatewayResponseType)) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newGatewayResponse :: GatewayResponse Source #

Create a value of GatewayResponse 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:defaultResponse:GatewayResponse', gatewayResponse_defaultResponse - A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

$sel:responseTemplates:GatewayResponse', gatewayResponse_responseTemplates - Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

$sel:responseType:GatewayResponse', gatewayResponse_responseType - The response type of the associated GatewayResponse.

$sel:statusCode:GatewayResponse', gatewayResponse_statusCode - The HTTP status code for this GatewayResponse.

$sel:responseParameters:GatewayResponse', gatewayResponse_responseParameters - Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

GetSdkType

data GetSdkType Source #

Get an SdkType instance.

See: newGetSdkType smart constructor.

Constructors

GetSdkType' Text 

Instances

Instances details
Eq GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

Read GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

Show GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

Generic GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

Associated Types

type Rep GetSdkType :: Type -> Type #

NFData GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

Methods

rnf :: GetSdkType -> () #

Hashable GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

AWSRequest GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

Associated Types

type AWSResponse GetSdkType #

ToHeaders GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

Methods

toHeaders :: GetSdkType -> [Header] #

ToPath GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

ToQuery GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

type Rep GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

type Rep GetSdkType = D1 ('MetaData "GetSdkType" "Amazonka.APIGateway.GetSdkType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetSdkType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetSdkType Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkType

newGetSdkType Source #

Create a value of GetSdkType 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:id:GetSdkType', getSdkType_id - [Required] The identifier of the queried SdkType instance.

data SdkType Source #

A type of SDK that API Gateway can generate.

See: newSdkType smart constructor.

Instances

Instances details
Eq SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Methods

(==) :: SdkType -> SdkType -> Bool #

(/=) :: SdkType -> SdkType -> Bool #

Read SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Show SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Generic SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Associated Types

type Rep SdkType :: Type -> Type #

Methods

from :: SdkType -> Rep SdkType x #

to :: Rep SdkType x -> SdkType #

NFData SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Methods

rnf :: SdkType -> () #

Hashable SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Methods

hashWithSalt :: Int -> SdkType -> Int #

hash :: SdkType -> Int #

FromJSON SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

type Rep SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

type Rep SdkType = D1 ('MetaData "SdkType" "Amazonka.APIGateway.Types.SdkType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "SdkType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "friendlyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "configurationProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SdkConfigurationProperty]))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSdkType :: SdkType Source #

Create a value of SdkType 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:friendlyName:SdkType', sdkType_friendlyName - The user-friendly name of an SdkType instance.

$sel:configurationProperties:SdkType', sdkType_configurationProperties - A list of configuration properties of an SdkType.

$sel:id:SdkType', sdkType_id - The identifier of an SdkType instance.

$sel:description:SdkType', sdkType_description - The description of an SdkType.

GetMethodResponse

data GetMethodResponse Source #

Request to describe a MethodResponse resource.

See: newGetMethodResponse smart constructor.

Instances

Instances details
Eq GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

Read GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

Show GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

Generic GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

Associated Types

type Rep GetMethodResponse :: Type -> Type #

NFData GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

Methods

rnf :: GetMethodResponse -> () #

Hashable GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

AWSRequest GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

Associated Types

type AWSResponse GetMethodResponse #

ToHeaders GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

ToPath GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

ToQuery GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

type Rep GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

type Rep GetMethodResponse = D1 ('MetaData "GetMethodResponse" "Amazonka.APIGateway.GetMethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetMethodResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethodResponse

newGetMethodResponse Source #

Create a value of GetMethodResponse 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:restApiId:GetMethodResponse', getMethodResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:GetMethodResponse', getMethodResponse_resourceId - [Required] The Resource identifier for the MethodResponse resource.

$sel:httpMethod:GetMethodResponse', getMethodResponse_httpMethod - [Required] The HTTP verb of the Method resource.

$sel:statusCode:GetMethodResponse', getMethodResponse_statusCode - [Required] The status code for the MethodResponse resource.

data MethodResponse Source #

Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.

Example: A MethodResponse instance of an API

Request

The example request retrieves a MethodResponse of the 200 status code.

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 200 OK status and a payload as follows:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" }

Method, IntegrationResponse, Integration Creating an API

See: newMethodResponse smart constructor.

Instances

Instances details
Eq MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Read MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Show MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Generic MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Associated Types

type Rep MethodResponse :: Type -> Type #

NFData MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Methods

rnf :: MethodResponse -> () #

Hashable MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

FromJSON MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

type Rep MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

type Rep MethodResponse = D1 ('MetaData "MethodResponse" "Amazonka.APIGateway.Types.MethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "MethodResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "responseModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))))))

newMethodResponse :: MethodResponse Source #

Create a value of MethodResponse 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:responseModels:MethodResponse', methodResponse_responseModels - Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

$sel:statusCode:MethodResponse', methodResponse_statusCode - The method response's status code.

$sel:responseParameters:MethodResponse', methodResponse_responseParameters - A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

GetModels (Paginated)

data GetModels Source #

Request to list existing Models defined for a RestApi resource.

See: newGetModels smart constructor.

Constructors

GetModels' (Maybe Int) (Maybe Text) Text 

Instances

Instances details
Eq GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Read GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Show GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Generic GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Associated Types

type Rep GetModels :: Type -> Type #

NFData GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Methods

rnf :: GetModels -> () #

Hashable GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

AWSPager GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

AWSRequest GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Associated Types

type AWSResponse GetModels #

ToHeaders GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Methods

toHeaders :: GetModels -> [Header] #

ToPath GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

ToQuery GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

type Rep GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

type Rep GetModels = D1 ('MetaData "GetModels" "Amazonka.APIGateway.GetModels" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetModels'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetModels Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

newGetModels Source #

Create a value of GetModels 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:limit:GetModels', getModels_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetModels', getModels_position - The current pagination position in the paged result set.

$sel:restApiId:GetModels', getModels_restApiId - [Required] The string identifier of the associated RestApi.

data GetModelsResponse Source #

Represents a collection of Model resources.

Method, MethodResponse, Models and Mappings

See: newGetModelsResponse smart constructor.

Instances

Instances details
Eq GetModelsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Read GetModelsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Show GetModelsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Generic GetModelsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Associated Types

type Rep GetModelsResponse :: Type -> Type #

NFData GetModelsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

Methods

rnf :: GetModelsResponse -> () #

type Rep GetModelsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModels

type Rep GetModelsResponse = D1 ('MetaData "GetModelsResponse" "Amazonka.APIGateway.GetModels" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetModelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Model])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetModelsResponse Source #

Create a value of GetModelsResponse 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:items:GetModelsResponse', getModelsResponse_items - The current page of elements from this collection.

$sel:position:GetModels', getModelsResponse_position - Undocumented member.

$sel:httpStatus:GetModelsResponse', getModelsResponse_httpStatus - The response's http status code.

GetBasePathMapping

data GetBasePathMapping Source #

Request to describe a BasePathMapping resource.

See: newGetBasePathMapping smart constructor.

Instances

Instances details
Eq GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Read GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Show GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Generic GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Associated Types

type Rep GetBasePathMapping :: Type -> Type #

NFData GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Methods

rnf :: GetBasePathMapping -> () #

Hashable GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

AWSRequest GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Associated Types

type AWSResponse GetBasePathMapping #

ToHeaders GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

ToPath GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

ToQuery GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

type Rep GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

type Rep GetBasePathMapping = D1 ('MetaData "GetBasePathMapping" "Amazonka.APIGateway.GetBasePathMapping" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetBasePathMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

newGetBasePathMapping Source #

Create a value of GetBasePathMapping 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:domainName:GetBasePathMapping', getBasePathMapping_domainName - [Required] The domain name of the BasePathMapping resource to be described.

$sel:basePath:GetBasePathMapping', getBasePathMapping_basePath - [Required] The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify any base path name after the domain name.

data BasePathMapping Source #

Represents the base path that callers of the API must provide as part of the URL after the domain name.

A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account.

Use Custom Domain Names

See: newBasePathMapping smart constructor.

Instances

Instances details
Eq BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Read BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Show BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Generic BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Associated Types

type Rep BasePathMapping :: Type -> Type #

NFData BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Methods

rnf :: BasePathMapping -> () #

Hashable BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

FromJSON BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping = D1 ('MetaData "BasePathMapping" "Amazonka.APIGateway.Types.BasePathMapping" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "BasePathMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBasePathMapping :: BasePathMapping Source #

Create a value of BasePathMapping 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:stage:BasePathMapping', basePathMapping_stage - The name of the associated stage.

$sel:basePath:BasePathMapping', basePathMapping_basePath - The base path name that callers of the API must provide as part of the URL after the domain name.

$sel:restApiId:BasePathMapping', basePathMapping_restApiId - The string identifier of the associated RestApi.

GetRequestValidators (Paginated)

data GetRequestValidators Source #

Gets the RequestValidators collection of a given RestApi.

See: newGetRequestValidators smart constructor.

Instances

Instances details
Eq GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Read GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Show GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Generic GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Associated Types

type Rep GetRequestValidators :: Type -> Type #

NFData GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Methods

rnf :: GetRequestValidators -> () #

Hashable GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

AWSPager GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

AWSRequest GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Associated Types

type AWSResponse GetRequestValidators #

ToHeaders GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

ToPath GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

ToQuery GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

type Rep GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

type Rep GetRequestValidators = D1 ('MetaData "GetRequestValidators" "Amazonka.APIGateway.GetRequestValidators" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetRequestValidators'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

newGetRequestValidators Source #

Create a value of GetRequestValidators 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:limit:GetRequestValidators', getRequestValidators_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetRequestValidators', getRequestValidators_position - The current pagination position in the paged result set.

$sel:restApiId:GetRequestValidators', getRequestValidators_restApiId - [Required] The string identifier of the associated RestApi.

data GetRequestValidatorsResponse Source #

A collection of RequestValidator resources of a given RestApi.

In OpenAPI, the RequestValidators of an API is defined by the x-amazon-apigateway-request-validators extension.

Enable Basic Request Validation in API Gateway

See: newGetRequestValidatorsResponse smart constructor.

Instances

Instances details
Eq GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Read GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Show GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Generic GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Associated Types

type Rep GetRequestValidatorsResponse :: Type -> Type #

NFData GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

type Rep GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

type Rep GetRequestValidatorsResponse = D1 ('MetaData "GetRequestValidatorsResponse" "Amazonka.APIGateway.GetRequestValidators" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetRequestValidatorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RequestValidator])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetRequestValidatorsResponse Source #

Create a value of GetRequestValidatorsResponse 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:items:GetRequestValidatorsResponse', getRequestValidatorsResponse_items - The current page of elements from this collection.

$sel:position:GetRequestValidators', getRequestValidatorsResponse_position - Undocumented member.

$sel:httpStatus:GetRequestValidatorsResponse', getRequestValidatorsResponse_httpStatus - The response's http status code.

PutMethodResponse

data PutMethodResponse Source #

Request to add a MethodResponse to an existing Method resource.

See: newPutMethodResponse smart constructor.

Instances

Instances details
Eq PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

Read PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

Show PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

Generic PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

Associated Types

type Rep PutMethodResponse :: Type -> Type #

NFData PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

Methods

rnf :: PutMethodResponse -> () #

Hashable PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

ToJSON PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

AWSRequest PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

Associated Types

type AWSResponse PutMethodResponse #

ToHeaders PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

ToPath PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

ToQuery PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

type Rep PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

type Rep PutMethodResponse = D1 ('MetaData "PutMethodResponse" "Amazonka.APIGateway.PutMethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "PutMethodResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "responseModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse PutMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethodResponse

newPutMethodResponse Source #

Create a value of PutMethodResponse 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:responseModels:PutMethodResponse', putMethodResponse_responseModels - Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

$sel:responseParameters:PutMethodResponse', putMethodResponse_responseParameters - A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

$sel:restApiId:PutMethodResponse', putMethodResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:PutMethodResponse', putMethodResponse_resourceId - [Required] The Resource identifier for the Method resource.

$sel:httpMethod:PutMethodResponse', putMethodResponse_httpMethod - [Required] The HTTP verb of the Method resource.

$sel:statusCode:PutMethodResponse', putMethodResponse_statusCode - [Required] The method response's status code.

data MethodResponse Source #

Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.

Example: A MethodResponse instance of an API

Request

The example request retrieves a MethodResponse of the 200 status code.

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 200 OK status and a payload as follows:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" }

Method, IntegrationResponse, Integration Creating an API

See: newMethodResponse smart constructor.

Instances

Instances details
Eq MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Read MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Show MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Generic MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Associated Types

type Rep MethodResponse :: Type -> Type #

NFData MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Methods

rnf :: MethodResponse -> () #

Hashable MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

FromJSON MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

type Rep MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

type Rep MethodResponse = D1 ('MetaData "MethodResponse" "Amazonka.APIGateway.Types.MethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "MethodResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "responseModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))))))

newMethodResponse :: MethodResponse Source #

Create a value of MethodResponse 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:responseModels:MethodResponse', methodResponse_responseModels - Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

$sel:statusCode:MethodResponse', methodResponse_statusCode - The method response's status code.

$sel:responseParameters:MethodResponse', methodResponse_responseParameters - A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

ImportRestApi

data ImportRestApi Source #

A POST request to import an API to API Gateway using an input of an API definition file.

See: newImportRestApi smart constructor.

Instances

Instances details
Eq ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

Show ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

Generic ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

Associated Types

type Rep ImportRestApi :: Type -> Type #

NFData ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

Methods

rnf :: ImportRestApi -> () #

Hashable ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

AWSRequest ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

Associated Types

type AWSResponse ImportRestApi #

ToBody ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

ToHeaders ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

ToPath ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

ToQuery ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

type Rep ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

type Rep ImportRestApi = D1 ('MetaData "ImportRestApi" "Amazonka.APIGateway.ImportRestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ImportRestApi'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failOnWarnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString))))
type AWSResponse ImportRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.ImportRestApi

newImportRestApi Source #

Create a value of ImportRestApi 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:failOnWarnings:ImportRestApi', importRestApi_failOnWarnings - A query parameter to indicate whether to rollback the API creation (true) or not (false) when a warning is encountered. The default value is false.

$sel:parameters:ImportRestApi', importRestApi_parameters - A key-value map of context-specific query string parameters specifying the behavior of different API importing operations. The following shows operation-specific parameters and their supported values.

To exclude DocumentationParts from the import, set parameters as ignore=documentation.

To configure the endpoint type, set parameters as endpointConfigurationTypes=EDGE, endpointConfigurationTypes=REGIONAL, or endpointConfigurationTypes=PRIVATE. The default endpoint type is EDGE.

To handle imported basepath, set parameters as basepath=ignore, basepath=prepend or basepath=split.

For example, the AWS CLI command to exclude documentation from the imported API is:

aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'

The AWS CLI command to set the regional endpoint on the imported API is:

aws apigateway import-rest-api --parameters endpointConfigurationTypes=REGIONAL --body 'file:///path/to/imported-api-body.json'

$sel:body:ImportRestApi', importRestApi_body - [Required] The POST request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.

data RestApi Source #

Represents a REST API.

Create an API

See: newRestApi smart constructor.

Instances

Instances details
Eq RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

(==) :: RestApi -> RestApi -> Bool #

(/=) :: RestApi -> RestApi -> Bool #

Read RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Show RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Generic RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Associated Types

type Rep RestApi :: Type -> Type #

Methods

from :: RestApi -> Rep RestApi x #

to :: Rep RestApi x -> RestApi #

NFData RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

rnf :: RestApi -> () #

Hashable RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

hashWithSalt :: Int -> RestApi -> Int #

hash :: RestApi -> Int #

FromJSON RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi = D1 ('MetaData "RestApi" "Amazonka.APIGateway.Types.RestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "RestApi'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "minimumCompressionSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "disableExecuteApiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "binaryMediaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiKeySourceType)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newRestApi :: RestApi Source #

Create a value of RestApi 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:minimumCompressionSize:RestApi', restApi_minimumCompressionSize - A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

$sel:disableExecuteApiEndpoint:RestApi', restApi_disableExecuteApiEndpoint - Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

$sel:binaryMediaTypes:RestApi', restApi_binaryMediaTypes - The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

$sel:warnings:RestApi', restApi_warnings - The warning messages reported when failonwarnings is turned on during API import.

$sel:createdDate:RestApi', restApi_createdDate - The timestamp when the API was created.

$sel:name:RestApi', restApi_name - The API's name.

$sel:version:RestApi', restApi_version - A version identifier for the API.

$sel:apiKeySource:RestApi', restApi_apiKeySource - The source of the API key for metering requests according to a usage plan. Valid values are:

  • HEADER to read the API key from the X-API-Key header of a request.
  • AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.

$sel:id:RestApi', restApi_id - The API's identifier. This identifier is unique across all of your APIs in API Gateway.

$sel:policy:RestApi', restApi_policy - A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

$sel:endpointConfiguration:RestApi', restApi_endpointConfiguration - The endpoint configuration of this RestApi showing the endpoint types of the API.

$sel:description:RestApi', restApi_description - The API's description.

$sel:tags:RestApi', restApi_tags - The collection of tags. Each tag element is associated with a given resource.

DeleteMethodResponse

data DeleteMethodResponse Source #

A request to delete an existing MethodResponse resource.

See: newDeleteMethodResponse smart constructor.

Instances

Instances details
Eq DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Read DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Show DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Generic DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Associated Types

type Rep DeleteMethodResponse :: Type -> Type #

NFData DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Methods

rnf :: DeleteMethodResponse -> () #

Hashable DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

AWSRequest DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Associated Types

type AWSResponse DeleteMethodResponse #

ToHeaders DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

ToPath DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

ToQuery DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

type Rep DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

type Rep DeleteMethodResponse = D1 ('MetaData "DeleteMethodResponse" "Amazonka.APIGateway.DeleteMethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteMethodResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

newDeleteMethodResponse Source #

Create a value of DeleteMethodResponse 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:restApiId:DeleteMethodResponse', deleteMethodResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:DeleteMethodResponse', deleteMethodResponse_resourceId - [Required] The Resource identifier for the MethodResponse resource.

$sel:httpMethod:DeleteMethodResponse', deleteMethodResponse_httpMethod - [Required] The HTTP verb of the Method resource.

$sel:statusCode:DeleteMethodResponse', deleteMethodResponse_statusCode - [Required] The status code identifier for the MethodResponse resource.

data DeleteMethodResponseResponse Source #

See: newDeleteMethodResponseResponse smart constructor.

Instances

Instances details
Eq DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Read DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Show DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Generic DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

Associated Types

type Rep DeleteMethodResponseResponse :: Type -> Type #

NFData DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

type Rep DeleteMethodResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethodResponse

type Rep DeleteMethodResponseResponse = D1 ('MetaData "DeleteMethodResponseResponse" "Amazonka.APIGateway.DeleteMethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteMethodResponseResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteMethodResponseResponse :: DeleteMethodResponseResponse Source #

Create a value of DeleteMethodResponseResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateMethodResponse

data UpdateMethodResponse Source #

A request to update an existing MethodResponse resource.

See: newUpdateMethodResponse smart constructor.

Instances

Instances details
Eq UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

Read UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

Show UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

Generic UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

Associated Types

type Rep UpdateMethodResponse :: Type -> Type #

NFData UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

Methods

rnf :: UpdateMethodResponse -> () #

Hashable UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

ToJSON UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

AWSRequest UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

Associated Types

type AWSResponse UpdateMethodResponse #

ToHeaders UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

ToPath UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

ToQuery UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

type Rep UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

type Rep UpdateMethodResponse = D1 ('MetaData "UpdateMethodResponse" "Amazonka.APIGateway.UpdateMethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateMethodResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethodResponse

newUpdateMethodResponse Source #

Create a value of UpdateMethodResponse 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:patchOperations:UpdateMethodResponse', updateMethodResponse_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateMethodResponse', updateMethodResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:UpdateMethodResponse', updateMethodResponse_resourceId - [Required] The Resource identifier for the MethodResponse resource.

$sel:httpMethod:UpdateMethodResponse', updateMethodResponse_httpMethod - [Required] The HTTP verb of the Method resource.

$sel:statusCode:UpdateMethodResponse', updateMethodResponse_statusCode - [Required] The status code for the MethodResponse resource.

data MethodResponse Source #

Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.

Example: A MethodResponse instance of an API

Request

The example request retrieves a MethodResponse of the 200 status code.

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 200 OK status and a payload as follows:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" }

Method, IntegrationResponse, Integration Creating an API

See: newMethodResponse smart constructor.

Instances

Instances details
Eq MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Read MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Show MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Generic MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Associated Types

type Rep MethodResponse :: Type -> Type #

NFData MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Methods

rnf :: MethodResponse -> () #

Hashable MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

FromJSON MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

type Rep MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

type Rep MethodResponse = D1 ('MetaData "MethodResponse" "Amazonka.APIGateway.Types.MethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "MethodResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "responseModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))))))

newMethodResponse :: MethodResponse Source #

Create a value of MethodResponse 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:responseModels:MethodResponse', methodResponse_responseModels - Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

$sel:statusCode:MethodResponse', methodResponse_statusCode - The method response's status code.

$sel:responseParameters:MethodResponse', methodResponse_responseParameters - A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

DeleteStage

data DeleteStage Source #

Requests API Gateway to delete a Stage resource.

See: newDeleteStage smart constructor.

Constructors

DeleteStage' Text Text 

Instances

Instances details
Eq DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Read DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Show DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Generic DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Associated Types

type Rep DeleteStage :: Type -> Type #

NFData DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Methods

rnf :: DeleteStage -> () #

Hashable DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

AWSRequest DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Associated Types

type AWSResponse DeleteStage #

ToHeaders DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Methods

toHeaders :: DeleteStage -> [Header] #

ToPath DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

ToQuery DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

type Rep DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

type Rep DeleteStage = D1 ('MetaData "DeleteStage" "Amazonka.APIGateway.DeleteStage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteStage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

newDeleteStage Source #

Create a value of DeleteStage 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:restApiId:DeleteStage', deleteStage_restApiId - [Required] The string identifier of the associated RestApi.

$sel:stageName:DeleteStage', deleteStage_stageName - [Required] The name of the Stage resource to delete.

data DeleteStageResponse Source #

See: newDeleteStageResponse smart constructor.

Constructors

DeleteStageResponse' 

Instances

Instances details
Eq DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Read DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Show DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Generic DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Associated Types

type Rep DeleteStageResponse :: Type -> Type #

NFData DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Methods

rnf :: DeleteStageResponse -> () #

type Rep DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

type Rep DeleteStageResponse = D1 ('MetaData "DeleteStageResponse" "Amazonka.APIGateway.DeleteStage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteStageResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteStageResponse :: DeleteStageResponse Source #

Create a value of DeleteStageResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateStage

data UpdateStage Source #

Requests API Gateway to change information about a Stage resource.

See: newUpdateStage smart constructor.

Instances

Instances details
Eq UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

Read UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

Show UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

Generic UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

Associated Types

type Rep UpdateStage :: Type -> Type #

NFData UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

Methods

rnf :: UpdateStage -> () #

Hashable UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

ToJSON UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

AWSRequest UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

Associated Types

type AWSResponse UpdateStage #

ToHeaders UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

Methods

toHeaders :: UpdateStage -> [Header] #

ToPath UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

ToQuery UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

type Rep UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

type Rep UpdateStage = D1 ('MetaData "UpdateStage" "Amazonka.APIGateway.UpdateStage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateStage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateStage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateStage

newUpdateStage Source #

Create a value of UpdateStage 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:patchOperations:UpdateStage', updateStage_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateStage', updateStage_restApiId - [Required] The string identifier of the associated RestApi.

$sel:stageName:UpdateStage', updateStage_stageName - [Required] The name of the Stage resource to change information about.

data Stage Source #

Represents a unique identifier for a version of a deployed RestApi that is callable by users.

Deploy an API

See: newStage smart constructor.

Instances

Instances details
Eq Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

(==) :: Stage -> Stage -> Bool #

(/=) :: Stage -> Stage -> Bool #

Read Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Show Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

showsPrec :: Int -> Stage -> ShowS #

show :: Stage -> String #

showList :: [Stage] -> ShowS #

Generic Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Associated Types

type Rep Stage :: Type -> Type #

Methods

from :: Stage -> Rep Stage x #

to :: Rep Stage x -> Stage #

NFData Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

rnf :: Stage -> () #

Hashable Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

hashWithSalt :: Int -> Stage -> Int #

hash :: Stage -> Int #

FromJSON Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

type Rep Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

type Rep Stage = D1 ('MetaData "Stage" "Amazonka.APIGateway.Types.Stage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Stage'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "accessLogSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessLogSettings)) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tracingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "cacheClusterStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterStatus))))) :*: (((S1 ('MetaSel ('Just "methodSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MethodSetting))) :*: S1 ('MetaSel ('Just "lastUpdatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "cacheClusterSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterSize)) :*: S1 ('MetaSel ('Just "webAclArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "canarySettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CanarySettings)) :*: S1 ('MetaSel ('Just "cacheClusterEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newStage :: Stage Source #

Create a value of Stage 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:deploymentId:Stage', stage_deploymentId - The identifier of the Deployment that the stage points to.

$sel:variables:Stage', stage_variables - A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

$sel:accessLogSettings:Stage', stage_accessLogSettings - Settings for logging access in this stage.

$sel:documentationVersion:Stage', stage_documentationVersion - The version of the associated API documentation.

$sel:clientCertificateId:Stage', stage_clientCertificateId - The identifier of a client certificate for an API stage.

$sel:tracingEnabled:Stage', stage_tracingEnabled - Specifies whether active tracing with X-ray is enabled for the Stage.

$sel:createdDate:Stage', stage_createdDate - The timestamp when the stage was created.

$sel:cacheClusterStatus:Stage', stage_cacheClusterStatus - The status of the cache cluster for the stage, if enabled.

$sel:methodSettings:Stage', stage_methodSettings - A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\*/\* for overriding all methods in the stage.

$sel:lastUpdatedDate:Stage', stage_lastUpdatedDate - The timestamp when the stage last updated.

$sel:cacheClusterSize:Stage', stage_cacheClusterSize - The size of the cache cluster for the stage, if enabled.

$sel:webAclArn:Stage', stage_webAclArn - The ARN of the WebAcl associated with the Stage.

$sel:canarySettings:Stage', stage_canarySettings - Settings for the canary deployment in this stage.

$sel:cacheClusterEnabled:Stage', stage_cacheClusterEnabled - Specifies whether a cache cluster is enabled for the stage.

$sel:stageName:Stage', stage_stageName - The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

$sel:description:Stage', stage_description - The stage's description.

$sel:tags:Stage', stage_tags - The collection of tags. Each tag element is associated with a given resource.

GetRestApis (Paginated)

data GetRestApis Source #

The GET request to list existing RestApis defined for your collection.

See: newGetRestApis smart constructor.

Constructors

GetRestApis' (Maybe Int) (Maybe Text) 

Instances

Instances details
Eq GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Read GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Show GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Generic GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Associated Types

type Rep GetRestApis :: Type -> Type #

NFData GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Methods

rnf :: GetRestApis -> () #

Hashable GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

AWSPager GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

AWSRequest GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Associated Types

type AWSResponse GetRestApis #

ToHeaders GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Methods

toHeaders :: GetRestApis -> [Header] #

ToPath GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

ToQuery GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

type Rep GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

type Rep GetRestApis = D1 ('MetaData "GetRestApis" "Amazonka.APIGateway.GetRestApis" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetRestApis'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetRestApis Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

newGetRestApis :: GetRestApis Source #

Create a value of GetRestApis 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:limit:GetRestApis', getRestApis_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetRestApis', getRestApis_position - The current pagination position in the paged result set.

data GetRestApisResponse Source #

Contains references to your APIs and links that guide you in how to interact with your collection. A collection offers a paginated view of your APIs.

Create an API

See: newGetRestApisResponse smart constructor.

Instances

Instances details
Eq GetRestApisResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Read GetRestApisResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Show GetRestApisResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Generic GetRestApisResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Associated Types

type Rep GetRestApisResponse :: Type -> Type #

NFData GetRestApisResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

Methods

rnf :: GetRestApisResponse -> () #

type Rep GetRestApisResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApis

type Rep GetRestApisResponse = D1 ('MetaData "GetRestApisResponse" "Amazonka.APIGateway.GetRestApis" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetRestApisResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RestApi])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetRestApisResponse Source #

Create a value of GetRestApisResponse 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:items:GetRestApisResponse', getRestApisResponse_items - The current page of elements from this collection.

$sel:position:GetRestApis', getRestApisResponse_position - Undocumented member.

$sel:httpStatus:GetRestApisResponse', getRestApisResponse_httpStatus - The response's http status code.

GetDocumentationVersions (Paginated)

data GetDocumentationVersions Source #

Gets the documentation versions of an API.

See: newGetDocumentationVersions smart constructor.

Instances

Instances details
Eq GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Read GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Show GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Generic GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Associated Types

type Rep GetDocumentationVersions :: Type -> Type #

NFData GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Hashable GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

AWSPager GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

AWSRequest GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

ToHeaders GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

ToPath GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

ToQuery GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

type Rep GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

type Rep GetDocumentationVersions = D1 ('MetaData "GetDocumentationVersions" "Amazonka.APIGateway.GetDocumentationVersions" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDocumentationVersions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetDocumentationVersions Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

newGetDocumentationVersions Source #

Create a value of GetDocumentationVersions 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:limit:GetDocumentationVersions', getDocumentationVersions_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetDocumentationVersions', getDocumentationVersions_position - The current pagination position in the paged result set.

$sel:restApiId:GetDocumentationVersions', getDocumentationVersions_restApiId - [Required] The string identifier of the associated RestApi.

data GetDocumentationVersionsResponse Source #

The collection of documentation snapshots of an API.

Use the DocumentationVersions to manage documentation snapshots associated with various API stages.

Documenting an API, DocumentationPart, DocumentationVersion

See: newGetDocumentationVersionsResponse smart constructor.

Instances

Instances details
Eq GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Read GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Show GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Generic GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

Associated Types

type Rep GetDocumentationVersionsResponse :: Type -> Type #

NFData GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

type Rep GetDocumentationVersionsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersions

type Rep GetDocumentationVersionsResponse = D1 ('MetaData "GetDocumentationVersionsResponse" "Amazonka.APIGateway.GetDocumentationVersions" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDocumentationVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DocumentationVersion])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDocumentationVersionsResponse Source #

Create a value of GetDocumentationVersionsResponse 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:items:GetDocumentationVersionsResponse', getDocumentationVersionsResponse_items - The current page of elements from this collection.

$sel:position:GetDocumentationVersions', getDocumentationVersionsResponse_position - Undocumented member.

$sel:httpStatus:GetDocumentationVersionsResponse', getDocumentationVersionsResponse_httpStatus - The response's http status code.

CreateDeployment

data CreateDeployment Source #

Requests API Gateway to create a Deployment resource.

See: newCreateDeployment smart constructor.

Instances

Instances details
Eq CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

Read CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

Show CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

Generic CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

Associated Types

type Rep CreateDeployment :: Type -> Type #

NFData CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

Methods

rnf :: CreateDeployment -> () #

Hashable CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

ToJSON CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

AWSRequest CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

Associated Types

type AWSResponse CreateDeployment #

ToHeaders CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

ToPath CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

ToQuery CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

type Rep CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

type AWSResponse CreateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDeployment

newCreateDeployment Source #

Create a value of CreateDeployment 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:stageDescription:CreateDeployment', createDeployment_stageDescription - The description of the Stage resource for the Deployment resource to create.

$sel:variables:CreateDeployment', createDeployment_variables - A map that defines the stage variables for the Stage resource that is associated with the new deployment. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

$sel:tracingEnabled:CreateDeployment', createDeployment_tracingEnabled - Specifies whether active tracing with X-ray is enabled for the Stage.

$sel:cacheClusterSize:CreateDeployment', createDeployment_cacheClusterSize - Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.

$sel:canarySettings:CreateDeployment', createDeployment_canarySettings - The input configuration for the canary deployment when the deployment is a canary release deployment.

$sel:cacheClusterEnabled:CreateDeployment', createDeployment_cacheClusterEnabled - Enables a cache cluster for the Stage resource specified in the input.

$sel:stageName:CreateDeployment', createDeployment_stageName - The name of the Stage resource for the Deployment resource to create.

$sel:description:CreateDeployment', createDeployment_description - The description for the Deployment resource to create.

$sel:restApiId:CreateDeployment', createDeployment_restApiId - [Required] The string identifier of the associated RestApi.

data Deployment Source #

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

To create a deployment, call POST on the Deployments resource of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or DELETE on the specified deployment resource (/restapis/{restapi_id}/deployments/{deployment_id}).

RestApi, Deployments, Stage, AWS CLI, AWS SDKs

See: newDeployment smart constructor.

Instances

Instances details
Eq Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Read Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Show Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Generic Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Associated Types

type Rep Deployment :: Type -> Type #

NFData Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Methods

rnf :: Deployment -> () #

Hashable Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

FromJSON Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment = D1 ('MetaData "Deployment" "Amazonka.APIGateway.Types.Deployment" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Deployment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (HashMap Text MethodSnapshot)))) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDeployment :: Deployment Source #

Create a value of Deployment 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:apiSummary:Deployment', deployment_apiSummary - A summary of the RestApi at the date and time that the deployment resource was created.

$sel:createdDate:Deployment', deployment_createdDate - The date and time that the deployment resource was created.

$sel:id:Deployment', deployment_id - The identifier for the deployment resource.

$sel:description:Deployment', deployment_description - The description for the deployment resource.

GetVpcLinks (Paginated)

data GetVpcLinks Source #

Gets the VpcLinks collection under the caller's account in a selected region.

See: newGetVpcLinks smart constructor.

Constructors

GetVpcLinks' (Maybe Int) (Maybe Text) 

Instances

newGetVpcLinks :: GetVpcLinks Source #

Create a value of GetVpcLinks 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:limit:GetVpcLinks', getVpcLinks_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetVpcLinks', getVpcLinks_position - The current pagination position in the paged result set.

data GetVpcLinksResponse Source #

The collection of VPC links under the caller's account in a region.

Getting Started with Private Integrations, Set up Private Integrations

See: newGetVpcLinksResponse smart constructor.

Instances

Instances details
Eq GetVpcLinksResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetVpcLinks

Read GetVpcLinksResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetVpcLinks

Show GetVpcLinksResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetVpcLinks

Generic GetVpcLinksResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetVpcLinks

Associated Types

type Rep GetVpcLinksResponse :: Type -> Type #

NFData GetVpcLinksResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetVpcLinks

Methods

rnf :: GetVpcLinksResponse -> () #

type Rep GetVpcLinksResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetVpcLinks

type Rep GetVpcLinksResponse = D1 ('MetaData "GetVpcLinksResponse" "Amazonka.APIGateway.GetVpcLinks" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetVpcLinksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VpcLink])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetVpcLinksResponse Source #

Create a value of GetVpcLinksResponse 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:items:GetVpcLinksResponse', getVpcLinksResponse_items - The current page of elements from this collection.

$sel:position:GetVpcLinks', getVpcLinksResponse_position - Undocumented member.

$sel:httpStatus:GetVpcLinksResponse', getVpcLinksResponse_httpStatus - The response's http status code.

CreateBasePathMapping

data CreateBasePathMapping Source #

Requests API Gateway to create a new BasePathMapping resource.

See: newCreateBasePathMapping smart constructor.

Instances

Instances details
Eq CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

Read CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

Show CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

Generic CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

Associated Types

type Rep CreateBasePathMapping :: Type -> Type #

NFData CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

Methods

rnf :: CreateBasePathMapping -> () #

Hashable CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

ToJSON CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

AWSRequest CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

Associated Types

type AWSResponse CreateBasePathMapping #

ToHeaders CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

ToPath CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

ToQuery CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

type Rep CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

type Rep CreateBasePathMapping = D1 ('MetaData "CreateBasePathMapping" "Amazonka.APIGateway.CreateBasePathMapping" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateBasePathMapping'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.CreateBasePathMapping

newCreateBasePathMapping Source #

Create a value of CreateBasePathMapping 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:stage:CreateBasePathMapping', createBasePathMapping_stage - The name of the API's stage that you want to use for this mapping. Specify '(none)' if you want callers to explicitly specify the stage name after any base path name.

$sel:basePath:CreateBasePathMapping', createBasePathMapping_basePath - The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify a base path name after the domain name.

$sel:domainName:CreateBasePathMapping', createBasePathMapping_domainName - [Required] The domain name of the BasePathMapping resource to create.

$sel:restApiId:CreateBasePathMapping', createBasePathMapping_restApiId - [Required] The string identifier of the associated RestApi.

data BasePathMapping Source #

Represents the base path that callers of the API must provide as part of the URL after the domain name.

A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account.

Use Custom Domain Names

See: newBasePathMapping smart constructor.

Instances

Instances details
Eq BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Read BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Show BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Generic BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Associated Types

type Rep BasePathMapping :: Type -> Type #

NFData BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Methods

rnf :: BasePathMapping -> () #

Hashable BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

FromJSON BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping = D1 ('MetaData "BasePathMapping" "Amazonka.APIGateway.Types.BasePathMapping" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "BasePathMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBasePathMapping :: BasePathMapping Source #

Create a value of BasePathMapping 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:stage:BasePathMapping', basePathMapping_stage - The name of the associated stage.

$sel:basePath:BasePathMapping', basePathMapping_basePath - The base path name that callers of the API must provide as part of the URL after the domain name.

$sel:restApiId:BasePathMapping', basePathMapping_restApiId - The string identifier of the associated RestApi.

GetIntegration

data GetIntegration Source #

Represents a request to get the integration configuration.

See: newGetIntegration smart constructor.

Instances

Instances details
Eq GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

Read GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

Show GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

Generic GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

Associated Types

type Rep GetIntegration :: Type -> Type #

NFData GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

Methods

rnf :: GetIntegration -> () #

Hashable GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

AWSRequest GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

Associated Types

type AWSResponse GetIntegration #

ToHeaders GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

ToPath GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

ToQuery GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

type Rep GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

type Rep GetIntegration = D1 ('MetaData "GetIntegration" "Amazonka.APIGateway.GetIntegration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetIntegration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegration

newGetIntegration Source #

Create a value of GetIntegration 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:restApiId:GetIntegration', getIntegration_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:GetIntegration', getIntegration_resourceId - [Required] Specifies a get integration request's resource identifier

$sel:httpMethod:GetIntegration', getIntegration_httpMethod - [Required] Specifies a get integration request's HTTP method.

data Integration Source #

Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.

In the API Gateway console, the built-in Lambda integration is an AWS integration.

Creating an API

See: newIntegration smart constructor.

Instances

Instances details
Eq Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Read Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Show Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Generic Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Associated Types

type Rep Integration :: Type -> Type #

NFData Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Methods

rnf :: Integration -> () #

Hashable Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

FromJSON Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

type Rep Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

type Rep Integration = D1 ('MetaData "Integration" "Amazonka.APIGateway.Types.Integration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Integration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "requestTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "credentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "passthroughBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "integrationResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text IntegrationResponse)))) :*: (S1 ('MetaSel ('Just "tlsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TlsConfig)) :*: S1 ('MetaSel ('Just "cacheNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "timeoutInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntegrationType))) :*: (S1 ('MetaSel ('Just "connectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionType)) :*: S1 ('MetaSel ('Just "cacheKeyParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))))

newIntegration :: Integration Source #

Create a value of Integration 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:httpMethod:Integration', integration_httpMethod - Specifies the integration's HTTP method type.

$sel:requestTemplates:Integration', integration_requestTemplates - Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

$sel:credentials:Integration', integration_credentials - Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\*:user/\*. To use resource-based permissions on supported AWS services, specify null.

$sel:connectionId:Integration', integration_connectionId - The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

$sel:requestParameters:Integration', integration_requestParameters - A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

$sel:contentHandling:Integration', integration_contentHandling - Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

  • CONVERT_TO_BINARY: Converts a request payload from a Base64-encoded string to the corresponding binary blob.
  • CONVERT_TO_TEXT: Converts a request payload from a binary blob to a Base64-encoded string.

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

$sel:passthroughBehavior:Integration', integration_passthroughBehavior - Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates. The valid value is one of the following:

  • WHEN_NO_MATCH: passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request.
  • WHEN_NO_TEMPLATES: passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response.
  • NEVER: rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.

$sel:uri:Integration', integration_uri - Specifies Uniform Resource Identifier (URI) of the integration endpoint.

  • For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification, for either standard integration, where connectionType is not VPC_LINK, or private integration, where connectionType is VPC_LINK. For a private HTTP integration, the URI is not used for routing.
  • For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated AWS service (e.g., s3); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}

$sel:integrationResponses:Integration', integration_integrationResponses - Specifies the integration's responses.

Example: Get integration responses of a method

Request
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 200 OK status and a payload as follows:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" }

Creating an API

$sel:tlsConfig:Integration', integration_tlsConfig - Specifies the TLS configuration for an integration.

$sel:cacheNamespace:Integration', integration_cacheNamespace - Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the cacheNamespace. You can specify the same cacheNamespace across resources to return the same cached data for requests to different resources.

$sel:timeoutInMillis:Integration', integration_timeoutInMillis - Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

$sel:type':Integration', integration_type - Specifies an API method integration type. The valid value is one of the following:

  • AWS: for integrating the API method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration.
  • AWS_PROXY: for integrating the API method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as the Lambda proxy integration.
  • HTTP: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC. This integration is also referred to as the HTTP custom integration.
  • HTTP_PROXY: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC, with the client request passed through as-is. This is also referred to as the HTTP proxy integration.
  • MOCK: for integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend.

For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

$sel:connectionType:Integration', integration_connectionType - The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET.

$sel:cacheKeyParameters:Integration', integration_cacheKeyParameters - A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

GetDocumentationParts (Paginated)

data GetDocumentationParts Source #

Gets the documentation parts of an API. The result may be filtered by the type, name, or path of API entities (targets).

See: newGetDocumentationParts smart constructor.

Instances

Instances details
Eq GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

Read GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

Show GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

Generic GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

Associated Types

type Rep GetDocumentationParts :: Type -> Type #

NFData GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

Methods

rnf :: GetDocumentationParts -> () #

Hashable GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

AWSPager GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

AWSRequest GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

Associated Types

type AWSResponse GetDocumentationParts #

ToHeaders GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

ToPath GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

ToQuery GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

type Rep GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

type AWSResponse GetDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

newGetDocumentationParts Source #

Create a value of GetDocumentationParts 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:path:GetDocumentationParts', getDocumentationParts_path - The path of API entities of the to-be-retrieved documentation parts.

$sel:locationStatus:GetDocumentationParts', getDocumentationParts_locationStatus - The status of the API documentation parts to retrieve. Valid values are DOCUMENTED for retrieving DocumentationPart resources with content and UNDOCUMENTED for DocumentationPart resources without content.

$sel:nameQuery:GetDocumentationParts', getDocumentationParts_nameQuery - The name of API entities of the to-be-retrieved documentation parts.

$sel:limit:GetDocumentationParts', getDocumentationParts_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:type':GetDocumentationParts', getDocumentationParts_type - The type of API entities of the to-be-retrieved documentation parts.

$sel:position:GetDocumentationParts', getDocumentationParts_position - The current pagination position in the paged result set.

$sel:restApiId:GetDocumentationParts', getDocumentationParts_restApiId - [Required] The string identifier of the associated RestApi.

data GetDocumentationPartsResponse Source #

The collection of documentation parts of an API.

Documenting an API, DocumentationPart

See: newGetDocumentationPartsResponse smart constructor.

Instances

Instances details
Eq GetDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

Read GetDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

Show GetDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

Generic GetDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

Associated Types

type Rep GetDocumentationPartsResponse :: Type -> Type #

NFData GetDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

type Rep GetDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationParts

type Rep GetDocumentationPartsResponse = D1 ('MetaData "GetDocumentationPartsResponse" "Amazonka.APIGateway.GetDocumentationParts" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDocumentationPartsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DocumentationPart])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDocumentationPartsResponse Source #

Create a value of GetDocumentationPartsResponse 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:items:GetDocumentationPartsResponse', getDocumentationPartsResponse_items - The current page of elements from this collection.

$sel:position:GetDocumentationParts', getDocumentationPartsResponse_position - Undocumented member.

$sel:httpStatus:GetDocumentationPartsResponse', getDocumentationPartsResponse_httpStatus - The response's http status code.

UpdateAccount

data UpdateAccount Source #

Requests API Gateway to change information about the current Account resource.

See: newUpdateAccount smart constructor.

Instances

Instances details
Eq UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Read UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Show UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Generic UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Associated Types

type Rep UpdateAccount :: Type -> Type #

NFData UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Methods

rnf :: UpdateAccount -> () #

Hashable UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

ToJSON UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

AWSRequest UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

Associated Types

type AWSResponse UpdateAccount #

ToHeaders UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

ToPath UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

ToQuery UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

type Rep UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

type Rep UpdateAccount = D1 ('MetaData "UpdateAccount" "Amazonka.APIGateway.UpdateAccount" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation]))))
type AWSResponse UpdateAccount Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAccount

newUpdateAccount :: UpdateAccount Source #

Create a value of UpdateAccount 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:patchOperations:UpdateAccount', updateAccount_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

data Account Source #

Represents an AWS account that is associated with API Gateway.

To view the account info, call GET on this resource.

Error Codes

The following exception may be thrown when the request fails.

  • UnauthorizedException
  • NotFoundException
  • TooManyRequestsException

For detailed error code information, including the corresponding HTTP Status Codes, see API Gateway Error Codes

Example: Get the information about an account.

Request
GET /account HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html", "name": "account", "templated": true }, "self": { "href": "/account" }, "account:update": { "href": "/account" } }, "cloudwatchRoleArn": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "throttleSettings": { "rateLimit": 500, "burstLimit": 1000 } }

In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource.

API Gateway Limits Developer Guide, AWS CLI

See: newAccount smart constructor.

Instances

Instances details
Eq Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Read Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Show Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Generic Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

NFData Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

rnf :: Account -> () #

Hashable Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

FromJSON Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

type Rep Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

type Rep Account = D1 ('MetaData "Account" "Amazonka.APIGateway.Types.Account" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Account'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiKeyVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudwatchRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "features") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "throttleSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThrottleSettings)))))

newAccount :: Account Source #

Create a value of Account 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:apiKeyVersion:Account', account_apiKeyVersion - The version of the API keys used for the account.

$sel:cloudwatchRoleArn:Account', account_cloudwatchRoleArn - The ARN of an Amazon CloudWatch role for the current Account.

$sel:features:Account', account_features - A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

$sel:throttleSettings:Account', account_throttleSettings - Specifies the API request limits configured for the current Account.

GetUsagePlan

data GetUsagePlan Source #

The GET request to get a usage plan of a given plan identifier.

See: newGetUsagePlan smart constructor.

Constructors

GetUsagePlan' Text 

Instances

Instances details
Eq GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

Read GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

Show GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

Generic GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

Associated Types

type Rep GetUsagePlan :: Type -> Type #

NFData GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

Methods

rnf :: GetUsagePlan -> () #

Hashable GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

AWSRequest GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

Associated Types

type AWSResponse GetUsagePlan #

ToHeaders GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

ToPath GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

ToQuery GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

type Rep GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

type Rep GetUsagePlan = D1 ('MetaData "GetUsagePlan" "Amazonka.APIGateway.GetUsagePlan" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetUsagePlan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlan

newGetUsagePlan Source #

Create a value of GetUsagePlan 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:usagePlanId:GetUsagePlan', getUsagePlan_usagePlanId - [Required] The identifier of the UsagePlan resource to be retrieved.

data UsagePlan Source #

Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.

In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan.

Create and Use Usage Plans

See: newUsagePlan smart constructor.

Instances

Instances details
Eq UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Read UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Show UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Generic UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Associated Types

type Rep UsagePlan :: Type -> Type #

NFData UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Methods

rnf :: UsagePlan -> () #

Hashable UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

FromJSON UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

type Rep UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

newUsagePlan :: UsagePlan Source #

Create a value of UsagePlan 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:apiStages:UsagePlan', usagePlan_apiStages - The associated API stages of a usage plan.

$sel:name:UsagePlan', usagePlan_name - The name of a usage plan.

$sel:id:UsagePlan', usagePlan_id - The identifier of a UsagePlan resource.

$sel:throttle:UsagePlan', usagePlan_throttle - The request throttle limits of a usage plan.

$sel:quota:UsagePlan', usagePlan_quota - The maximum number of permitted requests per a given unit time interval.

$sel:description:UsagePlan', usagePlan_description - The description of a usage plan.

$sel:productCode:UsagePlan', usagePlan_productCode - The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.

$sel:tags:UsagePlan', usagePlan_tags - The collection of tags. Each tag element is associated with a given resource.

DeleteDeployment

data DeleteDeployment Source #

Requests API Gateway to delete a Deployment resource.

See: newDeleteDeployment smart constructor.

Instances

Instances details
Eq DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Read DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Show DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Generic DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Associated Types

type Rep DeleteDeployment :: Type -> Type #

NFData DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Methods

rnf :: DeleteDeployment -> () #

Hashable DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

AWSRequest DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Associated Types

type AWSResponse DeleteDeployment #

ToHeaders DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

ToPath DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

ToQuery DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

type Rep DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

type Rep DeleteDeployment = D1 ('MetaData "DeleteDeployment" "Amazonka.APIGateway.DeleteDeployment" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

newDeleteDeployment Source #

Create a value of DeleteDeployment 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:restApiId:DeleteDeployment', deleteDeployment_restApiId - [Required] The string identifier of the associated RestApi.

$sel:deploymentId:DeleteDeployment', deleteDeployment_deploymentId - [Required] The identifier of the Deployment resource to delete.

data DeleteDeploymentResponse Source #

See: newDeleteDeploymentResponse smart constructor.

Instances

Instances details
Eq DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Read DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Show DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Generic DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Associated Types

type Rep DeleteDeploymentResponse :: Type -> Type #

NFData DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

type Rep DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

type Rep DeleteDeploymentResponse = D1 ('MetaData "DeleteDeploymentResponse" "Amazonka.APIGateway.DeleteDeployment" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteDeploymentResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteDeploymentResponse :: DeleteDeploymentResponse Source #

Create a value of DeleteDeploymentResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateDeployment

data UpdateDeployment Source #

Requests API Gateway to change information about a Deployment resource.

See: newUpdateDeployment smart constructor.

Instances

Instances details
Eq UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Read UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Show UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Generic UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Associated Types

type Rep UpdateDeployment :: Type -> Type #

NFData UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Methods

rnf :: UpdateDeployment -> () #

Hashable UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

ToJSON UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

AWSRequest UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Associated Types

type AWSResponse UpdateDeployment #

ToHeaders UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

ToPath UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

ToQuery UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

type Rep UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

type Rep UpdateDeployment = D1 ('MetaData "UpdateDeployment" "Amazonka.APIGateway.UpdateDeployment" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

newUpdateDeployment Source #

Create a value of UpdateDeployment 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:patchOperations:UpdateDeployment', updateDeployment_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateDeployment', updateDeployment_restApiId - [Required] The string identifier of the associated RestApi.

$sel:deploymentId:UpdateDeployment', updateDeployment_deploymentId - The replacement identifier for the Deployment resource to change information about.

data Deployment Source #

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

To create a deployment, call POST on the Deployments resource of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or DELETE on the specified deployment resource (/restapis/{restapi_id}/deployments/{deployment_id}).

RestApi, Deployments, Stage, AWS CLI, AWS SDKs

See: newDeployment smart constructor.

Instances

Instances details
Eq Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Read Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Show Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Generic Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Associated Types

type Rep Deployment :: Type -> Type #

NFData Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Methods

rnf :: Deployment -> () #

Hashable Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

FromJSON Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment = D1 ('MetaData "Deployment" "Amazonka.APIGateway.Types.Deployment" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Deployment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (HashMap Text MethodSnapshot)))) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDeployment :: Deployment Source #

Create a value of Deployment 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:apiSummary:Deployment', deployment_apiSummary - A summary of the RestApi at the date and time that the deployment resource was created.

$sel:createdDate:Deployment', deployment_createdDate - The date and time that the deployment resource was created.

$sel:id:Deployment', deployment_id - The identifier for the deployment resource.

$sel:description:Deployment', deployment_description - The description for the deployment resource.

GetDocumentationPart

data GetDocumentationPart Source #

Gets a specified documentation part of a given API.

See: newGetDocumentationPart smart constructor.

Instances

Instances details
Eq GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

Read GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

Show GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

Generic GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

Associated Types

type Rep GetDocumentationPart :: Type -> Type #

NFData GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

Methods

rnf :: GetDocumentationPart -> () #

Hashable GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

AWSRequest GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

Associated Types

type AWSResponse GetDocumentationPart #

ToHeaders GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

ToPath GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

ToQuery GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

type Rep GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

type Rep GetDocumentationPart = D1 ('MetaData "GetDocumentationPart" "Amazonka.APIGateway.GetDocumentationPart" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDocumentationPart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "documentationPartId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationPart

newGetDocumentationPart Source #

Create a value of GetDocumentationPart 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:restApiId:GetDocumentationPart', getDocumentationPart_restApiId - [Required] The string identifier of the associated RestApi.

$sel:documentationPartId:GetDocumentationPart', getDocumentationPart_documentationPartId - [Required] The string identifier of the associated RestApi.

data DocumentationPart Source #

A documentation part for a targeted API entity.

A documentation part consists of a content map (properties) and a target (location). The target specifies an API entity to which the documentation content applies. The supported API entity types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Valid location fields depend on the API entity type. All valid fields are not required.

The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the OpenAPI-compliant documentation fields will be injected into the associated API entity definition in the exported OpenAPI definition file.

Documenting an API, DocumentationParts

See: newDocumentationPart smart constructor.

Instances

Instances details
Eq DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Read DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Show DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Generic DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Associated Types

type Rep DocumentationPart :: Type -> Type #

NFData DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Methods

rnf :: DocumentationPart -> () #

Hashable DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

FromJSON DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

type Rep DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

type Rep DocumentationPart = D1 ('MetaData "DocumentationPart" "Amazonka.APIGateway.Types.DocumentationPart" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DocumentationPart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentationPartLocation)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationPart :: DocumentationPart Source #

Create a value of DocumentationPart 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:location:DocumentationPart', documentationPart_location - The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.

$sel:id:DocumentationPart', documentationPart_id - The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

$sel:properties:DocumentationPart', documentationPart_properties - A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.

DeleteResource

data DeleteResource Source #

Request to delete a Resource.

See: newDeleteResource smart constructor.

Constructors

DeleteResource' Text Text 

Instances

Instances details
Eq DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Read DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Show DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Generic DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Associated Types

type Rep DeleteResource :: Type -> Type #

NFData DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Methods

rnf :: DeleteResource -> () #

Hashable DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

AWSRequest DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Associated Types

type AWSResponse DeleteResource #

ToHeaders DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

ToPath DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

ToQuery DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

type Rep DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

type Rep DeleteResource = D1 ('MetaData "DeleteResource" "Amazonka.APIGateway.DeleteResource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteResource Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

newDeleteResource Source #

Create a value of DeleteResource 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:restApiId:DeleteResource', deleteResource_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:DeleteResource', deleteResource_resourceId - [Required] The identifier of the Resource resource.

data DeleteResourceResponse Source #

See: newDeleteResourceResponse smart constructor.

Instances

Instances details
Eq DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Read DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Show DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Generic DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Associated Types

type Rep DeleteResourceResponse :: Type -> Type #

NFData DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

Methods

rnf :: DeleteResourceResponse -> () #

type Rep DeleteResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteResource

type Rep DeleteResourceResponse = D1 ('MetaData "DeleteResourceResponse" "Amazonka.APIGateway.DeleteResource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteResourceResponse :: DeleteResourceResponse Source #

Create a value of DeleteResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateResource

data UpdateResource Source #

Request to change information about a Resource resource.

See: newUpdateResource smart constructor.

Instances

Instances details
Eq UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

Read UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

Show UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

Generic UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

Associated Types

type Rep UpdateResource :: Type -> Type #

NFData UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

Methods

rnf :: UpdateResource -> () #

Hashable UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

ToJSON UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

AWSRequest UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

Associated Types

type AWSResponse UpdateResource #

ToHeaders UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

ToPath UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

ToQuery UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

type Rep UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

type Rep UpdateResource = D1 ('MetaData "UpdateResource" "Amazonka.APIGateway.UpdateResource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateResource Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateResource

newUpdateResource Source #

Create a value of UpdateResource 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:patchOperations:UpdateResource', updateResource_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateResource', updateResource_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:UpdateResource', updateResource_resourceId - [Required] The identifier of the Resource resource.

data Resource Source #

Represents an API resource.

Create an API

See: newResource smart constructor.

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

NFData Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

type Rep Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.APIGateway.Types.Resource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pathPart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Method))) :*: S1 ('MetaSel ('Just "parentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newResource :: Resource Source #

Create a value of Resource 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:pathPart:Resource', resource_pathPart - The last path segment for this resource.

$sel:path:Resource', resource_path - The full path for this resource.

$sel:id:Resource', resource_id - The resource's identifier.

$sel:resourceMethods:Resource', resource_resourceMethods - Gets an API resource's method of a given HTTP verb.

The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the 200 OK response of the GET /restapis/{restapi_id}/resources/{resource_id} or GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods request.

Example: Get the GET method of an API resource

Request
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20170223T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response
{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }

If the OPTIONS is enabled on the resource, you can follow the example here to get that method. Just replace the GET of the last path segment in the request URL with OPTIONS.

$sel:parentId:Resource', resource_parentId - The parent resource's identifier.

CreateRequestValidator

data CreateRequestValidator Source #

Creates a RequestValidator of a given RestApi.

See: newCreateRequestValidator smart constructor.

Instances

Instances details
Eq CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

Read CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

Show CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

Generic CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

Associated Types

type Rep CreateRequestValidator :: Type -> Type #

NFData CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

Methods

rnf :: CreateRequestValidator -> () #

Hashable CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

ToJSON CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

AWSRequest CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

Associated Types

type AWSResponse CreateRequestValidator #

ToHeaders CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

ToPath CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

ToQuery CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

type Rep CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

type Rep CreateRequestValidator = D1 ('MetaData "CreateRequestValidator" "Amazonka.APIGateway.CreateRequestValidator" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateRequestValidator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "validateRequestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "validateRequestBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRequestValidator

newCreateRequestValidator Source #

Create a value of CreateRequestValidator 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:validateRequestParameters:CreateRequestValidator', createRequestValidator_validateRequestParameters - A Boolean flag to indicate whether to validate request parameters, true, or not false.

$sel:name:CreateRequestValidator', createRequestValidator_name - The name of the to-be-created RequestValidator.

$sel:validateRequestBody:CreateRequestValidator', createRequestValidator_validateRequestBody - A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).

$sel:restApiId:CreateRequestValidator', createRequestValidator_restApiId - [Required] The string identifier of the associated RestApi.

data RequestValidator Source #

A set of validation rules for incoming Method requests.

In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

Enable Basic Request Validation in API Gateway

See: newRequestValidator smart constructor.

Instances

Instances details
Eq RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Read RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Show RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Generic RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Associated Types

type Rep RequestValidator :: Type -> Type #

NFData RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Methods

rnf :: RequestValidator -> () #

Hashable RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

FromJSON RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

type Rep RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

type Rep RequestValidator = D1 ('MetaData "RequestValidator" "Amazonka.APIGateway.Types.RequestValidator" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "RequestValidator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "validateRequestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "validateRequestBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newRequestValidator :: RequestValidator Source #

Create a value of RequestValidator 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:validateRequestParameters:RequestValidator', requestValidator_validateRequestParameters - A Boolean flag to indicate whether to validate request parameters (true) or not (false).

$sel:name:RequestValidator', requestValidator_name - The name of this RequestValidator

$sel:validateRequestBody:RequestValidator', requestValidator_validateRequestBody - A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

$sel:id:RequestValidator', requestValidator_id - The identifier of this RequestValidator.

ImportDocumentationParts

data ImportDocumentationParts Source #

Import documentation parts from an external (e.g., OpenAPI) definition file.

See: newImportDocumentationParts smart constructor.

Instances

Instances details
Eq ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

Show ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

Generic ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

Associated Types

type Rep ImportDocumentationParts :: Type -> Type #

NFData ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

Hashable ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

AWSRequest ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

ToBody ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

ToHeaders ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

ToPath ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

ToQuery ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

type Rep ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

type Rep ImportDocumentationParts = D1 ('MetaData "ImportDocumentationParts" "Amazonka.APIGateway.ImportDocumentationParts" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ImportDocumentationParts'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PutMode)) :*: S1 ('MetaSel ('Just "failOnWarnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString))))
type AWSResponse ImportDocumentationParts Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

newImportDocumentationParts Source #

Create a value of ImportDocumentationParts 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:mode:ImportDocumentationParts', importDocumentationParts_mode - A query parameter to indicate whether to overwrite (OVERWRITE) any existing DocumentationParts definition or to merge (MERGE) the new definition into the existing one. The default value is MERGE.

$sel:failOnWarnings:ImportDocumentationParts', importDocumentationParts_failOnWarnings - A query parameter to specify whether to rollback the documentation importation (true) or not (false) when a warning is encountered. The default value is false.

$sel:restApiId:ImportDocumentationParts', importDocumentationParts_restApiId - [Required] The string identifier of the associated RestApi.

$sel:body:ImportDocumentationParts', importDocumentationParts_body - [Required] Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.

data ImportDocumentationPartsResponse Source #

A collection of the imported DocumentationPart identifiers.

This is used to return the result when documentation parts in an external (e.g., OpenAPI) file are imported into API Gateway

Documenting an API, documentationpart:import, DocumentationPart

See: newImportDocumentationPartsResponse smart constructor.

Instances

Instances details
Eq ImportDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

Read ImportDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

Show ImportDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

Generic ImportDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

Associated Types

type Rep ImportDocumentationPartsResponse :: Type -> Type #

NFData ImportDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

type Rep ImportDocumentationPartsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportDocumentationParts

type Rep ImportDocumentationPartsResponse = D1 ('MetaData "ImportDocumentationPartsResponse" "Amazonka.APIGateway.ImportDocumentationParts" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ImportDocumentationPartsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ids") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newImportDocumentationPartsResponse Source #

Create a value of ImportDocumentationPartsResponse 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:ids:ImportDocumentationPartsResponse', importDocumentationPartsResponse_ids - A list of the returned documentation part identifiers.

$sel:warnings:ImportDocumentationPartsResponse', importDocumentationPartsResponse_warnings - A list of warning messages reported during import of documentation parts.

$sel:httpStatus:ImportDocumentationPartsResponse', importDocumentationPartsResponse_httpStatus - The response's http status code.

GetUsage (Paginated)

data GetUsage Source #

The GET request to get the usage data of a usage plan in a specified time interval.

See: newGetUsage smart constructor.

Instances

Instances details
Eq GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

Read GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

Show GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

Generic GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

Associated Types

type Rep GetUsage :: Type -> Type #

Methods

from :: GetUsage -> Rep GetUsage x #

to :: Rep GetUsage x -> GetUsage #

NFData GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

Methods

rnf :: GetUsage -> () #

Hashable GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

Methods

hashWithSalt :: Int -> GetUsage -> Int #

hash :: GetUsage -> Int #

AWSPager GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

AWSRequest GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

Associated Types

type AWSResponse GetUsage #

ToHeaders GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

Methods

toHeaders :: GetUsage -> [Header] #

ToPath GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

ToQuery GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

type Rep GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

type Rep GetUsage = D1 ('MetaData "GetUsage" "Amazonka.APIGateway.GetUsage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetUsage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "endDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse GetUsage Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsage

newGetUsage Source #

Create a value of GetUsage 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:keyId:GetUsage', getUsage_keyId - The Id of the API key associated with the resultant usage data.

$sel:limit:GetUsage', getUsage_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetUsage', getUsage_position - The current pagination position in the paged result set.

$sel:usagePlanId:GetUsage', getUsage_usagePlanId - [Required] The Id of the usage plan associated with the usage data.

$sel:startDate:GetUsage', getUsage_startDate - [Required] The starting date (e.g., 2016-01-01) of the usage data.

$sel:endDate:GetUsage', getUsage_endDate - [Required] The ending date (e.g., 2016-12-31) of the usage data.

data Usage Source #

Represents the usage data of a usage plan.

Create and Use Usage Plans, Manage Usage in a Usage Plan

See: newUsage smart constructor.

Instances

Instances details
Eq Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

(==) :: Usage -> Usage -> Bool #

(/=) :: Usage -> Usage -> Bool #

Read Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Show Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

showsPrec :: Int -> Usage -> ShowS #

show :: Usage -> String #

showList :: [Usage] -> ShowS #

Generic Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Associated Types

type Rep Usage :: Type -> Type #

Methods

from :: Usage -> Rep Usage x #

to :: Rep Usage x -> Usage #

NFData Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

rnf :: Usage -> () #

Hashable Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

hashWithSalt :: Int -> Usage -> Int #

hash :: Usage -> Int #

FromJSON Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

type Rep Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

type Rep Usage = D1 ('MetaData "Usage" "Amazonka.APIGateway.Types.Usage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Usage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [[Integer]]))) :*: (S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newUsage :: Usage Source #

Create a value of Usage 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:usagePlanId:Usage', usage_usagePlanId - The plan Id associated with this usage data.

$sel:endDate:Usage', usage_endDate - The ending date of the usage data.

$sel:items:Usage', usage_items - The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

$sel:startDate:Usage', usage_startDate - The starting date of the usage data.

$sel:position:Usage', usage_position - Undocumented member.

GetVpcLink

data GetVpcLink Source #

Gets a specified VPC link under the caller's account in a region.

See: newGetVpcLink smart constructor.

Constructors

GetVpcLink' Text 

Instances

newGetVpcLink Source #

Create a value of GetVpcLink 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:vpcLinkId:GetVpcLink', getVpcLink_vpcLinkId - [Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

data VpcLink Source #

An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

To enable access to a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted for one or more network load balancers of the VPC and then integrate an API method with a private integration that uses the VpcLink. The private integration has an integration type of HTTP or HTTP_PROXY and has a connection type of VPC_LINK. The integration uses the connectionId property to identify the VpcLink used.

See: newVpcLink smart constructor.

Instances

newVpcLink :: VpcLink Source #

Create a value of VpcLink 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:status:VpcLink', vpcLink_status - The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

$sel:targetArns:VpcLink', vpcLink_targetArns - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.

$sel:name:VpcLink', vpcLink_name - The name used to label and identify the VPC link.

$sel:statusMessage:VpcLink', vpcLink_statusMessage - A description about the VPC link status.

$sel:id:VpcLink', vpcLink_id - The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

$sel:description:VpcLink', vpcLink_description - The description of the VPC link.

$sel:tags:VpcLink', vpcLink_tags - The collection of tags. Each tag element is associated with a given resource.

CreateModel

data CreateModel Source #

Request to add a new Model to an existing RestApi resource.

See: newCreateModel smart constructor.

Instances

Instances details
Eq CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

Read CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

Show CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

Generic CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

Associated Types

type Rep CreateModel :: Type -> Type #

NFData CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

Methods

rnf :: CreateModel -> () #

Hashable CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

ToJSON CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

AWSRequest CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

Associated Types

type AWSResponse CreateModel #

ToHeaders CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

Methods

toHeaders :: CreateModel -> [Header] #

ToPath CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

ToQuery CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

type Rep CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

type Rep CreateModel = D1 ('MetaData "CreateModel" "Amazonka.APIGateway.CreateModel" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateModel'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateModel Source # 
Instance details

Defined in Amazonka.APIGateway.CreateModel

newCreateModel Source #

Create a value of CreateModel 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:schema:CreateModel', createModel_schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model.

$sel:description:CreateModel', createModel_description - The description of the model.

$sel:restApiId:CreateModel', createModel_restApiId - [Required] The RestApi identifier under which the Model will be created.

$sel:name:CreateModel', createModel_name - [Required] The name of the model. Must be alphanumeric.

$sel:contentType:CreateModel', createModel_contentType - [Required] The content-type for the model.

data Model Source #

Represents the data structure of a method's request or response payload.

A request model defines the data structure of the client-supplied request payload. A response model defines the data structure of the response payload returned by the back end. Although not required, models are useful for mapping payloads between the front end and back end.

A model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template.

Method, MethodResponse, Models and Mappings

See: newModel smart constructor.

Constructors

Model' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) 

Instances

Instances details
Eq Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

(==) :: Model -> Model -> Bool #

(/=) :: Model -> Model -> Bool #

Read Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Show Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

showsPrec :: Int -> Model -> ShowS #

show :: Model -> String #

showList :: [Model] -> ShowS #

Generic Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Associated Types

type Rep Model :: Type -> Type #

Methods

from :: Model -> Rep Model x #

to :: Rep Model x -> Model #

NFData Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

rnf :: Model -> () #

Hashable Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

hashWithSalt :: Int -> Model -> Int #

hash :: Model -> Int #

FromJSON Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

type Rep Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

type Rep Model = D1 ('MetaData "Model" "Amazonka.APIGateway.Types.Model" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Model'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newModel :: Model Source #

Create a value of Model 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:schema:Model', model_schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

$sel:name:Model', model_name - The name of the model. Must be an alphanumeric string.

$sel:id:Model', model_id - The identifier for the model resource.

$sel:description:Model', model_description - The description of the model.

$sel:contentType:Model', model_contentType - The content-type for the model.

GetIntegrationResponse

data GetIntegrationResponse Source #

Represents a get integration response request.

See: newGetIntegrationResponse smart constructor.

Instances

Instances details
Eq GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

Read GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

Show GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

Generic GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

Associated Types

type Rep GetIntegrationResponse :: Type -> Type #

NFData GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

Methods

rnf :: GetIntegrationResponse -> () #

Hashable GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

AWSRequest GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

Associated Types

type AWSResponse GetIntegrationResponse #

ToHeaders GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

ToPath GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

ToQuery GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

type Rep GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

type Rep GetIntegrationResponse = D1 ('MetaData "GetIntegrationResponse" "Amazonka.APIGateway.GetIntegrationResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetIntegrationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetIntegrationResponse

newGetIntegrationResponse Source #

Create a value of GetIntegrationResponse 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:restApiId:GetIntegrationResponse', getIntegrationResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:GetIntegrationResponse', getIntegrationResponse_resourceId - [Required] Specifies a get integration response request's resource identifier.

$sel:httpMethod:GetIntegrationResponse', getIntegrationResponse_httpMethod - [Required] Specifies a get integration response request's HTTP method.

$sel:statusCode:GetIntegrationResponse', getIntegrationResponse_statusCode - [Required] Specifies a get integration response request's status code.

data IntegrationResponse Source #

Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.

Creating an API

See: newIntegrationResponse smart constructor.

Instances

Instances details
Eq IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Read IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Show IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Generic IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Associated Types

type Rep IntegrationResponse :: Type -> Type #

NFData IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Methods

rnf :: IntegrationResponse -> () #

Hashable IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

FromJSON IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

type Rep IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

type Rep IntegrationResponse = D1 ('MetaData "IntegrationResponse" "Amazonka.APIGateway.Types.IntegrationResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "IntegrationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "selectionPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newIntegrationResponse :: IntegrationResponse Source #

Create a value of IntegrationResponse 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:contentHandling:IntegrationResponse', integrationResponse_contentHandling - Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

  • CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
  • CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

$sel:responseTemplates:IntegrationResponse', integrationResponse_responseTemplates - Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

$sel:selectionPattern:IntegrationResponse', integrationResponse_selectionPattern - Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (\n) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.

$sel:statusCode:IntegrationResponse', integrationResponse_statusCode - Specifies the status code that is used to map the integration response to an existing MethodResponse.

$sel:responseParameters:IntegrationResponse', integrationResponse_responseParameters - A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.

CreateDomainName

data CreateDomainName Source #

A request to create a new domain name.

See: newCreateDomainName smart constructor.

Instances

Instances details
Eq CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

Read CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

Show CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

Generic CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

Associated Types

type Rep CreateDomainName :: Type -> Type #

NFData CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

Methods

rnf :: CreateDomainName -> () #

Hashable CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

ToJSON CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

AWSRequest CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

Associated Types

type AWSResponse CreateDomainName #

ToHeaders CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

ToPath CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

ToQuery CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

type Rep CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

type Rep CreateDomainName = D1 ('MetaData "CreateDomainName" "Amazonka.APIGateway.CreateDomainName" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateDomainName'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ownershipVerificationCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "regionalCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "securityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityPolicy)) :*: S1 ('MetaSel ('Just "mutualTlsAuthentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MutualTlsAuthenticationInput))))) :*: ((S1 ('MetaSel ('Just "certificatePrivateKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "regionalCertificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "certificateChain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDomainName

newCreateDomainName Source #

Create a value of CreateDomainName 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:certificateName:CreateDomainName', createDomainName_certificateName - The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.

$sel:ownershipVerificationCertificateArn:CreateDomainName', createDomainName_ownershipVerificationCertificateArn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

$sel:regionalCertificateArn:CreateDomainName', createDomainName_regionalCertificateArn - The reference to an AWS-managed certificate that will be used by regional endpoint for this domain name. AWS Certificate Manager is the only supported source.

$sel:certificateArn:CreateDomainName', createDomainName_certificateArn - The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

$sel:securityPolicy:CreateDomainName', createDomainName_securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

$sel:mutualTlsAuthentication:CreateDomainName', createDomainName_mutualTlsAuthentication - Undocumented member.

$sel:certificatePrivateKey:CreateDomainName', createDomainName_certificatePrivateKey - [Deprecated] Your edge-optimized endpoint's domain name certificate's private key.

$sel:regionalCertificateName:CreateDomainName', createDomainName_regionalCertificateName - The user-friendly name of the certificate that will be used by regional endpoint for this domain name.

$sel:certificateBody:CreateDomainName', createDomainName_certificateBody - [Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority.

$sel:certificateChain:CreateDomainName', createDomainName_certificateChain - [Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.

$sel:endpointConfiguration:CreateDomainName', createDomainName_endpointConfiguration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.

$sel:tags:CreateDomainName', createDomainName_tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

$sel:domainName:CreateDomainName', createDomainName_domainName - [Required] The name of the DomainName resource.

data DomainName Source #

Represents a custom domain name as a user-friendly host name of an API (RestApi).

When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi, where myApi is the base path mapping (BasePathMapping) of your API under the custom domain name.

Set a Custom Host Name for an API

See: newDomainName smart constructor.

Instances

Instances details
Eq DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Read DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Show DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Generic DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Associated Types

type Rep DomainName :: Type -> Type #

NFData DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Methods

rnf :: DomainName -> () #

Hashable DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

FromJSON DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

type Rep DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

type Rep DomainName = D1 ('MetaData "DomainName" "Amazonka.APIGateway.Types.DomainName" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DomainName'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "regionalHostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ownershipVerificationCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "regionalCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "distributionHostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "securityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityPolicy)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "mutualTlsAuthentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MutualTlsAuthentication)) :*: S1 ('MetaSel ('Just "regionalCertificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "regionalDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateUploadDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "distributionDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainNameStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration)) :*: (S1 ('MetaSel ('Just "domainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainNameStatus)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newDomainName :: DomainName Source #

Create a value of DomainName 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:regionalHostedZoneId:DomainName', domainName_regionalHostedZoneId - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

$sel:certificateName:DomainName', domainName_certificateName - The name of the certificate that will be used by edge-optimized endpoint for this domain name.

$sel:ownershipVerificationCertificateArn:DomainName', domainName_ownershipVerificationCertificateArn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

$sel:regionalCertificateArn:DomainName', domainName_regionalCertificateArn - The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.

$sel:certificateArn:DomainName', domainName_certificateArn - The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

$sel:distributionHostedZoneId:DomainName', domainName_distributionHostedZoneId - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

$sel:securityPolicy:DomainName', domainName_securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

$sel:domainName:DomainName', domainName_domainName - The custom domain name as an API host name, for example, my-api.example.com.

$sel:mutualTlsAuthentication:DomainName', domainName_mutualTlsAuthentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

$sel:regionalCertificateName:DomainName', domainName_regionalCertificateName - The name of the certificate that will be used for validating the regional domain name.

$sel:regionalDomainName:DomainName', domainName_regionalDomainName - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.

$sel:certificateUploadDate:DomainName', domainName_certificateUploadDate - The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

$sel:distributionDomainName:DomainName', domainName_distributionDomainName - The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

$sel:domainNameStatusMessage:DomainName', domainName_domainNameStatusMessage - An optional text message containing detailed information about status of the DomainName migration.

$sel:endpointConfiguration:DomainName', domainName_endpointConfiguration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.

$sel:domainNameStatus:DomainName', domainName_domainNameStatus - The status of the DomainName migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

$sel:tags:DomainName', domainName_tags - The collection of tags. Each tag element is associated with a given resource.

FlushStageAuthorizersCache

data FlushStageAuthorizersCache Source #

Request to flush authorizer cache entries on a specified stage.

See: newFlushStageAuthorizersCache smart constructor.

Instances

Instances details
Eq FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

Read FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

Show FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

Generic FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

Associated Types

type Rep FlushStageAuthorizersCache :: Type -> Type #

NFData FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

Hashable FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

AWSRequest FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

ToHeaders FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

ToPath FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

ToQuery FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

type Rep FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

type Rep FlushStageAuthorizersCache = D1 ('MetaData "FlushStageAuthorizersCache" "Amazonka.APIGateway.FlushStageAuthorizersCache" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "FlushStageAuthorizersCache'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse FlushStageAuthorizersCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

newFlushStageAuthorizersCache Source #

Create a value of FlushStageAuthorizersCache 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:restApiId:FlushStageAuthorizersCache', flushStageAuthorizersCache_restApiId - The string identifier of the associated RestApi.

$sel:stageName:FlushStageAuthorizersCache', flushStageAuthorizersCache_stageName - The name of the stage to flush.

data FlushStageAuthorizersCacheResponse Source #

Instances

Instances details
Eq FlushStageAuthorizersCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

Read FlushStageAuthorizersCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

Show FlushStageAuthorizersCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

Generic FlushStageAuthorizersCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

Associated Types

type Rep FlushStageAuthorizersCacheResponse :: Type -> Type #

NFData FlushStageAuthorizersCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

type Rep FlushStageAuthorizersCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageAuthorizersCache

type Rep FlushStageAuthorizersCacheResponse = D1 ('MetaData "FlushStageAuthorizersCacheResponse" "Amazonka.APIGateway.FlushStageAuthorizersCache" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "FlushStageAuthorizersCacheResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newFlushStageAuthorizersCacheResponse :: FlushStageAuthorizersCacheResponse Source #

Create a value of FlushStageAuthorizersCacheResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

GetGatewayResponses (Paginated)

data GetGatewayResponses Source #

Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.

See: newGetGatewayResponses smart constructor.

Instances

Instances details
Eq GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

Read GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

Show GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

Generic GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

Associated Types

type Rep GetGatewayResponses :: Type -> Type #

NFData GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

Methods

rnf :: GetGatewayResponses -> () #

Hashable GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

AWSPager GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

AWSRequest GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

Associated Types

type AWSResponse GetGatewayResponses #

ToHeaders GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

ToPath GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

ToQuery GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

type Rep GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

type Rep GetGatewayResponses = D1 ('MetaData "GetGatewayResponses" "Amazonka.APIGateway.GetGatewayResponses" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetGatewayResponses'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetGatewayResponses Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

newGetGatewayResponses Source #

Create a value of GetGatewayResponses 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:limit:GetGatewayResponses', getGatewayResponses_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500. The GatewayResponses collection does not support pagination and the limit does not apply here.

$sel:position:GetGatewayResponses', getGatewayResponses_position - The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.

$sel:restApiId:GetGatewayResponses', getGatewayResponses_restApiId - [Required] The string identifier of the associated RestApi.

data GetGatewayResponsesResponse Source #

The collection of the GatewayResponse instances of a RestApi as a responseType-to-GatewayResponse object map of key-value pairs. As such, pagination is not supported for querying this collection.

For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway

Example: Get the collection of gateway responses of an API

Request

This example request shows how to retrieve the GatewayResponses collection from an API.

GET /restapis/o81lxisefl/gatewayresponses HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T220604Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=59b42fe54a76a5de8adf2c67baa6d39206f8e9ad49a1d77ccc6a5da3103a398a Cache-Control: no-cache Postman-Token: 5637af27-dc29-fc5c-9dfe-0645d52cb515
Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", "name": "gatewayresponse", "templated": true }, "self": { "href": "/restapis/o81lxisefl/gatewayresponses" }, "first": { "href": "/restapis/o81lxisefl/gatewayresponses" }, "gatewayresponse:by-type": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "item": [ { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE" }, { "href": "/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND" }, { "href": "/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE" }, { "href": "/restapis/o81lxisefl/gatewayresponses/THROTTLED" }, { "href": "/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE" }, { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR" }, { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX" }, { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX" }, { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS" }, { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY" }, { "href": "/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN" }, { "href": "/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED" }, { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY" }, { "href": "/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED" }, { "href": "/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR" }, { "href": "/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED" }, { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT" }, { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE" }, { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE" } ] }, "_embedded": { "item": [ { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_FAILURE" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "INTEGRATION_FAILURE", "statusCode": "504" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/RESOURCE_NOT_FOUND" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "RESOURCE_NOT_FOUND", "statusCode": "404" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/REQUEST_TOO_LARGE" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "REQUEST_TOO_LARGE", "statusCode": "413" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/THROTTLED" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/THROTTLED" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "THROTTLED", "statusCode": "429" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/UNSUPPORTED_MEDIA_TYPE" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "UNSUPPORTED_MEDIA_TYPE", "statusCode": "415" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_CONFIGURATION_ERROR" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "AUTHORIZER_CONFIGURATION_ERROR", "statusCode": "500" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_5XX" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "DEFAULT_5XX" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/DEFAULT_4XX" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "DEFAULT_4XX" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_PARAMETERS" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "BAD_REQUEST_PARAMETERS", "statusCode": "400" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/BAD_REQUEST_BODY" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "BAD_REQUEST_BODY", "statusCode": "400" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/EXPIRED_TOKEN" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "EXPIRED_TOKEN", "statusCode": "403" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/ACCESS_DENIED" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "ACCESS_DENIED", "statusCode": "403" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_API_KEY" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "INVALID_API_KEY", "statusCode": "403" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/UNAUTHORIZED" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "UNAUTHORIZED", "statusCode": "401" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/API_CONFIGURATION_ERROR" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "API_CONFIGURATION_ERROR", "statusCode": "500" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/QUOTA_EXCEEDED" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "QUOTA_EXCEEDED", "statusCode": "429" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/INTEGRATION_TIMEOUT" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "INTEGRATION_TIMEOUT", "statusCode": "504" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "403" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/INVALID_SIGNATURE" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "INVALID_SIGNATURE", "statusCode": "403" }, { "_links": { "self": { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/AUTHORIZER_FAILURE" } }, "defaultResponse": true, "responseParameters": {}, "responseTemplates": { "application/json": "{\"message\":$context.error.messageString}" }, "responseType": "AUTHORIZER_FAILURE", "statusCode": "500" } ] } }

Customize Gateway Responses

See: newGetGatewayResponsesResponse smart constructor.

Instances

Instances details
Eq GetGatewayResponsesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

Read GetGatewayResponsesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

Show GetGatewayResponsesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

Generic GetGatewayResponsesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

Associated Types

type Rep GetGatewayResponsesResponse :: Type -> Type #

NFData GetGatewayResponsesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

type Rep GetGatewayResponsesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponses

type Rep GetGatewayResponsesResponse = D1 ('MetaData "GetGatewayResponsesResponse" "Amazonka.APIGateway.GetGatewayResponses" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetGatewayResponsesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GatewayResponse])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetGatewayResponsesResponse Source #

Create a value of GetGatewayResponsesResponse 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:items:GetGatewayResponsesResponse', getGatewayResponsesResponse_items - Returns the entire collection, because of no pagination support.

$sel:position:GetGatewayResponses', getGatewayResponsesResponse_position - Undocumented member.

$sel:httpStatus:GetGatewayResponsesResponse', getGatewayResponsesResponse_httpStatus - The response's http status code.

DeleteModel

data DeleteModel Source #

Request to delete an existing model in an existing RestApi resource.

See: newDeleteModel smart constructor.

Constructors

DeleteModel' Text Text 

Instances

Instances details
Eq DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Read DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Show DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Generic DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Associated Types

type Rep DeleteModel :: Type -> Type #

NFData DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Methods

rnf :: DeleteModel -> () #

Hashable DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

AWSRequest DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Associated Types

type AWSResponse DeleteModel #

ToHeaders DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Methods

toHeaders :: DeleteModel -> [Header] #

ToPath DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

ToQuery DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

type Rep DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

type Rep DeleteModel = D1 ('MetaData "DeleteModel" "Amazonka.APIGateway.DeleteModel" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteModel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "modelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

newDeleteModel Source #

Create a value of DeleteModel 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:restApiId:DeleteModel', deleteModel_restApiId - [Required] The string identifier of the associated RestApi.

$sel:modelName:DeleteModel', deleteModel_modelName - [Required] The name of the model to delete.

data DeleteModelResponse Source #

See: newDeleteModelResponse smart constructor.

Constructors

DeleteModelResponse' 

Instances

Instances details
Eq DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Read DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Show DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Generic DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Associated Types

type Rep DeleteModelResponse :: Type -> Type #

NFData DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Methods

rnf :: DeleteModelResponse -> () #

type Rep DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

type Rep DeleteModelResponse = D1 ('MetaData "DeleteModelResponse" "Amazonka.APIGateway.DeleteModel" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteModelResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteModelResponse :: DeleteModelResponse Source #

Create a value of DeleteModelResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateModel

data UpdateModel Source #

Request to update an existing model in an existing RestApi resource.

See: newUpdateModel smart constructor.

Instances

Instances details
Eq UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

Read UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

Show UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

Generic UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

Associated Types

type Rep UpdateModel :: Type -> Type #

NFData UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

Methods

rnf :: UpdateModel -> () #

Hashable UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

ToJSON UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

AWSRequest UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

Associated Types

type AWSResponse UpdateModel #

ToHeaders UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

Methods

toHeaders :: UpdateModel -> [Header] #

ToPath UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

ToQuery UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

type Rep UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

type Rep UpdateModel = D1 ('MetaData "UpdateModel" "Amazonka.APIGateway.UpdateModel" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateModel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "modelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateModel Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateModel

newUpdateModel Source #

Create a value of UpdateModel 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:patchOperations:UpdateModel', updateModel_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateModel', updateModel_restApiId - [Required] The string identifier of the associated RestApi.

$sel:modelName:UpdateModel', updateModel_modelName - [Required] The name of the model to update.

data Model Source #

Represents the data structure of a method's request or response payload.

A request model defines the data structure of the client-supplied request payload. A response model defines the data structure of the response payload returned by the back end. Although not required, models are useful for mapping payloads between the front end and back end.

A model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template.

Method, MethodResponse, Models and Mappings

See: newModel smart constructor.

Constructors

Model' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) 

Instances

Instances details
Eq Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

(==) :: Model -> Model -> Bool #

(/=) :: Model -> Model -> Bool #

Read Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Show Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

showsPrec :: Int -> Model -> ShowS #

show :: Model -> String #

showList :: [Model] -> ShowS #

Generic Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Associated Types

type Rep Model :: Type -> Type #

Methods

from :: Model -> Rep Model x #

to :: Rep Model x -> Model #

NFData Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

rnf :: Model -> () #

Hashable Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

hashWithSalt :: Int -> Model -> Int #

hash :: Model -> Int #

FromJSON Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

type Rep Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

type Rep Model = D1 ('MetaData "Model" "Amazonka.APIGateway.Types.Model" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Model'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newModel :: Model Source #

Create a value of Model 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:schema:Model', model_schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

$sel:name:Model', model_name - The name of the model. Must be an alphanumeric string.

$sel:id:Model', model_id - The identifier for the model resource.

$sel:description:Model', model_description - The description of the model.

$sel:contentType:Model', model_contentType - The content-type for the model.

GetDocumentationVersion

data GetDocumentationVersion Source #

Gets a documentation snapshot of an API.

See: newGetDocumentationVersion smart constructor.

Instances

Instances details
Eq GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

Read GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

Show GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

Generic GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

Associated Types

type Rep GetDocumentationVersion :: Type -> Type #

NFData GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

Methods

rnf :: GetDocumentationVersion -> () #

Hashable GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

AWSRequest GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

ToHeaders GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

ToPath GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

ToQuery GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

type Rep GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

type Rep GetDocumentationVersion = D1 ('MetaData "GetDocumentationVersion" "Amazonka.APIGateway.GetDocumentationVersion" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDocumentationVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.GetDocumentationVersion

newGetDocumentationVersion Source #

Create a value of GetDocumentationVersion 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:restApiId:GetDocumentationVersion', getDocumentationVersion_restApiId - [Required] The string identifier of the associated RestApi.

$sel:documentationVersion:GetDocumentationVersion', getDocumentationVersion_documentationVersion - [Required] The version identifier of the to-be-retrieved documentation snapshot.

data DocumentationVersion Source #

A snapshot of the documentation of an API.

Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., OpenAPI) file.

Documenting an API, DocumentationPart, DocumentationVersions

See: newDocumentationVersion smart constructor.

Instances

Instances details
Eq DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Read DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Show DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Generic DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Associated Types

type Rep DocumentationVersion :: Type -> Type #

NFData DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Methods

rnf :: DocumentationVersion -> () #

Hashable DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

FromJSON DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion = D1 ('MetaData "DocumentationVersion" "Amazonka.APIGateway.Types.DocumentationVersion" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DocumentationVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationVersion :: DocumentationVersion Source #

Create a value of DocumentationVersion 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:createdDate:DocumentationVersion', documentationVersion_createdDate - The date when the API documentation snapshot is created.

$sel:version:DocumentationVersion', documentationVersion_version - The version identifier of the API documentation snapshot.

$sel:description:DocumentationVersion', documentationVersion_description - The description of the API documentation snapshot.

DeleteApiKey

data DeleteApiKey Source #

A request to delete the ApiKey resource.

See: newDeleteApiKey smart constructor.

Constructors

DeleteApiKey' Text 

Instances

Instances details
Eq DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Read DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Show DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Generic DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Associated Types

type Rep DeleteApiKey :: Type -> Type #

NFData DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Methods

rnf :: DeleteApiKey -> () #

Hashable DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

AWSRequest DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Associated Types

type AWSResponse DeleteApiKey #

ToHeaders DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

ToPath DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

ToQuery DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

type Rep DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

type Rep DeleteApiKey = D1 ('MetaData "DeleteApiKey" "Amazonka.APIGateway.DeleteApiKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteApiKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "apiKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

newDeleteApiKey Source #

Create a value of DeleteApiKey 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:apiKey:DeleteApiKey', deleteApiKey_apiKey - [Required] The identifier of the ApiKey resource to be deleted.

data DeleteApiKeyResponse Source #

See: newDeleteApiKeyResponse smart constructor.

Constructors

DeleteApiKeyResponse' 

Instances

Instances details
Eq DeleteApiKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Read DeleteApiKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Show DeleteApiKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Generic DeleteApiKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Associated Types

type Rep DeleteApiKeyResponse :: Type -> Type #

NFData DeleteApiKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

Methods

rnf :: DeleteApiKeyResponse -> () #

type Rep DeleteApiKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteApiKey

type Rep DeleteApiKeyResponse = D1 ('MetaData "DeleteApiKeyResponse" "Amazonka.APIGateway.DeleteApiKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteApiKeyResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteApiKeyResponse :: DeleteApiKeyResponse Source #

Create a value of DeleteApiKeyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateApiKey

data UpdateApiKey Source #

A request to change information about an ApiKey resource.

See: newUpdateApiKey smart constructor.

Instances

Instances details
Eq UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

Read UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

Show UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

Generic UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

Associated Types

type Rep UpdateApiKey :: Type -> Type #

NFData UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

Methods

rnf :: UpdateApiKey -> () #

Hashable UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

ToJSON UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

AWSRequest UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

Associated Types

type AWSResponse UpdateApiKey #

ToHeaders UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

ToPath UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

ToQuery UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

type Rep UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

type Rep UpdateApiKey = D1 ('MetaData "UpdateApiKey" "Amazonka.APIGateway.UpdateApiKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateApiKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: S1 ('MetaSel ('Just "apiKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateApiKey

newUpdateApiKey Source #

Create a value of UpdateApiKey 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:patchOperations:UpdateApiKey', updateApiKey_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:apiKey:UpdateApiKey', updateApiKey_apiKey - [Required] The identifier of the ApiKey resource to be updated.

data ApiKey Source #

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

Use API Keys

See: newApiKey smart constructor.

Instances

Instances details
Eq ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

(==) :: ApiKey -> ApiKey -> Bool #

(/=) :: ApiKey -> ApiKey -> Bool #

Read ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Show ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Generic ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Associated Types

type Rep ApiKey :: Type -> Type #

Methods

from :: ApiKey -> Rep ApiKey x #

to :: Rep ApiKey x -> ApiKey #

NFData ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

rnf :: ApiKey -> () #

Hashable ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

hashWithSalt :: Int -> ApiKey -> Int #

hash :: ApiKey -> Int #

FromJSON ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

type Rep ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

newApiKey :: ApiKey Source #

Create a value of ApiKey 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:enabled:ApiKey', apiKey_enabled - Specifies whether the API Key can be used by callers.

$sel:value:ApiKey', apiKey_value - The value of the API Key.

$sel:customerId:ApiKey', apiKey_customerId - An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

$sel:createdDate:ApiKey', apiKey_createdDate - The timestamp when the API Key was created.

$sel:name:ApiKey', apiKey_name - The name of the API Key.

$sel:id:ApiKey', apiKey_id - The identifier of the API Key.

$sel:stageKeys:ApiKey', apiKey_stageKeys - A list of Stage resources that are associated with the ApiKey resource.

$sel:lastUpdatedDate:ApiKey', apiKey_lastUpdatedDate - The timestamp when the API Key was last updated.

$sel:description:ApiKey', apiKey_description - The description of the API Key.

$sel:tags:ApiKey', apiKey_tags - The collection of tags. Each tag element is associated with a given resource.

GetRestApi

data GetRestApi Source #

The GET request to list an existing RestApi defined for your collection.

See: newGetRestApi smart constructor.

Constructors

GetRestApi' Text 

Instances

Instances details
Eq GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

Read GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

Show GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

Generic GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

Associated Types

type Rep GetRestApi :: Type -> Type #

NFData GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

Methods

rnf :: GetRestApi -> () #

Hashable GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

AWSRequest GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

Associated Types

type AWSResponse GetRestApi #

ToHeaders GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

Methods

toHeaders :: GetRestApi -> [Header] #

ToPath GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

ToQuery GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

type Rep GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

type Rep GetRestApi = D1 ('MetaData "GetRestApi" "Amazonka.APIGateway.GetRestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetRestApi'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.GetRestApi

newGetRestApi Source #

Create a value of GetRestApi 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:restApiId:GetRestApi', getRestApi_restApiId - [Required] The string identifier of the associated RestApi.

data RestApi Source #

Represents a REST API.

Create an API

See: newRestApi smart constructor.

Instances

Instances details
Eq RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

(==) :: RestApi -> RestApi -> Bool #

(/=) :: RestApi -> RestApi -> Bool #

Read RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Show RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Generic RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Associated Types

type Rep RestApi :: Type -> Type #

Methods

from :: RestApi -> Rep RestApi x #

to :: Rep RestApi x -> RestApi #

NFData RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

rnf :: RestApi -> () #

Hashable RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

hashWithSalt :: Int -> RestApi -> Int #

hash :: RestApi -> Int #

FromJSON RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi = D1 ('MetaData "RestApi" "Amazonka.APIGateway.Types.RestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "RestApi'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "minimumCompressionSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "disableExecuteApiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "binaryMediaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiKeySourceType)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newRestApi :: RestApi Source #

Create a value of RestApi 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:minimumCompressionSize:RestApi', restApi_minimumCompressionSize - A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

$sel:disableExecuteApiEndpoint:RestApi', restApi_disableExecuteApiEndpoint - Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

$sel:binaryMediaTypes:RestApi', restApi_binaryMediaTypes - The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

$sel:warnings:RestApi', restApi_warnings - The warning messages reported when failonwarnings is turned on during API import.

$sel:createdDate:RestApi', restApi_createdDate - The timestamp when the API was created.

$sel:name:RestApi', restApi_name - The API's name.

$sel:version:RestApi', restApi_version - A version identifier for the API.

$sel:apiKeySource:RestApi', restApi_apiKeySource - The source of the API key for metering requests according to a usage plan. Valid values are:

  • HEADER to read the API key from the X-API-Key header of a request.
  • AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.

$sel:id:RestApi', restApi_id - The API's identifier. This identifier is unique across all of your APIs in API Gateway.

$sel:policy:RestApi', restApi_policy - A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

$sel:endpointConfiguration:RestApi', restApi_endpointConfiguration - The endpoint configuration of this RestApi showing the endpoint types of the API.

$sel:description:RestApi', restApi_description - The API's description.

$sel:tags:RestApi', restApi_tags - The collection of tags. Each tag element is associated with a given resource.

GetStages

data GetStages Source #

Requests API Gateway to get information about one or more Stage resources.

See: newGetStages smart constructor.

Constructors

GetStages' (Maybe Text) Text 

Instances

Instances details
Eq GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Read GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Show GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Generic GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Associated Types

type Rep GetStages :: Type -> Type #

NFData GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Methods

rnf :: GetStages -> () #

Hashable GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

AWSRequest GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Associated Types

type AWSResponse GetStages #

ToHeaders GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Methods

toHeaders :: GetStages -> [Header] #

ToPath GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

ToQuery GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

type Rep GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

type Rep GetStages = D1 ('MetaData "GetStages" "Amazonka.APIGateway.GetStages" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetStages'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetStages Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

newGetStages Source #

Create a value of GetStages 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:deploymentId:GetStages', getStages_deploymentId - The stages' deployment identifiers.

$sel:restApiId:GetStages', getStages_restApiId - [Required] The string identifier of the associated RestApi.

data GetStagesResponse Source #

A list of Stage resources that are associated with the ApiKey resource.

Deploying API in Stages

See: newGetStagesResponse smart constructor.

Constructors

GetStagesResponse' (Maybe [Stage]) Int 

Instances

Instances details
Eq GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Read GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Show GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Generic GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Associated Types

type Rep GetStagesResponse :: Type -> Type #

NFData GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

Methods

rnf :: GetStagesResponse -> () #

type Rep GetStagesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetStages

type Rep GetStagesResponse = D1 ('MetaData "GetStagesResponse" "Amazonka.APIGateway.GetStages" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetStagesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Stage])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetStagesResponse Source #

Create a value of GetStagesResponse 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:item:GetStagesResponse', getStagesResponse_item - The current page of elements from this collection.

$sel:httpStatus:GetStagesResponse', getStagesResponse_httpStatus - The response's http status code.

PutRestApi

data PutRestApi Source #

A PUT request to update an existing API, with external API definitions specified as the request body.

See: newPutRestApi smart constructor.

Instances

Instances details
Eq PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

Show PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

Generic PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

Associated Types

type Rep PutRestApi :: Type -> Type #

NFData PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

Methods

rnf :: PutRestApi -> () #

Hashable PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

AWSRequest PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

Associated Types

type AWSResponse PutRestApi #

ToBody PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

ToHeaders PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

Methods

toHeaders :: PutRestApi -> [Header] #

ToPath PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

ToQuery PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

type Rep PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

type Rep PutRestApi = D1 ('MetaData "PutRestApi" "Amazonka.APIGateway.PutRestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "PutRestApi'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PutMode)) :*: S1 ('MetaSel ('Just "failOnWarnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString)))))
type AWSResponse PutRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.PutRestApi

newPutRestApi Source #

Create a value of PutRestApi 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:mode:PutRestApi', putRestApi_mode - The mode query parameter to specify the update mode. Valid values are "merge" and "overwrite". By default, the update mode is "merge".

$sel:failOnWarnings:PutRestApi', putRestApi_failOnWarnings - A query parameter to indicate whether to rollback the API update (true) or not (false) when a warning is encountered. The default value is false.

$sel:parameters:PutRestApi', putRestApi_parameters - Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ignore=documentation as a parameters value, as in the AWS CLI command of aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'.

$sel:restApiId:PutRestApi', putRestApi_restApiId - [Required] The string identifier of the associated RestApi.

$sel:body:PutRestApi', putRestApi_body - [Required] The PUT request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.

data RestApi Source #

Represents a REST API.

Create an API

See: newRestApi smart constructor.

Instances

Instances details
Eq RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

(==) :: RestApi -> RestApi -> Bool #

(/=) :: RestApi -> RestApi -> Bool #

Read RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Show RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Generic RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Associated Types

type Rep RestApi :: Type -> Type #

Methods

from :: RestApi -> Rep RestApi x #

to :: Rep RestApi x -> RestApi #

NFData RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

rnf :: RestApi -> () #

Hashable RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

hashWithSalt :: Int -> RestApi -> Int #

hash :: RestApi -> Int #

FromJSON RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi = D1 ('MetaData "RestApi" "Amazonka.APIGateway.Types.RestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "RestApi'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "minimumCompressionSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "disableExecuteApiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "binaryMediaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiKeySourceType)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newRestApi :: RestApi Source #

Create a value of RestApi 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:minimumCompressionSize:RestApi', restApi_minimumCompressionSize - A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

$sel:disableExecuteApiEndpoint:RestApi', restApi_disableExecuteApiEndpoint - Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

$sel:binaryMediaTypes:RestApi', restApi_binaryMediaTypes - The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

$sel:warnings:RestApi', restApi_warnings - The warning messages reported when failonwarnings is turned on during API import.

$sel:createdDate:RestApi', restApi_createdDate - The timestamp when the API was created.

$sel:name:RestApi', restApi_name - The API's name.

$sel:version:RestApi', restApi_version - A version identifier for the API.

$sel:apiKeySource:RestApi', restApi_apiKeySource - The source of the API key for metering requests according to a usage plan. Valid values are:

  • HEADER to read the API key from the X-API-Key header of a request.
  • AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.

$sel:id:RestApi', restApi_id - The API's identifier. This identifier is unique across all of your APIs in API Gateway.

$sel:policy:RestApi', restApi_policy - A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

$sel:endpointConfiguration:RestApi', restApi_endpointConfiguration - The endpoint configuration of this RestApi showing the endpoint types of the API.

$sel:description:RestApi', restApi_description - The API's description.

$sel:tags:RestApi', restApi_tags - The collection of tags. Each tag element is associated with a given resource.

GetMethod

data GetMethod Source #

Request to describe an existing Method resource.

See: newGetMethod smart constructor.

Constructors

GetMethod' Text Text Text 

Instances

Instances details
Eq GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

Read GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

Show GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

Generic GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

Associated Types

type Rep GetMethod :: Type -> Type #

NFData GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

Methods

rnf :: GetMethod -> () #

Hashable GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

AWSRequest GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

Associated Types

type AWSResponse GetMethod #

ToHeaders GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

Methods

toHeaders :: GetMethod -> [Header] #

ToPath GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

ToQuery GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

type Rep GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

type Rep GetMethod = D1 ('MetaData "GetMethod" "Amazonka.APIGateway.GetMethod" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetMethod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetMethod Source # 
Instance details

Defined in Amazonka.APIGateway.GetMethod

newGetMethod Source #

Create a value of GetMethod 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:restApiId:GetMethod', getMethod_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:GetMethod', getMethod_resourceId - [Required] The Resource identifier for the Method resource.

$sel:httpMethod:GetMethod', getMethod_httpMethod - [Required] Specifies the method request's HTTP method type.

data Method Source #

Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes the client input that is passed to the back end through the integration request. A method response returns the output from the back end to the client through an integration response. A method request is embodied in a Method resource, whereas an integration request is embodied in an Integration resource. On the other hand, a method response is represented by a MethodResponse resource, whereas an integration response is represented by an IntegrationResponse resource.

Example: Retrive the GET method on a specified resource

Request

The following example request retrieves the information about the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri).

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T210259Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": true, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\")" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }

In the example above, the response template for the 200 OK response maps the JSON output from the ListStreams action in the back end to an XML output. The mapping template is URL-encoded as %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E and the output is decoded using the $util.urlDecode() helper function.

MethodResponse, Integration, IntegrationResponse, Resource, Set up an API's method

See: newMethod smart constructor.

Instances

Instances details
Eq Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

(==) :: Method -> Method -> Bool #

(/=) :: Method -> Method -> Bool #

Read Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Show Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Generic Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

NFData Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

rnf :: Method -> () #

Hashable Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

FromJSON Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

type Rep Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

type Rep Method = D1 ('MetaData "Method" "Amazonka.APIGateway.Types.Method" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Method'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "methodResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MethodResponse))) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "authorizationScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "requestValidatorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))) :*: ((S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))) :*: (S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "operationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeyRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "methodIntegration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integration)))))))

newMethod :: Method Source #

Create a value of Method 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:methodResponses:Method', method_methodResponses - Gets a method response associated with a given HTTP status code.

The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a MethodResponse resource that specifies the response returned to the caller from the back end through the integration response.

Example: Get a 200 OK response of a GET method

Request
GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.operator": false, "method.response.header.operand_2": false, "method.response.header.operand_1": false }, "statusCode": "200" }

AWS CLI

$sel:httpMethod:Method', method_httpMethod - The method's HTTP verb.

$sel:authorizationScopes:Method', method_authorizationScopes - A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

$sel:requestValidatorId:Method', method_requestValidatorId - The identifier of a RequestValidator for request validation.

$sel:requestModels:Method', method_requestModels - A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

$sel:requestParameters:Method', method_requestParameters - A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

$sel:authorizerId:Method', method_authorizerId - The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

$sel:operationName:Method', method_operationName - A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in the PetStore example.

$sel:authorizationType:Method', method_authorizationType - The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

$sel:apiKeyRequired:Method', method_apiKeyRequired - A boolean flag specifying whether a valid ApiKey is required to invoke this method.

$sel:methodIntegration:Method', method_methodIntegration - Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

Example:

Request
GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true } ], "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:responses": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.operator": "integration.response.body.op", "method.response.header.operand_2": "integration.response.body.b", "method.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "application/json": "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }

AWS CLI

GetModel

data GetModel Source #

Request to list information about a model in an existing RestApi resource.

See: newGetModel smart constructor.

Constructors

GetModel' (Maybe Bool) Text Text 

Instances

Instances details
Eq GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

Read GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

Show GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

Generic GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

Associated Types

type Rep GetModel :: Type -> Type #

Methods

from :: GetModel -> Rep GetModel x #

to :: Rep GetModel x -> GetModel #

NFData GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

Methods

rnf :: GetModel -> () #

Hashable GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

Methods

hashWithSalt :: Int -> GetModel -> Int #

hash :: GetModel -> Int #

AWSRequest GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

Associated Types

type AWSResponse GetModel #

ToHeaders GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

Methods

toHeaders :: GetModel -> [Header] #

ToPath GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

ToQuery GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

type Rep GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

type Rep GetModel = D1 ('MetaData "GetModel" "Amazonka.APIGateway.GetModel" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetModel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flatten") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "modelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetModel Source # 
Instance details

Defined in Amazonka.APIGateway.GetModel

newGetModel Source #

Create a value of GetModel 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:flatten:GetModel', getModel_flatten - A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false.

$sel:restApiId:GetModel', getModel_restApiId - [Required] The RestApi identifier under which the Model exists.

$sel:modelName:GetModel', getModel_modelName - [Required] The name of the model as an identifier.

data Model Source #

Represents the data structure of a method's request or response payload.

A request model defines the data structure of the client-supplied request payload. A response model defines the data structure of the response payload returned by the back end. Although not required, models are useful for mapping payloads between the front end and back end.

A model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template.

Method, MethodResponse, Models and Mappings

See: newModel smart constructor.

Constructors

Model' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) 

Instances

Instances details
Eq Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

(==) :: Model -> Model -> Bool #

(/=) :: Model -> Model -> Bool #

Read Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Show Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

showsPrec :: Int -> Model -> ShowS #

show :: Model -> String #

showList :: [Model] -> ShowS #

Generic Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Associated Types

type Rep Model :: Type -> Type #

Methods

from :: Model -> Rep Model x #

to :: Rep Model x -> Model #

NFData Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

rnf :: Model -> () #

Hashable Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

hashWithSalt :: Int -> Model -> Int #

hash :: Model -> Int #

FromJSON Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

type Rep Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

type Rep Model = D1 ('MetaData "Model" "Amazonka.APIGateway.Types.Model" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Model'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newModel :: Model Source #

Create a value of Model 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:schema:Model', model_schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

$sel:name:Model', model_name - The name of the model. Must be an alphanumeric string.

$sel:id:Model', model_id - The identifier for the model resource.

$sel:description:Model', model_description - The description of the model.

$sel:contentType:Model', model_contentType - The content-type for the model.

UpdateRestApi

data UpdateRestApi Source #

Request to update an existing RestApi resource in your collection.

See: newUpdateRestApi smart constructor.

Instances

Instances details
Eq UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

Read UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

Show UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

Generic UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

Associated Types

type Rep UpdateRestApi :: Type -> Type #

NFData UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

Methods

rnf :: UpdateRestApi -> () #

Hashable UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

ToJSON UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

AWSRequest UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

Associated Types

type AWSResponse UpdateRestApi #

ToHeaders UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

ToPath UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

ToQuery UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

type Rep UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

type Rep UpdateRestApi = D1 ('MetaData "UpdateRestApi" "Amazonka.APIGateway.UpdateRestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateRestApi'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRestApi

newUpdateRestApi Source #

Create a value of UpdateRestApi 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:patchOperations:UpdateRestApi', updateRestApi_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateRestApi', updateRestApi_restApiId - [Required] The string identifier of the associated RestApi.

data RestApi Source #

Represents a REST API.

Create an API

See: newRestApi smart constructor.

Instances

Instances details
Eq RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

(==) :: RestApi -> RestApi -> Bool #

(/=) :: RestApi -> RestApi -> Bool #

Read RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Show RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Generic RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Associated Types

type Rep RestApi :: Type -> Type #

Methods

from :: RestApi -> Rep RestApi x #

to :: Rep RestApi x -> RestApi #

NFData RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

rnf :: RestApi -> () #

Hashable RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

hashWithSalt :: Int -> RestApi -> Int #

hash :: RestApi -> Int #

FromJSON RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi = D1 ('MetaData "RestApi" "Amazonka.APIGateway.Types.RestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "RestApi'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "minimumCompressionSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "disableExecuteApiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "binaryMediaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiKeySourceType)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newRestApi :: RestApi Source #

Create a value of RestApi 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:minimumCompressionSize:RestApi', restApi_minimumCompressionSize - A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

$sel:disableExecuteApiEndpoint:RestApi', restApi_disableExecuteApiEndpoint - Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

$sel:binaryMediaTypes:RestApi', restApi_binaryMediaTypes - The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

$sel:warnings:RestApi', restApi_warnings - The warning messages reported when failonwarnings is turned on during API import.

$sel:createdDate:RestApi', restApi_createdDate - The timestamp when the API was created.

$sel:name:RestApi', restApi_name - The API's name.

$sel:version:RestApi', restApi_version - A version identifier for the API.

$sel:apiKeySource:RestApi', restApi_apiKeySource - The source of the API key for metering requests according to a usage plan. Valid values are:

  • HEADER to read the API key from the X-API-Key header of a request.
  • AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.

$sel:id:RestApi', restApi_id - The API's identifier. This identifier is unique across all of your APIs in API Gateway.

$sel:policy:RestApi', restApi_policy - A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

$sel:endpointConfiguration:RestApi', restApi_endpointConfiguration - The endpoint configuration of this RestApi showing the endpoint types of the API.

$sel:description:RestApi', restApi_description - The API's description.

$sel:tags:RestApi', restApi_tags - The collection of tags. Each tag element is associated with a given resource.

DeleteRestApi

data DeleteRestApi Source #

Request to delete the specified API from your collection.

See: newDeleteRestApi smart constructor.

Constructors

DeleteRestApi' Text 

Instances

Instances details
Eq DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Read DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Show DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Generic DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Associated Types

type Rep DeleteRestApi :: Type -> Type #

NFData DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Methods

rnf :: DeleteRestApi -> () #

Hashable DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

AWSRequest DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Associated Types

type AWSResponse DeleteRestApi #

ToHeaders DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

ToPath DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

ToQuery DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

type Rep DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

type Rep DeleteRestApi = D1 ('MetaData "DeleteRestApi" "Amazonka.APIGateway.DeleteRestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteRestApi'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

newDeleteRestApi Source #

Create a value of DeleteRestApi 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:restApiId:DeleteRestApi', deleteRestApi_restApiId - [Required] The string identifier of the associated RestApi.

data DeleteRestApiResponse Source #

See: newDeleteRestApiResponse smart constructor.

Instances

Instances details
Eq DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Read DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Show DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Generic DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Associated Types

type Rep DeleteRestApiResponse :: Type -> Type #

NFData DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Methods

rnf :: DeleteRestApiResponse -> () #

type Rep DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

type Rep DeleteRestApiResponse = D1 ('MetaData "DeleteRestApiResponse" "Amazonka.APIGateway.DeleteRestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteRestApiResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteRestApiResponse :: DeleteRestApiResponse Source #

Create a value of DeleteRestApiResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

ImportApiKeys

data ImportApiKeys Source #

The POST request to import API keys from an external source, such as a CSV-formatted file.

See: newImportApiKeys smart constructor.

Instances

Instances details
Eq ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

Show ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

Generic ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

Associated Types

type Rep ImportApiKeys :: Type -> Type #

NFData ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

Methods

rnf :: ImportApiKeys -> () #

Hashable ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

AWSRequest ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

Associated Types

type AWSResponse ImportApiKeys #

ToBody ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

ToHeaders ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

ToPath ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

ToQuery ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

type Rep ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

type Rep ImportApiKeys = D1 ('MetaData "ImportApiKeys" "Amazonka.APIGateway.ImportApiKeys" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ImportApiKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failOnWarnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ApiKeysFormat))))
type AWSResponse ImportApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

newImportApiKeys Source #

Create a value of ImportApiKeys 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:failOnWarnings:ImportApiKeys', importApiKeys_failOnWarnings - A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.

$sel:body:ImportApiKeys', importApiKeys_body - The payload of the POST request to import API keys. For the payload format, see API Key File Format.

$sel:format:ImportApiKeys', importApiKeys_format - A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported.

data ImportApiKeysResponse Source #

The identifier of an ApiKey used in a UsagePlan.

See: newImportApiKeysResponse smart constructor.

Instances

Instances details
Eq ImportApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

Read ImportApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

Show ImportApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

Generic ImportApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

Associated Types

type Rep ImportApiKeysResponse :: Type -> Type #

NFData ImportApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

Methods

rnf :: ImportApiKeysResponse -> () #

type Rep ImportApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.ImportApiKeys

type Rep ImportApiKeysResponse = D1 ('MetaData "ImportApiKeysResponse" "Amazonka.APIGateway.ImportApiKeys" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ImportApiKeysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ids") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newImportApiKeysResponse Source #

Create a value of ImportApiKeysResponse 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:ids:ImportApiKeysResponse', importApiKeysResponse_ids - A list of all the ApiKey identifiers.

$sel:warnings:ImportApiKeysResponse', importApiKeysResponse_warnings - A list of warning messages.

$sel:httpStatus:ImportApiKeysResponse', importApiKeysResponse_httpStatus - The response's http status code.

CreateDocumentationPart

data CreateDocumentationPart Source #

Creates a new documentation part of a given API.

See: newCreateDocumentationPart smart constructor.

Instances

Instances details
Eq CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

Read CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

Show CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

Generic CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

Associated Types

type Rep CreateDocumentationPart :: Type -> Type #

NFData CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

Methods

rnf :: CreateDocumentationPart -> () #

Hashable CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

ToJSON CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

AWSRequest CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

ToHeaders CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

ToPath CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

ToQuery CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

type Rep CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

type Rep CreateDocumentationPart = D1 ('MetaData "CreateDocumentationPart" "Amazonka.APIGateway.CreateDocumentationPart" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateDocumentationPart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DocumentationPartLocation) :*: S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationPart

newCreateDocumentationPart Source #

Create a value of CreateDocumentationPart 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:restApiId:CreateDocumentationPart', createDocumentationPart_restApiId - [Required] The string identifier of the associated RestApi.

$sel:location:CreateDocumentationPart', createDocumentationPart_location - [Required] The location of the targeted API entity of the to-be-created documentation part.

$sel:properties:CreateDocumentationPart', createDocumentationPart_properties - [Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.

data DocumentationPart Source #

A documentation part for a targeted API entity.

A documentation part consists of a content map (properties) and a target (location). The target specifies an API entity to which the documentation content applies. The supported API entity types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Valid location fields depend on the API entity type. All valid fields are not required.

The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the OpenAPI-compliant documentation fields will be injected into the associated API entity definition in the exported OpenAPI definition file.

Documenting an API, DocumentationParts

See: newDocumentationPart smart constructor.

Instances

Instances details
Eq DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Read DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Show DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Generic DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Associated Types

type Rep DocumentationPart :: Type -> Type #

NFData DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Methods

rnf :: DocumentationPart -> () #

Hashable DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

FromJSON DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

type Rep DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

type Rep DocumentationPart = D1 ('MetaData "DocumentationPart" "Amazonka.APIGateway.Types.DocumentationPart" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DocumentationPart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentationPartLocation)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationPart :: DocumentationPart Source #

Create a value of DocumentationPart 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:location:DocumentationPart', documentationPart_location - The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.

$sel:id:DocumentationPart', documentationPart_id - The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

$sel:properties:DocumentationPart', documentationPart_properties - A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.

TestInvokeMethod

data TestInvokeMethod Source #

Make a request to simulate the execution of a Method.

See: newTestInvokeMethod smart constructor.

Instances

Instances details
Eq TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

Read TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

Show TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

Generic TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

Associated Types

type Rep TestInvokeMethod :: Type -> Type #

NFData TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

Methods

rnf :: TestInvokeMethod -> () #

Hashable TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

ToJSON TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

AWSRequest TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

Associated Types

type AWSResponse TestInvokeMethod #

ToHeaders TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

ToPath TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

ToQuery TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

type Rep TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

type AWSResponse TestInvokeMethod Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

newTestInvokeMethod Source #

Create a value of TestInvokeMethod 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:pathWithQueryString:TestInvokeMethod', testInvokeMethod_pathWithQueryString - The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

$sel:body:TestInvokeMethod', testInvokeMethod_body - The simulated request body of an incoming invocation request.

$sel:clientCertificateId:TestInvokeMethod', testInvokeMethod_clientCertificateId - A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.

$sel:stageVariables:TestInvokeMethod', testInvokeMethod_stageVariables - A key-value map of stage variables to simulate an invocation on a deployed Stage.

$sel:headers:TestInvokeMethod', testInvokeMethod_headers - A key-value map of headers to simulate an incoming invocation request.

$sel:multiValueHeaders:TestInvokeMethod', testInvokeMethod_multiValueHeaders - The headers as a map from string to list of values to simulate an incoming invocation request.

$sel:restApiId:TestInvokeMethod', testInvokeMethod_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:TestInvokeMethod', testInvokeMethod_resourceId - [Required] Specifies a test invoke method request's resource ID.

$sel:httpMethod:TestInvokeMethod', testInvokeMethod_httpMethod - [Required] Specifies a test invoke method request's HTTP method.

data TestInvokeMethodResponse Source #

Represents the response of the test invoke request in the HTTP method.

Test API using the API Gateway console

See: newTestInvokeMethodResponse smart constructor.

Instances

Instances details
Eq TestInvokeMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

Read TestInvokeMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

Show TestInvokeMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

Generic TestInvokeMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

Associated Types

type Rep TestInvokeMethodResponse :: Type -> Type #

NFData TestInvokeMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

type Rep TestInvokeMethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeMethod

type Rep TestInvokeMethodResponse = D1 ('MetaData "TestInvokeMethodResponse" "Amazonka.APIGateway.TestInvokeMethod" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "TestInvokeMethodResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "log") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "latency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "multiValueHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newTestInvokeMethodResponse Source #

Create a value of TestInvokeMethodResponse 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:log:TestInvokeMethodResponse', testInvokeMethodResponse_log - The API Gateway execution log for the test invoke request.

$sel:status:TestInvokeMethodResponse', testInvokeMethodResponse_status - The HTTP status code.

$sel:body:TestInvokeMethod', testInvokeMethodResponse_body - The body of the HTTP response.

$sel:latency:TestInvokeMethodResponse', testInvokeMethodResponse_latency - The execution latency of the test invoke request.

$sel:headers:TestInvokeMethod', testInvokeMethodResponse_headers - The headers of the HTTP response.

$sel:multiValueHeaders:TestInvokeMethod', testInvokeMethodResponse_multiValueHeaders - The headers of the HTTP response as a map from string to list of values.

$sel:httpStatus:TestInvokeMethodResponse', testInvokeMethodResponse_httpStatus - The response's http status code.

GetRequestValidator

data GetRequestValidator Source #

Gets a RequestValidator of a given RestApi.

See: newGetRequestValidator smart constructor.

Instances

Instances details
Eq GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

Read GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

Show GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

Generic GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

Associated Types

type Rep GetRequestValidator :: Type -> Type #

NFData GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

Methods

rnf :: GetRequestValidator -> () #

Hashable GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

AWSRequest GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

Associated Types

type AWSResponse GetRequestValidator #

ToHeaders GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

ToPath GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

ToQuery GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

type Rep GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

type Rep GetRequestValidator = D1 ('MetaData "GetRequestValidator" "Amazonka.APIGateway.GetRequestValidator" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetRequestValidator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "requestValidatorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidator

newGetRequestValidator Source #

Create a value of GetRequestValidator 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:restApiId:GetRequestValidator', getRequestValidator_restApiId - [Required] The string identifier of the associated RestApi.

$sel:requestValidatorId:GetRequestValidator', getRequestValidator_requestValidatorId - [Required] The identifier of the RequestValidator to be retrieved.

data RequestValidator Source #

A set of validation rules for incoming Method requests.

In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

Enable Basic Request Validation in API Gateway

See: newRequestValidator smart constructor.

Instances

Instances details
Eq RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Read RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Show RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Generic RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Associated Types

type Rep RequestValidator :: Type -> Type #

NFData RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Methods

rnf :: RequestValidator -> () #

Hashable RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

FromJSON RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

type Rep RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

type Rep RequestValidator = D1 ('MetaData "RequestValidator" "Amazonka.APIGateway.Types.RequestValidator" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "RequestValidator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "validateRequestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "validateRequestBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newRequestValidator :: RequestValidator Source #

Create a value of RequestValidator 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:validateRequestParameters:RequestValidator', requestValidator_validateRequestParameters - A Boolean flag to indicate whether to validate request parameters (true) or not (false).

$sel:name:RequestValidator', requestValidator_name - The name of this RequestValidator

$sel:validateRequestBody:RequestValidator', requestValidator_validateRequestBody - A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

$sel:id:RequestValidator', requestValidator_id - The identifier of this RequestValidator.

GetDomainName

data GetDomainName Source #

Request to get the name of a DomainName resource.

See: newGetDomainName smart constructor.

Constructors

GetDomainName' Text 

Instances

Instances details
Eq GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

Read GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

Show GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

Generic GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

Associated Types

type Rep GetDomainName :: Type -> Type #

NFData GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

Methods

rnf :: GetDomainName -> () #

Hashable GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

AWSRequest GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

Associated Types

type AWSResponse GetDomainName #

ToHeaders GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

ToPath GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

ToQuery GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

type Rep GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

type Rep GetDomainName = D1 ('MetaData "GetDomainName" "Amazonka.APIGateway.GetDomainName" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDomainName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.GetDomainName

newGetDomainName Source #

Create a value of GetDomainName 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:domainName:GetDomainName', getDomainName_domainName - [Required] The name of the DomainName resource.

data DomainName Source #

Represents a custom domain name as a user-friendly host name of an API (RestApi).

When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi, where myApi is the base path mapping (BasePathMapping) of your API under the custom domain name.

Set a Custom Host Name for an API

See: newDomainName smart constructor.

Instances

Instances details
Eq DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Read DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Show DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Generic DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Associated Types

type Rep DomainName :: Type -> Type #

NFData DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Methods

rnf :: DomainName -> () #

Hashable DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

FromJSON DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

type Rep DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

type Rep DomainName = D1 ('MetaData "DomainName" "Amazonka.APIGateway.Types.DomainName" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DomainName'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "regionalHostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ownershipVerificationCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "regionalCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "distributionHostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "securityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityPolicy)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "mutualTlsAuthentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MutualTlsAuthentication)) :*: S1 ('MetaSel ('Just "regionalCertificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "regionalDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateUploadDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "distributionDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainNameStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration)) :*: (S1 ('MetaSel ('Just "domainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainNameStatus)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newDomainName :: DomainName Source #

Create a value of DomainName 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:regionalHostedZoneId:DomainName', domainName_regionalHostedZoneId - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

$sel:certificateName:DomainName', domainName_certificateName - The name of the certificate that will be used by edge-optimized endpoint for this domain name.

$sel:ownershipVerificationCertificateArn:DomainName', domainName_ownershipVerificationCertificateArn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

$sel:regionalCertificateArn:DomainName', domainName_regionalCertificateArn - The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.

$sel:certificateArn:DomainName', domainName_certificateArn - The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

$sel:distributionHostedZoneId:DomainName', domainName_distributionHostedZoneId - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

$sel:securityPolicy:DomainName', domainName_securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

$sel:domainName:DomainName', domainName_domainName - The custom domain name as an API host name, for example, my-api.example.com.

$sel:mutualTlsAuthentication:DomainName', domainName_mutualTlsAuthentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

$sel:regionalCertificateName:DomainName', domainName_regionalCertificateName - The name of the certificate that will be used for validating the regional domain name.

$sel:regionalDomainName:DomainName', domainName_regionalDomainName - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.

$sel:certificateUploadDate:DomainName', domainName_certificateUploadDate - The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

$sel:distributionDomainName:DomainName', domainName_distributionDomainName - The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

$sel:domainNameStatusMessage:DomainName', domainName_domainNameStatusMessage - An optional text message containing detailed information about status of the DomainName migration.

$sel:endpointConfiguration:DomainName', domainName_endpointConfiguration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.

$sel:domainNameStatus:DomainName', domainName_domainNameStatus - The status of the DomainName migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

$sel:tags:DomainName', domainName_tags - The collection of tags. Each tag element is associated with a given resource.

CreateVpcLink

data CreateVpcLink Source #

Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.

See: newCreateVpcLink smart constructor.

Instances

newCreateVpcLink Source #

Create a value of CreateVpcLink 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:description:CreateVpcLink', createVpcLink_description - The description of the VPC link.

$sel:tags:CreateVpcLink', createVpcLink_tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

$sel:name:CreateVpcLink', createVpcLink_name - [Required] The name used to label and identify the VPC link.

$sel:targetArns:CreateVpcLink', createVpcLink_targetArns - [Required] The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.

data VpcLink Source #

An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

To enable access to a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted for one or more network load balancers of the VPC and then integrate an API method with a private integration that uses the VpcLink. The private integration has an integration type of HTTP or HTTP_PROXY and has a connection type of VPC_LINK. The integration uses the connectionId property to identify the VpcLink used.

See: newVpcLink smart constructor.

Instances

newVpcLink :: VpcLink Source #

Create a value of VpcLink 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:status:VpcLink', vpcLink_status - The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

$sel:targetArns:VpcLink', vpcLink_targetArns - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.

$sel:name:VpcLink', vpcLink_name - The name used to label and identify the VPC link.

$sel:statusMessage:VpcLink', vpcLink_statusMessage - A description about the VPC link status.

$sel:id:VpcLink', vpcLink_id - The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

$sel:description:VpcLink', vpcLink_description - The description of the VPC link.

$sel:tags:VpcLink', vpcLink_tags - The collection of tags. Each tag element is associated with a given resource.

DeleteDocumentationPart

data DeleteDocumentationPart Source #

Deletes an existing documentation part of an API.

See: newDeleteDocumentationPart smart constructor.

Instances

Instances details
Eq DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

Read DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

Show DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

Generic DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

Associated Types

type Rep DeleteDocumentationPart :: Type -> Type #

NFData DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

Methods

rnf :: DeleteDocumentationPart -> () #

Hashable DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

AWSRequest DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

ToHeaders DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

ToPath DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

ToQuery DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

type Rep DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

type Rep DeleteDocumentationPart = D1 ('MetaData "DeleteDocumentationPart" "Amazonka.APIGateway.DeleteDocumentationPart" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteDocumentationPart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "documentationPartId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

newDeleteDocumentationPart Source #

Create a value of DeleteDocumentationPart 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:restApiId:DeleteDocumentationPart', deleteDocumentationPart_restApiId - [Required] The string identifier of the associated RestApi.

$sel:documentationPartId:DeleteDocumentationPart', deleteDocumentationPart_documentationPartId - [Required] The identifier of the to-be-deleted documentation part.

data DeleteDocumentationPartResponse Source #

See: newDeleteDocumentationPartResponse smart constructor.

Instances

Instances details
Eq DeleteDocumentationPartResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

Read DeleteDocumentationPartResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

Show DeleteDocumentationPartResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

Generic DeleteDocumentationPartResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

Associated Types

type Rep DeleteDocumentationPartResponse :: Type -> Type #

NFData DeleteDocumentationPartResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

type Rep DeleteDocumentationPartResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationPart

type Rep DeleteDocumentationPartResponse = D1 ('MetaData "DeleteDocumentationPartResponse" "Amazonka.APIGateway.DeleteDocumentationPart" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteDocumentationPartResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteDocumentationPartResponse :: DeleteDocumentationPartResponse Source #

Create a value of DeleteDocumentationPartResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateDocumentationPart

data UpdateDocumentationPart Source #

Updates an existing documentation part of a given API.

See: newUpdateDocumentationPart smart constructor.

Instances

Instances details
Eq UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

Read UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

Show UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

Generic UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

Associated Types

type Rep UpdateDocumentationPart :: Type -> Type #

NFData UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

Methods

rnf :: UpdateDocumentationPart -> () #

Hashable UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

ToJSON UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

AWSRequest UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

ToHeaders UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

ToPath UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

ToQuery UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

type Rep UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

type Rep UpdateDocumentationPart = D1 ('MetaData "UpdateDocumentationPart" "Amazonka.APIGateway.UpdateDocumentationPart" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateDocumentationPart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "documentationPartId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateDocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationPart

newUpdateDocumentationPart Source #

Create a value of UpdateDocumentationPart 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:patchOperations:UpdateDocumentationPart', updateDocumentationPart_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateDocumentationPart', updateDocumentationPart_restApiId - [Required] The string identifier of the associated RestApi.

$sel:documentationPartId:UpdateDocumentationPart', updateDocumentationPart_documentationPartId - [Required] The identifier of the to-be-updated documentation part.

data DocumentationPart Source #

A documentation part for a targeted API entity.

A documentation part consists of a content map (properties) and a target (location). The target specifies an API entity to which the documentation content applies. The supported API entity types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Valid location fields depend on the API entity type. All valid fields are not required.

The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the OpenAPI-compliant documentation fields will be injected into the associated API entity definition in the exported OpenAPI definition file.

Documenting an API, DocumentationParts

See: newDocumentationPart smart constructor.

Instances

Instances details
Eq DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Read DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Show DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Generic DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Associated Types

type Rep DocumentationPart :: Type -> Type #

NFData DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Methods

rnf :: DocumentationPart -> () #

Hashable DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

FromJSON DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

type Rep DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

type Rep DocumentationPart = D1 ('MetaData "DocumentationPart" "Amazonka.APIGateway.Types.DocumentationPart" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DocumentationPart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentationPartLocation)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationPart :: DocumentationPart Source #

Create a value of DocumentationPart 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:location:DocumentationPart', documentationPart_location - The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.

$sel:id:DocumentationPart', documentationPart_id - The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

$sel:properties:DocumentationPart', documentationPart_properties - A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.

GetAuthorizers (Paginated)

data GetAuthorizers Source #

Request to describe an existing Authorizers resource.

See: newGetAuthorizers smart constructor.

Instances

Instances details
Eq GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Read GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Show GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Generic GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Associated Types

type Rep GetAuthorizers :: Type -> Type #

NFData GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Methods

rnf :: GetAuthorizers -> () #

Hashable GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

AWSPager GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

AWSRequest GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Associated Types

type AWSResponse GetAuthorizers #

ToHeaders GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

ToPath GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

ToQuery GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

type Rep GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

type Rep GetAuthorizers = D1 ('MetaData "GetAuthorizers" "Amazonka.APIGateway.GetAuthorizers" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetAuthorizers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetAuthorizers Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

newGetAuthorizers Source #

Create a value of GetAuthorizers 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:limit:GetAuthorizers', getAuthorizers_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetAuthorizers', getAuthorizers_position - The current pagination position in the paged result set.

$sel:restApiId:GetAuthorizers', getAuthorizers_restApiId - [Required] The string identifier of the associated RestApi.

data GetAuthorizersResponse Source #

Represents a collection of Authorizer resources.

Use Lambda Function as Authorizer Use Cognito User Pool as Authorizer

See: newGetAuthorizersResponse smart constructor.

Instances

Instances details
Eq GetAuthorizersResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Read GetAuthorizersResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Show GetAuthorizersResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Generic GetAuthorizersResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Associated Types

type Rep GetAuthorizersResponse :: Type -> Type #

NFData GetAuthorizersResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

Methods

rnf :: GetAuthorizersResponse -> () #

type Rep GetAuthorizersResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizers

type Rep GetAuthorizersResponse = D1 ('MetaData "GetAuthorizersResponse" "Amazonka.APIGateway.GetAuthorizers" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetAuthorizersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Authorizer])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetAuthorizersResponse Source #

Create a value of GetAuthorizersResponse 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:items:GetAuthorizersResponse', getAuthorizersResponse_items - The current page of elements from this collection.

$sel:position:GetAuthorizers', getAuthorizersResponse_position - Undocumented member.

$sel:httpStatus:GetAuthorizersResponse', getAuthorizersResponse_httpStatus - The response's http status code.

CreateDocumentationVersion

data CreateDocumentationVersion Source #

Creates a new documentation version of a given API.

See: newCreateDocumentationVersion smart constructor.

Instances

Instances details
Eq CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

Read CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

Show CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

Generic CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

Associated Types

type Rep CreateDocumentationVersion :: Type -> Type #

NFData CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

Hashable CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

ToJSON CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

AWSRequest CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

ToHeaders CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

ToPath CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

ToQuery CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

type Rep CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

type Rep CreateDocumentationVersion = D1 ('MetaData "CreateDocumentationVersion" "Amazonka.APIGateway.CreateDocumentationVersion" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateDocumentationVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.CreateDocumentationVersion

newCreateDocumentationVersion Source #

Create a value of CreateDocumentationVersion 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:stageName:CreateDocumentationVersion', createDocumentationVersion_stageName - The stage name to be associated with the new documentation snapshot.

$sel:description:CreateDocumentationVersion', createDocumentationVersion_description - A description about the new documentation snapshot.

$sel:restApiId:CreateDocumentationVersion', createDocumentationVersion_restApiId - [Required] The string identifier of the associated RestApi.

$sel:documentationVersion:CreateDocumentationVersion', createDocumentationVersion_documentationVersion - [Required] The version identifier of the new snapshot.

data DocumentationVersion Source #

A snapshot of the documentation of an API.

Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., OpenAPI) file.

Documenting an API, DocumentationPart, DocumentationVersions

See: newDocumentationVersion smart constructor.

Instances

Instances details
Eq DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Read DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Show DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Generic DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Associated Types

type Rep DocumentationVersion :: Type -> Type #

NFData DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Methods

rnf :: DocumentationVersion -> () #

Hashable DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

FromJSON DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion = D1 ('MetaData "DocumentationVersion" "Amazonka.APIGateway.Types.DocumentationVersion" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DocumentationVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationVersion :: DocumentationVersion Source #

Create a value of DocumentationVersion 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:createdDate:DocumentationVersion', documentationVersion_createdDate - The date when the API documentation snapshot is created.

$sel:version:DocumentationVersion', documentationVersion_version - The version identifier of the API documentation snapshot.

$sel:description:DocumentationVersion', documentationVersion_description - The description of the API documentation snapshot.

PutIntegrationResponse

data PutIntegrationResponse Source #

Represents a put integration response request.

See: newPutIntegrationResponse smart constructor.

Instances

Instances details
Eq PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

Read PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

Show PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

Generic PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

Associated Types

type Rep PutIntegrationResponse :: Type -> Type #

NFData PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

Methods

rnf :: PutIntegrationResponse -> () #

Hashable PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

ToJSON PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

AWSRequest PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

Associated Types

type AWSResponse PutIntegrationResponse #

ToHeaders PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

ToPath PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

ToQuery PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

type Rep PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

type Rep PutIntegrationResponse = D1 ('MetaData "PutIntegrationResponse" "Amazonka.APIGateway.PutIntegrationResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "PutIntegrationResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "selectionPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: ((S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse PutIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegrationResponse

newPutIntegrationResponse Source #

Create a value of PutIntegrationResponse 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:contentHandling:PutIntegrationResponse', putIntegrationResponse_contentHandling - Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

  • CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
  • CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

$sel:responseTemplates:PutIntegrationResponse', putIntegrationResponse_responseTemplates - Specifies a put integration response's templates.

$sel:selectionPattern:PutIntegrationResponse', putIntegrationResponse_selectionPattern - Specifies the selection pattern of a put integration response.

$sel:responseParameters:PutIntegrationResponse', putIntegrationResponse_responseParameters - A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name must be a valid and unique response header name and JSON-expression a valid JSON expression without the $ prefix.

$sel:restApiId:PutIntegrationResponse', putIntegrationResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:PutIntegrationResponse', putIntegrationResponse_resourceId - [Required] Specifies a put integration response request's resource identifier.

$sel:httpMethod:PutIntegrationResponse', putIntegrationResponse_httpMethod - [Required] Specifies a put integration response request's HTTP method.

$sel:statusCode:PutIntegrationResponse', putIntegrationResponse_statusCode - [Required] Specifies the status code that is used to map the integration response to an existing MethodResponse.

data IntegrationResponse Source #

Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.

Creating an API

See: newIntegrationResponse smart constructor.

Instances

Instances details
Eq IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Read IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Show IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Generic IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Associated Types

type Rep IntegrationResponse :: Type -> Type #

NFData IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Methods

rnf :: IntegrationResponse -> () #

Hashable IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

FromJSON IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

type Rep IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

type Rep IntegrationResponse = D1 ('MetaData "IntegrationResponse" "Amazonka.APIGateway.Types.IntegrationResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "IntegrationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "selectionPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newIntegrationResponse :: IntegrationResponse Source #

Create a value of IntegrationResponse 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:contentHandling:IntegrationResponse', integrationResponse_contentHandling - Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

  • CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
  • CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

$sel:responseTemplates:IntegrationResponse', integrationResponse_responseTemplates - Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

$sel:selectionPattern:IntegrationResponse', integrationResponse_selectionPattern - Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (\n) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.

$sel:statusCode:IntegrationResponse', integrationResponse_statusCode - Specifies the status code that is used to map the integration response to an existing MethodResponse.

$sel:responseParameters:IntegrationResponse', integrationResponse_responseParameters - A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.

GetUsagePlanKeys (Paginated)

data GetUsagePlanKeys Source #

The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.

See: newGetUsagePlanKeys smart constructor.

Instances

Instances details
Eq GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

Read GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

Show GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

Generic GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

Associated Types

type Rep GetUsagePlanKeys :: Type -> Type #

NFData GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

Methods

rnf :: GetUsagePlanKeys -> () #

Hashable GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

AWSPager GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

AWSRequest GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

Associated Types

type AWSResponse GetUsagePlanKeys #

ToHeaders GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

ToPath GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

ToQuery GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

type Rep GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

type Rep GetUsagePlanKeys = D1 ('MetaData "GetUsagePlanKeys" "Amazonka.APIGateway.GetUsagePlanKeys" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetUsagePlanKeys'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nameQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetUsagePlanKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

newGetUsagePlanKeys Source #

Create a value of GetUsagePlanKeys 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:nameQuery:GetUsagePlanKeys', getUsagePlanKeys_nameQuery - A query parameter specifying the name of the to-be-returned usage plan keys.

$sel:limit:GetUsagePlanKeys', getUsagePlanKeys_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetUsagePlanKeys', getUsagePlanKeys_position - The current pagination position in the paged result set.

$sel:usagePlanId:GetUsagePlanKeys', getUsagePlanKeys_usagePlanId - [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

data GetUsagePlanKeysResponse Source #

Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.

Create and Use Usage Plans

See: newGetUsagePlanKeysResponse smart constructor.

Instances

Instances details
Eq GetUsagePlanKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

Read GetUsagePlanKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

Show GetUsagePlanKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

Generic GetUsagePlanKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

Associated Types

type Rep GetUsagePlanKeysResponse :: Type -> Type #

NFData GetUsagePlanKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

type Rep GetUsagePlanKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKeys

type Rep GetUsagePlanKeysResponse = D1 ('MetaData "GetUsagePlanKeysResponse" "Amazonka.APIGateway.GetUsagePlanKeys" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetUsagePlanKeysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UsagePlanKey])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetUsagePlanKeysResponse Source #

Create a value of GetUsagePlanKeysResponse 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:items:GetUsagePlanKeysResponse', getUsagePlanKeysResponse_items - The current page of elements from this collection.

$sel:position:GetUsagePlanKeys', getUsagePlanKeysResponse_position - Undocumented member.

$sel:httpStatus:GetUsagePlanKeysResponse', getUsagePlanKeysResponse_httpStatus - The response's http status code.

DeleteVpcLink

data DeleteVpcLink Source #

Deletes an existing VpcLink of a specified identifier.

See: newDeleteVpcLink smart constructor.

Constructors

DeleteVpcLink' Text 

Instances

newDeleteVpcLink Source #

Create a value of DeleteVpcLink 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:vpcLinkId:DeleteVpcLink', deleteVpcLink_vpcLinkId - [Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

data DeleteVpcLinkResponse Source #

See: newDeleteVpcLinkResponse smart constructor.

Instances

Instances details
Eq DeleteVpcLinkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteVpcLink

Read DeleteVpcLinkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteVpcLink

Show DeleteVpcLinkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteVpcLink

Generic DeleteVpcLinkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteVpcLink

Associated Types

type Rep DeleteVpcLinkResponse :: Type -> Type #

NFData DeleteVpcLinkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteVpcLink

Methods

rnf :: DeleteVpcLinkResponse -> () #

type Rep DeleteVpcLinkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteVpcLink

type Rep DeleteVpcLinkResponse = D1 ('MetaData "DeleteVpcLinkResponse" "Amazonka.APIGateway.DeleteVpcLink" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteVpcLinkResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteVpcLinkResponse :: DeleteVpcLinkResponse Source #

Create a value of DeleteVpcLinkResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateVpcLink

data UpdateVpcLink Source #

Updates an existing VpcLink of a specified identifier.

See: newUpdateVpcLink smart constructor.

Instances

newUpdateVpcLink Source #

Create a value of UpdateVpcLink 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:patchOperations:UpdateVpcLink', updateVpcLink_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:vpcLinkId:UpdateVpcLink', updateVpcLink_vpcLinkId - [Required] The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

data VpcLink Source #

An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

To enable access to a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted for one or more network load balancers of the VPC and then integrate an API method with a private integration that uses the VpcLink. The private integration has an integration type of HTTP or HTTP_PROXY and has a connection type of VPC_LINK. The integration uses the connectionId property to identify the VpcLink used.

See: newVpcLink smart constructor.

Instances

newVpcLink :: VpcLink Source #

Create a value of VpcLink 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:status:VpcLink', vpcLink_status - The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

$sel:targetArns:VpcLink', vpcLink_targetArns - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.

$sel:name:VpcLink', vpcLink_name - The name used to label and identify the VPC link.

$sel:statusMessage:VpcLink', vpcLink_statusMessage - A description about the VPC link status.

$sel:id:VpcLink', vpcLink_id - The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

$sel:description:VpcLink', vpcLink_description - The description of the VPC link.

$sel:tags:VpcLink', vpcLink_tags - The collection of tags. Each tag element is associated with a given resource.

FlushStageCache

data FlushStageCache Source #

Requests API Gateway to flush a stage's cache.

See: newFlushStageCache smart constructor.

Constructors

FlushStageCache' Text Text 

Instances

Instances details
Eq FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Read FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Show FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Generic FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Associated Types

type Rep FlushStageCache :: Type -> Type #

NFData FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Methods

rnf :: FlushStageCache -> () #

Hashable FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

AWSRequest FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Associated Types

type AWSResponse FlushStageCache #

ToHeaders FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

ToPath FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

ToQuery FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

type Rep FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

type Rep FlushStageCache = D1 ('MetaData "FlushStageCache" "Amazonka.APIGateway.FlushStageCache" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "FlushStageCache'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse FlushStageCache Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

newFlushStageCache Source #

Create a value of FlushStageCache 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:restApiId:FlushStageCache', flushStageCache_restApiId - [Required] The string identifier of the associated RestApi.

$sel:stageName:FlushStageCache', flushStageCache_stageName - [Required] The name of the stage to flush its cache.

data FlushStageCacheResponse Source #

See: newFlushStageCacheResponse smart constructor.

Instances

Instances details
Eq FlushStageCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Read FlushStageCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Show FlushStageCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Generic FlushStageCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Associated Types

type Rep FlushStageCacheResponse :: Type -> Type #

NFData FlushStageCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

Methods

rnf :: FlushStageCacheResponse -> () #

type Rep FlushStageCacheResponse Source # 
Instance details

Defined in Amazonka.APIGateway.FlushStageCache

type Rep FlushStageCacheResponse = D1 ('MetaData "FlushStageCacheResponse" "Amazonka.APIGateway.FlushStageCache" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "FlushStageCacheResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newFlushStageCacheResponse :: FlushStageCacheResponse Source #

Create a value of FlushStageCacheResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

CreateRestApi

data CreateRestApi Source #

The POST Request to add a new RestApi resource to your collection.

See: newCreateRestApi smart constructor.

Instances

Instances details
Eq CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

Read CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

Show CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

Generic CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

Associated Types

type Rep CreateRestApi :: Type -> Type #

NFData CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

Methods

rnf :: CreateRestApi -> () #

Hashable CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

ToJSON CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

AWSRequest CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

Associated Types

type AWSResponse CreateRestApi #

ToHeaders CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

ToPath CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

ToQuery CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

type Rep CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

type Rep CreateRestApi = D1 ('MetaData "CreateRestApi" "Amazonka.APIGateway.CreateRestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateRestApi'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "minimumCompressionSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "disableExecuteApiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "binaryMediaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiKeySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiKeySourceType))))) :*: ((S1 ('MetaSel ('Just "cloneFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.CreateRestApi

newCreateRestApi Source #

Create a value of CreateRestApi 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:minimumCompressionSize:CreateRestApi', createRestApi_minimumCompressionSize - A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

$sel:disableExecuteApiEndpoint:CreateRestApi', createRestApi_disableExecuteApiEndpoint - Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

$sel:binaryMediaTypes:CreateRestApi', createRestApi_binaryMediaTypes - The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

$sel:version:CreateRestApi', createRestApi_version - A version identifier for the API.

$sel:apiKeySource:CreateRestApi', createRestApi_apiKeySource - The source of the API key for metering requests according to a usage plan. Valid values are:

  • HEADER to read the API key from the X-API-Key header of a request.
  • AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.

$sel:cloneFrom:CreateRestApi', createRestApi_cloneFrom - The ID of the RestApi that you want to clone from.

$sel:policy:CreateRestApi', createRestApi_policy - A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

$sel:endpointConfiguration:CreateRestApi', createRestApi_endpointConfiguration - The endpoint configuration of this RestApi showing the endpoint types of the API.

$sel:description:CreateRestApi', createRestApi_description - The description of the RestApi.

$sel:tags:CreateRestApi', createRestApi_tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

$sel:name:CreateRestApi', createRestApi_name - [Required] The name of the RestApi.

data RestApi Source #

Represents a REST API.

Create an API

See: newRestApi smart constructor.

Instances

Instances details
Eq RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

(==) :: RestApi -> RestApi -> Bool #

(/=) :: RestApi -> RestApi -> Bool #

Read RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Show RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Generic RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Associated Types

type Rep RestApi :: Type -> Type #

Methods

from :: RestApi -> Rep RestApi x #

to :: Rep RestApi x -> RestApi #

NFData RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

rnf :: RestApi -> () #

Hashable RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

hashWithSalt :: Int -> RestApi -> Int #

hash :: RestApi -> Int #

FromJSON RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi = D1 ('MetaData "RestApi" "Amazonka.APIGateway.Types.RestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "RestApi'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "minimumCompressionSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "disableExecuteApiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "binaryMediaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiKeySourceType)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newRestApi :: RestApi Source #

Create a value of RestApi 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:minimumCompressionSize:RestApi', restApi_minimumCompressionSize - A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

$sel:disableExecuteApiEndpoint:RestApi', restApi_disableExecuteApiEndpoint - Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

$sel:binaryMediaTypes:RestApi', restApi_binaryMediaTypes - The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

$sel:warnings:RestApi', restApi_warnings - The warning messages reported when failonwarnings is turned on during API import.

$sel:createdDate:RestApi', restApi_createdDate - The timestamp when the API was created.

$sel:name:RestApi', restApi_name - The API's name.

$sel:version:RestApi', restApi_version - A version identifier for the API.

$sel:apiKeySource:RestApi', restApi_apiKeySource - The source of the API key for metering requests according to a usage plan. Valid values are:

  • HEADER to read the API key from the X-API-Key header of a request.
  • AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.

$sel:id:RestApi', restApi_id - The API's identifier. This identifier is unique across all of your APIs in API Gateway.

$sel:policy:RestApi', restApi_policy - A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

$sel:endpointConfiguration:RestApi', restApi_endpointConfiguration - The endpoint configuration of this RestApi showing the endpoint types of the API.

$sel:description:RestApi', restApi_description - The API's description.

$sel:tags:RestApi', restApi_tags - The collection of tags. Each tag element is associated with a given resource.

DeleteIntegrationResponse

data DeleteIntegrationResponse Source #

Represents a delete integration response request.

See: newDeleteIntegrationResponse smart constructor.

Instances

Instances details
Eq DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

Read DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

Show DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

Generic DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

Associated Types

type Rep DeleteIntegrationResponse :: Type -> Type #

NFData DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

Hashable DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

AWSRequest DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

ToHeaders DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

ToPath DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

ToQuery DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

type Rep DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

type Rep DeleteIntegrationResponse = D1 ('MetaData "DeleteIntegrationResponse" "Amazonka.APIGateway.DeleteIntegrationResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteIntegrationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

newDeleteIntegrationResponse Source #

Create a value of DeleteIntegrationResponse 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:restApiId:DeleteIntegrationResponse', deleteIntegrationResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:DeleteIntegrationResponse', deleteIntegrationResponse_resourceId - [Required] Specifies a delete integration response request's resource identifier.

$sel:httpMethod:DeleteIntegrationResponse', deleteIntegrationResponse_httpMethod - [Required] Specifies a delete integration response request's HTTP method.

$sel:statusCode:DeleteIntegrationResponse', deleteIntegrationResponse_statusCode - [Required] Specifies a delete integration response request's status code.

data DeleteIntegrationResponseResponse Source #

See: newDeleteIntegrationResponseResponse smart constructor.

Instances

Instances details
Eq DeleteIntegrationResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

Read DeleteIntegrationResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

Show DeleteIntegrationResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

Generic DeleteIntegrationResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

Associated Types

type Rep DeleteIntegrationResponseResponse :: Type -> Type #

NFData DeleteIntegrationResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

type Rep DeleteIntegrationResponseResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegrationResponse

type Rep DeleteIntegrationResponseResponse = D1 ('MetaData "DeleteIntegrationResponseResponse" "Amazonka.APIGateway.DeleteIntegrationResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteIntegrationResponseResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteIntegrationResponseResponse :: DeleteIntegrationResponseResponse Source #

Create a value of DeleteIntegrationResponseResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateIntegrationResponse

data UpdateIntegrationResponse Source #

Represents an update integration response request.

See: newUpdateIntegrationResponse smart constructor.

Instances

Instances details
Eq UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

Read UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

Show UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

Generic UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

Associated Types

type Rep UpdateIntegrationResponse :: Type -> Type #

NFData UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

Hashable UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

ToJSON UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

AWSRequest UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

ToHeaders UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

ToPath UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

ToQuery UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

type Rep UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

type Rep UpdateIntegrationResponse = D1 ('MetaData "UpdateIntegrationResponse" "Amazonka.APIGateway.UpdateIntegrationResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateIntegrationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateIntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegrationResponse

newUpdateIntegrationResponse Source #

Create a value of UpdateIntegrationResponse 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:patchOperations:UpdateIntegrationResponse', updateIntegrationResponse_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateIntegrationResponse', updateIntegrationResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:UpdateIntegrationResponse', updateIntegrationResponse_resourceId - [Required] Specifies an update integration response request's resource identifier.

$sel:httpMethod:UpdateIntegrationResponse', updateIntegrationResponse_httpMethod - [Required] Specifies an update integration response request's HTTP method.

$sel:statusCode:UpdateIntegrationResponse', updateIntegrationResponse_statusCode - [Required] Specifies an update integration response request's status code.

data IntegrationResponse Source #

Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.

Creating an API

See: newIntegrationResponse smart constructor.

Instances

Instances details
Eq IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Read IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Show IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Generic IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Associated Types

type Rep IntegrationResponse :: Type -> Type #

NFData IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Methods

rnf :: IntegrationResponse -> () #

Hashable IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

FromJSON IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

type Rep IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

type Rep IntegrationResponse = D1 ('MetaData "IntegrationResponse" "Amazonka.APIGateway.Types.IntegrationResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "IntegrationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "selectionPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newIntegrationResponse :: IntegrationResponse Source #

Create a value of IntegrationResponse 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:contentHandling:IntegrationResponse', integrationResponse_contentHandling - Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

  • CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
  • CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

$sel:responseTemplates:IntegrationResponse', integrationResponse_responseTemplates - Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

$sel:selectionPattern:IntegrationResponse', integrationResponse_selectionPattern - Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (\n) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.

$sel:statusCode:IntegrationResponse', integrationResponse_statusCode - Specifies the status code that is used to map the integration response to an existing MethodResponse.

$sel:responseParameters:IntegrationResponse', integrationResponse_responseParameters - A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.

UpdateUsage

data UpdateUsage Source #

The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.

See: newUpdateUsage smart constructor.

Instances

Instances details
Eq UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

Read UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

Show UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

Generic UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

Associated Types

type Rep UpdateUsage :: Type -> Type #

NFData UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

Methods

rnf :: UpdateUsage -> () #

Hashable UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

ToJSON UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

AWSRequest UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

Associated Types

type AWSResponse UpdateUsage #

ToHeaders UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

Methods

toHeaders :: UpdateUsage -> [Header] #

ToPath UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

ToQuery UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

type Rep UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

type Rep UpdateUsage = D1 ('MetaData "UpdateUsage" "Amazonka.APIGateway.UpdateUsage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateUsage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateUsage Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsage

newUpdateUsage Source #

Create a value of UpdateUsage 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:patchOperations:UpdateUsage', updateUsage_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:usagePlanId:UpdateUsage', updateUsage_usagePlanId - [Required] The Id of the usage plan associated with the usage data.

$sel:keyId:UpdateUsage', updateUsage_keyId - [Required] The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.

data Usage Source #

Represents the usage data of a usage plan.

Create and Use Usage Plans, Manage Usage in a Usage Plan

See: newUsage smart constructor.

Instances

Instances details
Eq Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

(==) :: Usage -> Usage -> Bool #

(/=) :: Usage -> Usage -> Bool #

Read Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Show Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

showsPrec :: Int -> Usage -> ShowS #

show :: Usage -> String #

showList :: [Usage] -> ShowS #

Generic Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Associated Types

type Rep Usage :: Type -> Type #

Methods

from :: Usage -> Rep Usage x #

to :: Rep Usage x -> Usage #

NFData Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

rnf :: Usage -> () #

Hashable Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

hashWithSalt :: Int -> Usage -> Int #

hash :: Usage -> Int #

FromJSON Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

type Rep Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

type Rep Usage = D1 ('MetaData "Usage" "Amazonka.APIGateway.Types.Usage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Usage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [[Integer]]))) :*: (S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newUsage :: Usage Source #

Create a value of Usage 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:usagePlanId:Usage', usage_usagePlanId - The plan Id associated with this usage data.

$sel:endDate:Usage', usage_endDate - The ending date of the usage data.

$sel:items:Usage', usage_items - The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

$sel:startDate:Usage', usage_startDate - The starting date of the usage data.

$sel:position:Usage', usage_position - Undocumented member.

DeleteIntegration

data DeleteIntegration Source #

Represents a delete integration request.

See: newDeleteIntegration smart constructor.

Instances

Instances details
Eq DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

Read DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

Show DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

Generic DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

Associated Types

type Rep DeleteIntegration :: Type -> Type #

NFData DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

Methods

rnf :: DeleteIntegration -> () #

Hashable DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

AWSRequest DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

Associated Types

type AWSResponse DeleteIntegration #

ToHeaders DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

ToPath DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

ToQuery DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

type Rep DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

type Rep DeleteIntegration = D1 ('MetaData "DeleteIntegration" "Amazonka.APIGateway.DeleteIntegration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteIntegration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

newDeleteIntegration Source #

Create a value of DeleteIntegration 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:restApiId:DeleteIntegration', deleteIntegration_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:DeleteIntegration', deleteIntegration_resourceId - [Required] Specifies a delete integration request's resource identifier.

$sel:httpMethod:DeleteIntegration', deleteIntegration_httpMethod - [Required] Specifies a delete integration request's HTTP method.

data DeleteIntegrationResponse' Source #

See: newDeleteIntegrationResponse' smart constructor.

Instances

Instances details
Eq DeleteIntegrationResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

Read DeleteIntegrationResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

Show DeleteIntegrationResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

Generic DeleteIntegrationResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

Associated Types

type Rep DeleteIntegrationResponse' :: Type -> Type #

NFData DeleteIntegrationResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

type Rep DeleteIntegrationResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteIntegration

type Rep DeleteIntegrationResponse' = D1 ('MetaData "DeleteIntegrationResponse'" "Amazonka.APIGateway.DeleteIntegration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteIntegrationResponse''" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteIntegrationResponse' :: DeleteIntegrationResponse' Source #

Create a value of DeleteIntegrationResponse' with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateIntegration

data UpdateIntegration Source #

Represents an update integration request.

See: newUpdateIntegration smart constructor.

Instances

Instances details
Eq UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

Read UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

Show UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

Generic UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

Associated Types

type Rep UpdateIntegration :: Type -> Type #

NFData UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

Methods

rnf :: UpdateIntegration -> () #

Hashable UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

ToJSON UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

AWSRequest UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

Associated Types

type AWSResponse UpdateIntegration #

ToHeaders UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

ToPath UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

ToQuery UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

type Rep UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

type Rep UpdateIntegration = D1 ('MetaData "UpdateIntegration" "Amazonka.APIGateway.UpdateIntegration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateIntegration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateIntegration

newUpdateIntegration Source #

Create a value of UpdateIntegration 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:patchOperations:UpdateIntegration', updateIntegration_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateIntegration', updateIntegration_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:UpdateIntegration', updateIntegration_resourceId - [Required] Represents an update integration request's resource identifier.

$sel:httpMethod:UpdateIntegration', updateIntegration_httpMethod - [Required] Represents an update integration request's HTTP method.

data Integration Source #

Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.

In the API Gateway console, the built-in Lambda integration is an AWS integration.

Creating an API

See: newIntegration smart constructor.

Instances

Instances details
Eq Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Read Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Show Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Generic Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Associated Types

type Rep Integration :: Type -> Type #

NFData Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Methods

rnf :: Integration -> () #

Hashable Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

FromJSON Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

type Rep Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

type Rep Integration = D1 ('MetaData "Integration" "Amazonka.APIGateway.Types.Integration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Integration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "requestTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "credentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "passthroughBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "integrationResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text IntegrationResponse)))) :*: (S1 ('MetaSel ('Just "tlsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TlsConfig)) :*: S1 ('MetaSel ('Just "cacheNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "timeoutInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntegrationType))) :*: (S1 ('MetaSel ('Just "connectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionType)) :*: S1 ('MetaSel ('Just "cacheKeyParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))))

newIntegration :: Integration Source #

Create a value of Integration 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:httpMethod:Integration', integration_httpMethod - Specifies the integration's HTTP method type.

$sel:requestTemplates:Integration', integration_requestTemplates - Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

$sel:credentials:Integration', integration_credentials - Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\*:user/\*. To use resource-based permissions on supported AWS services, specify null.

$sel:connectionId:Integration', integration_connectionId - The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

$sel:requestParameters:Integration', integration_requestParameters - A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

$sel:contentHandling:Integration', integration_contentHandling - Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

  • CONVERT_TO_BINARY: Converts a request payload from a Base64-encoded string to the corresponding binary blob.
  • CONVERT_TO_TEXT: Converts a request payload from a binary blob to a Base64-encoded string.

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

$sel:passthroughBehavior:Integration', integration_passthroughBehavior - Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates. The valid value is one of the following:

  • WHEN_NO_MATCH: passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request.
  • WHEN_NO_TEMPLATES: passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response.
  • NEVER: rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.

$sel:uri:Integration', integration_uri - Specifies Uniform Resource Identifier (URI) of the integration endpoint.

  • For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification, for either standard integration, where connectionType is not VPC_LINK, or private integration, where connectionType is VPC_LINK. For a private HTTP integration, the URI is not used for routing.
  • For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated AWS service (e.g., s3); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}

$sel:integrationResponses:Integration', integration_integrationResponses - Specifies the integration's responses.

Example: Get integration responses of a method

Request
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 200 OK status and a payload as follows:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" }

Creating an API

$sel:tlsConfig:Integration', integration_tlsConfig - Specifies the TLS configuration for an integration.

$sel:cacheNamespace:Integration', integration_cacheNamespace - Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the cacheNamespace. You can specify the same cacheNamespace across resources to return the same cached data for requests to different resources.

$sel:timeoutInMillis:Integration', integration_timeoutInMillis - Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

$sel:type':Integration', integration_type - Specifies an API method integration type. The valid value is one of the following:

  • AWS: for integrating the API method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration.
  • AWS_PROXY: for integrating the API method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as the Lambda proxy integration.
  • HTTP: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC. This integration is also referred to as the HTTP custom integration.
  • HTTP_PROXY: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC, with the client request passed through as-is. This is also referred to as the HTTP proxy integration.
  • MOCK: for integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend.

For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

$sel:connectionType:Integration', integration_connectionType - The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET.

$sel:cacheKeyParameters:Integration', integration_cacheKeyParameters - A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

TestInvokeAuthorizer

data TestInvokeAuthorizer Source #

Make a request to simulate the execution of an Authorizer.

See: newTestInvokeAuthorizer smart constructor.

Instances

Instances details
Eq TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

Read TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

Show TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

Generic TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

Associated Types

type Rep TestInvokeAuthorizer :: Type -> Type #

NFData TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

Methods

rnf :: TestInvokeAuthorizer -> () #

Hashable TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

ToJSON TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

AWSRequest TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

Associated Types

type AWSResponse TestInvokeAuthorizer #

ToHeaders TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

ToPath TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

ToQuery TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

type Rep TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

type Rep TestInvokeAuthorizer = D1 ('MetaData "TestInvokeAuthorizer" "Amazonka.APIGateway.TestInvokeAuthorizer" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "TestInvokeAuthorizer'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "pathWithQueryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "additionalContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "stageVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: ((S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "multiValueHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text])))) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse TestInvokeAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

newTestInvokeAuthorizer Source #

Create a value of TestInvokeAuthorizer 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:pathWithQueryString:TestInvokeAuthorizer', testInvokeAuthorizer_pathWithQueryString - [Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

$sel:body:TestInvokeAuthorizer', testInvokeAuthorizer_body - [Optional] The simulated request body of an incoming invocation request.

$sel:additionalContext:TestInvokeAuthorizer', testInvokeAuthorizer_additionalContext - [Optional] A key-value map of additional context variables.

$sel:stageVariables:TestInvokeAuthorizer', testInvokeAuthorizer_stageVariables - A key-value map of stage variables to simulate an invocation on a deployed Stage.

$sel:headers:TestInvokeAuthorizer', testInvokeAuthorizer_headers - [Required] A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.

$sel:multiValueHeaders:TestInvokeAuthorizer', testInvokeAuthorizer_multiValueHeaders - [Optional] The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.

$sel:restApiId:TestInvokeAuthorizer', testInvokeAuthorizer_restApiId - [Required] The string identifier of the associated RestApi.

$sel:authorizerId:TestInvokeAuthorizer', testInvokeAuthorizer_authorizerId - [Required] Specifies a test invoke authorizer request's Authorizer ID.

data TestInvokeAuthorizerResponse Source #

Represents the response of the test invoke request for a custom Authorizer

See: newTestInvokeAuthorizerResponse smart constructor.

Instances

Instances details
Eq TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

Read TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

Show TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

Generic TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

Associated Types

type Rep TestInvokeAuthorizerResponse :: Type -> Type #

NFData TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

type Rep TestInvokeAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TestInvokeAuthorizer

type Rep TestInvokeAuthorizerResponse = D1 ('MetaData "TestInvokeAuthorizerResponse" "Amazonka.APIGateway.TestInvokeAuthorizer" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "TestInvokeAuthorizerResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "log") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "latency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "authorization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))))) :*: ((S1 ('MetaSel ('Just "claims") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "clientStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newTestInvokeAuthorizerResponse Source #

Create a value of TestInvokeAuthorizerResponse 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:log:TestInvokeAuthorizerResponse', testInvokeAuthorizerResponse_log - The API Gateway execution log for the test authorizer request.

$sel:principalId:TestInvokeAuthorizerResponse', testInvokeAuthorizerResponse_principalId - The principal identity returned by the Authorizer

$sel:latency:TestInvokeAuthorizerResponse', testInvokeAuthorizerResponse_latency - The execution latency of the test authorizer request.

$sel:authorization:TestInvokeAuthorizerResponse', testInvokeAuthorizerResponse_authorization - Undocumented member.

$sel:claims:TestInvokeAuthorizerResponse', testInvokeAuthorizerResponse_claims - The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.

$sel:clientStatus:TestInvokeAuthorizerResponse', testInvokeAuthorizerResponse_clientStatus - The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.

$sel:policy:TestInvokeAuthorizerResponse', testInvokeAuthorizerResponse_policy - The JSON policy document returned by the Authorizer

$sel:httpStatus:TestInvokeAuthorizerResponse', testInvokeAuthorizerResponse_httpStatus - The response's http status code.

GenerateClientCertificate

data GenerateClientCertificate Source #

A request to generate a ClientCertificate resource.

See: newGenerateClientCertificate smart constructor.

Instances

Instances details
Eq GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

Read GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

Show GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

Generic GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

Associated Types

type Rep GenerateClientCertificate :: Type -> Type #

NFData GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

Hashable GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

ToJSON GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

AWSRequest GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

ToHeaders GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

ToPath GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

ToQuery GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

type Rep GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

type Rep GenerateClientCertificate = D1 ('MetaData "GenerateClientCertificate" "Amazonka.APIGateway.GenerateClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GenerateClientCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))
type AWSResponse GenerateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.GenerateClientCertificate

newGenerateClientCertificate :: GenerateClientCertificate Source #

Create a value of GenerateClientCertificate 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:description:GenerateClientCertificate', generateClientCertificate_description - The description of the ClientCertificate.

$sel:tags:GenerateClientCertificate', generateClientCertificate_tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

data ClientCertificate Source #

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool.

Use Client-Side Certificate

See: newClientCertificate smart constructor.

Instances

Instances details
Eq ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Read ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Show ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Generic ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Associated Types

type Rep ClientCertificate :: Type -> Type #

NFData ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Methods

rnf :: ClientCertificate -> () #

Hashable ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

FromJSON ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate = D1 ('MetaData "ClientCertificate" "Amazonka.APIGateway.Types.ClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ClientCertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pemEncodedCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newClientCertificate :: ClientCertificate Source #

Create a value of ClientCertificate 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:pemEncodedCertificate:ClientCertificate', clientCertificate_pemEncodedCertificate - The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

$sel:clientCertificateId:ClientCertificate', clientCertificate_clientCertificateId - The identifier of the client certificate.

$sel:createdDate:ClientCertificate', clientCertificate_createdDate - The timestamp when the client certificate was created.

$sel:expirationDate:ClientCertificate', clientCertificate_expirationDate - The timestamp when the client certificate will expire.

$sel:description:ClientCertificate', clientCertificate_description - The description of the client certificate.

$sel:tags:ClientCertificate', clientCertificate_tags - The collection of tags. Each tag element is associated with a given resource.

GetResources (Paginated)

data GetResources Source #

Request to list information about a collection of resources.

See: newGetResources smart constructor.

Constructors

GetResources' (Maybe [Text]) (Maybe Int) (Maybe Text) Text 

Instances

Instances details
Eq GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Read GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Show GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Generic GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Associated Types

type Rep GetResources :: Type -> Type #

NFData GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Methods

rnf :: GetResources -> () #

Hashable GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

AWSPager GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

AWSRequest GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Associated Types

type AWSResponse GetResources #

ToHeaders GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

ToPath GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

ToQuery GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

type Rep GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

type Rep GetResources = D1 ('MetaData "GetResources" "Amazonka.APIGateway.GetResources" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetResources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "embed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetResources Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

newGetResources Source #

Create a value of GetResources 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:embed:GetResources', getResources_embed - A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the "methods" string. For example, GET /restapis/{restapi_id}/resources?embed=methods.

$sel:limit:GetResources', getResources_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetResources', getResources_position - The current pagination position in the paged result set.

$sel:restApiId:GetResources', getResources_restApiId - [Required] The string identifier of the associated RestApi.

data GetResourcesResponse Source #

Represents a collection of Resource resources.

Create an API

See: newGetResourcesResponse smart constructor.

Instances

Instances details
Eq GetResourcesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Read GetResourcesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Show GetResourcesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Generic GetResourcesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Associated Types

type Rep GetResourcesResponse :: Type -> Type #

NFData GetResourcesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

Methods

rnf :: GetResourcesResponse -> () #

type Rep GetResourcesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetResources

type Rep GetResourcesResponse = D1 ('MetaData "GetResourcesResponse" "Amazonka.APIGateway.GetResources" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetResourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Resource])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetResourcesResponse Source #

Create a value of GetResourcesResponse 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:items:GetResourcesResponse', getResourcesResponse_items - The current page of elements from this collection.

$sel:position:GetResources', getResourcesResponse_position - Undocumented member.

$sel:httpStatus:GetResourcesResponse', getResourcesResponse_httpStatus - The response's http status code.

GetUsagePlanKey

data GetUsagePlanKey Source #

The GET request to get a usage plan key of a given key identifier.

See: newGetUsagePlanKey smart constructor.

Constructors

GetUsagePlanKey' Text Text 

Instances

Instances details
Eq GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

Read GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

Show GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

Generic GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

Associated Types

type Rep GetUsagePlanKey :: Type -> Type #

NFData GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

Methods

rnf :: GetUsagePlanKey -> () #

Hashable GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

AWSRequest GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

Associated Types

type AWSResponse GetUsagePlanKey #

ToHeaders GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

ToPath GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

ToQuery GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

type Rep GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

type Rep GetUsagePlanKey = D1 ('MetaData "GetUsagePlanKey" "Amazonka.APIGateway.GetUsagePlanKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetUsagePlanKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlanKey

newGetUsagePlanKey Source #

Create a value of GetUsagePlanKey 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:usagePlanId:GetUsagePlanKey', getUsagePlanKey_usagePlanId - [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

$sel:keyId:GetUsagePlanKey', getUsagePlanKey_keyId - [Required] The key Id of the to-be-retrieved UsagePlanKey resource representing a plan customer.

data UsagePlanKey Source #

Represents a usage plan key to identify a plan customer.

To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey.

"

Create and Use Usage Plans

See: newUsagePlanKey smart constructor.

Instances

Instances details
Eq UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Read UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Show UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Generic UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Associated Types

type Rep UsagePlanKey :: Type -> Type #

NFData UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Methods

rnf :: UsagePlanKey -> () #

Hashable UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

FromJSON UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

type Rep UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

type Rep UsagePlanKey = D1 ('MetaData "UsagePlanKey" "Amazonka.APIGateway.Types.UsagePlanKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UsagePlanKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newUsagePlanKey :: UsagePlanKey Source #

Create a value of UsagePlanKey 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:value:UsagePlanKey', usagePlanKey_value - The value of a usage plan key.

$sel:name:UsagePlanKey', usagePlanKey_name - The name of a usage plan key.

$sel:id:UsagePlanKey', usagePlanKey_id - The Id of a usage plan key.

$sel:type':UsagePlanKey', usagePlanKey_type - The type of a usage plan key. Currently, the valid key type is API_KEY.

GetAccount

data GetAccount Source #

Requests API Gateway to get information about the current Account resource.

See: newGetAccount smart constructor.

Constructors

GetAccount' 

Instances

Instances details
Eq GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

Read GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

Show GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

Generic GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

Associated Types

type Rep GetAccount :: Type -> Type #

NFData GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

Methods

rnf :: GetAccount -> () #

Hashable GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

AWSRequest GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

Associated Types

type AWSResponse GetAccount #

ToHeaders GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

Methods

toHeaders :: GetAccount -> [Header] #

ToPath GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

ToQuery GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

type Rep GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

type Rep GetAccount = D1 ('MetaData "GetAccount" "Amazonka.APIGateway.GetAccount" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetAccount'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetAccount Source # 
Instance details

Defined in Amazonka.APIGateway.GetAccount

newGetAccount :: GetAccount Source #

Create a value of GetAccount with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

data Account Source #

Represents an AWS account that is associated with API Gateway.

To view the account info, call GET on this resource.

Error Codes

The following exception may be thrown when the request fails.

  • UnauthorizedException
  • NotFoundException
  • TooManyRequestsException

For detailed error code information, including the corresponding HTTP Status Codes, see API Gateway Error Codes

Example: Get the information about an account.

Request
GET /account HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html", "name": "account", "templated": true }, "self": { "href": "/account" }, "account:update": { "href": "/account" } }, "cloudwatchRoleArn": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "throttleSettings": { "rateLimit": 500, "burstLimit": 1000 } }

In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource.

API Gateway Limits Developer Guide, AWS CLI

See: newAccount smart constructor.

Instances

Instances details
Eq Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Read Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Show Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Generic Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

NFData Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

rnf :: Account -> () #

Hashable Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

FromJSON Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

type Rep Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

type Rep Account = D1 ('MetaData "Account" "Amazonka.APIGateway.Types.Account" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Account'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiKeyVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudwatchRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "features") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "throttleSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThrottleSettings)))))

newAccount :: Account Source #

Create a value of Account 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:apiKeyVersion:Account', account_apiKeyVersion - The version of the API keys used for the account.

$sel:cloudwatchRoleArn:Account', account_cloudwatchRoleArn - The ARN of an Amazon CloudWatch role for the current Account.

$sel:features:Account', account_features - A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

$sel:throttleSettings:Account', account_throttleSettings - Specifies the API request limits configured for the current Account.

PutIntegration

data PutIntegration Source #

Sets up a method's integration.

See: newPutIntegration smart constructor.

Instances

Instances details
Eq PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

Read PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

Show PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

Generic PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

Associated Types

type Rep PutIntegration :: Type -> Type #

NFData PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

Methods

rnf :: PutIntegration -> () #

Hashable PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

ToJSON PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

AWSRequest PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

Associated Types

type AWSResponse PutIntegration #

ToHeaders PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

ToPath PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

ToQuery PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

type Rep PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

type Rep PutIntegration = D1 ('MetaData "PutIntegration" "Amazonka.APIGateway.PutIntegration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "PutIntegration'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "requestTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "credentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: ((S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "passthroughBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tlsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TlsConfig))))) :*: (((S1 ('MetaSel ('Just "cacheNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timeoutInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "connectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionType)) :*: S1 ('MetaSel ('Just "integrationHttpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "cacheKeyParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IntegrationType)))))))
type AWSResponse PutIntegration Source # 
Instance details

Defined in Amazonka.APIGateway.PutIntegration

newPutIntegration Source #

Create a value of PutIntegration 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:requestTemplates:PutIntegration', putIntegration_requestTemplates - Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

$sel:credentials:PutIntegration', putIntegration_credentials - Specifies whether credentials are required for a put integration.

$sel:connectionId:PutIntegration', putIntegration_connectionId - The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

$sel:requestParameters:PutIntegration', putIntegration_requestParameters - A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

$sel:contentHandling:PutIntegration', putIntegration_contentHandling - Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

  • CONVERT_TO_BINARY: Converts a request payload from a Base64-encoded string to the corresponding binary blob.
  • CONVERT_TO_TEXT: Converts a request payload from a binary blob to a Base64-encoded string.

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

$sel:passthroughBehavior:PutIntegration', putIntegration_passthroughBehavior - Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER.

  • WHEN_NO_MATCH passes the request body for unmapped content types through to the integration back end without transformation.
  • NEVER rejects unmapped content types with an HTTP 415 'Unsupported Media Type' response.
  • WHEN_NO_TEMPLATES allows pass-through when the integration has NO content types mapped to templates. However if there is at least one content type defined, unmapped content types will be rejected with the same 415 response.

$sel:uri:PutIntegration', putIntegration_uri - Specifies Uniform Resource Identifier (URI) of the integration endpoint.

  • For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification, for either standard integration, where connectionType is not VPC_LINK, or private integration, where connectionType is VPC_LINK. For a private HTTP integration, the URI is not used for routing.
  • For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated AWS service (e.g., s3); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}

$sel:tlsConfig:PutIntegration', putIntegration_tlsConfig - Undocumented member.

$sel:cacheNamespace:PutIntegration', putIntegration_cacheNamespace - Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the cacheNamespace. You can specify the same cacheNamespace across resources to return the same cached data for requests to different resources.

$sel:timeoutInMillis:PutIntegration', putIntegration_timeoutInMillis - Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

$sel:connectionType:PutIntegration', putIntegration_connectionType - The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET.

$sel:integrationHttpMethod:PutIntegration', putIntegration_integrationHttpMethod - Specifies a put integration HTTP method. When the integration type is HTTP or AWS, this field is required.

$sel:cacheKeyParameters:PutIntegration', putIntegration_cacheKeyParameters - A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

$sel:restApiId:PutIntegration', putIntegration_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:PutIntegration', putIntegration_resourceId - [Required] Specifies a put integration request's resource ID.

$sel:httpMethod:PutIntegration', putIntegration_httpMethod - [Required] Specifies a put integration request's HTTP method.

$sel:type':PutIntegration', putIntegration_type - [Required] Specifies a put integration input's type.

data Integration Source #

Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.

In the API Gateway console, the built-in Lambda integration is an AWS integration.

Creating an API

See: newIntegration smart constructor.

Instances

Instances details
Eq Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Read Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Show Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Generic Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Associated Types

type Rep Integration :: Type -> Type #

NFData Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Methods

rnf :: Integration -> () #

Hashable Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

FromJSON Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

type Rep Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

type Rep Integration = D1 ('MetaData "Integration" "Amazonka.APIGateway.Types.Integration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Integration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "requestTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "credentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "passthroughBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "integrationResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text IntegrationResponse)))) :*: (S1 ('MetaSel ('Just "tlsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TlsConfig)) :*: S1 ('MetaSel ('Just "cacheNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "timeoutInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntegrationType))) :*: (S1 ('MetaSel ('Just "connectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionType)) :*: S1 ('MetaSel ('Just "cacheKeyParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))))

newIntegration :: Integration Source #

Create a value of Integration 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:httpMethod:Integration', integration_httpMethod - Specifies the integration's HTTP method type.

$sel:requestTemplates:Integration', integration_requestTemplates - Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

$sel:credentials:Integration', integration_credentials - Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\*:user/\*. To use resource-based permissions on supported AWS services, specify null.

$sel:connectionId:Integration', integration_connectionId - The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

$sel:requestParameters:Integration', integration_requestParameters - A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

$sel:contentHandling:Integration', integration_contentHandling - Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

  • CONVERT_TO_BINARY: Converts a request payload from a Base64-encoded string to the corresponding binary blob.
  • CONVERT_TO_TEXT: Converts a request payload from a binary blob to a Base64-encoded string.

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

$sel:passthroughBehavior:Integration', integration_passthroughBehavior - Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates. The valid value is one of the following:

  • WHEN_NO_MATCH: passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request.
  • WHEN_NO_TEMPLATES: passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response.
  • NEVER: rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.

$sel:uri:Integration', integration_uri - Specifies Uniform Resource Identifier (URI) of the integration endpoint.

  • For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification, for either standard integration, where connectionType is not VPC_LINK, or private integration, where connectionType is VPC_LINK. For a private HTTP integration, the URI is not used for routing.
  • For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated AWS service (e.g., s3); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}

$sel:integrationResponses:Integration', integration_integrationResponses - Specifies the integration's responses.

Example: Get integration responses of a method

Request
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 200 OK status and a payload as follows:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" }

Creating an API

$sel:tlsConfig:Integration', integration_tlsConfig - Specifies the TLS configuration for an integration.

$sel:cacheNamespace:Integration', integration_cacheNamespace - Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the cacheNamespace. You can specify the same cacheNamespace across resources to return the same cached data for requests to different resources.

$sel:timeoutInMillis:Integration', integration_timeoutInMillis - Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

$sel:type':Integration', integration_type - Specifies an API method integration type. The valid value is one of the following:

  • AWS: for integrating the API method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration.
  • AWS_PROXY: for integrating the API method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as the Lambda proxy integration.
  • HTTP: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC. This integration is also referred to as the HTTP custom integration.
  • HTTP_PROXY: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC, with the client request passed through as-is. This is also referred to as the HTTP proxy integration.
  • MOCK: for integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend.

For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

$sel:connectionType:Integration', integration_connectionType - The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET.

$sel:cacheKeyParameters:Integration', integration_cacheKeyParameters - A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

GetAuthorizer

data GetAuthorizer Source #

Request to describe an existing Authorizer resource.

See: newGetAuthorizer smart constructor.

Constructors

GetAuthorizer' Text Text 

Instances

Instances details
Eq GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

Read GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

Show GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

Generic GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

Associated Types

type Rep GetAuthorizer :: Type -> Type #

NFData GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

Methods

rnf :: GetAuthorizer -> () #

Hashable GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

AWSRequest GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

Associated Types

type AWSResponse GetAuthorizer #

ToHeaders GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

ToPath GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

ToQuery GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

type Rep GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

type Rep GetAuthorizer = D1 ('MetaData "GetAuthorizer" "Amazonka.APIGateway.GetAuthorizer" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetAuthorizer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.GetAuthorizer

newGetAuthorizer Source #

Create a value of GetAuthorizer 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:restApiId:GetAuthorizer', getAuthorizer_restApiId - [Required] The string identifier of the associated RestApi.

$sel:authorizerId:GetAuthorizer', getAuthorizer_authorizerId - [Required] The identifier of the Authorizer resource.

data Authorizer Source #

Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.

Use Lambda Function as Authorizer Use Cognito User Pool as Authorizer

See: newAuthorizer smart constructor.

Instances

Instances details
Eq Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Read Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Show Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Generic Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Associated Types

type Rep Authorizer :: Type -> Type #

NFData Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Methods

rnf :: Authorizer -> () #

Hashable Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

FromJSON Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

type Rep Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

newAuthorizer :: Authorizer Source #

Create a value of Authorizer 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:authorizerUri:Authorizer', authorizer_authorizerUri - Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

$sel:identityValidationExpression:Authorizer', authorizer_identityValidationExpression - A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. For COGNITO_USER_POOLS authorizers, API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

$sel:providerARNs:Authorizer', authorizer_providerARNs - A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

$sel:name:Authorizer', authorizer_name - [Required] The name of the authorizer.

$sel:id:Authorizer', authorizer_id - The identifier for the authorizer resource.

$sel:authorizerResultTtlInSeconds:Authorizer', authorizer_authorizerResultTtlInSeconds - The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

$sel:authType:Authorizer', authorizer_authType - Optional customer-defined field, used in OpenAPI imports and exports without functional impact.

$sel:type':Authorizer', authorizer_type - The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

$sel:identitySource:Authorizer', authorizer_identitySource - The identity source for which authorization is requested.

  • For a TOKEN or COGNITO_USER_POOLS authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth, the header mapping expression is method.request.header.Auth.
  • For the REQUEST authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth header, a Name query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name. These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.

$sel:authorizerCredentials:Authorizer', authorizer_authorizerCredentials - Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

DeleteUsagePlan

data DeleteUsagePlan Source #

The DELETE request to delete a usage plan of a given plan Id.

See: newDeleteUsagePlan smart constructor.

Constructors

DeleteUsagePlan' Text 

Instances

Instances details
Eq DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Read DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Show DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Generic DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Associated Types

type Rep DeleteUsagePlan :: Type -> Type #

NFData DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Methods

rnf :: DeleteUsagePlan -> () #

Hashable DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

AWSRequest DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Associated Types

type AWSResponse DeleteUsagePlan #

ToHeaders DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

ToPath DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

ToQuery DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

type Rep DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

type Rep DeleteUsagePlan = D1 ('MetaData "DeleteUsagePlan" "Amazonka.APIGateway.DeleteUsagePlan" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteUsagePlan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

newDeleteUsagePlan Source #

Create a value of DeleteUsagePlan 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:usagePlanId:DeleteUsagePlan', deleteUsagePlan_usagePlanId - [Required] The Id of the to-be-deleted usage plan.

data DeleteUsagePlanResponse Source #

See: newDeleteUsagePlanResponse smart constructor.

Instances

Instances details
Eq DeleteUsagePlanResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Read DeleteUsagePlanResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Show DeleteUsagePlanResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Generic DeleteUsagePlanResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Associated Types

type Rep DeleteUsagePlanResponse :: Type -> Type #

NFData DeleteUsagePlanResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

Methods

rnf :: DeleteUsagePlanResponse -> () #

type Rep DeleteUsagePlanResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlan

type Rep DeleteUsagePlanResponse = D1 ('MetaData "DeleteUsagePlanResponse" "Amazonka.APIGateway.DeleteUsagePlan" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteUsagePlanResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteUsagePlanResponse :: DeleteUsagePlanResponse Source #

Create a value of DeleteUsagePlanResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateUsagePlan

data UpdateUsagePlan Source #

The PATCH request to update a usage plan of a given plan Id.

See: newUpdateUsagePlan smart constructor.

Instances

Instances details
Eq UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

Read UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

Show UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

Generic UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

Associated Types

type Rep UpdateUsagePlan :: Type -> Type #

NFData UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

Methods

rnf :: UpdateUsagePlan -> () #

Hashable UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

ToJSON UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

AWSRequest UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

Associated Types

type AWSResponse UpdateUsagePlan #

ToHeaders UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

ToPath UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

ToQuery UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

type Rep UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

type Rep UpdateUsagePlan = D1 ('MetaData "UpdateUsagePlan" "Amazonka.APIGateway.UpdateUsagePlan" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateUsagePlan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateUsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateUsagePlan

newUpdateUsagePlan Source #

Create a value of UpdateUsagePlan 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:patchOperations:UpdateUsagePlan', updateUsagePlan_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:usagePlanId:UpdateUsagePlan', updateUsagePlan_usagePlanId - [Required] The Id of the to-be-updated usage plan.

data UsagePlan Source #

Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.

In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan.

Create and Use Usage Plans

See: newUsagePlan smart constructor.

Instances

Instances details
Eq UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Read UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Show UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Generic UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Associated Types

type Rep UsagePlan :: Type -> Type #

NFData UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Methods

rnf :: UsagePlan -> () #

Hashable UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

FromJSON UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

type Rep UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

newUsagePlan :: UsagePlan Source #

Create a value of UsagePlan 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:apiStages:UsagePlan', usagePlan_apiStages - The associated API stages of a usage plan.

$sel:name:UsagePlan', usagePlan_name - The name of a usage plan.

$sel:id:UsagePlan', usagePlan_id - The identifier of a UsagePlan resource.

$sel:throttle:UsagePlan', usagePlan_throttle - The request throttle limits of a usage plan.

$sel:quota:UsagePlan', usagePlan_quota - The maximum number of permitted requests per a given unit time interval.

$sel:description:UsagePlan', usagePlan_description - The description of a usage plan.

$sel:productCode:UsagePlan', usagePlan_productCode - The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.

$sel:tags:UsagePlan', usagePlan_tags - The collection of tags. Each tag element is associated with a given resource.

GetStage

data GetStage Source #

Requests API Gateway to get information about a Stage resource.

See: newGetStage smart constructor.

Constructors

GetStage' Text Text 

Instances

Instances details
Eq GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

Read GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

Show GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

Generic GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

Associated Types

type Rep GetStage :: Type -> Type #

Methods

from :: GetStage -> Rep GetStage x #

to :: Rep GetStage x -> GetStage #

NFData GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

Methods

rnf :: GetStage -> () #

Hashable GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

Methods

hashWithSalt :: Int -> GetStage -> Int #

hash :: GetStage -> Int #

AWSRequest GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

Associated Types

type AWSResponse GetStage #

ToHeaders GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

Methods

toHeaders :: GetStage -> [Header] #

ToPath GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

ToQuery GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

type Rep GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

type Rep GetStage = D1 ('MetaData "GetStage" "Amazonka.APIGateway.GetStage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetStage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetStage Source # 
Instance details

Defined in Amazonka.APIGateway.GetStage

newGetStage Source #

Create a value of GetStage 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:restApiId:GetStage', getStage_restApiId - [Required] The string identifier of the associated RestApi.

$sel:stageName:GetStage', getStage_stageName - [Required] The name of the Stage resource to get information about.

data Stage Source #

Represents a unique identifier for a version of a deployed RestApi that is callable by users.

Deploy an API

See: newStage smart constructor.

Instances

Instances details
Eq Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

(==) :: Stage -> Stage -> Bool #

(/=) :: Stage -> Stage -> Bool #

Read Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Show Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

showsPrec :: Int -> Stage -> ShowS #

show :: Stage -> String #

showList :: [Stage] -> ShowS #

Generic Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Associated Types

type Rep Stage :: Type -> Type #

Methods

from :: Stage -> Rep Stage x #

to :: Rep Stage x -> Stage #

NFData Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

rnf :: Stage -> () #

Hashable Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

hashWithSalt :: Int -> Stage -> Int #

hash :: Stage -> Int #

FromJSON Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

type Rep Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

type Rep Stage = D1 ('MetaData "Stage" "Amazonka.APIGateway.Types.Stage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Stage'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "accessLogSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessLogSettings)) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tracingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "cacheClusterStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterStatus))))) :*: (((S1 ('MetaSel ('Just "methodSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MethodSetting))) :*: S1 ('MetaSel ('Just "lastUpdatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "cacheClusterSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterSize)) :*: S1 ('MetaSel ('Just "webAclArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "canarySettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CanarySettings)) :*: S1 ('MetaSel ('Just "cacheClusterEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newStage :: Stage Source #

Create a value of Stage 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:deploymentId:Stage', stage_deploymentId - The identifier of the Deployment that the stage points to.

$sel:variables:Stage', stage_variables - A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

$sel:accessLogSettings:Stage', stage_accessLogSettings - Settings for logging access in this stage.

$sel:documentationVersion:Stage', stage_documentationVersion - The version of the associated API documentation.

$sel:clientCertificateId:Stage', stage_clientCertificateId - The identifier of a client certificate for an API stage.

$sel:tracingEnabled:Stage', stage_tracingEnabled - Specifies whether active tracing with X-ray is enabled for the Stage.

$sel:createdDate:Stage', stage_createdDate - The timestamp when the stage was created.

$sel:cacheClusterStatus:Stage', stage_cacheClusterStatus - The status of the cache cluster for the stage, if enabled.

$sel:methodSettings:Stage', stage_methodSettings - A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\*/\* for overriding all methods in the stage.

$sel:lastUpdatedDate:Stage', stage_lastUpdatedDate - The timestamp when the stage last updated.

$sel:cacheClusterSize:Stage', stage_cacheClusterSize - The size of the cache cluster for the stage, if enabled.

$sel:webAclArn:Stage', stage_webAclArn - The ARN of the WebAcl associated with the Stage.

$sel:canarySettings:Stage', stage_canarySettings - Settings for the canary deployment in this stage.

$sel:cacheClusterEnabled:Stage', stage_cacheClusterEnabled - Specifies whether a cache cluster is enabled for the stage.

$sel:stageName:Stage', stage_stageName - The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

$sel:description:Stage', stage_description - The stage's description.

$sel:tags:Stage', stage_tags - The collection of tags. Each tag element is associated with a given resource.

GetExport

data GetExport Source #

Request a new export of a RestApi for a particular Stage.

See: newGetExport smart constructor.

Instances

Instances details
Eq GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Read GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Show GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Generic GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Associated Types

type Rep GetExport :: Type -> Type #

NFData GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Methods

rnf :: GetExport -> () #

Hashable GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

AWSRequest GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Associated Types

type AWSResponse GetExport #

ToHeaders GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Methods

toHeaders :: GetExport -> [Header] #

ToPath GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

ToQuery GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

type Rep GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

type Rep GetExport = D1 ('MetaData "GetExport" "Amazonka.APIGateway.GetExport" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetExport'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "accepts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "exportType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse GetExport Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

newGetExport Source #

Create a value of GetExport 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:parameters:GetExport', getExport_parameters - A key-value map of query string parameters that specify properties of the export, depending on the requested exportType. For exportType oas30 and swagger, any combination of the following parameters are supported: extensions='integrations' or extensions='apigateway' will export the API with x-amazon-apigateway-integration extensions. extensions='authorizers' will export the API with x-amazon-apigateway-authorizer extensions. postman will export the API with Postman extensions, allowing for import to the Postman tool

$sel:accepts:GetExport', getExport_accepts - The content-type of the export, for example application/json. Currently application/json and application/yaml are supported for exportType ofoas30 and swagger. This should be specified in the Accept header for direct API requests.

$sel:restApiId:GetExport', getExport_restApiId - [Required] The string identifier of the associated RestApi.

$sel:stageName:GetExport', getExport_stageName - [Required] The name of the Stage that will be exported.

$sel:exportType:GetExport', getExport_exportType - [Required] The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0.

data GetExportResponse Source #

The binary blob response to GetExport, which contains the generated SDK.

See: newGetExportResponse smart constructor.

Instances

Instances details
Eq GetExportResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Show GetExportResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Generic GetExportResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Associated Types

type Rep GetExportResponse :: Type -> Type #

NFData GetExportResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

Methods

rnf :: GetExportResponse -> () #

type Rep GetExportResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetExport

type Rep GetExportResponse = D1 ('MetaData "GetExportResponse" "Amazonka.APIGateway.GetExport" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetExportResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 ('MetaSel ('Just "contentDisposition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetExportResponse Source #

Create a value of GetExportResponse 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:body:GetExportResponse', getExportResponse_body - The binary blob response to GetExport, which contains the export.

$sel:contentDisposition:GetExportResponse', getExportResponse_contentDisposition - The content-disposition header value in the HTTP response.

$sel:contentType:GetExportResponse', getExportResponse_contentType - The content-type header value in the HTTP response. This will correspond to a valid 'accept' type in the request.

$sel:httpStatus:GetExportResponse', getExportResponse_httpStatus - The response's http status code.

GetSdk

data GetSdk Source #

Request a new generated client SDK for a RestApi and Stage.

See: newGetSdk smart constructor.

Instances

Instances details
Eq GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Methods

(==) :: GetSdk -> GetSdk -> Bool #

(/=) :: GetSdk -> GetSdk -> Bool #

Read GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Show GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Generic GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Associated Types

type Rep GetSdk :: Type -> Type #

Methods

from :: GetSdk -> Rep GetSdk x #

to :: Rep GetSdk x -> GetSdk #

NFData GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Methods

rnf :: GetSdk -> () #

Hashable GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Methods

hashWithSalt :: Int -> GetSdk -> Int #

hash :: GetSdk -> Int #

AWSRequest GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Associated Types

type AWSResponse GetSdk #

ToHeaders GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Methods

toHeaders :: GetSdk -> [Header] #

ToPath GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Methods

toPath :: GetSdk -> ByteString #

ToQuery GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

type Rep GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

type Rep GetSdk = D1 ('MetaData "GetSdk" "Amazonka.APIGateway.GetSdk" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetSdk'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sdkType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetSdk Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

newGetSdk Source #

Create a value of GetSdk 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:parameters:GetSdk', getSdk_parameters - A string-to-string key-value map of query parameters sdkType-dependent properties of the SDK. For sdkType of objectivec or swift, a parameter named classPrefix is required. For sdkType of android, parameters named groupId, artifactId, artifactVersion, and invokerPackage are required. For sdkType of java, parameters named serviceName and javaPackageName are required.

$sel:restApiId:GetSdk', getSdk_restApiId - [Required] The string identifier of the associated RestApi.

$sel:stageName:GetSdk', getSdk_stageName - [Required] The name of the Stage that the SDK will use.

$sel:sdkType:GetSdk', getSdk_sdkType - [Required] The language for the generated SDK. Currently java, javascript, android, objectivec (for iOS), swift (for iOS), and ruby are supported.

data GetSdkResponse Source #

The binary blob response to GetSdk, which contains the generated SDK.

See: newGetSdkResponse smart constructor.

Instances

Instances details
Eq GetSdkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Show GetSdkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Generic GetSdkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Associated Types

type Rep GetSdkResponse :: Type -> Type #

NFData GetSdkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

Methods

rnf :: GetSdkResponse -> () #

type Rep GetSdkResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdk

type Rep GetSdkResponse = D1 ('MetaData "GetSdkResponse" "Amazonka.APIGateway.GetSdk" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetSdkResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 ('MetaSel ('Just "contentDisposition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetSdkResponse Source #

Create a value of GetSdkResponse 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:body:GetSdkResponse', getSdkResponse_body - The binary blob response to GetSdk, which contains the generated SDK.

$sel:contentDisposition:GetSdkResponse', getSdkResponse_contentDisposition - The content-disposition header value in the HTTP response.

$sel:contentType:GetSdkResponse', getSdkResponse_contentType - The content-type header value in the HTTP response.

$sel:httpStatus:GetSdkResponse', getSdkResponse_httpStatus - The response's http status code.

GetApiKeys (Paginated)

data GetApiKeys Source #

A request to get information about the current ApiKeys resource.

See: newGetApiKeys smart constructor.

Instances

Instances details
Eq GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Read GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Show GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Generic GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Associated Types

type Rep GetApiKeys :: Type -> Type #

NFData GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Methods

rnf :: GetApiKeys -> () #

Hashable GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

AWSPager GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

AWSRequest GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Associated Types

type AWSResponse GetApiKeys #

ToHeaders GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Methods

toHeaders :: GetApiKeys -> [Header] #

ToPath GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

ToQuery GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

type Rep GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

type Rep GetApiKeys = D1 ('MetaData "GetApiKeys" "Amazonka.APIGateway.GetApiKeys" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetApiKeys'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "includeValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "customerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nameQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))
type AWSResponse GetApiKeys Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

newGetApiKeys :: GetApiKeys Source #

Create a value of GetApiKeys 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:includeValues:GetApiKeys', getApiKeys_includeValues - A boolean flag to specify whether (true) or not (false) the result contains key values.

$sel:customerId:GetApiKeys', getApiKeys_customerId - The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.

$sel:nameQuery:GetApiKeys', getApiKeys_nameQuery - The name of queried API keys.

$sel:limit:GetApiKeys', getApiKeys_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetApiKeys', getApiKeys_position - The current pagination position in the paged result set.

data GetApiKeysResponse Source #

Represents a collection of API keys as represented by an ApiKeys resource.

Use API Keys

See: newGetApiKeysResponse smart constructor.

Instances

Instances details
Eq GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Read GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Show GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Generic GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Associated Types

type Rep GetApiKeysResponse :: Type -> Type #

NFData GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

Methods

rnf :: GetApiKeysResponse -> () #

type Rep GetApiKeysResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKeys

type Rep GetApiKeysResponse = D1 ('MetaData "GetApiKeysResponse" "Amazonka.APIGateway.GetApiKeys" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetApiKeysResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ApiKey])) :*: S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetApiKeysResponse Source #

Create a value of GetApiKeysResponse 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:items:GetApiKeysResponse', getApiKeysResponse_items - The current page of elements from this collection.

$sel:warnings:GetApiKeysResponse', getApiKeysResponse_warnings - A list of warning messages logged during the import of API keys when the failOnWarnings option is set to true.

$sel:position:GetApiKeys', getApiKeysResponse_position - Undocumented member.

$sel:httpStatus:GetApiKeysResponse', getApiKeysResponse_httpStatus - The response's http status code.

DeleteBasePathMapping

data DeleteBasePathMapping Source #

A request to delete the BasePathMapping resource.

See: newDeleteBasePathMapping smart constructor.

Instances

Instances details
Eq DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

Read DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

Show DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

Generic DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

Associated Types

type Rep DeleteBasePathMapping :: Type -> Type #

NFData DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

Methods

rnf :: DeleteBasePathMapping -> () #

Hashable DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

AWSRequest DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

Associated Types

type AWSResponse DeleteBasePathMapping #

ToHeaders DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

ToPath DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

ToQuery DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

type Rep DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

type Rep DeleteBasePathMapping = D1 ('MetaData "DeleteBasePathMapping" "Amazonka.APIGateway.DeleteBasePathMapping" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteBasePathMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

newDeleteBasePathMapping Source #

Create a value of DeleteBasePathMapping 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:domainName:DeleteBasePathMapping', deleteBasePathMapping_domainName - [Required] The domain name of the BasePathMapping resource to delete.

$sel:basePath:DeleteBasePathMapping', deleteBasePathMapping_basePath - [Required] The base path name of the BasePathMapping resource to delete.

To specify an empty base path, set this parameter to '(none)'.

data DeleteBasePathMappingResponse Source #

See: newDeleteBasePathMappingResponse smart constructor.

Instances

Instances details
Eq DeleteBasePathMappingResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

Read DeleteBasePathMappingResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

Show DeleteBasePathMappingResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

Generic DeleteBasePathMappingResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

Associated Types

type Rep DeleteBasePathMappingResponse :: Type -> Type #

NFData DeleteBasePathMappingResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

type Rep DeleteBasePathMappingResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteBasePathMapping

type Rep DeleteBasePathMappingResponse = D1 ('MetaData "DeleteBasePathMappingResponse" "Amazonka.APIGateway.DeleteBasePathMapping" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteBasePathMappingResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteBasePathMappingResponse :: DeleteBasePathMappingResponse Source #

Create a value of DeleteBasePathMappingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateBasePathMapping

data UpdateBasePathMapping Source #

A request to change information about the BasePathMapping resource.

See: newUpdateBasePathMapping smart constructor.

Instances

Instances details
Eq UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

Read UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

Show UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

Generic UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

Associated Types

type Rep UpdateBasePathMapping :: Type -> Type #

NFData UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

Methods

rnf :: UpdateBasePathMapping -> () #

Hashable UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

ToJSON UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

AWSRequest UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

Associated Types

type AWSResponse UpdateBasePathMapping #

ToHeaders UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

ToPath UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

ToQuery UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

type Rep UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

type Rep UpdateBasePathMapping = D1 ('MetaData "UpdateBasePathMapping" "Amazonka.APIGateway.UpdateBasePathMapping" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateBasePathMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateBasePathMapping

newUpdateBasePathMapping Source #

Create a value of UpdateBasePathMapping 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:patchOperations:UpdateBasePathMapping', updateBasePathMapping_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:domainName:UpdateBasePathMapping', updateBasePathMapping_domainName - [Required] The domain name of the BasePathMapping resource to change.

$sel:basePath:UpdateBasePathMapping', updateBasePathMapping_basePath - [Required] The base path of the BasePathMapping resource to change.

To specify an empty base path, set this parameter to '(none)'.

data BasePathMapping Source #

Represents the base path that callers of the API must provide as part of the URL after the domain name.

A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account.

Use Custom Domain Names

See: newBasePathMapping smart constructor.

Instances

Instances details
Eq BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Read BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Show BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Generic BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Associated Types

type Rep BasePathMapping :: Type -> Type #

NFData BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Methods

rnf :: BasePathMapping -> () #

Hashable BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

FromJSON BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping = D1 ('MetaData "BasePathMapping" "Amazonka.APIGateway.Types.BasePathMapping" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "BasePathMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBasePathMapping :: BasePathMapping Source #

Create a value of BasePathMapping 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:stage:BasePathMapping', basePathMapping_stage - The name of the associated stage.

$sel:basePath:BasePathMapping', basePathMapping_basePath - The base path name that callers of the API must provide as part of the URL after the domain name.

$sel:restApiId:BasePathMapping', basePathMapping_restApiId - The string identifier of the associated RestApi.

DeleteClientCertificate

data DeleteClientCertificate Source #

A request to delete the ClientCertificate resource.

See: newDeleteClientCertificate smart constructor.

Instances

Instances details
Eq DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

Read DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

Show DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

Generic DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

Associated Types

type Rep DeleteClientCertificate :: Type -> Type #

NFData DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

Methods

rnf :: DeleteClientCertificate -> () #

Hashable DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

AWSRequest DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

ToHeaders DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

ToPath DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

ToQuery DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

type Rep DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

type Rep DeleteClientCertificate = D1 ('MetaData "DeleteClientCertificate" "Amazonka.APIGateway.DeleteClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteClientCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

newDeleteClientCertificate Source #

Create a value of DeleteClientCertificate 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:clientCertificateId:DeleteClientCertificate', deleteClientCertificate_clientCertificateId - [Required] The identifier of the ClientCertificate resource to be deleted.

data DeleteClientCertificateResponse Source #

See: newDeleteClientCertificateResponse smart constructor.

Instances

Instances details
Eq DeleteClientCertificateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

Read DeleteClientCertificateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

Show DeleteClientCertificateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

Generic DeleteClientCertificateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

Associated Types

type Rep DeleteClientCertificateResponse :: Type -> Type #

NFData DeleteClientCertificateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

type Rep DeleteClientCertificateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteClientCertificate

type Rep DeleteClientCertificateResponse = D1 ('MetaData "DeleteClientCertificateResponse" "Amazonka.APIGateway.DeleteClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteClientCertificateResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteClientCertificateResponse :: DeleteClientCertificateResponse Source #

Create a value of DeleteClientCertificateResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateClientCertificate

data UpdateClientCertificate Source #

A request to change information about an ClientCertificate resource.

See: newUpdateClientCertificate smart constructor.

Instances

Instances details
Eq UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

Read UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

Show UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

Generic UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

Associated Types

type Rep UpdateClientCertificate :: Type -> Type #

NFData UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

Methods

rnf :: UpdateClientCertificate -> () #

Hashable UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

ToJSON UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

AWSRequest UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

ToHeaders UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

ToPath UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

ToQuery UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

type Rep UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

type Rep UpdateClientCertificate = D1 ('MetaData "UpdateClientCertificate" "Amazonka.APIGateway.UpdateClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateClientCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateClientCertificate

newUpdateClientCertificate Source #

Create a value of UpdateClientCertificate 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:patchOperations:UpdateClientCertificate', updateClientCertificate_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:clientCertificateId:UpdateClientCertificate', updateClientCertificate_clientCertificateId - [Required] The identifier of the ClientCertificate resource to be updated.

data ClientCertificate Source #

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool.

Use Client-Side Certificate

See: newClientCertificate smart constructor.

Instances

Instances details
Eq ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Read ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Show ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Generic ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Associated Types

type Rep ClientCertificate :: Type -> Type #

NFData ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Methods

rnf :: ClientCertificate -> () #

Hashable ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

FromJSON ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate = D1 ('MetaData "ClientCertificate" "Amazonka.APIGateway.Types.ClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ClientCertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pemEncodedCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newClientCertificate :: ClientCertificate Source #

Create a value of ClientCertificate 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:pemEncodedCertificate:ClientCertificate', clientCertificate_pemEncodedCertificate - The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

$sel:clientCertificateId:ClientCertificate', clientCertificate_clientCertificateId - The identifier of the client certificate.

$sel:createdDate:ClientCertificate', clientCertificate_createdDate - The timestamp when the client certificate was created.

$sel:expirationDate:ClientCertificate', clientCertificate_expirationDate - The timestamp when the client certificate will expire.

$sel:description:ClientCertificate', clientCertificate_description - The description of the client certificate.

$sel:tags:ClientCertificate', clientCertificate_tags - The collection of tags. Each tag element is associated with a given resource.

GetGatewayResponse

data GetGatewayResponse Source #

Gets a GatewayResponse of a specified response type on the given RestApi.

See: newGetGatewayResponse smart constructor.

Instances

Instances details
Eq GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

Read GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

Show GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

Generic GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

Associated Types

type Rep GetGatewayResponse :: Type -> Type #

NFData GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

Methods

rnf :: GetGatewayResponse -> () #

Hashable GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

AWSRequest GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

Associated Types

type AWSResponse GetGatewayResponse #

ToHeaders GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

ToPath GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

ToQuery GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

type Rep GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

type Rep GetGatewayResponse = D1 ('MetaData "GetGatewayResponse" "Amazonka.APIGateway.GetGatewayResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetGatewayResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "responseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GatewayResponseType)))
type AWSResponse GetGatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetGatewayResponse

newGetGatewayResponse Source #

Create a value of GetGatewayResponse 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:restApiId:GetGatewayResponse', getGatewayResponse_restApiId - [Required] The string identifier of the associated RestApi.

$sel:responseType:GetGatewayResponse', getGatewayResponse_responseType - [Required]

The response type of the associated GatewayResponse.

data GatewayResponse Source #

A gateway response of a given response type and status code, with optional response parameters and mapping templates.

For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway

Example: Get a Gateway Response of a given response type

Request

This example shows how to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type.

GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45

The response type is specified as a URL path.

Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", "name": "gatewayresponse", "templated": true }, "self": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:delete": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, "defaultResponse": false, "responseParameters": { "gatewayresponse.header.x-request-path": "method.request.path.petId", "gatewayresponse.header.Access-Control-Allow-Origin": "'a.b.c'", "gatewayresponse.header.x-request-query": "method.request.querystring.q", "gatewayresponse.header.x-request-header": "method.request.header.Accept" }, "responseTemplates": { "application/json": "{\n \"message\": $context.error.messageString,\n \"type\": \"$context.error.responseType\",\n \"stage\": \"$context.stage\",\n \"resourcePath\": \"$context.resourcePath\",\n \"stageVariables.a\": \"$stageVariables.a\",\n \"statusCode\": \"'404'\"\n}" }, "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "404" }

Customize Gateway Responses

See: newGatewayResponse smart constructor.

Instances

Instances details
Eq GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Read GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Show GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Generic GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Associated Types

type Rep GatewayResponse :: Type -> Type #

NFData GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Methods

rnf :: GatewayResponse -> () #

Hashable GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

FromJSON GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

type Rep GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

type Rep GatewayResponse = D1 ('MetaData "GatewayResponse" "Amazonka.APIGateway.Types.GatewayResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GatewayResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "responseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GatewayResponseType)) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newGatewayResponse :: GatewayResponse Source #

Create a value of GatewayResponse 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:defaultResponse:GatewayResponse', gatewayResponse_defaultResponse - A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

$sel:responseTemplates:GatewayResponse', gatewayResponse_responseTemplates - Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

$sel:responseType:GatewayResponse', gatewayResponse_responseType - The response type of the associated GatewayResponse.

$sel:statusCode:GatewayResponse', gatewayResponse_statusCode - The HTTP status code for this GatewayResponse.

$sel:responseParameters:GatewayResponse', gatewayResponse_responseParameters - Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

CreateUsagePlanKey

data CreateUsagePlanKey Source #

The POST request to create a usage plan key for adding an existing API key to a usage plan.

See: newCreateUsagePlanKey smart constructor.

Instances

Instances details
Eq CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

Read CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

Show CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

Generic CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

Associated Types

type Rep CreateUsagePlanKey :: Type -> Type #

NFData CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

Methods

rnf :: CreateUsagePlanKey -> () #

Hashable CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

ToJSON CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

AWSRequest CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

Associated Types

type AWSResponse CreateUsagePlanKey #

ToHeaders CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

ToPath CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

ToQuery CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

type Rep CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

type Rep CreateUsagePlanKey = D1 ('MetaData "CreateUsagePlanKey" "Amazonka.APIGateway.CreateUsagePlanKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateUsagePlanKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "keyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateUsagePlanKey

newCreateUsagePlanKey Source #

Create a value of CreateUsagePlanKey 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:usagePlanId:CreateUsagePlanKey', createUsagePlanKey_usagePlanId - [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.

$sel:keyId:CreateUsagePlanKey', createUsagePlanKey_keyId - [Required] The identifier of a UsagePlanKey resource for a plan customer.

$sel:keyType:CreateUsagePlanKey', createUsagePlanKey_keyType - [Required] The type of a UsagePlanKey resource for a plan customer.

data UsagePlanKey Source #

Represents a usage plan key to identify a plan customer.

To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey.

"

Create and Use Usage Plans

See: newUsagePlanKey smart constructor.

Instances

Instances details
Eq UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Read UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Show UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Generic UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Associated Types

type Rep UsagePlanKey :: Type -> Type #

NFData UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Methods

rnf :: UsagePlanKey -> () #

Hashable UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

FromJSON UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

type Rep UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

type Rep UsagePlanKey = D1 ('MetaData "UsagePlanKey" "Amazonka.APIGateway.Types.UsagePlanKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UsagePlanKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newUsagePlanKey :: UsagePlanKey Source #

Create a value of UsagePlanKey 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:value:UsagePlanKey', usagePlanKey_value - The value of a usage plan key.

$sel:name:UsagePlanKey', usagePlanKey_name - The name of a usage plan key.

$sel:id:UsagePlanKey', usagePlanKey_id - The Id of a usage plan key.

$sel:type':UsagePlanKey', usagePlanKey_type - The type of a usage plan key. Currently, the valid key type is API_KEY.

CreateAuthorizer

data CreateAuthorizer Source #

Request to add a new Authorizer to an existing RestApi resource.

See: newCreateAuthorizer smart constructor.

Instances

Instances details
Eq CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

Read CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

Show CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

Generic CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

Associated Types

type Rep CreateAuthorizer :: Type -> Type #

NFData CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

Methods

rnf :: CreateAuthorizer -> () #

Hashable CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

ToJSON CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

AWSRequest CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

Associated Types

type AWSResponse CreateAuthorizer #

ToHeaders CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

ToPath CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

ToQuery CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

type Rep CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

type Rep CreateAuthorizer = D1 ('MetaData "CreateAuthorizer" "Amazonka.APIGateway.CreateAuthorizer" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateAuthorizer'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "authorizerUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identityValidationExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "providerARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "authorizerResultTtlInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "authType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "identitySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "authorizerCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AuthorizerType))))))
type AWSResponse CreateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.CreateAuthorizer

newCreateAuthorizer Source #

Create a value of CreateAuthorizer 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:authorizerUri:CreateAuthorizer', createAuthorizer_authorizerUri - Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

$sel:identityValidationExpression:CreateAuthorizer', createAuthorizer_identityValidationExpression - A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. For COGNITO_USER_POOLS authorizers, API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

$sel:providerARNs:CreateAuthorizer', createAuthorizer_providerARNs - A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

$sel:authorizerResultTtlInSeconds:CreateAuthorizer', createAuthorizer_authorizerResultTtlInSeconds - The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

$sel:authType:CreateAuthorizer', createAuthorizer_authType - Optional customer-defined field, used in OpenAPI imports and exports without functional impact.

$sel:identitySource:CreateAuthorizer', createAuthorizer_identitySource - The identity source for which authorization is requested.

  • For a TOKEN or COGNITO_USER_POOLS authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth, the header mapping expression is method.request.header.Auth.
  • For the REQUEST authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth header, a Name query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name. These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.

$sel:authorizerCredentials:CreateAuthorizer', createAuthorizer_authorizerCredentials - Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

$sel:restApiId:CreateAuthorizer', createAuthorizer_restApiId - [Required] The string identifier of the associated RestApi.

$sel:name:CreateAuthorizer', createAuthorizer_name - [Required] The name of the authorizer.

$sel:type':CreateAuthorizer', createAuthorizer_type - [Required] The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

data Authorizer Source #

Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.

Use Lambda Function as Authorizer Use Cognito User Pool as Authorizer

See: newAuthorizer smart constructor.

Instances

Instances details
Eq Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Read Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Show Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Generic Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Associated Types

type Rep Authorizer :: Type -> Type #

NFData Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Methods

rnf :: Authorizer -> () #

Hashable Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

FromJSON Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

type Rep Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

newAuthorizer :: Authorizer Source #

Create a value of Authorizer 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:authorizerUri:Authorizer', authorizer_authorizerUri - Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

$sel:identityValidationExpression:Authorizer', authorizer_identityValidationExpression - A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. For COGNITO_USER_POOLS authorizers, API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

$sel:providerARNs:Authorizer', authorizer_providerARNs - A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

$sel:name:Authorizer', authorizer_name - [Required] The name of the authorizer.

$sel:id:Authorizer', authorizer_id - The identifier for the authorizer resource.

$sel:authorizerResultTtlInSeconds:Authorizer', authorizer_authorizerResultTtlInSeconds - The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

$sel:authType:Authorizer', authorizer_authType - Optional customer-defined field, used in OpenAPI imports and exports without functional impact.

$sel:type':Authorizer', authorizer_type - The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

$sel:identitySource:Authorizer', authorizer_identitySource - The identity source for which authorization is requested.

  • For a TOKEN or COGNITO_USER_POOLS authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth, the header mapping expression is method.request.header.Auth.
  • For the REQUEST authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth header, a Name query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name. These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.

$sel:authorizerCredentials:Authorizer', authorizer_authorizerCredentials - Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

UpdateAuthorizer

data UpdateAuthorizer Source #

Request to update an existing Authorizer resource.

See: newUpdateAuthorizer smart constructor.

Instances

Instances details
Eq UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

Read UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

Show UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

Generic UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

Associated Types

type Rep UpdateAuthorizer :: Type -> Type #

NFData UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

Methods

rnf :: UpdateAuthorizer -> () #

Hashable UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

ToJSON UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

AWSRequest UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

Associated Types

type AWSResponse UpdateAuthorizer #

ToHeaders UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

ToPath UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

ToQuery UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

type Rep UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

type Rep UpdateAuthorizer = D1 ('MetaData "UpdateAuthorizer" "Amazonka.APIGateway.UpdateAuthorizer" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateAuthorizer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateAuthorizer

newUpdateAuthorizer Source #

Create a value of UpdateAuthorizer 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:patchOperations:UpdateAuthorizer', updateAuthorizer_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateAuthorizer', updateAuthorizer_restApiId - [Required] The string identifier of the associated RestApi.

$sel:authorizerId:UpdateAuthorizer', updateAuthorizer_authorizerId - [Required] The identifier of the Authorizer resource.

data Authorizer Source #

Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.

Use Lambda Function as Authorizer Use Cognito User Pool as Authorizer

See: newAuthorizer smart constructor.

Instances

Instances details
Eq Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Read Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Show Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Generic Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Associated Types

type Rep Authorizer :: Type -> Type #

NFData Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Methods

rnf :: Authorizer -> () #

Hashable Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

FromJSON Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

type Rep Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

newAuthorizer :: Authorizer Source #

Create a value of Authorizer 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:authorizerUri:Authorizer', authorizer_authorizerUri - Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

$sel:identityValidationExpression:Authorizer', authorizer_identityValidationExpression - A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. For COGNITO_USER_POOLS authorizers, API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

$sel:providerARNs:Authorizer', authorizer_providerARNs - A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

$sel:name:Authorizer', authorizer_name - [Required] The name of the authorizer.

$sel:id:Authorizer', authorizer_id - The identifier for the authorizer resource.

$sel:authorizerResultTtlInSeconds:Authorizer', authorizer_authorizerResultTtlInSeconds - The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

$sel:authType:Authorizer', authorizer_authType - Optional customer-defined field, used in OpenAPI imports and exports without functional impact.

$sel:type':Authorizer', authorizer_type - The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

$sel:identitySource:Authorizer', authorizer_identitySource - The identity source for which authorization is requested.

  • For a TOKEN or COGNITO_USER_POOLS authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth, the header mapping expression is method.request.header.Auth.
  • For the REQUEST authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth header, a Name query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name. These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.

$sel:authorizerCredentials:Authorizer', authorizer_authorizerCredentials - Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

DeleteAuthorizer

data DeleteAuthorizer Source #

Request to delete an existing Authorizer resource.

See: newDeleteAuthorizer smart constructor.

Instances

Instances details
Eq DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

Read DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

Show DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

Generic DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

Associated Types

type Rep DeleteAuthorizer :: Type -> Type #

NFData DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

Methods

rnf :: DeleteAuthorizer -> () #

Hashable DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

AWSRequest DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

Associated Types

type AWSResponse DeleteAuthorizer #

ToHeaders DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

ToPath DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

ToQuery DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

type Rep DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

type Rep DeleteAuthorizer = D1 ('MetaData "DeleteAuthorizer" "Amazonka.APIGateway.DeleteAuthorizer" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteAuthorizer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteAuthorizer Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

newDeleteAuthorizer Source #

Create a value of DeleteAuthorizer 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:restApiId:DeleteAuthorizer', deleteAuthorizer_restApiId - [Required] The string identifier of the associated RestApi.

$sel:authorizerId:DeleteAuthorizer', deleteAuthorizer_authorizerId - [Required] The identifier of the Authorizer resource.

data DeleteAuthorizerResponse Source #

See: newDeleteAuthorizerResponse smart constructor.

Instances

Instances details
Eq DeleteAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

Read DeleteAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

Show DeleteAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

Generic DeleteAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

Associated Types

type Rep DeleteAuthorizerResponse :: Type -> Type #

NFData DeleteAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

type Rep DeleteAuthorizerResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteAuthorizer

type Rep DeleteAuthorizerResponse = D1 ('MetaData "DeleteAuthorizerResponse" "Amazonka.APIGateway.DeleteAuthorizer" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteAuthorizerResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteAuthorizerResponse :: DeleteAuthorizerResponse Source #

Create a value of DeleteAuthorizerResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

TagResource

data TagResource Source #

Adds or updates a tag on a given resource.

See: newTagResource smart constructor.

Instances

Instances details
Eq TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Read TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Generic TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

NFData TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Methods

rnf :: TagResource -> () #

Hashable TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

ToJSON TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Associated Types

type AWSResponse TagResource #

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.APIGateway.TagResource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))
type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

newTagResource Source #

Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn - [Required] The ARN of a resource that can be tagged.

$sel:tags:TagResource', tagResource_tags - [Required] The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Constructors

TagResourceResponse' 

Instances

Instances details
Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

Methods

rnf :: TagResourceResponse -> () #

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.APIGateway.TagResource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newTagResourceResponse :: TagResourceResponse Source #

Create a value of TagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

CreateStage

data CreateStage Source #

Requests API Gateway to create a Stage resource.

See: newCreateStage smart constructor.

Instances

Instances details
Eq CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

Read CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

Show CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

Generic CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

Associated Types

type Rep CreateStage :: Type -> Type #

NFData CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

Methods

rnf :: CreateStage -> () #

Hashable CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

ToJSON CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

AWSRequest CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

Associated Types

type AWSResponse CreateStage #

ToHeaders CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

Methods

toHeaders :: CreateStage -> [Header] #

ToPath CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

ToQuery CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

type Rep CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

type Rep CreateStage = D1 ('MetaData "CreateStage" "Amazonka.APIGateway.CreateStage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateStage'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tracingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "cacheClusterSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterSize)) :*: S1 ('MetaSel ('Just "canarySettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CanarySettings))))) :*: ((S1 ('MetaSel ('Just "cacheClusterEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateStage Source # 
Instance details

Defined in Amazonka.APIGateway.CreateStage

newCreateStage Source #

Create a value of CreateStage 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:variables:CreateStage', createStage_variables - A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

$sel:documentationVersion:CreateStage', createStage_documentationVersion - The version of the associated API documentation.

$sel:tracingEnabled:CreateStage', createStage_tracingEnabled - Specifies whether active tracing with X-ray is enabled for the Stage.

$sel:cacheClusterSize:CreateStage', createStage_cacheClusterSize - The stage's cache cluster size.

$sel:canarySettings:CreateStage', createStage_canarySettings - The canary deployment settings of this stage.

$sel:cacheClusterEnabled:CreateStage', createStage_cacheClusterEnabled - Whether cache clustering is enabled for the stage.

$sel:description:CreateStage', createStage_description - The description of the Stage resource.

$sel:tags:CreateStage', createStage_tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

$sel:restApiId:CreateStage', createStage_restApiId - [Required] The string identifier of the associated RestApi.

$sel:stageName:CreateStage', createStage_stageName - [Required] The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

$sel:deploymentId:CreateStage', createStage_deploymentId - [Required] The identifier of the Deployment resource for the Stage resource.

data Stage Source #

Represents a unique identifier for a version of a deployed RestApi that is callable by users.

Deploy an API

See: newStage smart constructor.

Instances

Instances details
Eq Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

(==) :: Stage -> Stage -> Bool #

(/=) :: Stage -> Stage -> Bool #

Read Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Show Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

showsPrec :: Int -> Stage -> ShowS #

show :: Stage -> String #

showList :: [Stage] -> ShowS #

Generic Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Associated Types

type Rep Stage :: Type -> Type #

Methods

from :: Stage -> Rep Stage x #

to :: Rep Stage x -> Stage #

NFData Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

rnf :: Stage -> () #

Hashable Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

hashWithSalt :: Int -> Stage -> Int #

hash :: Stage -> Int #

FromJSON Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

type Rep Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

type Rep Stage = D1 ('MetaData "Stage" "Amazonka.APIGateway.Types.Stage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Stage'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "accessLogSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessLogSettings)) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tracingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "cacheClusterStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterStatus))))) :*: (((S1 ('MetaSel ('Just "methodSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MethodSetting))) :*: S1 ('MetaSel ('Just "lastUpdatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "cacheClusterSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterSize)) :*: S1 ('MetaSel ('Just "webAclArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "canarySettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CanarySettings)) :*: S1 ('MetaSel ('Just "cacheClusterEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newStage :: Stage Source #

Create a value of Stage 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:deploymentId:Stage', stage_deploymentId - The identifier of the Deployment that the stage points to.

$sel:variables:Stage', stage_variables - A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

$sel:accessLogSettings:Stage', stage_accessLogSettings - Settings for logging access in this stage.

$sel:documentationVersion:Stage', stage_documentationVersion - The version of the associated API documentation.

$sel:clientCertificateId:Stage', stage_clientCertificateId - The identifier of a client certificate for an API stage.

$sel:tracingEnabled:Stage', stage_tracingEnabled - Specifies whether active tracing with X-ray is enabled for the Stage.

$sel:createdDate:Stage', stage_createdDate - The timestamp when the stage was created.

$sel:cacheClusterStatus:Stage', stage_cacheClusterStatus - The status of the cache cluster for the stage, if enabled.

$sel:methodSettings:Stage', stage_methodSettings - A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\*/\* for overriding all methods in the stage.

$sel:lastUpdatedDate:Stage', stage_lastUpdatedDate - The timestamp when the stage last updated.

$sel:cacheClusterSize:Stage', stage_cacheClusterSize - The size of the cache cluster for the stage, if enabled.

$sel:webAclArn:Stage', stage_webAclArn - The ARN of the WebAcl associated with the Stage.

$sel:canarySettings:Stage', stage_canarySettings - Settings for the canary deployment in this stage.

$sel:cacheClusterEnabled:Stage', stage_cacheClusterEnabled - Specifies whether a cache cluster is enabled for the stage.

$sel:stageName:Stage', stage_stageName - The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

$sel:description:Stage', stage_description - The stage's description.

$sel:tags:Stage', stage_tags - The collection of tags. Each tag element is associated with a given resource.

DeleteUsagePlanKey

data DeleteUsagePlanKey Source #

The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.

See: newDeleteUsagePlanKey smart constructor.

Instances

Instances details
Eq DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Read DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Show DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Generic DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Associated Types

type Rep DeleteUsagePlanKey :: Type -> Type #

NFData DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Methods

rnf :: DeleteUsagePlanKey -> () #

Hashable DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

AWSRequest DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Associated Types

type AWSResponse DeleteUsagePlanKey #

ToHeaders DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

ToPath DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

ToQuery DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

type Rep DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

type Rep DeleteUsagePlanKey = D1 ('MetaData "DeleteUsagePlanKey" "Amazonka.APIGateway.DeleteUsagePlanKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteUsagePlanKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteUsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

newDeleteUsagePlanKey Source #

Create a value of DeleteUsagePlanKey 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:usagePlanId:DeleteUsagePlanKey', deleteUsagePlanKey_usagePlanId - [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

$sel:keyId:DeleteUsagePlanKey', deleteUsagePlanKey_keyId - [Required] The Id of the UsagePlanKey resource to be deleted.

data DeleteUsagePlanKeyResponse Source #

See: newDeleteUsagePlanKeyResponse smart constructor.

Instances

Instances details
Eq DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Read DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Show DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Generic DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

Associated Types

type Rep DeleteUsagePlanKeyResponse :: Type -> Type #

NFData DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

type Rep DeleteUsagePlanKeyResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteUsagePlanKey

type Rep DeleteUsagePlanKeyResponse = D1 ('MetaData "DeleteUsagePlanKeyResponse" "Amazonka.APIGateway.DeleteUsagePlanKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteUsagePlanKeyResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteUsagePlanKeyResponse :: DeleteUsagePlanKeyResponse Source #

Create a value of DeleteUsagePlanKeyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UntagResource

data UntagResource Source #

Removes a tag from a given resource.

See: newUntagResource smart constructor.

Constructors

UntagResource' Text [Text] 

Instances

Instances details
Eq UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Read UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Generic UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

NFData UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Methods

rnf :: UntagResource -> () #

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Associated Types

type AWSResponse UntagResource #

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.APIGateway.UntagResource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

newUntagResource Source #

Create a value of UntagResource 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:resourceArn:UntagResource', untagResource_resourceArn - [Required] The ARN of a resource that can be tagged.

$sel:tagKeys:UntagResource', untagResource_tagKeys - [Required] The Tag keys to delete.

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Instances

Instances details
Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.APIGateway.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.APIGateway.UntagResource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUntagResourceResponse :: UntagResourceResponse Source #

Create a value of UntagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

CreateApiKey

data CreateApiKey Source #

Request to create an ApiKey resource.

See: newCreateApiKey smart constructor.

Instances

Instances details
Eq CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

Read CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

Show CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

Generic CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

Associated Types

type Rep CreateApiKey :: Type -> Type #

NFData CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

Methods

rnf :: CreateApiKey -> () #

Hashable CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

ToJSON CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

AWSRequest CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

Associated Types

type AWSResponse CreateApiKey #

ToHeaders CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

ToPath CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

ToQuery CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

type Rep CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

type AWSResponse CreateApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.CreateApiKey

newCreateApiKey :: CreateApiKey Source #

Create a value of CreateApiKey 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:enabled:CreateApiKey', createApiKey_enabled - Specifies whether the ApiKey can be used by callers.

$sel:value:CreateApiKey', createApiKey_value - Specifies a value of the API key.

$sel:customerId:CreateApiKey', createApiKey_customerId - An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

$sel:generateDistinctId:CreateApiKey', createApiKey_generateDistinctId - Specifies whether (true) or not (false) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.

$sel:name:CreateApiKey', createApiKey_name - The name of the ApiKey.

$sel:stageKeys:CreateApiKey', createApiKey_stageKeys - DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.

$sel:description:CreateApiKey', createApiKey_description - The description of the ApiKey.

$sel:tags:CreateApiKey', createApiKey_tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

data ApiKey Source #

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

Use API Keys

See: newApiKey smart constructor.

Instances

Instances details
Eq ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

(==) :: ApiKey -> ApiKey -> Bool #

(/=) :: ApiKey -> ApiKey -> Bool #

Read ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Show ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Generic ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Associated Types

type Rep ApiKey :: Type -> Type #

Methods

from :: ApiKey -> Rep ApiKey x #

to :: Rep ApiKey x -> ApiKey #

NFData ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

rnf :: ApiKey -> () #

Hashable ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

hashWithSalt :: Int -> ApiKey -> Int #

hash :: ApiKey -> Int #

FromJSON ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

type Rep ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

newApiKey :: ApiKey Source #

Create a value of ApiKey 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:enabled:ApiKey', apiKey_enabled - Specifies whether the API Key can be used by callers.

$sel:value:ApiKey', apiKey_value - The value of the API Key.

$sel:customerId:ApiKey', apiKey_customerId - An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

$sel:createdDate:ApiKey', apiKey_createdDate - The timestamp when the API Key was created.

$sel:name:ApiKey', apiKey_name - The name of the API Key.

$sel:id:ApiKey', apiKey_id - The identifier of the API Key.

$sel:stageKeys:ApiKey', apiKey_stageKeys - A list of Stage resources that are associated with the ApiKey resource.

$sel:lastUpdatedDate:ApiKey', apiKey_lastUpdatedDate - The timestamp when the API Key was last updated.

$sel:description:ApiKey', apiKey_description - The description of the API Key.

$sel:tags:ApiKey', apiKey_tags - The collection of tags. Each tag element is associated with a given resource.

GetUsagePlans (Paginated)

data GetUsagePlans Source #

The GET request to get all the usage plans of the caller's account.

See: newGetUsagePlans smart constructor.

Instances

Instances details
Eq GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Read GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Show GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Generic GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Associated Types

type Rep GetUsagePlans :: Type -> Type #

NFData GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Methods

rnf :: GetUsagePlans -> () #

Hashable GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

AWSPager GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

AWSRequest GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Associated Types

type AWSResponse GetUsagePlans #

ToHeaders GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

ToPath GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

ToQuery GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

type Rep GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

type Rep GetUsagePlans = D1 ('MetaData "GetUsagePlans" "Amazonka.APIGateway.GetUsagePlans" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetUsagePlans'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse GetUsagePlans Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

newGetUsagePlans :: GetUsagePlans Source #

Create a value of GetUsagePlans 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:keyId:GetUsagePlans', getUsagePlans_keyId - The identifier of the API key associated with the usage plans.

$sel:limit:GetUsagePlans', getUsagePlans_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetUsagePlans', getUsagePlans_position - The current pagination position in the paged result set.

data GetUsagePlansResponse Source #

Represents a collection of usage plans for an AWS account.

Create and Use Usage Plans

See: newGetUsagePlansResponse smart constructor.

Instances

Instances details
Eq GetUsagePlansResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Read GetUsagePlansResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Show GetUsagePlansResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Generic GetUsagePlansResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Associated Types

type Rep GetUsagePlansResponse :: Type -> Type #

NFData GetUsagePlansResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

Methods

rnf :: GetUsagePlansResponse -> () #

type Rep GetUsagePlansResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetUsagePlans

type Rep GetUsagePlansResponse = D1 ('MetaData "GetUsagePlansResponse" "Amazonka.APIGateway.GetUsagePlans" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetUsagePlansResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UsagePlan])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetUsagePlansResponse Source #

Create a value of GetUsagePlansResponse 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:items:GetUsagePlansResponse', getUsagePlansResponse_items - The current page of elements from this collection.

$sel:position:GetUsagePlans', getUsagePlansResponse_position - Undocumented member.

$sel:httpStatus:GetUsagePlansResponse', getUsagePlansResponse_httpStatus - The response's http status code.

PutMethod

data PutMethod Source #

Request to add a method to an existing Resource resource.

See: newPutMethod smart constructor.

Instances

Instances details
Eq PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

Read PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

Show PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

Generic PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

Associated Types

type Rep PutMethod :: Type -> Type #

NFData PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

Methods

rnf :: PutMethod -> () #

Hashable PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

ToJSON PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

AWSRequest PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

Associated Types

type AWSResponse PutMethod #

ToHeaders PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

Methods

toHeaders :: PutMethod -> [Header] #

ToPath PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

ToQuery PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

type Rep PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

type Rep PutMethod = D1 ('MetaData "PutMethod" "Amazonka.APIGateway.PutMethod" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "PutMethod'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "authorizationScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "requestValidatorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))) :*: S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "operationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeyRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse PutMethod Source # 
Instance details

Defined in Amazonka.APIGateway.PutMethod

newPutMethod Source #

Create a value of PutMethod 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:authorizationScopes:PutMethod', putMethod_authorizationScopes - A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

$sel:requestValidatorId:PutMethod', putMethod_requestValidatorId - The identifier of a RequestValidator for validating the method request.

$sel:requestModels:PutMethod', putMethod_requestModels - Specifies the Model resources used for the request's content type. Request models are represented as a key/value map, with a content type as the key and a Model name as the value.

$sel:requestParameters:PutMethod', putMethod_requestParameters - A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key defines a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or body-mapping templates.

$sel:authorizerId:PutMethod', putMethod_authorizerId - Specifies the identifier of an Authorizer to use on this Method, if the type is CUSTOM or COGNITO_USER_POOLS. The authorizer identifier is generated by API Gateway when you created the authorizer.

$sel:operationName:PutMethod', putMethod_operationName - A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in the PetStore example.

$sel:apiKeyRequired:PutMethod', putMethod_apiKeyRequired - Specifies whether the method required a valid ApiKey.

$sel:restApiId:PutMethod', putMethod_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:PutMethod', putMethod_resourceId - [Required] The Resource identifier for the new Method resource.

$sel:httpMethod:PutMethod', putMethod_httpMethod - [Required] Specifies the method request's HTTP method type.

$sel:authorizationType:PutMethod', putMethod_authorizationType - [Required] The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

data Method Source #

Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes the client input that is passed to the back end through the integration request. A method response returns the output from the back end to the client through an integration response. A method request is embodied in a Method resource, whereas an integration request is embodied in an Integration resource. On the other hand, a method response is represented by a MethodResponse resource, whereas an integration response is represented by an IntegrationResponse resource.

Example: Retrive the GET method on a specified resource

Request

The following example request retrieves the information about the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri).

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T210259Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": true, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\")" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }

In the example above, the response template for the 200 OK response maps the JSON output from the ListStreams action in the back end to an XML output. The mapping template is URL-encoded as %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E and the output is decoded using the $util.urlDecode() helper function.

MethodResponse, Integration, IntegrationResponse, Resource, Set up an API's method

See: newMethod smart constructor.

Instances

Instances details
Eq Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

(==) :: Method -> Method -> Bool #

(/=) :: Method -> Method -> Bool #

Read Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Show Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Generic Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

NFData Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

rnf :: Method -> () #

Hashable Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

FromJSON Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

type Rep Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

type Rep Method = D1 ('MetaData "Method" "Amazonka.APIGateway.Types.Method" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Method'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "methodResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MethodResponse))) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "authorizationScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "requestValidatorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))) :*: ((S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))) :*: (S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "operationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeyRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "methodIntegration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integration)))))))

newMethod :: Method Source #

Create a value of Method 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:methodResponses:Method', method_methodResponses - Gets a method response associated with a given HTTP status code.

The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a MethodResponse resource that specifies the response returned to the caller from the back end through the integration response.

Example: Get a 200 OK response of a GET method

Request
GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.operator": false, "method.response.header.operand_2": false, "method.response.header.operand_1": false }, "statusCode": "200" }

AWS CLI

$sel:httpMethod:Method', method_httpMethod - The method's HTTP verb.

$sel:authorizationScopes:Method', method_authorizationScopes - A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

$sel:requestValidatorId:Method', method_requestValidatorId - The identifier of a RequestValidator for request validation.

$sel:requestModels:Method', method_requestModels - A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

$sel:requestParameters:Method', method_requestParameters - A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

$sel:authorizerId:Method', method_authorizerId - The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

$sel:operationName:Method', method_operationName - A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in the PetStore example.

$sel:authorizationType:Method', method_authorizationType - The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

$sel:apiKeyRequired:Method', method_apiKeyRequired - A boolean flag specifying whether a valid ApiKey is required to invoke this method.

$sel:methodIntegration:Method', method_methodIntegration - Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

Example:

Request
GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true } ], "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:responses": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.operator": "integration.response.body.op", "method.response.header.operand_2": "integration.response.body.b", "method.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "application/json": "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }

AWS CLI

UpdateDomainName

data UpdateDomainName Source #

A request to change information about the DomainName resource.

See: newUpdateDomainName smart constructor.

Instances

Instances details
Eq UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

Read UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

Show UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

Generic UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

Associated Types

type Rep UpdateDomainName :: Type -> Type #

NFData UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

Methods

rnf :: UpdateDomainName -> () #

Hashable UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

ToJSON UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

AWSRequest UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

Associated Types

type AWSResponse UpdateDomainName #

ToHeaders UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

ToPath UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

ToQuery UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

type Rep UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

type Rep UpdateDomainName = D1 ('MetaData "UpdateDomainName" "Amazonka.APIGateway.UpdateDomainName" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateDomainName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDomainName

newUpdateDomainName Source #

Create a value of UpdateDomainName 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:patchOperations:UpdateDomainName', updateDomainName_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:domainName:UpdateDomainName', updateDomainName_domainName - [Required] The name of the DomainName resource to be changed.

data DomainName Source #

Represents a custom domain name as a user-friendly host name of an API (RestApi).

When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi, where myApi is the base path mapping (BasePathMapping) of your API under the custom domain name.

Set a Custom Host Name for an API

See: newDomainName smart constructor.

Instances

Instances details
Eq DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Read DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Show DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Generic DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Associated Types

type Rep DomainName :: Type -> Type #

NFData DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Methods

rnf :: DomainName -> () #

Hashable DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

FromJSON DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

type Rep DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

type Rep DomainName = D1 ('MetaData "DomainName" "Amazonka.APIGateway.Types.DomainName" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DomainName'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "regionalHostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ownershipVerificationCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "regionalCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "distributionHostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "securityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityPolicy)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "mutualTlsAuthentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MutualTlsAuthentication)) :*: S1 ('MetaSel ('Just "regionalCertificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "regionalDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateUploadDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "distributionDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainNameStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration)) :*: (S1 ('MetaSel ('Just "domainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainNameStatus)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newDomainName :: DomainName Source #

Create a value of DomainName 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:regionalHostedZoneId:DomainName', domainName_regionalHostedZoneId - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

$sel:certificateName:DomainName', domainName_certificateName - The name of the certificate that will be used by edge-optimized endpoint for this domain name.

$sel:ownershipVerificationCertificateArn:DomainName', domainName_ownershipVerificationCertificateArn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

$sel:regionalCertificateArn:DomainName', domainName_regionalCertificateArn - The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.

$sel:certificateArn:DomainName', domainName_certificateArn - The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

$sel:distributionHostedZoneId:DomainName', domainName_distributionHostedZoneId - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

$sel:securityPolicy:DomainName', domainName_securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

$sel:domainName:DomainName', domainName_domainName - The custom domain name as an API host name, for example, my-api.example.com.

$sel:mutualTlsAuthentication:DomainName', domainName_mutualTlsAuthentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

$sel:regionalCertificateName:DomainName', domainName_regionalCertificateName - The name of the certificate that will be used for validating the regional domain name.

$sel:regionalDomainName:DomainName', domainName_regionalDomainName - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.

$sel:certificateUploadDate:DomainName', domainName_certificateUploadDate - The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

$sel:distributionDomainName:DomainName', domainName_distributionDomainName - The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

$sel:domainNameStatusMessage:DomainName', domainName_domainNameStatusMessage - An optional text message containing detailed information about status of the DomainName migration.

$sel:endpointConfiguration:DomainName', domainName_endpointConfiguration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.

$sel:domainNameStatus:DomainName', domainName_domainNameStatus - The status of the DomainName migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

$sel:tags:DomainName', domainName_tags - The collection of tags. Each tag element is associated with a given resource.

DeleteDomainName

data DeleteDomainName Source #

A request to delete the DomainName resource.

See: newDeleteDomainName smart constructor.

Constructors

DeleteDomainName' Text 

Instances

Instances details
Eq DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

Read DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

Show DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

Generic DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

Associated Types

type Rep DeleteDomainName :: Type -> Type #

NFData DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

Methods

rnf :: DeleteDomainName -> () #

Hashable DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

AWSRequest DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

Associated Types

type AWSResponse DeleteDomainName #

ToHeaders DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

ToPath DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

ToQuery DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

type Rep DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

type Rep DeleteDomainName = D1 ('MetaData "DeleteDomainName" "Amazonka.APIGateway.DeleteDomainName" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteDomainName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDomainName Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

newDeleteDomainName Source #

Create a value of DeleteDomainName 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:domainName:DeleteDomainName', deleteDomainName_domainName - [Required] The name of the DomainName resource to be deleted.

data DeleteDomainNameResponse Source #

See: newDeleteDomainNameResponse smart constructor.

Instances

Instances details
Eq DeleteDomainNameResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

Read DeleteDomainNameResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

Show DeleteDomainNameResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

Generic DeleteDomainNameResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

Associated Types

type Rep DeleteDomainNameResponse :: Type -> Type #

NFData DeleteDomainNameResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

type Rep DeleteDomainNameResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDomainName

type Rep DeleteDomainNameResponse = D1 ('MetaData "DeleteDomainNameResponse" "Amazonka.APIGateway.DeleteDomainName" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteDomainNameResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteDomainNameResponse :: DeleteDomainNameResponse Source #

Create a value of DeleteDomainNameResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

CreateResource

data CreateResource Source #

Requests API Gateway to create a Resource resource.

See: newCreateResource smart constructor.

Instances

Instances details
Eq CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

Read CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

Show CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

Generic CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

Associated Types

type Rep CreateResource :: Type -> Type #

NFData CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

Methods

rnf :: CreateResource -> () #

Hashable CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

ToJSON CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

AWSRequest CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

Associated Types

type AWSResponse CreateResource #

ToHeaders CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

ToPath CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

ToQuery CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

type Rep CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

type Rep CreateResource = D1 ('MetaData "CreateResource" "Amazonka.APIGateway.CreateResource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CreateResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "parentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "pathPart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateResource Source # 
Instance details

Defined in Amazonka.APIGateway.CreateResource

newCreateResource Source #

Create a value of CreateResource 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:restApiId:CreateResource', createResource_restApiId - [Required] The string identifier of the associated RestApi.

$sel:parentId:CreateResource', createResource_parentId - [Required] The parent resource's identifier.

$sel:pathPart:CreateResource', createResource_pathPart - The last path segment for this resource.

data Resource Source #

Represents an API resource.

Create an API

See: newResource smart constructor.

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

NFData Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

type Rep Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.APIGateway.Types.Resource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pathPart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Method))) :*: S1 ('MetaSel ('Just "parentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newResource :: Resource Source #

Create a value of Resource 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:pathPart:Resource', resource_pathPart - The last path segment for this resource.

$sel:path:Resource', resource_path - The full path for this resource.

$sel:id:Resource', resource_id - The resource's identifier.

$sel:resourceMethods:Resource', resource_resourceMethods - Gets an API resource's method of a given HTTP verb.

The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the 200 OK response of the GET /restapis/{restapi_id}/resources/{resource_id} or GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods request.

Example: Get the GET method of an API resource

Request
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20170223T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response
{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }

If the OPTIONS is enabled on the resource, you can follow the example here to get that method. Just replace the GET of the last path segment in the request URL with OPTIONS.

$sel:parentId:Resource', resource_parentId - The parent resource's identifier.

DeleteMethod

data DeleteMethod Source #

Request to delete an existing Method resource.

See: newDeleteMethod smart constructor.

Constructors

DeleteMethod' Text Text Text 

Instances

Instances details
Eq DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Read DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Show DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Generic DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Associated Types

type Rep DeleteMethod :: Type -> Type #

NFData DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Methods

rnf :: DeleteMethod -> () #

Hashable DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

AWSRequest DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Associated Types

type AWSResponse DeleteMethod #

ToHeaders DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

ToPath DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

ToQuery DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

type Rep DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

type Rep DeleteMethod = D1 ('MetaData "DeleteMethod" "Amazonka.APIGateway.DeleteMethod" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteMethod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteMethod Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

newDeleteMethod Source #

Create a value of DeleteMethod 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:restApiId:DeleteMethod', deleteMethod_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:DeleteMethod', deleteMethod_resourceId - [Required] The Resource identifier for the Method resource.

$sel:httpMethod:DeleteMethod', deleteMethod_httpMethod - [Required] The HTTP verb of the Method resource.

data DeleteMethodResponse' Source #

See: newDeleteMethodResponse' smart constructor.

Instances

Instances details
Eq DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Read DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Show DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Generic DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Associated Types

type Rep DeleteMethodResponse' :: Type -> Type #

NFData DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

Methods

rnf :: DeleteMethodResponse' -> () #

type Rep DeleteMethodResponse' Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteMethod

type Rep DeleteMethodResponse' = D1 ('MetaData "DeleteMethodResponse'" "Amazonka.APIGateway.DeleteMethod" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteMethodResponse''" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteMethodResponse' :: DeleteMethodResponse' Source #

Create a value of DeleteMethodResponse' with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateMethod

data UpdateMethod Source #

Request to update an existing Method resource.

See: newUpdateMethod smart constructor.

Instances

Instances details
Eq UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

Read UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

Show UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

Generic UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

Associated Types

type Rep UpdateMethod :: Type -> Type #

NFData UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

Methods

rnf :: UpdateMethod -> () #

Hashable UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

ToJSON UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

AWSRequest UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

Associated Types

type AWSResponse UpdateMethod #

ToHeaders UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

ToPath UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

ToQuery UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

type Rep UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

type Rep UpdateMethod = D1 ('MetaData "UpdateMethod" "Amazonka.APIGateway.UpdateMethod" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateMethod'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateMethod Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateMethod

newUpdateMethod Source #

Create a value of UpdateMethod 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:patchOperations:UpdateMethod', updateMethod_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateMethod', updateMethod_restApiId - [Required] The string identifier of the associated RestApi.

$sel:resourceId:UpdateMethod', updateMethod_resourceId - [Required] The Resource identifier for the Method resource.

$sel:httpMethod:UpdateMethod', updateMethod_httpMethod - [Required] The HTTP verb of the Method resource.

data Method Source #

Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes the client input that is passed to the back end through the integration request. A method response returns the output from the back end to the client through an integration response. A method request is embodied in a Method resource, whereas an integration request is embodied in an Integration resource. On the other hand, a method response is represented by a MethodResponse resource, whereas an integration response is represented by an IntegrationResponse resource.

Example: Retrive the GET method on a specified resource

Request

The following example request retrieves the information about the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri).

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T210259Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": true, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\")" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }

In the example above, the response template for the 200 OK response maps the JSON output from the ListStreams action in the back end to an XML output. The mapping template is URL-encoded as %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E and the output is decoded using the $util.urlDecode() helper function.

MethodResponse, Integration, IntegrationResponse, Resource, Set up an API's method

See: newMethod smart constructor.

Instances

Instances details
Eq Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

(==) :: Method -> Method -> Bool #

(/=) :: Method -> Method -> Bool #

Read Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Show Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Generic Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

NFData Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

rnf :: Method -> () #

Hashable Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

FromJSON Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

type Rep Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

type Rep Method = D1 ('MetaData "Method" "Amazonka.APIGateway.Types.Method" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Method'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "methodResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MethodResponse))) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "authorizationScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "requestValidatorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))) :*: ((S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))) :*: (S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "operationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeyRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "methodIntegration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integration)))))))

newMethod :: Method Source #

Create a value of Method 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:methodResponses:Method', method_methodResponses - Gets a method response associated with a given HTTP status code.

The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a MethodResponse resource that specifies the response returned to the caller from the back end through the integration response.

Example: Get a 200 OK response of a GET method

Request
GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.operator": false, "method.response.header.operand_2": false, "method.response.header.operand_1": false }, "statusCode": "200" }

AWS CLI

$sel:httpMethod:Method', method_httpMethod - The method's HTTP verb.

$sel:authorizationScopes:Method', method_authorizationScopes - A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

$sel:requestValidatorId:Method', method_requestValidatorId - The identifier of a RequestValidator for request validation.

$sel:requestModels:Method', method_requestModels - A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

$sel:requestParameters:Method', method_requestParameters - A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

$sel:authorizerId:Method', method_authorizerId - The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

$sel:operationName:Method', method_operationName - A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in the PetStore example.

$sel:authorizationType:Method', method_authorizationType - The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

$sel:apiKeyRequired:Method', method_apiKeyRequired - A boolean flag specifying whether a valid ApiKey is required to invoke this method.

$sel:methodIntegration:Method', method_methodIntegration - Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

Example:

Request
GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true } ], "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:responses": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.operator": "integration.response.body.op", "method.response.header.operand_2": "integration.response.body.b", "method.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "application/json": "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }

AWS CLI

UpdateRequestValidator

data UpdateRequestValidator Source #

Updates a RequestValidator of a given RestApi.

See: newUpdateRequestValidator smart constructor.

Instances

Instances details
Eq UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

Read UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

Show UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

Generic UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

Associated Types

type Rep UpdateRequestValidator :: Type -> Type #

NFData UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

Methods

rnf :: UpdateRequestValidator -> () #

Hashable UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

ToJSON UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

AWSRequest UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

Associated Types

type AWSResponse UpdateRequestValidator #

ToHeaders UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

ToPath UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

ToQuery UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

type Rep UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

type Rep UpdateRequestValidator = D1 ('MetaData "UpdateRequestValidator" "Amazonka.APIGateway.UpdateRequestValidator" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateRequestValidator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "requestValidatorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateRequestValidator

newUpdateRequestValidator Source #

Create a value of UpdateRequestValidator 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:patchOperations:UpdateRequestValidator', updateRequestValidator_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateRequestValidator', updateRequestValidator_restApiId - [Required] The string identifier of the associated RestApi.

$sel:requestValidatorId:UpdateRequestValidator', updateRequestValidator_requestValidatorId - [Required] The identifier of RequestValidator to be updated.

data RequestValidator Source #

A set of validation rules for incoming Method requests.

In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

Enable Basic Request Validation in API Gateway

See: newRequestValidator smart constructor.

Instances

Instances details
Eq RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Read RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Show RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Generic RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Associated Types

type Rep RequestValidator :: Type -> Type #

NFData RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Methods

rnf :: RequestValidator -> () #

Hashable RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

FromJSON RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

type Rep RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

type Rep RequestValidator = D1 ('MetaData "RequestValidator" "Amazonka.APIGateway.Types.RequestValidator" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "RequestValidator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "validateRequestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "validateRequestBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newRequestValidator :: RequestValidator Source #

Create a value of RequestValidator 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:validateRequestParameters:RequestValidator', requestValidator_validateRequestParameters - A Boolean flag to indicate whether to validate request parameters (true) or not (false).

$sel:name:RequestValidator', requestValidator_name - The name of this RequestValidator

$sel:validateRequestBody:RequestValidator', requestValidator_validateRequestBody - A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

$sel:id:RequestValidator', requestValidator_id - The identifier of this RequestValidator.

DeleteRequestValidator

data DeleteRequestValidator Source #

Deletes a specified RequestValidator of a given RestApi.

See: newDeleteRequestValidator smart constructor.

Instances

Instances details
Eq DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

Read DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

Show DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

Generic DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

Associated Types

type Rep DeleteRequestValidator :: Type -> Type #

NFData DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

Methods

rnf :: DeleteRequestValidator -> () #

Hashable DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

AWSRequest DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

Associated Types

type AWSResponse DeleteRequestValidator #

ToHeaders DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

ToPath DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

ToQuery DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

type Rep DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

type Rep DeleteRequestValidator = D1 ('MetaData "DeleteRequestValidator" "Amazonka.APIGateway.DeleteRequestValidator" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteRequestValidator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "requestValidatorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteRequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

newDeleteRequestValidator Source #

Create a value of DeleteRequestValidator 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:restApiId:DeleteRequestValidator', deleteRequestValidator_restApiId - [Required] The string identifier of the associated RestApi.

$sel:requestValidatorId:DeleteRequestValidator', deleteRequestValidator_requestValidatorId - [Required] The identifier of the RequestValidator to be deleted.

data DeleteRequestValidatorResponse Source #

See: newDeleteRequestValidatorResponse smart constructor.

Instances

Instances details
Eq DeleteRequestValidatorResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

Read DeleteRequestValidatorResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

Show DeleteRequestValidatorResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

Generic DeleteRequestValidatorResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

Associated Types

type Rep DeleteRequestValidatorResponse :: Type -> Type #

NFData DeleteRequestValidatorResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

type Rep DeleteRequestValidatorResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRequestValidator

type Rep DeleteRequestValidatorResponse = D1 ('MetaData "DeleteRequestValidatorResponse" "Amazonka.APIGateway.DeleteRequestValidator" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteRequestValidatorResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteRequestValidatorResponse :: DeleteRequestValidatorResponse Source #

Create a value of DeleteRequestValidatorResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

GetSdkTypes (Paginated)

data GetSdkTypes Source #

Get the SdkTypes collection.

See: newGetSdkTypes smart constructor.

Constructors

GetSdkTypes' (Maybe Int) (Maybe Text) 

Instances

Instances details
Eq GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Read GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Show GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Generic GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Associated Types

type Rep GetSdkTypes :: Type -> Type #

NFData GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Methods

rnf :: GetSdkTypes -> () #

Hashable GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

AWSPager GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

AWSRequest GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Associated Types

type AWSResponse GetSdkTypes #

ToHeaders GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Methods

toHeaders :: GetSdkTypes -> [Header] #

ToPath GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

ToQuery GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

type Rep GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

type Rep GetSdkTypes = D1 ('MetaData "GetSdkTypes" "Amazonka.APIGateway.GetSdkTypes" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetSdkTypes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetSdkTypes Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

newGetSdkTypes :: GetSdkTypes Source #

Create a value of GetSdkTypes 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:limit:GetSdkTypes', getSdkTypes_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetSdkTypes', getSdkTypes_position - The current pagination position in the paged result set.

data GetSdkTypesResponse Source #

The collection of SdkType instances.

See: newGetSdkTypesResponse smart constructor.

Instances

Instances details
Eq GetSdkTypesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Read GetSdkTypesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Show GetSdkTypesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Generic GetSdkTypesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Associated Types

type Rep GetSdkTypesResponse :: Type -> Type #

NFData GetSdkTypesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

Methods

rnf :: GetSdkTypesResponse -> () #

type Rep GetSdkTypesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetSdkTypes

type Rep GetSdkTypesResponse = D1 ('MetaData "GetSdkTypesResponse" "Amazonka.APIGateway.GetSdkTypes" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetSdkTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SdkType])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetSdkTypesResponse Source #

Create a value of GetSdkTypesResponse 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:items:GetSdkTypesResponse', getSdkTypesResponse_items - The current page of elements from this collection.

$sel:position:GetSdkTypes', getSdkTypesResponse_position - Undocumented member.

$sel:httpStatus:GetSdkTypesResponse', getSdkTypesResponse_httpStatus - The response's http status code.

GetClientCertificates (Paginated)

data GetClientCertificates Source #

A request to get information about a collection of ClientCertificate resources.

See: newGetClientCertificates smart constructor.

Instances

Instances details
Eq GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

Read GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

Show GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

Generic GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

Associated Types

type Rep GetClientCertificates :: Type -> Type #

NFData GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

Methods

rnf :: GetClientCertificates -> () #

Hashable GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

AWSPager GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

AWSRequest GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

Associated Types

type AWSResponse GetClientCertificates #

ToHeaders GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

ToPath GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

ToQuery GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

type Rep GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

type Rep GetClientCertificates = D1 ('MetaData "GetClientCertificates" "Amazonka.APIGateway.GetClientCertificates" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetClientCertificates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetClientCertificates Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

newGetClientCertificates :: GetClientCertificates Source #

Create a value of GetClientCertificates 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:limit:GetClientCertificates', getClientCertificates_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetClientCertificates', getClientCertificates_position - The current pagination position in the paged result set.

data GetClientCertificatesResponse Source #

Represents a collection of ClientCertificate resources.

Use Client-Side Certificate

See: newGetClientCertificatesResponse smart constructor.

Instances

Instances details
Eq GetClientCertificatesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

Read GetClientCertificatesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

Show GetClientCertificatesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

Generic GetClientCertificatesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

Associated Types

type Rep GetClientCertificatesResponse :: Type -> Type #

NFData GetClientCertificatesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

type Rep GetClientCertificatesResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetClientCertificates

type Rep GetClientCertificatesResponse = D1 ('MetaData "GetClientCertificatesResponse" "Amazonka.APIGateway.GetClientCertificates" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetClientCertificatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClientCertificate])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetClientCertificatesResponse Source #

Create a value of GetClientCertificatesResponse 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:items:GetClientCertificatesResponse', getClientCertificatesResponse_items - The current page of elements from this collection.

$sel:position:GetClientCertificates', getClientCertificatesResponse_position - Undocumented member.

$sel:httpStatus:GetClientCertificatesResponse', getClientCertificatesResponse_httpStatus - The response's http status code.

GetModelTemplate

data GetModelTemplate Source #

Request to generate a sample mapping template used to transform the payload.

See: newGetModelTemplate smart constructor.

Instances

Instances details
Eq GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

Read GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

Show GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

Generic GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

Associated Types

type Rep GetModelTemplate :: Type -> Type #

NFData GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

Methods

rnf :: GetModelTemplate -> () #

Hashable GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

AWSRequest GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

Associated Types

type AWSResponse GetModelTemplate #

ToHeaders GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

ToPath GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

ToQuery GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

type Rep GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

type Rep GetModelTemplate = D1 ('MetaData "GetModelTemplate" "Amazonka.APIGateway.GetModelTemplate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetModelTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "modelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetModelTemplate Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

newGetModelTemplate Source #

Create a value of GetModelTemplate 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:restApiId:GetModelTemplate', getModelTemplate_restApiId - [Required] The string identifier of the associated RestApi.

$sel:modelName:GetModelTemplate', getModelTemplate_modelName - [Required] The name of the model for which to generate a template.

data GetModelTemplateResponse Source #

Represents a mapping template used to transform a payload.

Mapping Templates

See: newGetModelTemplateResponse smart constructor.

Instances

Instances details
Eq GetModelTemplateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

Read GetModelTemplateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

Show GetModelTemplateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

Generic GetModelTemplateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

Associated Types

type Rep GetModelTemplateResponse :: Type -> Type #

NFData GetModelTemplateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

type Rep GetModelTemplateResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetModelTemplate

type Rep GetModelTemplateResponse = D1 ('MetaData "GetModelTemplateResponse" "Amazonka.APIGateway.GetModelTemplate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetModelTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetModelTemplateResponse Source #

Create a value of GetModelTemplateResponse 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:value:GetModelTemplateResponse', getModelTemplateResponse_value - The Apache Velocity Template Language (VTL) template content used for the template resource.

$sel:httpStatus:GetModelTemplateResponse', getModelTemplateResponse_httpStatus - The response's http status code.

UpdateDocumentationVersion

data UpdateDocumentationVersion Source #

Updates an existing documentation version of an API.

See: newUpdateDocumentationVersion smart constructor.

Instances

Instances details
Eq UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

Read UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

Show UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

Generic UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

Associated Types

type Rep UpdateDocumentationVersion :: Type -> Type #

NFData UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

Hashable UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

ToJSON UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

AWSRequest UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

ToHeaders UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

ToPath UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

ToQuery UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

type Rep UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

type Rep UpdateDocumentationVersion = D1 ('MetaData "UpdateDocumentationVersion" "Amazonka.APIGateway.UpdateDocumentationVersion" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UpdateDocumentationVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDocumentationVersion

newUpdateDocumentationVersion Source #

Create a value of UpdateDocumentationVersion 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:patchOperations:UpdateDocumentationVersion', updateDocumentationVersion_patchOperations - A list of update operations to be applied to the specified resource and in the order specified in this list.

$sel:restApiId:UpdateDocumentationVersion', updateDocumentationVersion_restApiId - [Required] The string identifier of the associated RestApi..

$sel:documentationVersion:UpdateDocumentationVersion', updateDocumentationVersion_documentationVersion - [Required] The version identifier of the to-be-updated documentation version.

data DocumentationVersion Source #

A snapshot of the documentation of an API.

Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., OpenAPI) file.

Documenting an API, DocumentationPart, DocumentationVersions

See: newDocumentationVersion smart constructor.

Instances

Instances details
Eq DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Read DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Show DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Generic DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Associated Types

type Rep DocumentationVersion :: Type -> Type #

NFData DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Methods

rnf :: DocumentationVersion -> () #

Hashable DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

FromJSON DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion = D1 ('MetaData "DocumentationVersion" "Amazonka.APIGateway.Types.DocumentationVersion" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DocumentationVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationVersion :: DocumentationVersion Source #

Create a value of DocumentationVersion 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:createdDate:DocumentationVersion', documentationVersion_createdDate - The date when the API documentation snapshot is created.

$sel:version:DocumentationVersion', documentationVersion_version - The version identifier of the API documentation snapshot.

$sel:description:DocumentationVersion', documentationVersion_description - The description of the API documentation snapshot.

DeleteDocumentationVersion

data DeleteDocumentationVersion Source #

Deletes an existing documentation version of an API.

See: newDeleteDocumentationVersion smart constructor.

Instances

Instances details
Eq DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

Read DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

Show DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

Generic DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

Associated Types

type Rep DeleteDocumentationVersion :: Type -> Type #

NFData DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

Hashable DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

AWSRequest DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

ToHeaders DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

ToPath DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

ToQuery DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

type Rep DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

type Rep DeleteDocumentationVersion = D1 ('MetaData "DeleteDocumentationVersion" "Amazonka.APIGateway.DeleteDocumentationVersion" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteDocumentationVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

newDeleteDocumentationVersion Source #

Create a value of DeleteDocumentationVersion 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:restApiId:DeleteDocumentationVersion', deleteDocumentationVersion_restApiId - [Required] The string identifier of the associated RestApi.

$sel:documentationVersion:DeleteDocumentationVersion', deleteDocumentationVersion_documentationVersion - [Required] The version identifier of a to-be-deleted documentation snapshot.

data DeleteDocumentationVersionResponse Source #

Instances

Instances details
Eq DeleteDocumentationVersionResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

Read DeleteDocumentationVersionResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

Show DeleteDocumentationVersionResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

Generic DeleteDocumentationVersionResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

Associated Types

type Rep DeleteDocumentationVersionResponse :: Type -> Type #

NFData DeleteDocumentationVersionResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

type Rep DeleteDocumentationVersionResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDocumentationVersion

type Rep DeleteDocumentationVersionResponse = D1 ('MetaData "DeleteDocumentationVersionResponse" "Amazonka.APIGateway.DeleteDocumentationVersion" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteDocumentationVersionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteDocumentationVersionResponse :: DeleteDocumentationVersionResponse Source #

Create a value of DeleteDocumentationVersionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

GetBasePathMappings (Paginated)

data GetBasePathMappings Source #

A request to get information about a collection of BasePathMapping resources.

See: newGetBasePathMappings smart constructor.

Instances

Instances details
Eq GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

Read GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

Show GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

Generic GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

Associated Types

type Rep GetBasePathMappings :: Type -> Type #

NFData GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

Methods

rnf :: GetBasePathMappings -> () #

Hashable GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

AWSPager GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

AWSRequest GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

Associated Types

type AWSResponse GetBasePathMappings #

ToHeaders GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

ToPath GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

ToQuery GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

type Rep GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

type Rep GetBasePathMappings = D1 ('MetaData "GetBasePathMappings" "Amazonka.APIGateway.GetBasePathMappings" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetBasePathMappings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetBasePathMappings Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

newGetBasePathMappings Source #

Create a value of GetBasePathMappings 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:limit:GetBasePathMappings', getBasePathMappings_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetBasePathMappings', getBasePathMappings_position - The current pagination position in the paged result set.

$sel:domainName:GetBasePathMappings', getBasePathMappings_domainName - [Required] The domain name of a BasePathMapping resource.

data GetBasePathMappingsResponse Source #

Represents a collection of BasePathMapping resources.

Use Custom Domain Names

See: newGetBasePathMappingsResponse smart constructor.

Instances

Instances details
Eq GetBasePathMappingsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

Read GetBasePathMappingsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

Show GetBasePathMappingsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

Generic GetBasePathMappingsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

Associated Types

type Rep GetBasePathMappingsResponse :: Type -> Type #

NFData GetBasePathMappingsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

type Rep GetBasePathMappingsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMappings

type Rep GetBasePathMappingsResponse = D1 ('MetaData "GetBasePathMappingsResponse" "Amazonka.APIGateway.GetBasePathMappings" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetBasePathMappingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BasePathMapping])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetBasePathMappingsResponse Source #

Create a value of GetBasePathMappingsResponse 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:items:GetBasePathMappingsResponse', getBasePathMappingsResponse_items - The current page of elements from this collection.

$sel:position:GetBasePathMappings', getBasePathMappingsResponse_position - Undocumented member.

$sel:httpStatus:GetBasePathMappingsResponse', getBasePathMappingsResponse_httpStatus - The response's http status code.

GetApiKey

data GetApiKey Source #

A request to get information about the current ApiKey resource.

See: newGetApiKey smart constructor.

Constructors

GetApiKey' (Maybe Bool) Text 

Instances

Instances details
Eq GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

Read GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

Show GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

Generic GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

Associated Types

type Rep GetApiKey :: Type -> Type #

NFData GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

Methods

rnf :: GetApiKey -> () #

Hashable GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

AWSRequest GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

Associated Types

type AWSResponse GetApiKey #

ToHeaders GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

Methods

toHeaders :: GetApiKey -> [Header] #

ToPath GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

ToQuery GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

type Rep GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

type Rep GetApiKey = D1 ('MetaData "GetApiKey" "Amazonka.APIGateway.GetApiKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetApiKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "includeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "apiKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.GetApiKey

newGetApiKey Source #

Create a value of GetApiKey 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:includeValue:GetApiKey', getApiKey_includeValue - A boolean flag to specify whether (true) or not (false) the result contains the key value.

$sel:apiKey:GetApiKey', getApiKey_apiKey - [Required] The identifier of the ApiKey resource.

data ApiKey Source #

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

Use API Keys

See: newApiKey smart constructor.

Instances

Instances details
Eq ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

(==) :: ApiKey -> ApiKey -> Bool #

(/=) :: ApiKey -> ApiKey -> Bool #

Read ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Show ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Generic ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Associated Types

type Rep ApiKey :: Type -> Type #

Methods

from :: ApiKey -> Rep ApiKey x #

to :: Rep ApiKey x -> ApiKey #

NFData ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

rnf :: ApiKey -> () #

Hashable ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

hashWithSalt :: Int -> ApiKey -> Int #

hash :: ApiKey -> Int #

FromJSON ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

type Rep ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

newApiKey :: ApiKey Source #

Create a value of ApiKey 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:enabled:ApiKey', apiKey_enabled - Specifies whether the API Key can be used by callers.

$sel:value:ApiKey', apiKey_value - The value of the API Key.

$sel:customerId:ApiKey', apiKey_customerId - An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

$sel:createdDate:ApiKey', apiKey_createdDate - The timestamp when the API Key was created.

$sel:name:ApiKey', apiKey_name - The name of the API Key.

$sel:id:ApiKey', apiKey_id - The identifier of the API Key.

$sel:stageKeys:ApiKey', apiKey_stageKeys - A list of Stage resources that are associated with the ApiKey resource.

$sel:lastUpdatedDate:ApiKey', apiKey_lastUpdatedDate - The timestamp when the API Key was last updated.

$sel:description:ApiKey', apiKey_description - The description of the API Key.

$sel:tags:ApiKey', apiKey_tags - The collection of tags. Each tag element is associated with a given resource.

Types

ApiKeySourceType

newtype ApiKeySourceType Source #

Instances

Instances details
Eq ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Ord ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Read ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Show ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Generic ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Associated Types

type Rep ApiKeySourceType :: Type -> Type #

NFData ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

Methods

rnf :: ApiKeySourceType -> () #

Hashable ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToJSON ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToJSONKey ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

FromJSON ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

FromJSONKey ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToLog ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToHeader ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToQuery ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

FromXML ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToXML ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToByteString ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

FromText ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

ToText ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

type Rep ApiKeySourceType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeySourceType

type Rep ApiKeySourceType = D1 ('MetaData "ApiKeySourceType" "Amazonka.APIGateway.Types.ApiKeySourceType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "ApiKeySourceType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromApiKeySourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ApiKeysFormat

newtype ApiKeysFormat Source #

Constructors

ApiKeysFormat' 

Bundled Patterns

pattern ApiKeysFormat_Csv :: ApiKeysFormat 

Instances

Instances details
Eq ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Ord ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Read ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Show ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Generic ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Associated Types

type Rep ApiKeysFormat :: Type -> Type #

NFData ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Methods

rnf :: ApiKeysFormat -> () #

Hashable ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToJSON ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToJSONKey ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

FromJSON ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

FromJSONKey ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToLog ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToHeader ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToQuery ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

FromXML ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToXML ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Methods

toXML :: ApiKeysFormat -> XML #

ToByteString ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

FromText ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

ToText ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

Methods

toText :: ApiKeysFormat -> Text #

type Rep ApiKeysFormat Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKeysFormat

type Rep ApiKeysFormat = D1 ('MetaData "ApiKeysFormat" "Amazonka.APIGateway.Types.ApiKeysFormat" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "ApiKeysFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromApiKeysFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AuthorizerType

newtype AuthorizerType Source #

The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

Constructors

AuthorizerType' 

Instances

Instances details
Eq AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Ord AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Read AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Show AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Generic AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Associated Types

type Rep AuthorizerType :: Type -> Type #

NFData AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Methods

rnf :: AuthorizerType -> () #

Hashable AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToJSON AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToJSONKey AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

FromJSON AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

FromJSONKey AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToLog AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToHeader AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToQuery AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

FromXML AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToXML AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

Methods

toXML :: AuthorizerType -> XML #

ToByteString AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

FromText AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

ToText AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

type Rep AuthorizerType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AuthorizerType

type Rep AuthorizerType = D1 ('MetaData "AuthorizerType" "Amazonka.APIGateway.Types.AuthorizerType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "AuthorizerType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAuthorizerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CacheClusterSize

newtype CacheClusterSize Source #

Returns the size of the CacheCluster.

Bundled Patterns

pattern CacheClusterSize_ :: CacheClusterSize 

Instances

Instances details
Eq CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Ord CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Read CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Show CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Generic CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Associated Types

type Rep CacheClusterSize :: Type -> Type #

NFData CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

Methods

rnf :: CacheClusterSize -> () #

Hashable CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToJSON CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToJSONKey CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

FromJSON CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

FromJSONKey CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToLog CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToHeader CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToQuery CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

FromXML CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToXML CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToByteString CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

FromText CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

ToText CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

type Rep CacheClusterSize Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterSize

type Rep CacheClusterSize = D1 ('MetaData "CacheClusterSize" "Amazonka.APIGateway.Types.CacheClusterSize" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "CacheClusterSize'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCacheClusterSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CacheClusterStatus

newtype CacheClusterStatus Source #

Returns the status of the CacheCluster.

Instances

Instances details
Eq CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Ord CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Read CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Show CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Generic CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Associated Types

type Rep CacheClusterStatus :: Type -> Type #

NFData CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

Methods

rnf :: CacheClusterStatus -> () #

Hashable CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToJSON CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToJSONKey CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

FromJSON CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

FromJSONKey CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToLog CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToHeader CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToQuery CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

FromXML CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToXML CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToByteString CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

FromText CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

ToText CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

type Rep CacheClusterStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CacheClusterStatus

type Rep CacheClusterStatus = D1 ('MetaData "CacheClusterStatus" "Amazonka.APIGateway.Types.CacheClusterStatus" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "CacheClusterStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCacheClusterStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ConnectionType

newtype ConnectionType Source #

Constructors

ConnectionType' 

Instances

Instances details
Eq ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Ord ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Read ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Show ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Generic ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Associated Types

type Rep ConnectionType :: Type -> Type #

NFData ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Methods

rnf :: ConnectionType -> () #

Hashable ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToJSON ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToJSONKey ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

FromJSON ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

FromJSONKey ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToLog ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToHeader ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToQuery ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

FromXML ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToXML ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

Methods

toXML :: ConnectionType -> XML #

ToByteString ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

FromText ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

ToText ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

type Rep ConnectionType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ConnectionType

type Rep ConnectionType = D1 ('MetaData "ConnectionType" "Amazonka.APIGateway.Types.ConnectionType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "ConnectionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromConnectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ContentHandlingStrategy

newtype ContentHandlingStrategy Source #

Instances

Instances details
Eq ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Ord ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Read ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Show ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Generic ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Associated Types

type Rep ContentHandlingStrategy :: Type -> Type #

NFData ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

Methods

rnf :: ContentHandlingStrategy -> () #

Hashable ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToJSON ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToJSONKey ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

FromJSON ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

FromJSONKey ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToLog ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToHeader ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToQuery ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

FromXML ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToXML ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToByteString ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

FromText ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

ToText ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

type Rep ContentHandlingStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ContentHandlingStrategy

type Rep ContentHandlingStrategy = D1 ('MetaData "ContentHandlingStrategy" "Amazonka.APIGateway.Types.ContentHandlingStrategy" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "ContentHandlingStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromContentHandlingStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentationPartType

newtype DocumentationPartType Source #

Instances

Instances details
Eq DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Ord DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Read DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Show DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Generic DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Associated Types

type Rep DocumentationPartType :: Type -> Type #

NFData DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

Methods

rnf :: DocumentationPartType -> () #

Hashable DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToJSON DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToJSONKey DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

FromJSON DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

FromJSONKey DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToLog DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToHeader DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToQuery DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

FromXML DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToXML DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToByteString DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

FromText DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

ToText DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

type Rep DocumentationPartType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartType

type Rep DocumentationPartType = D1 ('MetaData "DocumentationPartType" "Amazonka.APIGateway.Types.DocumentationPartType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "DocumentationPartType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentationPartType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DomainNameStatus

newtype DomainNameStatus Source #

Instances

Instances details
Eq DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Ord DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Read DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Show DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Generic DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Associated Types

type Rep DomainNameStatus :: Type -> Type #

NFData DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

Methods

rnf :: DomainNameStatus -> () #

Hashable DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToJSON DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToJSONKey DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

FromJSON DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

FromJSONKey DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToLog DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToHeader DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToQuery DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

FromXML DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToXML DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToByteString DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

FromText DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

ToText DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

type Rep DomainNameStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainNameStatus

type Rep DomainNameStatus = D1 ('MetaData "DomainNameStatus" "Amazonka.APIGateway.Types.DomainNameStatus" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "DomainNameStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDomainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EndpointType

newtype EndpointType Source #

The endpoint type. The valid values are EDGE for edge-optimized API setup, most suitable for mobile applications; REGIONAL for regional API endpoint setup, most suitable for calling from AWS Region; and PRIVATE for private APIs.

Constructors

EndpointType' 

Instances

Instances details
Eq EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Ord EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Read EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Show EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Generic EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Associated Types

type Rep EndpointType :: Type -> Type #

NFData EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Methods

rnf :: EndpointType -> () #

Hashable EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToJSON EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToJSONKey EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

FromJSON EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

FromJSONKey EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToLog EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToHeader EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToQuery EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

FromXML EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToXML EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Methods

toXML :: EndpointType -> XML #

ToByteString EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

FromText EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

ToText EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

Methods

toText :: EndpointType -> Text #

type Rep EndpointType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointType

type Rep EndpointType = D1 ('MetaData "EndpointType" "Amazonka.APIGateway.Types.EndpointType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "EndpointType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEndpointType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

GatewayResponseType

newtype GatewayResponseType Source #

Instances

Instances details
Eq GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Ord GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Read GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Show GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Generic GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Associated Types

type Rep GatewayResponseType :: Type -> Type #

NFData GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

Methods

rnf :: GatewayResponseType -> () #

Hashable GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToJSON GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToJSONKey GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

FromJSON GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

FromJSONKey GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToLog GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToHeader GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToQuery GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

FromXML GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToXML GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToByteString GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

FromText GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

ToText GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

type Rep GatewayResponseType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponseType

type Rep GatewayResponseType = D1 ('MetaData "GatewayResponseType" "Amazonka.APIGateway.Types.GatewayResponseType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "GatewayResponseType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGatewayResponseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

IntegrationType

newtype IntegrationType Source #

The integration type. The valid value is HTTP for integrating an API method with an HTTP backend; AWS with any AWS service endpoints; MOCK for testing without actually invoking the backend; HTTP_PROXY for integrating with the HTTP proxy integration; AWS_PROXY for integrating with the Lambda proxy integration.

Constructors

IntegrationType' 

Instances

Instances details
Eq IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Ord IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Read IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Show IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Generic IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Associated Types

type Rep IntegrationType :: Type -> Type #

NFData IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Methods

rnf :: IntegrationType -> () #

Hashable IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToJSON IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToJSONKey IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

FromJSON IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

FromJSONKey IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToLog IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToHeader IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToQuery IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

FromXML IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToXML IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

Methods

toXML :: IntegrationType -> XML #

ToByteString IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

FromText IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

ToText IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

type Rep IntegrationType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationType

type Rep IntegrationType = D1 ('MetaData "IntegrationType" "Amazonka.APIGateway.Types.IntegrationType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "IntegrationType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromIntegrationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LocationStatusType

newtype LocationStatusType Source #

Instances

Instances details
Eq LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Ord LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Read LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Show LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Generic LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Associated Types

type Rep LocationStatusType :: Type -> Type #

NFData LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

Methods

rnf :: LocationStatusType -> () #

Hashable LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToJSON LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToJSONKey LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

FromJSON LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

FromJSONKey LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToLog LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToHeader LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToQuery LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

FromXML LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToXML LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToByteString LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

FromText LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

ToText LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

type Rep LocationStatusType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.LocationStatusType

type Rep LocationStatusType = D1 ('MetaData "LocationStatusType" "Amazonka.APIGateway.Types.LocationStatusType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "LocationStatusType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLocationStatusType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Op

newtype Op Source #

Constructors

Op' 

Fields

Bundled Patterns

pattern Op_Add :: Op 
pattern Op_Copy :: Op 
pattern Op_Move :: Op 
pattern Op_Remove :: Op 
pattern Op_Replace :: Op 
pattern Op_Test :: Op 

Instances

Instances details
Eq Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

(==) :: Op -> Op -> Bool #

(/=) :: Op -> Op -> Bool #

Ord Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

compare :: Op -> Op -> Ordering #

(<) :: Op -> Op -> Bool #

(<=) :: Op -> Op -> Bool #

(>) :: Op -> Op -> Bool #

(>=) :: Op -> Op -> Bool #

max :: Op -> Op -> Op #

min :: Op -> Op -> Op #

Read Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Show Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

showsPrec :: Int -> Op -> ShowS #

show :: Op -> String #

showList :: [Op] -> ShowS #

Generic Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Associated Types

type Rep Op :: Type -> Type #

Methods

from :: Op -> Rep Op x #

to :: Rep Op x -> Op #

NFData Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

rnf :: Op -> () #

Hashable Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

hashWithSalt :: Int -> Op -> Int #

hash :: Op -> Int #

ToJSON Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

ToJSONKey Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

FromJSON Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

FromJSONKey Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

ToLog Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

ToHeader Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

toHeader :: HeaderName -> Op -> [Header] #

ToQuery Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

toQuery :: Op -> QueryString #

FromXML Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

parseXML :: [Node] -> Either String Op #

ToXML Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

toXML :: Op -> XML #

ToByteString Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

toBS :: Op -> ByteString #

FromText Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

fromText :: Text -> Either String Op #

ToText Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

Methods

toText :: Op -> Text #

type Rep Op Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Op

type Rep Op = D1 ('MetaData "Op" "Amazonka.APIGateway.Types.Op" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "Op'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PutMode

newtype PutMode Source #

Constructors

PutMode' 

Fields

Bundled Patterns

pattern PutMode_Merge :: PutMode 
pattern PutMode_Overwrite :: PutMode 

Instances

Instances details
Eq PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

(==) :: PutMode -> PutMode -> Bool #

(/=) :: PutMode -> PutMode -> Bool #

Ord PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Read PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Show PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Generic PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Associated Types

type Rep PutMode :: Type -> Type #

Methods

from :: PutMode -> Rep PutMode x #

to :: Rep PutMode x -> PutMode #

NFData PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

rnf :: PutMode -> () #

Hashable PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

hashWithSalt :: Int -> PutMode -> Int #

hash :: PutMode -> Int #

ToJSON PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToJSONKey PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

FromJSON PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

FromJSONKey PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToLog PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToHeader PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

toHeader :: HeaderName -> PutMode -> [Header] #

ToQuery PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

FromXML PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToXML PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

toXML :: PutMode -> XML #

ToByteString PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

toBS :: PutMode -> ByteString #

FromText PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

ToText PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

Methods

toText :: PutMode -> Text #

type Rep PutMode Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PutMode

type Rep PutMode = D1 ('MetaData "PutMode" "Amazonka.APIGateway.Types.PutMode" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "PutMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPutMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QuotaPeriodType

newtype QuotaPeriodType Source #

Constructors

QuotaPeriodType' 

Instances

Instances details
Eq QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Ord QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Read QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Show QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Generic QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Associated Types

type Rep QuotaPeriodType :: Type -> Type #

NFData QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Methods

rnf :: QuotaPeriodType -> () #

Hashable QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToJSON QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToJSONKey QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

FromJSON QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

FromJSONKey QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToLog QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToHeader QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToQuery QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

FromXML QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToXML QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

Methods

toXML :: QuotaPeriodType -> XML #

ToByteString QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

FromText QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

ToText QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

type Rep QuotaPeriodType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaPeriodType

type Rep QuotaPeriodType = D1 ('MetaData "QuotaPeriodType" "Amazonka.APIGateway.Types.QuotaPeriodType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "QuotaPeriodType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQuotaPeriodType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SecurityPolicy

newtype SecurityPolicy Source #

Constructors

SecurityPolicy' 

Instances

Instances details
Eq SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Ord SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Read SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Show SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Generic SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Associated Types

type Rep SecurityPolicy :: Type -> Type #

NFData SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Methods

rnf :: SecurityPolicy -> () #

Hashable SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToJSON SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToJSONKey SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

FromJSON SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

FromJSONKey SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToLog SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToHeader SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToQuery SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

FromXML SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToXML SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

Methods

toXML :: SecurityPolicy -> XML #

ToByteString SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

FromText SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

ToText SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

type Rep SecurityPolicy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SecurityPolicy

type Rep SecurityPolicy = D1 ('MetaData "SecurityPolicy" "Amazonka.APIGateway.Types.SecurityPolicy" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "SecurityPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSecurityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

UnauthorizedCacheControlHeaderStrategy

newtype UnauthorizedCacheControlHeaderStrategy Source #

Instances

Instances details
Eq UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Ord UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Read UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Show UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Generic UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

NFData UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

Hashable UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToJSON UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToJSONKey UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

FromJSON UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

FromJSONKey UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToLog UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToHeader UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToQuery UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

FromXML UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToXML UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToByteString UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

FromText UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

ToText UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

type Rep UnauthorizedCacheControlHeaderStrategy Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy

type Rep UnauthorizedCacheControlHeaderStrategy = D1 ('MetaData "UnauthorizedCacheControlHeaderStrategy" "Amazonka.APIGateway.Types.UnauthorizedCacheControlHeaderStrategy" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "UnauthorizedCacheControlHeaderStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromUnauthorizedCacheControlHeaderStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

VpcLinkStatus

newtype VpcLinkStatus Source #

Constructors

VpcLinkStatus' 

Instances

Instances details
Eq VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Ord VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Read VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Show VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Generic VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Associated Types

type Rep VpcLinkStatus :: Type -> Type #

NFData VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Methods

rnf :: VpcLinkStatus -> () #

Hashable VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToJSON VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToJSONKey VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

FromJSON VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

FromJSONKey VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToLog VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToHeader VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToQuery VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

FromXML VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToXML VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Methods

toXML :: VpcLinkStatus -> XML #

ToByteString VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

FromText VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

ToText VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

Methods

toText :: VpcLinkStatus -> Text #

type Rep VpcLinkStatus Source # 
Instance details

Defined in Amazonka.APIGateway.Types.VpcLinkStatus

type Rep VpcLinkStatus = D1 ('MetaData "VpcLinkStatus" "Amazonka.APIGateway.Types.VpcLinkStatus" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'True) (C1 ('MetaCons "VpcLinkStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromVpcLinkStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AccessLogSettings

data AccessLogSettings Source #

Access log settings, including the access log format and access log destination ARN.

See: newAccessLogSettings smart constructor.

Instances

Instances details
Eq AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

Read AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

Show AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

Generic AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

Associated Types

type Rep AccessLogSettings :: Type -> Type #

NFData AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

Methods

rnf :: AccessLogSettings -> () #

Hashable AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

FromJSON AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

type Rep AccessLogSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.AccessLogSettings

type Rep AccessLogSettings = D1 ('MetaData "AccessLogSettings" "Amazonka.APIGateway.Types.AccessLogSettings" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "AccessLogSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAccessLogSettings :: AccessLogSettings Source #

Create a value of AccessLogSettings 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:format:AccessLogSettings', accessLogSettings_format - A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

$sel:destinationArn:AccessLogSettings', accessLogSettings_destinationArn - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with amazon-apigateway-.

Account

data Account Source #

Represents an AWS account that is associated with API Gateway.

To view the account info, call GET on this resource.

Error Codes

The following exception may be thrown when the request fails.

  • UnauthorizedException
  • NotFoundException
  • TooManyRequestsException

For detailed error code information, including the corresponding HTTP Status Codes, see API Gateway Error Codes

Example: Get the information about an account.

Request
GET /account HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160531T184618Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html", "name": "account", "templated": true }, "self": { "href": "/account" }, "account:update": { "href": "/account" } }, "cloudwatchRoleArn": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "throttleSettings": { "rateLimit": 500, "burstLimit": 1000 } }

In addition to making the REST API call directly, you can use the AWS CLI and an AWS SDK to access this resource.

API Gateway Limits Developer Guide, AWS CLI

See: newAccount smart constructor.

Instances

Instances details
Eq Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Read Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Show Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Generic Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

NFData Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

rnf :: Account -> () #

Hashable Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

Methods

hashWithSalt :: Int -> Account -> Int #

hash :: Account -> Int #

FromJSON Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

type Rep Account Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Account

type Rep Account = D1 ('MetaData "Account" "Amazonka.APIGateway.Types.Account" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Account'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiKeyVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudwatchRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "features") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "throttleSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThrottleSettings)))))

newAccount :: Account Source #

Create a value of Account 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:apiKeyVersion:Account', account_apiKeyVersion - The version of the API keys used for the account.

$sel:cloudwatchRoleArn:Account', account_cloudwatchRoleArn - The ARN of an Amazon CloudWatch role for the current Account.

$sel:features:Account', account_features - A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

$sel:throttleSettings:Account', account_throttleSettings - Specifies the API request limits configured for the current Account.

ApiKey

data ApiKey Source #

A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.

Use API Keys

See: newApiKey smart constructor.

Instances

Instances details
Eq ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

(==) :: ApiKey -> ApiKey -> Bool #

(/=) :: ApiKey -> ApiKey -> Bool #

Read ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Show ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Generic ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Associated Types

type Rep ApiKey :: Type -> Type #

Methods

from :: ApiKey -> Rep ApiKey x #

to :: Rep ApiKey x -> ApiKey #

NFData ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

rnf :: ApiKey -> () #

Hashable ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

Methods

hashWithSalt :: Int -> ApiKey -> Int #

hash :: ApiKey -> Int #

FromJSON ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

type Rep ApiKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiKey

newApiKey :: ApiKey Source #

Create a value of ApiKey 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:enabled:ApiKey', apiKey_enabled - Specifies whether the API Key can be used by callers.

$sel:value:ApiKey', apiKey_value - The value of the API Key.

$sel:customerId:ApiKey', apiKey_customerId - An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

$sel:createdDate:ApiKey', apiKey_createdDate - The timestamp when the API Key was created.

$sel:name:ApiKey', apiKey_name - The name of the API Key.

$sel:id:ApiKey', apiKey_id - The identifier of the API Key.

$sel:stageKeys:ApiKey', apiKey_stageKeys - A list of Stage resources that are associated with the ApiKey resource.

$sel:lastUpdatedDate:ApiKey', apiKey_lastUpdatedDate - The timestamp when the API Key was last updated.

$sel:description:ApiKey', apiKey_description - The description of the API Key.

$sel:tags:ApiKey', apiKey_tags - The collection of tags. Each tag element is associated with a given resource.

ApiStage

data ApiStage Source #

API stage name of the associated API stage in a usage plan.

See: newApiStage smart constructor.

Instances

Instances details
Eq ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Read ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Show ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Generic ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Associated Types

type Rep ApiStage :: Type -> Type #

Methods

from :: ApiStage -> Rep ApiStage x #

to :: Rep ApiStage x -> ApiStage #

NFData ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Methods

rnf :: ApiStage -> () #

Hashable ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

Methods

hashWithSalt :: Int -> ApiStage -> Int #

hash :: ApiStage -> Int #

ToJSON ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

FromJSON ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

type Rep ApiStage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ApiStage

type Rep ApiStage = D1 ('MetaData "ApiStage" "Amazonka.APIGateway.Types.ApiStage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ApiStage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "throttle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ThrottleSettings))))))

newApiStage :: ApiStage Source #

Create a value of ApiStage 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:stage:ApiStage', apiStage_stage - API stage name of the associated API stage in a usage plan.

$sel:apiId:ApiStage', apiStage_apiId - API Id of the associated API stage in a usage plan.

$sel:throttle:ApiStage', apiStage_throttle - Map containing method level throttling information for API stage in a usage plan.

Authorizer

data Authorizer Source #

Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.

Use Lambda Function as Authorizer Use Cognito User Pool as Authorizer

See: newAuthorizer smart constructor.

Instances

Instances details
Eq Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Read Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Show Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Generic Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Associated Types

type Rep Authorizer :: Type -> Type #

NFData Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

Methods

rnf :: Authorizer -> () #

Hashable Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

FromJSON Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

type Rep Authorizer Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Authorizer

newAuthorizer :: Authorizer Source #

Create a value of Authorizer 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:authorizerUri:Authorizer', authorizer_authorizerUri - Specifies the authorizer's Uniform Resource Identifier (URI). For TOKEN or REQUEST authorizers, this must be a well-formed Lambda function URI, for example, arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations. In general, the URI has this form arn:aws:apigateway:{region}:lambda:path/{service_api}, where {region} is the same as the region hosting the Lambda function, path indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial /. For Lambda functions, this is usually of the form /2015-03-31/functions/[FunctionARN]/invocations.

$sel:identityValidationExpression:Authorizer', authorizer_identityValidationExpression - A validation expression for the incoming identity token. For TOKEN authorizers, this value is a regular expression. For COGNITO_USER_POOLS authorizers, API Gateway will match the aud field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply to the REQUEST authorizer.

$sel:providerARNs:Authorizer', authorizer_providerARNs - A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer. Each element is of this format: arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}. For a TOKEN or REQUEST authorizer, this is not defined.

$sel:name:Authorizer', authorizer_name - [Required] The name of the authorizer.

$sel:id:Authorizer', authorizer_id - The identifier for the authorizer resource.

$sel:authorizerResultTtlInSeconds:Authorizer', authorizer_authorizerResultTtlInSeconds - The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour.

$sel:authType:Authorizer', authorizer_authType - Optional customer-defined field, used in OpenAPI imports and exports without functional impact.

$sel:type':Authorizer', authorizer_type - The authorizer type. Valid values are TOKEN for a Lambda function using a single authorization token submitted in a custom header, REQUEST for a Lambda function using incoming request parameters, and COGNITO_USER_POOLS for using an Amazon Cognito user pool.

$sel:identitySource:Authorizer', authorizer_identitySource - The identity source for which authorization is requested.

  • For a TOKEN or COGNITO_USER_POOLS authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is Auth, the header mapping expression is method.request.header.Auth.
  • For the REQUEST authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an Auth header, a Name query string parameter are defined as identity sources, this value is method.request.header.Auth, method.request.querystring.Name. These parameters will be used to derive the authorization caching key and to perform runtime validation of the REQUEST authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional.

$sel:authorizerCredentials:Authorizer', authorizer_authorizerCredentials - Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null.

BasePathMapping

data BasePathMapping Source #

Represents the base path that callers of the API must provide as part of the URL after the domain name.

A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account.

Use Custom Domain Names

See: newBasePathMapping smart constructor.

Instances

Instances details
Eq BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Read BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Show BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Generic BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Associated Types

type Rep BasePathMapping :: Type -> Type #

NFData BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Methods

rnf :: BasePathMapping -> () #

Hashable BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

FromJSON BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping = D1 ('MetaData "BasePathMapping" "Amazonka.APIGateway.Types.BasePathMapping" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "BasePathMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBasePathMapping :: BasePathMapping Source #

Create a value of BasePathMapping 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:stage:BasePathMapping', basePathMapping_stage - The name of the associated stage.

$sel:basePath:BasePathMapping', basePathMapping_basePath - The base path name that callers of the API must provide as part of the URL after the domain name.

$sel:restApiId:BasePathMapping', basePathMapping_restApiId - The string identifier of the associated RestApi.

CanarySettings

data CanarySettings Source #

Configuration settings of a canary deployment.

See: newCanarySettings smart constructor.

Instances

Instances details
Eq CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Read CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Show CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Generic CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Associated Types

type Rep CanarySettings :: Type -> Type #

NFData CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

Methods

rnf :: CanarySettings -> () #

Hashable CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

ToJSON CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

FromJSON CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

type Rep CanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.CanarySettings

type Rep CanarySettings = D1 ('MetaData "CanarySettings" "Amazonka.APIGateway.Types.CanarySettings" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "CanarySettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stageVariableOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "useStageCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "percentTraffic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newCanarySettings :: CanarySettings Source #

Create a value of CanarySettings 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:deploymentId:CanarySettings', canarySettings_deploymentId - The ID of the canary deployment.

$sel:stageVariableOverrides:CanarySettings', canarySettings_stageVariableOverrides - Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.

$sel:useStageCache:CanarySettings', canarySettings_useStageCache - A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

$sel:percentTraffic:CanarySettings', canarySettings_percentTraffic - The percent (0-100) of traffic diverted to a canary deployment.

ClientCertificate

data ClientCertificate Source #

Represents a client certificate used to configure client-side SSL authentication while sending requests to the integration endpoint.

Client certificates are used to authenticate an API by the backend server. To authenticate an API client (or user), use IAM roles and policies, a custom Authorizer or an Amazon Cognito user pool.

Use Client-Side Certificate

See: newClientCertificate smart constructor.

Instances

Instances details
Eq ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Read ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Show ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Generic ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Associated Types

type Rep ClientCertificate :: Type -> Type #

NFData ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

Methods

rnf :: ClientCertificate -> () #

Hashable ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

FromJSON ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ClientCertificate

type Rep ClientCertificate = D1 ('MetaData "ClientCertificate" "Amazonka.APIGateway.Types.ClientCertificate" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ClientCertificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pemEncodedCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "expirationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newClientCertificate :: ClientCertificate Source #

Create a value of ClientCertificate 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:pemEncodedCertificate:ClientCertificate', clientCertificate_pemEncodedCertificate - The PEM-encoded public key of the client certificate, which can be used to configure certificate authentication in the integration endpoint .

$sel:clientCertificateId:ClientCertificate', clientCertificate_clientCertificateId - The identifier of the client certificate.

$sel:createdDate:ClientCertificate', clientCertificate_createdDate - The timestamp when the client certificate was created.

$sel:expirationDate:ClientCertificate', clientCertificate_expirationDate - The timestamp when the client certificate will expire.

$sel:description:ClientCertificate', clientCertificate_description - The description of the client certificate.

$sel:tags:ClientCertificate', clientCertificate_tags - The collection of tags. Each tag element is associated with a given resource.

Deployment

data Deployment Source #

An immutable representation of a RestApi resource that can be called by users using Stages. A deployment must be associated with a Stage for it to be callable over the Internet.

To create a deployment, call POST on the Deployments resource of a RestApi. To view, update, or delete a deployment, call GET, PATCH, or DELETE on the specified deployment resource (/restapis/{restapi_id}/deployments/{deployment_id}).

RestApi, Deployments, Stage, AWS CLI, AWS SDKs

See: newDeployment smart constructor.

Instances

Instances details
Eq Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Read Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Show Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Generic Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Associated Types

type Rep Deployment :: Type -> Type #

NFData Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Methods

rnf :: Deployment -> () #

Hashable Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

FromJSON Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment = D1 ('MetaData "Deployment" "Amazonka.APIGateway.Types.Deployment" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Deployment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (HashMap Text MethodSnapshot)))) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDeployment :: Deployment Source #

Create a value of Deployment 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:apiSummary:Deployment', deployment_apiSummary - A summary of the RestApi at the date and time that the deployment resource was created.

$sel:createdDate:Deployment', deployment_createdDate - The date and time that the deployment resource was created.

$sel:id:Deployment', deployment_id - The identifier for the deployment resource.

$sel:description:Deployment', deployment_description - The description for the deployment resource.

DeploymentCanarySettings

data DeploymentCanarySettings Source #

The input configuration for a canary deployment.

See: newDeploymentCanarySettings smart constructor.

Instances

Instances details
Eq DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Read DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Show DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Generic DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Associated Types

type Rep DeploymentCanarySettings :: Type -> Type #

NFData DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

Hashable DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

ToJSON DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

type Rep DeploymentCanarySettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DeploymentCanarySettings

type Rep DeploymentCanarySettings = D1 ('MetaData "DeploymentCanarySettings" "Amazonka.APIGateway.Types.DeploymentCanarySettings" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeploymentCanarySettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stageVariableOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "useStageCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "percentTraffic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newDeploymentCanarySettings :: DeploymentCanarySettings Source #

Create a value of DeploymentCanarySettings 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:stageVariableOverrides:DeploymentCanarySettings', deploymentCanarySettings_stageVariableOverrides - A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.

$sel:useStageCache:DeploymentCanarySettings', deploymentCanarySettings_useStageCache - A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

$sel:percentTraffic:DeploymentCanarySettings', deploymentCanarySettings_percentTraffic - The percentage (0.0-100.0) of traffic routed to the canary deployment.

DocumentationPart

data DocumentationPart Source #

A documentation part for a targeted API entity.

A documentation part consists of a content map (properties) and a target (location). The target specifies an API entity to which the documentation content applies. The supported API entity types are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Valid location fields depend on the API entity type. All valid fields are not required.

The content map is a JSON string of API-specific key-value pairs. Although an API can use any shape for the content map, only the OpenAPI-compliant documentation fields will be injected into the associated API entity definition in the exported OpenAPI definition file.

Documenting an API, DocumentationParts

See: newDocumentationPart smart constructor.

Instances

Instances details
Eq DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Read DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Show DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Generic DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Associated Types

type Rep DocumentationPart :: Type -> Type #

NFData DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

Methods

rnf :: DocumentationPart -> () #

Hashable DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

FromJSON DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

type Rep DocumentationPart Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPart

type Rep DocumentationPart = D1 ('MetaData "DocumentationPart" "Amazonka.APIGateway.Types.DocumentationPart" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DocumentationPart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentationPartLocation)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationPart :: DocumentationPart Source #

Create a value of DocumentationPart 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:location:DocumentationPart', documentationPart_location - The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.

$sel:id:DocumentationPart', documentationPart_id - The DocumentationPart identifier, generated by API Gateway when the DocumentationPart is created.

$sel:properties:DocumentationPart', documentationPart_properties - A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g., "{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension of x-amazon-apigateway-documentation.

DocumentationPartLocation

data DocumentationPartLocation Source #

Specifies the target API entity to which the documentation applies.

See: newDocumentationPartLocation smart constructor.

Instances

Instances details
Eq DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

Read DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

Show DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

Generic DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

Associated Types

type Rep DocumentationPartLocation :: Type -> Type #

NFData DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

Hashable DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

ToJSON DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

FromJSON DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

type Rep DocumentationPartLocation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationPartLocation

type Rep DocumentationPartLocation = D1 ('MetaData "DocumentationPartLocation" "Amazonka.APIGateway.Types.DocumentationPartLocation" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DocumentationPartLocation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DocumentationPartType)))))

newDocumentationPartLocation Source #

Create a value of DocumentationPartLocation 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:path:DocumentationPartLocation', documentationPartLocation_path - The URL path of the target. It is a valid field for the API entity types of RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is / for the root resource. When an applicable child entity inherits the content of another entity of the same type with more general specifications of the other location attributes, the child entity's path attribute must match that of the parent entity as a prefix.

$sel:name:DocumentationPartLocation', documentationPartLocation_name - The name of the targeted API entity. It is a valid and required field for the API entity types of AUTHORIZER, MODEL, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY and RESPONSE_HEADER. It is an invalid field for any other entity type.

$sel:method:DocumentationPartLocation', documentationPartLocation_method - The HTTP verb of a method. It is a valid field for the API entity types of METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any method. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's method attribute must match that of the parent entity exactly.

$sel:statusCode:DocumentationPartLocation', documentationPartLocation_statusCode - The HTTP status code of a response. It is a valid field for the API entity types of RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. The default value is * for any status code. When an applicable child entity inherits the content of an entity of the same type with more general specifications of the other location attributes, the child entity's statusCode attribute must match that of the parent entity exactly.

$sel:type':DocumentationPartLocation', documentationPartLocation_type - [Required] The type of API entity to which the documentation content applies. Valid values are API, AUTHORIZER, MODEL, RESOURCE, METHOD, PATH_PARAMETER, QUERY_PARAMETER, REQUEST_HEADER, REQUEST_BODY, RESPONSE, RESPONSE_HEADER, and RESPONSE_BODY. Content inheritance does not apply to any entity of the API, AUTHORIZER, METHOD, MODEL, REQUEST_BODY, or RESOURCE type.

DocumentationVersion

data DocumentationVersion Source #

A snapshot of the documentation of an API.

Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., OpenAPI) file.

Documenting an API, DocumentationPart, DocumentationVersions

See: newDocumentationVersion smart constructor.

Instances

Instances details
Eq DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Read DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Show DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Generic DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Associated Types

type Rep DocumentationVersion :: Type -> Type #

NFData DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

Methods

rnf :: DocumentationVersion -> () #

Hashable DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

FromJSON DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DocumentationVersion

type Rep DocumentationVersion = D1 ('MetaData "DocumentationVersion" "Amazonka.APIGateway.Types.DocumentationVersion" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DocumentationVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentationVersion :: DocumentationVersion Source #

Create a value of DocumentationVersion 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:createdDate:DocumentationVersion', documentationVersion_createdDate - The date when the API documentation snapshot is created.

$sel:version:DocumentationVersion', documentationVersion_version - The version identifier of the API documentation snapshot.

$sel:description:DocumentationVersion', documentationVersion_description - The description of the API documentation snapshot.

DomainName

data DomainName Source #

Represents a custom domain name as a user-friendly host name of an API (RestApi).

When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi, where myApi is the base path mapping (BasePathMapping) of your API under the custom domain name.

Set a Custom Host Name for an API

See: newDomainName smart constructor.

Instances

Instances details
Eq DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Read DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Show DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Generic DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Associated Types

type Rep DomainName :: Type -> Type #

NFData DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

Methods

rnf :: DomainName -> () #

Hashable DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

FromJSON DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

type Rep DomainName Source # 
Instance details

Defined in Amazonka.APIGateway.Types.DomainName

type Rep DomainName = D1 ('MetaData "DomainName" "Amazonka.APIGateway.Types.DomainName" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DomainName'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "regionalHostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ownershipVerificationCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "regionalCertificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "distributionHostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "securityPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityPolicy)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "mutualTlsAuthentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MutualTlsAuthentication)) :*: S1 ('MetaSel ('Just "regionalCertificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "regionalDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateUploadDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "distributionDomainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainNameStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration)) :*: (S1 ('MetaSel ('Just "domainNameStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainNameStatus)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newDomainName :: DomainName Source #

Create a value of DomainName 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:regionalHostedZoneId:DomainName', domainName_regionalHostedZoneId - The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

$sel:certificateName:DomainName', domainName_certificateName - The name of the certificate that will be used by edge-optimized endpoint for this domain name.

$sel:ownershipVerificationCertificateArn:DomainName', domainName_ownershipVerificationCertificateArn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

$sel:regionalCertificateArn:DomainName', domainName_regionalCertificateArn - The reference to an AWS-managed certificate that will be used for validating the regional domain name. AWS Certificate Manager is the only supported source.

$sel:certificateArn:DomainName', domainName_certificateArn - The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

$sel:distributionHostedZoneId:DomainName', domainName_distributionHostedZoneId - The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.

$sel:securityPolicy:DomainName', domainName_securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

$sel:domainName:DomainName', domainName_domainName - The custom domain name as an API host name, for example, my-api.example.com.

$sel:mutualTlsAuthentication:DomainName', domainName_mutualTlsAuthentication - The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.

$sel:regionalCertificateName:DomainName', domainName_regionalCertificateName - The name of the certificate that will be used for validating the regional domain name.

$sel:regionalDomainName:DomainName', domainName_regionalDomainName - The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.

$sel:certificateUploadDate:DomainName', domainName_certificateUploadDate - The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

$sel:distributionDomainName:DomainName', domainName_distributionDomainName - The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.

$sel:domainNameStatusMessage:DomainName', domainName_domainNameStatusMessage - An optional text message containing detailed information about status of the DomainName migration.

$sel:endpointConfiguration:DomainName', domainName_endpointConfiguration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.

$sel:domainNameStatus:DomainName', domainName_domainNameStatus - The status of the DomainName migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

$sel:tags:DomainName', domainName_tags - The collection of tags. Each tag element is associated with a given resource.

EndpointConfiguration

data EndpointConfiguration Source #

The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.

See: newEndpointConfiguration smart constructor.

Instances

Instances details
Eq EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Read EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Show EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Generic EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Associated Types

type Rep EndpointConfiguration :: Type -> Type #

NFData EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

Methods

rnf :: EndpointConfiguration -> () #

Hashable EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

ToJSON EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

FromJSON EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

type Rep EndpointConfiguration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.EndpointConfiguration

type Rep EndpointConfiguration = D1 ('MetaData "EndpointConfiguration" "Amazonka.APIGateway.Types.EndpointConfiguration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "EndpointConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "types") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EndpointType])) :*: S1 ('MetaSel ('Just "vpcEndpointIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newEndpointConfiguration :: EndpointConfiguration Source #

Create a value of EndpointConfiguration 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:types:EndpointConfiguration', endpointConfiguration_types - A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.

$sel:vpcEndpointIds:EndpointConfiguration', endpointConfiguration_vpcEndpointIds - A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.

GatewayResponse

data GatewayResponse Source #

A gateway response of a given response type and status code, with optional response parameters and mapping templates.

For more information about valid gateway response types, see Gateway Response Types Supported by API Gateway

Example: Get a Gateway Response of a given response type

Request

This example shows how to get a gateway response of the MISSING_AUTHENTICATION_TOKEN type.

GET /restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN HTTP/1.1 Host: beta-apigateway.us-east-1.amazonaws.com Content-Type: application/json X-Amz-Date: 20170503T202516Z Authorization: AWS4-HMAC-SHA256 Credential={access-key-id}/20170503/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=1b52460e3159c1a26cff29093855d50ea141c1c5b937528fecaf60f51129697a Cache-Control: no-cache Postman-Token: 3b2a1ce9-c848-2e26-2e2f-9c2caefbed45

The response type is specified as a URL path.

Response

The successful operation returns the 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "http://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-gatewayresponse-{rel}.html", "name": "gatewayresponse", "templated": true }, "self": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:delete": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" }, "gatewayresponse:put": { "href": "/restapis/o81lxisefl/gatewayresponses/{response_type}", "templated": true }, "gatewayresponse:update": { "href": "/restapis/o81lxisefl/gatewayresponses/MISSING_AUTHENTICATION_TOKEN" } }, "defaultResponse": false, "responseParameters": { "gatewayresponse.header.x-request-path": "method.request.path.petId", "gatewayresponse.header.Access-Control-Allow-Origin": "'a.b.c'", "gatewayresponse.header.x-request-query": "method.request.querystring.q", "gatewayresponse.header.x-request-header": "method.request.header.Accept" }, "responseTemplates": { "application/json": "{\n \"message\": $context.error.messageString,\n \"type\": \"$context.error.responseType\",\n \"stage\": \"$context.stage\",\n \"resourcePath\": \"$context.resourcePath\",\n \"stageVariables.a\": \"$stageVariables.a\",\n \"statusCode\": \"'404'\"\n}" }, "responseType": "MISSING_AUTHENTICATION_TOKEN", "statusCode": "404" }

Customize Gateway Responses

See: newGatewayResponse smart constructor.

Instances

Instances details
Eq GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Read GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Show GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Generic GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Associated Types

type Rep GatewayResponse :: Type -> Type #

NFData GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

Methods

rnf :: GatewayResponse -> () #

Hashable GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

FromJSON GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

type Rep GatewayResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.GatewayResponse

type Rep GatewayResponse = D1 ('MetaData "GatewayResponse" "Amazonka.APIGateway.Types.GatewayResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GatewayResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "responseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GatewayResponseType)) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newGatewayResponse :: GatewayResponse Source #

Create a value of GatewayResponse 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:defaultResponse:GatewayResponse', gatewayResponse_defaultResponse - A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

$sel:responseTemplates:GatewayResponse', gatewayResponse_responseTemplates - Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

$sel:responseType:GatewayResponse', gatewayResponse_responseType - The response type of the associated GatewayResponse.

$sel:statusCode:GatewayResponse', gatewayResponse_statusCode - The HTTP status code for this GatewayResponse.

$sel:responseParameters:GatewayResponse', gatewayResponse_responseParameters - Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

Integration

data Integration Source #

Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration.

In the API Gateway console, the built-in Lambda integration is an AWS integration.

Creating an API

See: newIntegration smart constructor.

Instances

Instances details
Eq Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Read Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Show Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Generic Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Associated Types

type Rep Integration :: Type -> Type #

NFData Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

Methods

rnf :: Integration -> () #

Hashable Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

FromJSON Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

type Rep Integration Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Integration

type Rep Integration = D1 ('MetaData "Integration" "Amazonka.APIGateway.Types.Integration" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Integration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "requestTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "credentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "connectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "passthroughBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "integrationResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text IntegrationResponse)))) :*: (S1 ('MetaSel ('Just "tlsConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TlsConfig)) :*: S1 ('MetaSel ('Just "cacheNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "timeoutInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IntegrationType))) :*: (S1 ('MetaSel ('Just "connectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionType)) :*: S1 ('MetaSel ('Just "cacheKeyParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))))

newIntegration :: Integration Source #

Create a value of Integration 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:httpMethod:Integration', integration_httpMethod - Specifies the integration's HTTP method type.

$sel:requestTemplates:Integration', integration_requestTemplates - Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value.

$sel:credentials:Integration', integration_credentials - Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::\*:user/\*. To use resource-based permissions on supported AWS services, specify null.

$sel:connectionId:Integration', integration_connectionId - The (id) of the VpcLink used for the integration when connectionType=VPC_LINK and undefined, otherwise.

$sel:requestParameters:Integration', integration_requestParameters - A key-value map specifying request parameters that are passed from the method request to the back end. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the back end. The method request parameter value must match the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name must be a valid and unique method request parameter name.

$sel:contentHandling:Integration', integration_contentHandling - Specifies how to handle request payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

  • CONVERT_TO_BINARY: Converts a request payload from a Base64-encoded string to the corresponding binary blob.
  • CONVERT_TO_TEXT: Converts a request payload from a binary blob to a Base64-encoded string.

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehavior is configured to support payload pass-through.

$sel:passthroughBehavior:Integration', integration_passthroughBehavior - Specifies how the method request body of an unmapped content type will be passed through the integration request to the back end without transformation. A content type is unmapped if no mapping template is defined in the integration or the content type does not match any of the mapped content types, as specified in requestTemplates. The valid value is one of the following:

  • WHEN_NO_MATCH: passes the method request body through the integration request to the back end without transformation when the method request content type does not match any content type associated with the mapping templates defined in the integration request.
  • WHEN_NO_TEMPLATES: passes the method request body through the integration request to the back end without transformation when no mapping template is defined in the integration request. If a template is defined when this option is selected, the method request of an unmapped content-type will be rejected with an HTTP 415 Unsupported Media Type response.
  • NEVER: rejects the method request with an HTTP 415 Unsupported Media Type response when either the method request content type does not match any content type associated with the mapping templates defined in the integration request or no mapping template is defined in the integration request.

$sel:uri:Integration', integration_uri - Specifies Uniform Resource Identifier (URI) of the integration endpoint.

  • For HTTP or HTTP_PROXY integrations, the URI must be a fully formed, encoded HTTP(S) URL according to the RFC-3986 specification, for either standard integration, where connectionType is not VPC_LINK, or private integration, where connectionType is VPC_LINK. For a private HTTP integration, the URI is not used for routing.
  • For AWS or AWS_PROXY integrations, the URI is of the form arn:aws:apigateway:{region}:{subdomain.service|service}:path|action/{service_api}. Here, {Region} is the API Gateway region (e.g., us-east-1); {service} is the name of the integrated AWS service (e.g., s3); and {subdomain} is a designated subdomain supported by certain AWS service for fast host-name lookup. action can be used for an AWS service action-based API, using an Action={name}&{p1}={v1}&p2={v2}... query string. The ensuing {service_api} refers to a supported action {name} plus any required input parameters. Alternatively, path can be used for an AWS service path-based API. The ensuing service_api refers to the path to an AWS service resource, including the region of the integrated AWS service, if applicable. For example, for integration with the S3 API of GetObject, the uri can be either arn:aws:apigateway:us-west-2:s3:action/GetObject&Bucket={bucket}&Key={key} or arn:aws:apigateway:us-west-2:s3:path/{bucket}/{key}

$sel:integrationResponses:Integration', integration_integrationResponses - Specifies the integration's responses.

Example: Get integration responses of a method

Request
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160607T191449Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160607/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 200 OK status and a payload as follows:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" }

Creating an API

$sel:tlsConfig:Integration', integration_tlsConfig - Specifies the TLS configuration for an integration.

$sel:cacheNamespace:Integration', integration_cacheNamespace - Specifies a group of related cached parameters. By default, API Gateway uses the resource ID as the cacheNamespace. You can specify the same cacheNamespace across resources to return the same cached data for requests to different resources.

$sel:timeoutInMillis:Integration', integration_timeoutInMillis - Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

$sel:type':Integration', integration_type - Specifies an API method integration type. The valid value is one of the following:

  • AWS: for integrating the API method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration.
  • AWS_PROXY: for integrating the API method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as the Lambda proxy integration.
  • HTTP: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC. This integration is also referred to as the HTTP custom integration.
  • HTTP_PROXY: for integrating the API method request with an HTTP endpoint, including a private HTTP endpoint within a VPC, with the client request passed through as-is. This is also referred to as the HTTP proxy integration.
  • MOCK: for integrating the API method request with API Gateway as a "loop-back" endpoint without invoking any backend.

For the HTTP and HTTP proxy integrations, each integration can specify a protocol (http/https), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a connectionType of VPC_LINK is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.

$sel:connectionType:Integration', integration_connectionType - The type of the network connection to the integration endpoint. The valid value is INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and a network load balancer in a VPC. The default value is INTERNET.

$sel:cacheKeyParameters:Integration', integration_cacheKeyParameters - A list of request parameters whose values API Gateway caches. To be valid values for cacheKeyParameters, these parameters must also be specified for Method requestParameters.

IntegrationResponse

data IntegrationResponse Source #

Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.

Creating an API

See: newIntegrationResponse smart constructor.

Instances

Instances details
Eq IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Read IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Show IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Generic IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Associated Types

type Rep IntegrationResponse :: Type -> Type #

NFData IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

Methods

rnf :: IntegrationResponse -> () #

Hashable IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

FromJSON IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

type Rep IntegrationResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.IntegrationResponse

type Rep IntegrationResponse = D1 ('MetaData "IntegrationResponse" "Amazonka.APIGateway.Types.IntegrationResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "IntegrationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contentHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentHandlingStrategy)) :*: S1 ('MetaSel ('Just "responseTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "selectionPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))

newIntegrationResponse :: IntegrationResponse Source #

Create a value of IntegrationResponse 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:contentHandling:IntegrationResponse', integrationResponse_contentHandling - Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT, with the following behaviors:

  • CONVERT_TO_BINARY: Converts a response payload from a Base64-encoded string to the corresponding binary blob.
  • CONVERT_TO_TEXT: Converts a response payload from a binary blob to a Base64-encoded string.

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

$sel:responseTemplates:IntegrationResponse', integrationResponse_responseTemplates - Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.

$sel:selectionPattern:IntegrationResponse', integrationResponse_selectionPattern - Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end. For example, if the success response returns nothing and the error response returns some string, you could use the .+ regex to match error response. However, make sure that the error response does not contain any newline (\n) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.

$sel:statusCode:IntegrationResponse', integrationResponse_statusCode - Specifies the status code that is used to map the integration response to an existing MethodResponse.

$sel:responseParameters:IntegrationResponse', integrationResponse_responseParameters - A key-value map specifying response parameters that are passed to the method response from the back end. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The mapped non-static value must match the pattern of integration.response.header.{name} or integration.response.body.{JSON-expression}, where name is a valid and unique response header name and JSON-expression is a valid JSON expression without the $ prefix.

Method

data Method Source #

Represents a client-facing interface by which the client calls the API to access back-end resources. A Method resource is integrated with an Integration resource. Both consist of a request and one or more responses. The method request takes the client input that is passed to the back end through the integration request. A method response returns the output from the back end to the client through an integration response. A method request is embodied in a Method resource, whereas an integration request is embodied in an Integration resource. On the other hand, a method response is represented by a MethodResponse resource, whereas an integration response is represented by an IntegrationResponse resource.

Example: Retrive the GET method on a specified resource

Request

The following example request retrieves the information about the GET method on an API resource (3kzxbg5sa2) of an API (fugvjdxtri).

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T210259Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": true, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E\")" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }

In the example above, the response template for the 200 OK response maps the JSON output from the ListStreams action in the back end to an XML output. The mapping template is URL-encoded as %3CkinesisStreams%3E%23foreach(%24stream%20in%20%24input.path(%27%24.StreamNames%27))%3Cstream%3E%3Cname%3E%24stream%3C%2Fname%3E%3C%2Fstream%3E%23end%3C%2FkinesisStreams%3E and the output is decoded using the $util.urlDecode() helper function.

MethodResponse, Integration, IntegrationResponse, Resource, Set up an API's method

See: newMethod smart constructor.

Instances

Instances details
Eq Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

(==) :: Method -> Method -> Bool #

(/=) :: Method -> Method -> Bool #

Read Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Show Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Generic Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Associated Types

type Rep Method :: Type -> Type #

Methods

from :: Method -> Rep Method x #

to :: Rep Method x -> Method #

NFData Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

rnf :: Method -> () #

Hashable Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

Methods

hashWithSalt :: Int -> Method -> Int #

hash :: Method -> Int #

FromJSON Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

type Rep Method Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Method

type Rep Method = D1 ('MetaData "Method" "Amazonka.APIGateway.Types.Method" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Method'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "methodResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MethodResponse))) :*: S1 ('MetaSel ('Just "httpMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "authorizationScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "requestValidatorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))) :*: ((S1 ('MetaSel ('Just "requestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))) :*: (S1 ('MetaSel ('Just "authorizerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "operationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeyRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "methodIntegration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integration)))))))

newMethod :: Method Source #

Create a value of Method 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:methodResponses:Method', method_methodResponses - Gets a method response associated with a given HTTP status code.

The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a MethodResponse resource that specifies the response returned to the caller from the back end through the integration response.

Example: Get a 200 OK response of a GET method

Request
GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T215008Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.operator": false, "method.response.header.operand_2": false, "method.response.header.operand_1": false }, "statusCode": "200" }

AWS CLI

$sel:httpMethod:Method', method_httpMethod - The method's HTTP verb.

$sel:authorizationScopes:Method', method_authorizationScopes - A list of authorization scopes configured on the method. The scopes are used with a COGNITO_USER_POOLS authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.

$sel:requestValidatorId:Method', method_requestValidatorId - The identifier of a RequestValidator for request validation.

$sel:requestModels:Method', method_requestModels - A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).

$sel:requestParameters:Method', method_requestParameters - A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of method.request.{location}.{name}, where location is querystring, path, or header and name is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true) or optional (false). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.

$sel:authorizerId:Method', method_authorizerId - The identifier of an Authorizer to use on this method. The authorizationType must be CUSTOM.

$sel:operationName:Method', method_operationName - A human-friendly operation identifier for the method. For example, you can assign the operationName of ListPets for the GET /pets method in the PetStore example.

$sel:authorizationType:Method', method_authorizationType - The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

$sel:apiKeyRequired:Method', method_apiKeyRequired - A boolean flag specifying whether a valid ApiKey is required to invoke this method.

$sel:methodIntegration:Method', method_methodIntegration - Gets the method's integration responsible for passing the client-submitted request to the back end and performing necessary transformations to make the request compliant with the back end.

Example:

Request
GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com Content-Length: 117 X-Amz-Date: 20160613T213210Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns a 200 OK status code and a payload similar to the following:

{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true } ], "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integration:responses": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "0cjtch", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestTemplates": { "application/json": "{\n \"a\": \"$input.params('operand1')\",\n \"b\": \"$input.params('operand2')\", \n \"op\": \"$input.params('operator')\" \n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-west-2:lambda:path//2015-03-31/functions/arn:aws:lambda:us-west-2:123456789012:function:Calc/invocations", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.operator": "integration.response.body.op", "method.response.header.operand_2": "integration.response.body.b", "method.response.header.operand_1": "integration.response.body.a" }, "responseTemplates": { "application/json": "#set($res = $input.path('$'))\n{\n \"result\": \"$res.a, $res.b, $res.op => $res.c\",\n \"a\" : \"$res.a\",\n \"b\" : \"$res.b\",\n \"op\" : \"$res.op\",\n \"c\" : \"$res.c\"\n}" }, "selectionPattern": "", "statusCode": "200" } } }

AWS CLI

MethodResponse

data MethodResponse Source #

Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template.

Example: A MethodResponse instance of an API

Request

The example request retrieves a MethodResponse of the 200 status code.

GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200 HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20160603T222952Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160603/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response

The successful response returns 200 OK status and a payload as follows:

{ "_links": { "curies": { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true }, "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" }

Method, IntegrationResponse, Integration Creating an API

See: newMethodResponse smart constructor.

Instances

Instances details
Eq MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Read MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Show MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Generic MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Associated Types

type Rep MethodResponse :: Type -> Type #

NFData MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

Methods

rnf :: MethodResponse -> () #

Hashable MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

FromJSON MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

type Rep MethodResponse Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodResponse

type Rep MethodResponse = D1 ('MetaData "MethodResponse" "Amazonka.APIGateway.Types.MethodResponse" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "MethodResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "responseModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))))))

newMethodResponse :: MethodResponse Source #

Create a value of MethodResponse 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:responseModels:MethodResponse', methodResponse_responseModels - Specifies the Model resources used for the response's content-type. Response models are represented as a key/value map, with a content-type as the key and a Model name as the value.

$sel:statusCode:MethodResponse', methodResponse_statusCode - The method response's status code.

$sel:responseParameters:MethodResponse', methodResponse_responseParameters - A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header and the value specifies whether the associated method response header is required or not. The expression of the key must match the pattern method.response.header.{name}, where name is a valid and unique header name. API Gateway passes certain integration response data to the method response headers specified here according to the mapping you prescribe in the API's IntegrationResponse. The integration response data that can be mapped include an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

MethodSetting

data MethodSetting Source #

Specifies the method setting properties.

See: newMethodSetting smart constructor.

Instances

Instances details
Eq MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

Read MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

Show MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

Generic MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

Associated Types

type Rep MethodSetting :: Type -> Type #

NFData MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

Methods

rnf :: MethodSetting -> () #

Hashable MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

FromJSON MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

type Rep MethodSetting Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSetting

type Rep MethodSetting = D1 ('MetaData "MethodSetting" "Amazonka.APIGateway.Types.MethodSetting" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "MethodSetting'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cacheTtlInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "dataTraceEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "throttlingBurstLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "cacheDataEncrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "loggingLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "requireAuthorizationForCacheControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cachingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "metricsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "throttlingRateLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "unauthorizedCacheControlHeaderStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UnauthorizedCacheControlHeaderStrategy)))))))

newMethodSetting :: MethodSetting Source #

Create a value of MethodSetting 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:cacheTtlInSeconds:MethodSetting', methodSetting_cacheTtlInSeconds - Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is /{method_setting_key}/caching/ttlInSeconds, and the value is an integer.

$sel:dataTraceEnabled:MethodSetting', methodSetting_dataTraceEnabled - Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean.

$sel:throttlingBurstLimit:MethodSetting', methodSetting_throttlingBurstLimit - Specifies the throttling burst limit. The PATCH path for this setting is /{method_setting_key}/throttling/burstLimit, and the value is an integer.

$sel:cacheDataEncrypted:MethodSetting', methodSetting_cacheDataEncrypted - Specifies whether the cached responses are encrypted. The PATCH path for this setting is /{method_setting_key}/caching/dataEncrypted, and the value is a Boolean.

$sel:loggingLevel:MethodSetting', methodSetting_loggingLevel - Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/loglevel, and the available levels are OFF, ERROR, and INFO. Choose ERROR to write only error-level entries to CloudWatch Logs, or choose INFO to include all ERROR events as well as extra informational events.

$sel:requireAuthorizationForCacheControl:MethodSetting', methodSetting_requireAuthorizationForCacheControl - Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is /{method_setting_key}/caching/requireAuthorizationForCacheControl, and the value is a Boolean.

$sel:cachingEnabled:MethodSetting', methodSetting_cachingEnabled - Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is /{method_setting_key}/caching/enabled, and the value is a Boolean.

$sel:metricsEnabled:MethodSetting', methodSetting_metricsEnabled - Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is /{method_setting_key}/metrics/enabled, and the value is a Boolean.

$sel:throttlingRateLimit:MethodSetting', methodSetting_throttlingRateLimit - Specifies the throttling rate limit. The PATCH path for this setting is /{method_setting_key}/throttling/rateLimit, and the value is a double.

$sel:unauthorizedCacheControlHeaderStrategy:MethodSetting', methodSetting_unauthorizedCacheControlHeaderStrategy - Specifies how to handle unauthorized requests for cache invalidation. The PATCH path for this setting is /{method_setting_key}/caching/unauthorizedCacheControlHeaderStrategy, and the available values are FAIL_WITH_403, SUCCEED_WITH_RESPONSE_HEADER, SUCCEED_WITHOUT_RESPONSE_HEADER.

MethodSnapshot

data MethodSnapshot Source #

Represents a summary of a Method resource, given a particular date and time.

See: newMethodSnapshot smart constructor.

Constructors

MethodSnapshot' (Maybe Text) (Maybe Bool) 

Instances

Instances details
Eq MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Read MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Show MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Generic MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Associated Types

type Rep MethodSnapshot :: Type -> Type #

NFData MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

Methods

rnf :: MethodSnapshot -> () #

Hashable MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

FromJSON MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

type Rep MethodSnapshot Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MethodSnapshot

type Rep MethodSnapshot = D1 ('MetaData "MethodSnapshot" "Amazonka.APIGateway.Types.MethodSnapshot" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "MethodSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiKeyRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newMethodSnapshot :: MethodSnapshot Source #

Create a value of MethodSnapshot 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:authorizationType:MethodSnapshot', methodSnapshot_authorizationType - The method's authorization type. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS for using a Cognito user pool.

$sel:apiKeyRequired:MethodSnapshot', methodSnapshot_apiKeyRequired - Specifies whether the method requires a valid ApiKey.

Model

data Model Source #

Represents the data structure of a method's request or response payload.

A request model defines the data structure of the client-supplied request payload. A response model defines the data structure of the response payload returned by the back end. Although not required, models are useful for mapping payloads between the front end and back end.

A model is used for generating an API's SDK, validating the input request body, and creating a skeletal mapping template.

Method, MethodResponse, Models and Mappings

See: newModel smart constructor.

Constructors

Model' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) 

Instances

Instances details
Eq Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

(==) :: Model -> Model -> Bool #

(/=) :: Model -> Model -> Bool #

Read Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Show Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

showsPrec :: Int -> Model -> ShowS #

show :: Model -> String #

showList :: [Model] -> ShowS #

Generic Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Associated Types

type Rep Model :: Type -> Type #

Methods

from :: Model -> Rep Model x #

to :: Rep Model x -> Model #

NFData Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

rnf :: Model -> () #

Hashable Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

Methods

hashWithSalt :: Int -> Model -> Int #

hash :: Model -> Int #

FromJSON Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

type Rep Model Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Model

type Rep Model = D1 ('MetaData "Model" "Amazonka.APIGateway.Types.Model" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Model'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "schema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newModel :: Model Source #

Create a value of Model 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:schema:Model', model_schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.

$sel:name:Model', model_name - The name of the model. Must be an alphanumeric string.

$sel:id:Model', model_id - The identifier for the model resource.

$sel:description:Model', model_description - The description of the model.

$sel:contentType:Model', model_contentType - The content-type for the model.

MutualTlsAuthentication

data MutualTlsAuthentication Source #

If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your custom domain name.

See: newMutualTlsAuthentication smart constructor.

Instances

Instances details
Eq MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

Read MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

Show MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

Generic MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

Associated Types

type Rep MutualTlsAuthentication :: Type -> Type #

NFData MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

Methods

rnf :: MutualTlsAuthentication -> () #

Hashable MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

FromJSON MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

type Rep MutualTlsAuthentication Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthentication

type Rep MutualTlsAuthentication = D1 ('MetaData "MutualTlsAuthentication" "Amazonka.APIGateway.Types.MutualTlsAuthentication" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "MutualTlsAuthentication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "truststoreWarnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "truststoreUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "truststoreVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newMutualTlsAuthentication :: MutualTlsAuthentication Source #

Create a value of MutualTlsAuthentication 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:truststoreWarnings:MutualTlsAuthentication', mutualTlsAuthentication_truststoreWarnings - A list of warnings that API Gateway returns while processing your truststore. Invalid certificates produce warnings. Mutual TLS is still enabled, but some clients might not be able to access your API. To resolve warnings, upload a new truststore to S3, and then update you domain name to use the new version.

$sel:truststoreUri:MutualTlsAuthentication', mutualTlsAuthentication_truststoreUri - An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object.

$sel:truststoreVersion:MutualTlsAuthentication', mutualTlsAuthentication_truststoreVersion - The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.

MutualTlsAuthenticationInput

data MutualTlsAuthenticationInput Source #

If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your custom domain name.

See: newMutualTlsAuthenticationInput smart constructor.

Instances

Instances details
Eq MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

Read MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

Show MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

Generic MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

Associated Types

type Rep MutualTlsAuthenticationInput :: Type -> Type #

NFData MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

Hashable MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

ToJSON MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

type Rep MutualTlsAuthenticationInput Source # 
Instance details

Defined in Amazonka.APIGateway.Types.MutualTlsAuthenticationInput

type Rep MutualTlsAuthenticationInput = D1 ('MetaData "MutualTlsAuthenticationInput" "Amazonka.APIGateway.Types.MutualTlsAuthenticationInput" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "MutualTlsAuthenticationInput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "truststoreUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "truststoreVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMutualTlsAuthenticationInput :: MutualTlsAuthenticationInput Source #

Create a value of MutualTlsAuthenticationInput 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:truststoreUri:MutualTlsAuthenticationInput', mutualTlsAuthenticationInput_truststoreUri - An Amazon S3 resource ARN that specifies the truststore for mutual TLS authentication, for example, s3://bucket-name/key-name. The truststore can contain certificates from public or private certificate authorities. To update the truststore, upload a new version to S3, and then update your custom domain name to use the new version. To update the truststore, you must have permissions to access the S3 object.

$sel:truststoreVersion:MutualTlsAuthenticationInput', mutualTlsAuthenticationInput_truststoreVersion - The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.

PatchOperation

data PatchOperation Source #

A single patch operation to apply to the specified resource. Please refer to http://tools.ietf.org/html/rfc6902#section-4 for an explanation of how each operation is used.

See: newPatchOperation smart constructor.

Instances

Instances details
Eq PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

Read PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

Show PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

Generic PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

Associated Types

type Rep PatchOperation :: Type -> Type #

NFData PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

Methods

rnf :: PatchOperation -> () #

Hashable PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

ToJSON PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

type Rep PatchOperation Source # 
Instance details

Defined in Amazonka.APIGateway.Types.PatchOperation

type Rep PatchOperation = D1 ('MetaData "PatchOperation" "Amazonka.APIGateway.Types.PatchOperation" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "PatchOperation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Op)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPatchOperation :: PatchOperation Source #

Create a value of PatchOperation 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:op:PatchOperation', patchOperation_op - An update operation to be performed with this PATCH request. The valid value can be add, remove, replace or copy. Not all valid operations are supported for a given resource. Support of the operations depends on specific operational contexts. Attempts to apply an unsupported operation on a resource will return an error message.

$sel:path:PatchOperation', patchOperation_path - The op operation's target, as identified by a JSON Pointer value that references a location within the targeted resource. For example, if the target resource has an updateable property of {"name":"value"}, the path for this property is /name. If the name property value is a JSON object (e.g., {"name": {"child/name": "child-value"}}), the path for the child/name property will be /name/child~1name. Any slash ("/") character appearing in path names must be escaped with "~1", as shown in the example above. Each op operation can have only one path associated with it.

$sel:value:PatchOperation', patchOperation_value - The new target value of the update operation. It is applicable for the add or replace operation. When using AWS CLI to update a property of a JSON value, enclose the JSON object with a pair of single quotes in a Linux shell, e.g., '{"a": ...}'. In a Windows shell, see Using JSON for Parameters.

$sel:from:PatchOperation', patchOperation_from - The copy update operation's source as identified by a JSON-Pointer value referencing the location within the targeted resource to copy the value from. For example, to promote a canary deployment, you copy the canary deployment ID to the affiliated deployment ID by calling a PATCH request on a Stage resource with "op":"copy", "from":"/canarySettings/deploymentId" and "path":"/deploymentId".

QuotaSettings

data QuotaSettings Source #

Quotas configured for a usage plan.

See: newQuotaSettings smart constructor.

Instances

Instances details
Eq QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

Read QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

Show QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

Generic QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

Associated Types

type Rep QuotaSettings :: Type -> Type #

NFData QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

Methods

rnf :: QuotaSettings -> () #

Hashable QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

ToJSON QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

FromJSON QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

type Rep QuotaSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.QuotaSettings

type Rep QuotaSettings = D1 ('MetaData "QuotaSettings" "Amazonka.APIGateway.Types.QuotaSettings" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "QuotaSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QuotaPeriodType)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newQuotaSettings :: QuotaSettings Source #

Create a value of QuotaSettings 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:offset:QuotaSettings', quotaSettings_offset - The day that a time period starts. For example, with a time period of WEEK, an offset of 0 starts on Sunday, and an offset of 1 starts on Monday.

$sel:period:QuotaSettings', quotaSettings_period - The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".

$sel:limit:QuotaSettings', quotaSettings_limit - The maximum number of requests that can be made in a given time period.

RequestValidator

data RequestValidator Source #

A set of validation rules for incoming Method requests.

In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

Enable Basic Request Validation in API Gateway

See: newRequestValidator smart constructor.

Instances

Instances details
Eq RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Read RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Show RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Generic RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Associated Types

type Rep RequestValidator :: Type -> Type #

NFData RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

Methods

rnf :: RequestValidator -> () #

Hashable RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

FromJSON RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

type Rep RequestValidator Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RequestValidator

type Rep RequestValidator = D1 ('MetaData "RequestValidator" "Amazonka.APIGateway.Types.RequestValidator" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "RequestValidator'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "validateRequestParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "validateRequestBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newRequestValidator :: RequestValidator Source #

Create a value of RequestValidator 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:validateRequestParameters:RequestValidator', requestValidator_validateRequestParameters - A Boolean flag to indicate whether to validate request parameters (true) or not (false).

$sel:name:RequestValidator', requestValidator_name - The name of this RequestValidator

$sel:validateRequestBody:RequestValidator', requestValidator_validateRequestBody - A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

$sel:id:RequestValidator', requestValidator_id - The identifier of this RequestValidator.

Resource

data Resource Source #

Represents an API resource.

Create an API

See: newResource smart constructor.

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

NFData Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

type Rep Resource Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.APIGateway.Types.Resource" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pathPart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceMethods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Method))) :*: S1 ('MetaSel ('Just "parentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newResource :: Resource Source #

Create a value of Resource 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:pathPart:Resource', resource_pathPart - The last path segment for this resource.

$sel:path:Resource', resource_path - The full path for this resource.

$sel:id:Resource', resource_id - The resource's identifier.

$sel:resourceMethods:Resource', resource_resourceMethods - Gets an API resource's method of a given HTTP verb.

The resource methods are a map of methods indexed by methods' HTTP verbs enabled on the resource. This method map is included in the 200 OK response of the GET /restapis/{restapi_id}/resources/{resource_id} or GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods request.

Example: Get the GET method of an API resource

Request
GET /restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET HTTP/1.1 Content-Type: application/json Host: apigateway.us-east-1.amazonaws.com X-Amz-Date: 20170223T031827Z Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20170223/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}
Response
{ "_links": { "curies": [ { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-{rel}.html", "name": "integration", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-integration-response-{rel}.html", "name": "integrationresponse", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-{rel}.html", "name": "method", "templated": true }, { "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html", "name": "methodresponse", "templated": true } ], "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET", "name": "GET", "title": "GET" }, "integration:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "method:integration": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "method:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "method:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET" }, "methodresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/{status_code}", "templated": true } }, "apiKeyRequired": false, "authorizationType": "NONE", "httpMethod": "GET", "_embedded": { "method:integration": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integration:responses": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integration:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration" }, "integrationresponse:put": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/{status_code}", "templated": true } }, "cacheKeyParameters": [], "cacheNamespace": "3kzxbg5sa2", "credentials": "arn:aws:iam::123456789012:role/apigAwsProxyRole", "httpMethod": "POST", "passthroughBehavior": "WHEN_NO_MATCH", "requestParameters": { "integration.request.header.Content-Type": "'application/x-amz-json-1.1'" }, "requestTemplates": { "application/json": "{\n}" }, "type": "AWS", "uri": "arn:aws:apigateway:us-east-1:kinesis:action/ListStreams", "_embedded": { "integration:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200", "name": "200", "title": "200" }, "integrationresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" }, "integrationresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/integration/responses/200" } }, "responseParameters": { "method.response.header.Content-Type": "'application/xml'" }, "responseTemplates": { "application/json": "$util.urlDecode(\"%3CkinesisStreams%3E#foreach($stream in $input.path('$.StreamNames'))%3Cstream%3E%3Cname%3E$stream%3C/name%3E%3C/stream%3E#end%3C/kinesisStreams%3E\")\n" }, "statusCode": "200" } } }, "method:responses": { "_links": { "self": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200", "name": "200", "title": "200" }, "methodresponse:delete": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" }, "methodresponse:update": { "href": "/restapis/fugvjdxtri/resources/3kzxbg5sa2/methods/GET/responses/200" } }, "responseModels": { "application/json": "Empty" }, "responseParameters": { "method.response.header.Content-Type": false }, "statusCode": "200" } } }

If the OPTIONS is enabled on the resource, you can follow the example here to get that method. Just replace the GET of the last path segment in the request URL with OPTIONS.

$sel:parentId:Resource', resource_parentId - The parent resource's identifier.

RestApi

data RestApi Source #

Represents a REST API.

Create an API

See: newRestApi smart constructor.

Instances

Instances details
Eq RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

(==) :: RestApi -> RestApi -> Bool #

(/=) :: RestApi -> RestApi -> Bool #

Read RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Show RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Generic RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Associated Types

type Rep RestApi :: Type -> Type #

Methods

from :: RestApi -> Rep RestApi x #

to :: Rep RestApi x -> RestApi #

NFData RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

rnf :: RestApi -> () #

Hashable RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

Methods

hashWithSalt :: Int -> RestApi -> Int #

hash :: RestApi -> Int #

FromJSON RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi Source # 
Instance details

Defined in Amazonka.APIGateway.Types.RestApi

type Rep RestApi = D1 ('MetaData "RestApi" "Amazonka.APIGateway.Types.RestApi" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "RestApi'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "minimumCompressionSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "disableExecuteApiEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "binaryMediaTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "warnings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "apiKeySource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiKeySourceType)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointConfiguration))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newRestApi :: RestApi Source #

Create a value of RestApi 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:minimumCompressionSize:RestApi', restApi_minimumCompressionSize - A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.

$sel:disableExecuteApiEndpoint:RestApi', restApi_disableExecuteApiEndpoint - Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

$sel:binaryMediaTypes:RestApi', restApi_binaryMediaTypes - The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.

$sel:warnings:RestApi', restApi_warnings - The warning messages reported when failonwarnings is turned on during API import.

$sel:createdDate:RestApi', restApi_createdDate - The timestamp when the API was created.

$sel:name:RestApi', restApi_name - The API's name.

$sel:version:RestApi', restApi_version - A version identifier for the API.

$sel:apiKeySource:RestApi', restApi_apiKeySource - The source of the API key for metering requests according to a usage plan. Valid values are:

  • HEADER to read the API key from the X-API-Key header of a request.
  • AUTHORIZER to read the API key from the UsageIdentifierKey from a custom authorizer.

$sel:id:RestApi', restApi_id - The API's identifier. This identifier is unique across all of your APIs in API Gateway.

$sel:policy:RestApi', restApi_policy - A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

$sel:endpointConfiguration:RestApi', restApi_endpointConfiguration - The endpoint configuration of this RestApi showing the endpoint types of the API.

$sel:description:RestApi', restApi_description - The API's description.

$sel:tags:RestApi', restApi_tags - The collection of tags. Each tag element is associated with a given resource.

SdkConfigurationProperty

data SdkConfigurationProperty Source #

A configuration property of an SDK type.

See: newSdkConfigurationProperty smart constructor.

Instances

Instances details
Eq SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

Read SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

Show SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

Generic SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

Associated Types

type Rep SdkConfigurationProperty :: Type -> Type #

NFData SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

Hashable SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

FromJSON SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

type Rep SdkConfigurationProperty Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkConfigurationProperty

type Rep SdkConfigurationProperty = D1 ('MetaData "SdkConfigurationProperty" "Amazonka.APIGateway.Types.SdkConfigurationProperty" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "SdkConfigurationProperty'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "friendlyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "required") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newSdkConfigurationProperty :: SdkConfigurationProperty Source #

Create a value of SdkConfigurationProperty 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:friendlyName:SdkConfigurationProperty', sdkConfigurationProperty_friendlyName - The user-friendly name of an SdkType configuration property.

$sel:required:SdkConfigurationProperty', sdkConfigurationProperty_required - A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false).

$sel:name:SdkConfigurationProperty', sdkConfigurationProperty_name - The name of a an SdkType configuration property.

$sel:defaultValue:SdkConfigurationProperty', sdkConfigurationProperty_defaultValue - The default value of an SdkType configuration property.

$sel:description:SdkConfigurationProperty', sdkConfigurationProperty_description - The description of an SdkType configuration property.

SdkType

data SdkType Source #

A type of SDK that API Gateway can generate.

See: newSdkType smart constructor.

Instances

Instances details
Eq SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Methods

(==) :: SdkType -> SdkType -> Bool #

(/=) :: SdkType -> SdkType -> Bool #

Read SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Show SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Generic SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Associated Types

type Rep SdkType :: Type -> Type #

Methods

from :: SdkType -> Rep SdkType x #

to :: Rep SdkType x -> SdkType #

NFData SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Methods

rnf :: SdkType -> () #

Hashable SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

Methods

hashWithSalt :: Int -> SdkType -> Int #

hash :: SdkType -> Int #

FromJSON SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

type Rep SdkType Source # 
Instance details

Defined in Amazonka.APIGateway.Types.SdkType

type Rep SdkType = D1 ('MetaData "SdkType" "Amazonka.APIGateway.Types.SdkType" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "SdkType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "friendlyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "configurationProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SdkConfigurationProperty]))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSdkType :: SdkType Source #

Create a value of SdkType 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:friendlyName:SdkType', sdkType_friendlyName - The user-friendly name of an SdkType instance.

$sel:configurationProperties:SdkType', sdkType_configurationProperties - A list of configuration properties of an SdkType.

$sel:id:SdkType', sdkType_id - The identifier of an SdkType instance.

$sel:description:SdkType', sdkType_description - The description of an SdkType.

Stage

data Stage Source #

Represents a unique identifier for a version of a deployed RestApi that is callable by users.

Deploy an API

See: newStage smart constructor.

Instances

Instances details
Eq Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

(==) :: Stage -> Stage -> Bool #

(/=) :: Stage -> Stage -> Bool #

Read Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Show Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

showsPrec :: Int -> Stage -> ShowS #

show :: Stage -> String #

showList :: [Stage] -> ShowS #

Generic Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Associated Types

type Rep Stage :: Type -> Type #

Methods

from :: Stage -> Rep Stage x #

to :: Rep Stage x -> Stage #

NFData Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

rnf :: Stage -> () #

Hashable Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

Methods

hashWithSalt :: Int -> Stage -> Int #

hash :: Stage -> Int #

FromJSON Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

type Rep Stage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Stage

type Rep Stage = D1 ('MetaData "Stage" "Amazonka.APIGateway.Types.Stage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Stage'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "accessLogSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessLogSettings)) :*: S1 ('MetaSel ('Just "documentationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "clientCertificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tracingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "cacheClusterStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterStatus))))) :*: (((S1 ('MetaSel ('Just "methodSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MethodSetting))) :*: S1 ('MetaSel ('Just "lastUpdatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "cacheClusterSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CacheClusterSize)) :*: S1 ('MetaSel ('Just "webAclArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "canarySettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CanarySettings)) :*: S1 ('MetaSel ('Just "cacheClusterEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))))))

newStage :: Stage Source #

Create a value of Stage 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:deploymentId:Stage', stage_deploymentId - The identifier of the Deployment that the stage points to.

$sel:variables:Stage', stage_variables - A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

$sel:accessLogSettings:Stage', stage_accessLogSettings - Settings for logging access in this stage.

$sel:documentationVersion:Stage', stage_documentationVersion - The version of the associated API documentation.

$sel:clientCertificateId:Stage', stage_clientCertificateId - The identifier of a client certificate for an API stage.

$sel:tracingEnabled:Stage', stage_tracingEnabled - Specifies whether active tracing with X-ray is enabled for the Stage.

$sel:createdDate:Stage', stage_createdDate - The timestamp when the stage was created.

$sel:cacheClusterStatus:Stage', stage_cacheClusterStatus - The status of the cache cluster for the stage, if enabled.

$sel:methodSettings:Stage', stage_methodSettings - A map that defines the method settings for a Stage resource. Keys (designated as /{method_setting_key below) are method paths defined as {resource_path}/{http_method} for an individual method override, or /\*/\* for overriding all methods in the stage.

$sel:lastUpdatedDate:Stage', stage_lastUpdatedDate - The timestamp when the stage last updated.

$sel:cacheClusterSize:Stage', stage_cacheClusterSize - The size of the cache cluster for the stage, if enabled.

$sel:webAclArn:Stage', stage_webAclArn - The ARN of the WebAcl associated with the Stage.

$sel:canarySettings:Stage', stage_canarySettings - Settings for the canary deployment in this stage.

$sel:cacheClusterEnabled:Stage', stage_cacheClusterEnabled - Specifies whether a cache cluster is enabled for the stage.

$sel:stageName:Stage', stage_stageName - The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

$sel:description:Stage', stage_description - The stage's description.

$sel:tags:Stage', stage_tags - The collection of tags. Each tag element is associated with a given resource.

StageKey

data StageKey Source #

A reference to a unique stage identified in the format {restApiId}/{stage}.

See: newStageKey smart constructor.

Constructors

StageKey' (Maybe Text) (Maybe Text) 

Instances

Instances details
Eq StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Read StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Show StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Generic StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Associated Types

type Rep StageKey :: Type -> Type #

Methods

from :: StageKey -> Rep StageKey x #

to :: Rep StageKey x -> StageKey #

NFData StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Methods

rnf :: StageKey -> () #

Hashable StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

Methods

hashWithSalt :: Int -> StageKey -> Int #

hash :: StageKey -> Int #

ToJSON StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

type Rep StageKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.StageKey

type Rep StageKey = D1 ('MetaData "StageKey" "Amazonka.APIGateway.Types.StageKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "StageKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newStageKey :: StageKey Source #

Create a value of StageKey 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:restApiId:StageKey', stageKey_restApiId - The string identifier of the associated RestApi.

$sel:stageName:StageKey', stageKey_stageName - The stage name associated with the stage key.

ThrottleSettings

data ThrottleSettings Source #

The API request rate limits.

See: newThrottleSettings smart constructor.

Instances

Instances details
Eq ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Read ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Show ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Generic ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Associated Types

type Rep ThrottleSettings :: Type -> Type #

NFData ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

Methods

rnf :: ThrottleSettings -> () #

Hashable ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

ToJSON ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

FromJSON ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

type Rep ThrottleSettings Source # 
Instance details

Defined in Amazonka.APIGateway.Types.ThrottleSettings

type Rep ThrottleSettings = D1 ('MetaData "ThrottleSettings" "Amazonka.APIGateway.Types.ThrottleSettings" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "ThrottleSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "burstLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "rateLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newThrottleSettings :: ThrottleSettings Source #

Create a value of ThrottleSettings 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:burstLimit:ThrottleSettings', throttleSettings_burstLimit - The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.

$sel:rateLimit:ThrottleSettings', throttleSettings_rateLimit - The API request steady-state rate limit.

TlsConfig

data TlsConfig Source #

See: newTlsConfig smart constructor.

Constructors

TlsConfig' (Maybe Bool) 

Instances

Instances details
Eq TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

Read TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

Show TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

Generic TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

Associated Types

type Rep TlsConfig :: Type -> Type #

NFData TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

Methods

rnf :: TlsConfig -> () #

Hashable TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

ToJSON TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

FromJSON TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

type Rep TlsConfig Source # 
Instance details

Defined in Amazonka.APIGateway.Types.TlsConfig

type Rep TlsConfig = D1 ('MetaData "TlsConfig" "Amazonka.APIGateway.Types.TlsConfig" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "TlsConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insecureSkipVerification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newTlsConfig :: TlsConfig Source #

Create a value of TlsConfig 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:insecureSkipVerification:TlsConfig', tlsConfig_insecureSkipVerification - Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is issued by a supported certificate authority. This isn’t recommended, but it enables you to use certificates that are signed by private certificate authorities, or certificates that are self-signed. If enabled, API Gateway still performs basic certificate validation, which includes checking the certificate's expiration date, hostname, and presence of a root certificate authority. Supported only for HTTP and HTTP_PROXY integrations.

Usage

data Usage Source #

Represents the usage data of a usage plan.

Create and Use Usage Plans, Manage Usage in a Usage Plan

See: newUsage smart constructor.

Instances

Instances details
Eq Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

(==) :: Usage -> Usage -> Bool #

(/=) :: Usage -> Usage -> Bool #

Read Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Show Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

showsPrec :: Int -> Usage -> ShowS #

show :: Usage -> String #

showList :: [Usage] -> ShowS #

Generic Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Associated Types

type Rep Usage :: Type -> Type #

Methods

from :: Usage -> Rep Usage x #

to :: Rep Usage x -> Usage #

NFData Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

rnf :: Usage -> () #

Hashable Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

Methods

hashWithSalt :: Int -> Usage -> Int #

hash :: Usage -> Int #

FromJSON Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

type Rep Usage Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Usage

type Rep Usage = D1 ('MetaData "Usage" "Amazonka.APIGateway.Types.Usage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "Usage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "usagePlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [[Integer]]))) :*: (S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newUsage :: Usage Source #

Create a value of Usage 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:usagePlanId:Usage', usage_usagePlanId - The plan Id associated with this usage data.

$sel:endDate:Usage', usage_endDate - The ending date of the usage data.

$sel:items:Usage', usage_items - The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

$sel:startDate:Usage', usage_startDate - The starting date of the usage data.

$sel:position:Usage', usage_position - Undocumented member.

UsagePlan

data UsagePlan Source #

Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.

In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan.

Create and Use Usage Plans

See: newUsagePlan smart constructor.

Instances

Instances details
Eq UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Read UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Show UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Generic UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Associated Types

type Rep UsagePlan :: Type -> Type #

NFData UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

Methods

rnf :: UsagePlan -> () #

Hashable UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

FromJSON UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

type Rep UsagePlan Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlan

newUsagePlan :: UsagePlan Source #

Create a value of UsagePlan 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:apiStages:UsagePlan', usagePlan_apiStages - The associated API stages of a usage plan.

$sel:name:UsagePlan', usagePlan_name - The name of a usage plan.

$sel:id:UsagePlan', usagePlan_id - The identifier of a UsagePlan resource.

$sel:throttle:UsagePlan', usagePlan_throttle - The request throttle limits of a usage plan.

$sel:quota:UsagePlan', usagePlan_quota - The maximum number of permitted requests per a given unit time interval.

$sel:description:UsagePlan', usagePlan_description - The description of a usage plan.

$sel:productCode:UsagePlan', usagePlan_productCode - The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.

$sel:tags:UsagePlan', usagePlan_tags - The collection of tags. Each tag element is associated with a given resource.

UsagePlanKey

data UsagePlanKey Source #

Represents a usage plan key to identify a plan customer.

To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey.

"

Create and Use Usage Plans

See: newUsagePlanKey smart constructor.

Instances

Instances details
Eq UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Read UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Show UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Generic UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Associated Types

type Rep UsagePlanKey :: Type -> Type #

NFData UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

Methods

rnf :: UsagePlanKey -> () #

Hashable UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

FromJSON UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

type Rep UsagePlanKey Source # 
Instance details

Defined in Amazonka.APIGateway.Types.UsagePlanKey

type Rep UsagePlanKey = D1 ('MetaData "UsagePlanKey" "Amazonka.APIGateway.Types.UsagePlanKey" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "UsagePlanKey'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newUsagePlanKey :: UsagePlanKey Source #

Create a value of UsagePlanKey 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:value:UsagePlanKey', usagePlanKey_value - The value of a usage plan key.

$sel:name:UsagePlanKey', usagePlanKey_name - The name of a usage plan key.

$sel:id:UsagePlanKey', usagePlanKey_id - The Id of a usage plan key.

$sel:type':UsagePlanKey', usagePlanKey_type - The type of a usage plan key. Currently, the valid key type is API_KEY.

VpcLink

data VpcLink Source #

An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

To enable access to a resource in an Amazon Virtual Private Cloud through Amazon API Gateway, you, as an API developer, create a VpcLink resource targeted for one or more network load balancers of the VPC and then integrate an API method with a private integration that uses the VpcLink. The private integration has an integration type of HTTP or HTTP_PROXY and has a connection type of VPC_LINK. The integration uses the connectionId property to identify the VpcLink used.

See: newVpcLink smart constructor.

Instances

newVpcLink :: VpcLink Source #

Create a value of VpcLink 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:status:VpcLink', vpcLink_status - The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

$sel:targetArns:VpcLink', vpcLink_targetArns - The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner.

$sel:name:VpcLink', vpcLink_name - The name used to label and identify the VPC link.

$sel:statusMessage:VpcLink', vpcLink_statusMessage - A description about the VPC link status.

$sel:id:VpcLink', vpcLink_id - The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

$sel:description:VpcLink', vpcLink_description - The description of the VPC link.

$sel:tags:VpcLink', vpcLink_tags - The collection of tags. Each tag element is associated with a given resource.