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

-- |
-- Module      : Amazonka.ServerlessApplicationRepository
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Derived from API version @2017-09-08@ of the AWS service descriptions, licensed under Apache 2.0.
--
-- The AWS Serverless Application Repository makes it easy for developers
-- and enterprises to quickly find and deploy serverless applications in
-- the AWS Cloud. For more information about serverless applications, see
-- Serverless Computing and Applications on the AWS website.
--
-- The AWS Serverless Application Repository is deeply integrated with the
-- AWS Lambda console, so that developers of all levels can get started
-- with serverless computing without needing to learn anything new. You can
-- use category keywords to browse for applications such as web and mobile
-- backends, data processing applications, or chatbots. You can also search
-- for applications by name, publisher, or event source. To use an
-- application, you simply choose it, configure any required fields, and
-- deploy it with a few clicks.
--
-- You can also easily publish applications, sharing them publicly with the
-- community at large, or privately within your team or across your
-- organization. To publish a serverless application (or app), you can use
-- the AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS
-- SDKs to upload the code. Along with the code, you upload a simple
-- manifest file, also known as the AWS Serverless Application Model (AWS
-- SAM) template. For more information about AWS SAM, see AWS Serverless
-- Application Model (AWS SAM) on the AWS Labs GitHub repository.
--
-- The AWS Serverless Application Repository Developer Guide contains more
-- information about the two developer experiences available:
--
-- -   Consuming Applications – Browse for applications and view
--     information about them, including source code and readme files. Also
--     install, configure, and deploy applications of your choosing.
--
--     Publishing Applications – Configure and upload applications to make
--     them available to other developers, and publish new versions of
--     applications.
module Amazonka.ServerlessApplicationRepository
  ( -- * Service Configuration
    defaultService,

    -- * Errors
    -- $errors

    -- ** ConflictException
    _ConflictException,

    -- ** ForbiddenException
    _ForbiddenException,

    -- ** NotFoundException
    _NotFoundException,

    -- ** TooManyRequestsException
    _TooManyRequestsException,

    -- ** InternalServerErrorException
    _InternalServerErrorException,

    -- ** BadRequestException
    _BadRequestException,

    -- * Waiters
    -- $waiters

    -- * Operations
    -- $operations

    -- ** GetApplicationPolicy
    GetApplicationPolicy (GetApplicationPolicy'),
    newGetApplicationPolicy,
    GetApplicationPolicyResponse (GetApplicationPolicyResponse'),
    newGetApplicationPolicyResponse,

    -- ** CreateApplicationVersion
    CreateApplicationVersion (CreateApplicationVersion'),
    newCreateApplicationVersion,
    CreateApplicationVersionResponse (CreateApplicationVersionResponse'),
    newCreateApplicationVersionResponse,

    -- ** UnshareApplication
    UnshareApplication (UnshareApplication'),
    newUnshareApplication,
    UnshareApplicationResponse (UnshareApplicationResponse'),
    newUnshareApplicationResponse,

    -- ** DeleteApplication
    DeleteApplication (DeleteApplication'),
    newDeleteApplication,
    DeleteApplicationResponse (DeleteApplicationResponse'),
    newDeleteApplicationResponse,

    -- ** UpdateApplication
    UpdateApplication (UpdateApplication'),
    newUpdateApplication,
    UpdateApplicationResponse (UpdateApplicationResponse'),
    newUpdateApplicationResponse,

    -- ** CreateCloudFormationTemplate
    CreateCloudFormationTemplate (CreateCloudFormationTemplate'),
    newCreateCloudFormationTemplate,
    CreateCloudFormationTemplateResponse (CreateCloudFormationTemplateResponse'),
    newCreateCloudFormationTemplateResponse,

    -- ** CreateApplication
    CreateApplication (CreateApplication'),
    newCreateApplication,
    CreateApplicationResponse (CreateApplicationResponse'),
    newCreateApplicationResponse,

    -- ** ListApplicationDependencies (Paginated)
    ListApplicationDependencies (ListApplicationDependencies'),
    newListApplicationDependencies,
    ListApplicationDependenciesResponse (ListApplicationDependenciesResponse'),
    newListApplicationDependenciesResponse,

    -- ** ListApplicationVersions (Paginated)
    ListApplicationVersions (ListApplicationVersions'),
    newListApplicationVersions,
    ListApplicationVersionsResponse (ListApplicationVersionsResponse'),
    newListApplicationVersionsResponse,

    -- ** GetApplication
    GetApplication (GetApplication'),
    newGetApplication,
    GetApplicationResponse (GetApplicationResponse'),
    newGetApplicationResponse,

    -- ** GetCloudFormationTemplate
    GetCloudFormationTemplate (GetCloudFormationTemplate'),
    newGetCloudFormationTemplate,
    GetCloudFormationTemplateResponse (GetCloudFormationTemplateResponse'),
    newGetCloudFormationTemplateResponse,

    -- ** CreateCloudFormationChangeSet
    CreateCloudFormationChangeSet (CreateCloudFormationChangeSet'),
    newCreateCloudFormationChangeSet,
    CreateCloudFormationChangeSetResponse (CreateCloudFormationChangeSetResponse'),
    newCreateCloudFormationChangeSetResponse,

    -- ** PutApplicationPolicy
    PutApplicationPolicy (PutApplicationPolicy'),
    newPutApplicationPolicy,
    PutApplicationPolicyResponse (PutApplicationPolicyResponse'),
    newPutApplicationPolicyResponse,

    -- ** ListApplications (Paginated)
    ListApplications (ListApplications'),
    newListApplications,
    ListApplicationsResponse (ListApplicationsResponse'),
    newListApplicationsResponse,

    -- * Types

    -- ** Capability
    Capability (..),

    -- ** Status
    Status (..),

    -- ** ApplicationDependencySummary
    ApplicationDependencySummary (ApplicationDependencySummary'),
    newApplicationDependencySummary,

    -- ** ApplicationPolicyStatement
    ApplicationPolicyStatement (ApplicationPolicyStatement'),
    newApplicationPolicyStatement,

    -- ** ApplicationSummary
    ApplicationSummary (ApplicationSummary'),
    newApplicationSummary,

    -- ** ParameterDefinition
    ParameterDefinition (ParameterDefinition'),
    newParameterDefinition,

    -- ** ParameterValue
    ParameterValue (ParameterValue'),
    newParameterValue,

    -- ** RollbackConfiguration
    RollbackConfiguration (RollbackConfiguration'),
    newRollbackConfiguration,

    -- ** RollbackTrigger
    RollbackTrigger (RollbackTrigger'),
    newRollbackTrigger,

    -- ** Tag
    Tag (Tag'),
    newTag,

    -- ** Version
    Version (Version'),
    newVersion,

    -- ** VersionSummary
    VersionSummary (VersionSummary'),
    newVersionSummary,
  )
where

import Amazonka.ServerlessApplicationRepository.CreateApplication
import Amazonka.ServerlessApplicationRepository.CreateApplicationVersion
import Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet
import Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate
import Amazonka.ServerlessApplicationRepository.DeleteApplication
import Amazonka.ServerlessApplicationRepository.GetApplication
import Amazonka.ServerlessApplicationRepository.GetApplicationPolicy
import Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate
import Amazonka.ServerlessApplicationRepository.Lens
import Amazonka.ServerlessApplicationRepository.ListApplicationDependencies
import Amazonka.ServerlessApplicationRepository.ListApplicationVersions
import Amazonka.ServerlessApplicationRepository.ListApplications
import Amazonka.ServerlessApplicationRepository.PutApplicationPolicy
import Amazonka.ServerlessApplicationRepository.Types
import Amazonka.ServerlessApplicationRepository.UnshareApplication
import Amazonka.ServerlessApplicationRepository.UpdateApplication
import Amazonka.ServerlessApplicationRepository.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 'ServerlessApplicationRepository'.

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