{-# OPTIONS_GHC -fno-warn-unused-imports    #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Network.AWS.APIGateway
-- Copyright   : (c) 2013-2016 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Amazon API Gateway
--
-- Amazon API Gateway helps developers deliver robust, secure and scalable
-- mobile and web application backends. Amazon 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.
module Network.AWS.APIGateway
    (
    -- * Service Configuration
      apiGateway

    -- * Errors
    -- $errors

    -- ** ConflictException
    , _ConflictException

    -- ** NotFoundException
    , _NotFoundException

    -- ** TooManyRequestsException
    , _TooManyRequestsException

    -- ** ServiceUnavailableException
    , _ServiceUnavailableException

    -- ** UnauthorizedException
    , _UnauthorizedException

    -- ** BadRequestException
    , _BadRequestException

    -- ** LimitExceededException
    , _LimitExceededException

    -- * Waiters
    -- $waiters

    -- * Operations
    -- $operations

    -- ** GetResource
    , module Network.AWS.APIGateway.GetResource

    -- ** GetDeployments (Paginated)
    , module Network.AWS.APIGateway.GetDeployments

    -- ** GetDeployment
    , module Network.AWS.APIGateway.GetDeployment

    -- ** GetDomainNames (Paginated)
    , module Network.AWS.APIGateway.GetDomainNames

    -- ** GetClientCertificate
    , module Network.AWS.APIGateway.GetClientCertificate

    -- ** GetMethodResponse
    , module Network.AWS.APIGateway.GetMethodResponse

    -- ** GetModels (Paginated)
    , module Network.AWS.APIGateway.GetModels

    -- ** GetBasePathMapping
    , module Network.AWS.APIGateway.GetBasePathMapping

    -- ** PutMethodResponse
    , module Network.AWS.APIGateway.PutMethodResponse

    -- ** DeleteMethodResponse
    , module Network.AWS.APIGateway.DeleteMethodResponse

    -- ** UpdateMethodResponse
    , module Network.AWS.APIGateway.UpdateMethodResponse

    -- ** DeleteStage
    , module Network.AWS.APIGateway.DeleteStage

    -- ** UpdateStage
    , module Network.AWS.APIGateway.UpdateStage

    -- ** GetRestAPIs (Paginated)
    , module Network.AWS.APIGateway.GetRestAPIs

    -- ** CreateDeployment
    , module Network.AWS.APIGateway.CreateDeployment

    -- ** CreateBasePathMapping
    , module Network.AWS.APIGateway.CreateBasePathMapping

    -- ** GetIntegration
    , module Network.AWS.APIGateway.GetIntegration

    -- ** UpdateAccount
    , module Network.AWS.APIGateway.UpdateAccount

    -- ** DeleteDeployment
    , module Network.AWS.APIGateway.DeleteDeployment

    -- ** UpdateDeployment
    , module Network.AWS.APIGateway.UpdateDeployment

    -- ** DeleteResource
    , module Network.AWS.APIGateway.DeleteResource

    -- ** UpdateResource
    , module Network.AWS.APIGateway.UpdateResource

    -- ** CreateModel
    , module Network.AWS.APIGateway.CreateModel

    -- ** GetIntegrationResponse
    , module Network.AWS.APIGateway.GetIntegrationResponse

    -- ** CreateDomainName
    , module Network.AWS.APIGateway.CreateDomainName

    -- ** FlushStageAuthorizersCache
    , module Network.AWS.APIGateway.FlushStageAuthorizersCache

    -- ** DeleteModel
    , module Network.AWS.APIGateway.DeleteModel

    -- ** UpdateModel
    , module Network.AWS.APIGateway.UpdateModel

    -- ** DeleteAPIKey
    , module Network.AWS.APIGateway.DeleteAPIKey

    -- ** UpdateAPIKey
    , module Network.AWS.APIGateway.UpdateAPIKey

    -- ** GetRestAPI
    , module Network.AWS.APIGateway.GetRestAPI

    -- ** GetStages
    , module Network.AWS.APIGateway.GetStages

    -- ** GetMethod
    , module Network.AWS.APIGateway.GetMethod

    -- ** GetModel
    , module Network.AWS.APIGateway.GetModel

    -- ** UpdateRestAPI
    , module Network.AWS.APIGateway.UpdateRestAPI

    -- ** DeleteRestAPI
    , module Network.AWS.APIGateway.DeleteRestAPI

    -- ** TestInvokeMethod
    , module Network.AWS.APIGateway.TestInvokeMethod

    -- ** GetDomainName
    , module Network.AWS.APIGateway.GetDomainName

    -- ** GetAuthorizers
    , module Network.AWS.APIGateway.GetAuthorizers

    -- ** PutIntegrationResponse
    , module Network.AWS.APIGateway.PutIntegrationResponse

    -- ** FlushStageCache
    , module Network.AWS.APIGateway.FlushStageCache

    -- ** CreateRestAPI
    , module Network.AWS.APIGateway.CreateRestAPI

    -- ** DeleteIntegrationResponse
    , module Network.AWS.APIGateway.DeleteIntegrationResponse

    -- ** UpdateIntegrationResponse
    , module Network.AWS.APIGateway.UpdateIntegrationResponse

    -- ** DeleteIntegration
    , module Network.AWS.APIGateway.DeleteIntegration

    -- ** UpdateIntegration
    , module Network.AWS.APIGateway.UpdateIntegration

    -- ** TestInvokeAuthorizer
    , module Network.AWS.APIGateway.TestInvokeAuthorizer

    -- ** GenerateClientCertificate
    , module Network.AWS.APIGateway.GenerateClientCertificate

    -- ** GetResources (Paginated)
    , module Network.AWS.APIGateway.GetResources

    -- ** GetAccount
    , module Network.AWS.APIGateway.GetAccount

    -- ** PutIntegration
    , module Network.AWS.APIGateway.PutIntegration

    -- ** GetAuthorizer
    , module Network.AWS.APIGateway.GetAuthorizer

    -- ** GetStage
    , module Network.AWS.APIGateway.GetStage

    -- ** GetExport
    , module Network.AWS.APIGateway.GetExport

    -- ** GetSDK
    , module Network.AWS.APIGateway.GetSDK

    -- ** GetAPIKeys (Paginated)
    , module Network.AWS.APIGateway.GetAPIKeys

    -- ** DeleteBasePathMapping
    , module Network.AWS.APIGateway.DeleteBasePathMapping

    -- ** UpdateBasePathMapping
    , module Network.AWS.APIGateway.UpdateBasePathMapping

    -- ** DeleteClientCertificate
    , module Network.AWS.APIGateway.DeleteClientCertificate

    -- ** UpdateClientCertificate
    , module Network.AWS.APIGateway.UpdateClientCertificate

    -- ** CreateAuthorizer
    , module Network.AWS.APIGateway.CreateAuthorizer

    -- ** UpdateAuthorizer
    , module Network.AWS.APIGateway.UpdateAuthorizer

    -- ** DeleteAuthorizer
    , module Network.AWS.APIGateway.DeleteAuthorizer

    -- ** CreateStage
    , module Network.AWS.APIGateway.CreateStage

    -- ** CreateAPIKey
    , module Network.AWS.APIGateway.CreateAPIKey

    -- ** PutMethod
    , module Network.AWS.APIGateway.PutMethod

    -- ** UpdateDomainName
    , module Network.AWS.APIGateway.UpdateDomainName

    -- ** DeleteDomainName
    , module Network.AWS.APIGateway.DeleteDomainName

    -- ** CreateResource
    , module Network.AWS.APIGateway.CreateResource

    -- ** DeleteMethod
    , module Network.AWS.APIGateway.DeleteMethod

    -- ** UpdateMethod
    , module Network.AWS.APIGateway.UpdateMethod

    -- ** GetClientCertificates (Paginated)
    , module Network.AWS.APIGateway.GetClientCertificates

    -- ** GetModelTemplate
    , module Network.AWS.APIGateway.GetModelTemplate

    -- ** GetBasePathMappings (Paginated)
    , module Network.AWS.APIGateway.GetBasePathMappings

    -- ** GetAPIKey
    , module Network.AWS.APIGateway.GetAPIKey

    -- * Types

    -- ** AuthorizerType
    , AuthorizerType (..)

    -- ** CacheClusterSize
    , CacheClusterSize (..)

    -- ** CacheClusterStatus
    , CacheClusterStatus (..)

    -- ** IntegrationType
    , IntegrationType (..)

    -- ** Op
    , Op (..)

    -- ** UnauthorizedCacheControlHeaderStrategy
    , UnauthorizedCacheControlHeaderStrategy (..)

    -- ** APIKey
    , APIKey
    , apiKey
    , akEnabled
    , akCreatedDate
    , akName
    , akId
    , akStageKeys
    , akLastUpdatedDate
    , akDescription

    -- ** Account
    , Account
    , account
    , aCloudwatchRoleARN
    , aThrottleSettings

    -- ** Authorizer
    , Authorizer
    , authorizer
    , aAuthorizerURI
    , aIdentityValidationExpression
    , aName
    , aId
    , aAuthorizerResultTtlInSeconds
    , aType
    , aIdentitySource
    , aAuthorizerCredentials

    -- ** BasePathMapping
    , BasePathMapping
    , basePathMapping
    , bpmStage
    , bpmBasePath
    , bpmRestAPIId

    -- ** ClientCertificate
    , ClientCertificate
    , clientCertificate
    , ccPemEncodedCertificate
    , ccClientCertificateId
    , ccCreatedDate
    , ccExpirationDate
    , ccDescription

    -- ** Deployment
    , Deployment
    , deployment
    , dApiSummary
    , dCreatedDate
    , dId
    , dDescription

    -- ** DomainName
    , DomainName
    , domainName
    , dnCertificateName
    , dnDomainName
    , dnCertificateUploadDate
    , dnDistributionDomainName

    -- ** Integration
    , Integration
    , integration
    , iHttpMethod
    , iRequestTemplates
    , iCredentials
    , iRequestParameters
    , iUri
    , iIntegrationResponses
    , iCacheNamespace
    , iType
    , iCacheKeyParameters

    -- ** IntegrationResponse
    , IntegrationResponse
    , integrationResponse
    , iResponseTemplates
    , iSelectionPattern
    , iStatusCode
    , iResponseParameters

    -- ** Method
    , Method
    , method
    , mMethodResponses
    , mHttpMethod
    , mRequestModels
    , mRequestParameters
    , mAuthorizerId
    , mAuthorizationType
    , mApiKeyRequired
    , mMethodIntegration

    -- ** MethodResponse
    , MethodResponse
    , methodResponse
    , mResponseModels
    , mStatusCode
    , mResponseParameters

    -- ** MethodSetting
    , MethodSetting
    , methodSetting
    , msCacheTtlInSeconds
    , msDataTraceEnabled
    , msThrottlingBurstLimit
    , msCacheDataEncrypted
    , msLoggingLevel
    , msRequireAuthorizationForCacheControl
    , msCachingEnabled
    , msMetricsEnabled
    , msThrottlingRateLimit
    , msUnauthorizedCacheControlHeaderStrategy

    -- ** MethodSnapshot
    , MethodSnapshot
    , methodSnapshot
    , msAuthorizationType
    , msApiKeyRequired

    -- ** Model
    , Model
    , model
    , mSchema
    , mName
    , mId
    , mDescription
    , mContentType

    -- ** PatchOperation
    , PatchOperation
    , patchOperation
    , poOp
    , poPath
    , poValue
    , poFrom

    -- ** Resource
    , Resource
    , resource
    , rPathPart
    , rPath
    , rId
    , rResourceMethods
    , rParentId

    -- ** RestAPI
    , RestAPI
    , restAPI
    , raCreatedDate
    , raName
    , raId
    , raDescription

    -- ** Stage
    , Stage
    , stage
    , sDeploymentId
    , sVariables
    , sClientCertificateId
    , sCreatedDate
    , sCacheClusterStatus
    , sMethodSettings
    , sLastUpdatedDate
    , sCacheClusterSize
    , sCacheClusterEnabled
    , sStageName
    , sDescription

    -- ** StageKey
    , StageKey
    , stageKey
    , skRestAPIId
    , skStageName

    -- ** ThrottleSettings
    , ThrottleSettings
    , throttleSettings
    , tsBurstLimit
    , tsRateLimit
    ) where

import           Network.AWS.APIGateway.CreateAPIKey
import           Network.AWS.APIGateway.CreateAuthorizer
import           Network.AWS.APIGateway.CreateBasePathMapping
import           Network.AWS.APIGateway.CreateDeployment
import           Network.AWS.APIGateway.CreateDomainName
import           Network.AWS.APIGateway.CreateModel
import           Network.AWS.APIGateway.CreateResource
import           Network.AWS.APIGateway.CreateRestAPI
import           Network.AWS.APIGateway.CreateStage
import           Network.AWS.APIGateway.DeleteAPIKey
import           Network.AWS.APIGateway.DeleteAuthorizer
import           Network.AWS.APIGateway.DeleteBasePathMapping
import           Network.AWS.APIGateway.DeleteClientCertificate
import           Network.AWS.APIGateway.DeleteDeployment
import           Network.AWS.APIGateway.DeleteDomainName
import           Network.AWS.APIGateway.DeleteIntegration
import           Network.AWS.APIGateway.DeleteIntegrationResponse
import           Network.AWS.APIGateway.DeleteMethod
import           Network.AWS.APIGateway.DeleteMethodResponse
import           Network.AWS.APIGateway.DeleteModel
import           Network.AWS.APIGateway.DeleteResource
import           Network.AWS.APIGateway.DeleteRestAPI
import           Network.AWS.APIGateway.DeleteStage
import           Network.AWS.APIGateway.FlushStageAuthorizersCache
import           Network.AWS.APIGateway.FlushStageCache
import           Network.AWS.APIGateway.GenerateClientCertificate
import           Network.AWS.APIGateway.GetAccount
import           Network.AWS.APIGateway.GetAPIKey
import           Network.AWS.APIGateway.GetAPIKeys
import           Network.AWS.APIGateway.GetAuthorizer
import           Network.AWS.APIGateway.GetAuthorizers
import           Network.AWS.APIGateway.GetBasePathMapping
import           Network.AWS.APIGateway.GetBasePathMappings
import           Network.AWS.APIGateway.GetClientCertificate
import           Network.AWS.APIGateway.GetClientCertificates
import           Network.AWS.APIGateway.GetDeployment
import           Network.AWS.APIGateway.GetDeployments
import           Network.AWS.APIGateway.GetDomainName
import           Network.AWS.APIGateway.GetDomainNames
import           Network.AWS.APIGateway.GetExport
import           Network.AWS.APIGateway.GetIntegration
import           Network.AWS.APIGateway.GetIntegrationResponse
import           Network.AWS.APIGateway.GetMethod
import           Network.AWS.APIGateway.GetMethodResponse
import           Network.AWS.APIGateway.GetModel
import           Network.AWS.APIGateway.GetModels
import           Network.AWS.APIGateway.GetModelTemplate
import           Network.AWS.APIGateway.GetResource
import           Network.AWS.APIGateway.GetResources
import           Network.AWS.APIGateway.GetRestAPI
import           Network.AWS.APIGateway.GetRestAPIs
import           Network.AWS.APIGateway.GetSDK
import           Network.AWS.APIGateway.GetStage
import           Network.AWS.APIGateway.GetStages
import           Network.AWS.APIGateway.PutIntegration
import           Network.AWS.APIGateway.PutIntegrationResponse
import           Network.AWS.APIGateway.PutMethod
import           Network.AWS.APIGateway.PutMethodResponse
import           Network.AWS.APIGateway.TestInvokeAuthorizer
import           Network.AWS.APIGateway.TestInvokeMethod
import           Network.AWS.APIGateway.Types
import           Network.AWS.APIGateway.UpdateAccount
import           Network.AWS.APIGateway.UpdateAPIKey
import           Network.AWS.APIGateway.UpdateAuthorizer
import           Network.AWS.APIGateway.UpdateBasePathMapping
import           Network.AWS.APIGateway.UpdateClientCertificate
import           Network.AWS.APIGateway.UpdateDeployment
import           Network.AWS.APIGateway.UpdateDomainName
import           Network.AWS.APIGateway.UpdateIntegration
import           Network.AWS.APIGateway.UpdateIntegrationResponse
import           Network.AWS.APIGateway.UpdateMethod
import           Network.AWS.APIGateway.UpdateMethodResponse
import           Network.AWS.APIGateway.UpdateModel
import           Network.AWS.APIGateway.UpdateResource
import           Network.AWS.APIGateway.UpdateRestAPI
import           Network.AWS.APIGateway.UpdateStage
import           Network.AWS.APIGateway.Waiters

{- $errors
Error matchers are designed for use with the functions provided by
<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.
This allows catching (and rethrowing) service specific errors returned
by 'APIGateway'.
-}

{- $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.
-}

{- $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.
-}