libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo
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.ServerlessApplicationRepository.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2017-09-08 of the Amazon ServerlessApplicationRepository SDK configuration.

Errors

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

The resource already exists.

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

The client is not authenticated.

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

The resource (for example, an access policy statement) specified in the request doesn't exist.

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

The client is sending more than the allowed number of requests per unit of time.

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

The AWS Serverless Application Repository service encountered an internal error.

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

One of the parameters in the request is invalid.

Capability

newtype Capability Source #

Values that must be specified in order to deploy some applications.

Constructors

Capability' 

Fields

Instances

Instances details
Eq Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

Ord Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

Read Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

Show Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

Generic Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

Associated Types

type Rep Capability :: Type -> Type #

NFData Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

Methods

rnf :: Capability -> () #

Hashable Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

ToJSON Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

ToJSONKey Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

FromJSON Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

FromJSONKey Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

ToLog Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

ToHeader Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

ToQuery Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

FromXML Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

ToXML Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

Methods

toXML :: Capability -> XML #

ToByteString Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

FromText Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

ToText Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

Methods

toText :: Capability -> Text #

type Rep Capability Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Capability

type Rep Capability = D1 ('MetaData "Capability" "Amazonka.ServerlessApplicationRepository.Types.Capability" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'True) (C1 ('MetaCons "Capability'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCapability") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Status

newtype Status Source #

Constructors

Status' 

Fields

Bundled Patterns

pattern Status_ACTIVE :: Status 
pattern Status_EXPIRED :: Status 
pattern Status_PREPARING :: Status 

Instances

Instances details
Eq Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Methods

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

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

Ord Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Read Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Show Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Generic Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

NFData Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Methods

rnf :: Status -> () #

Hashable Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Methods

hashWithSalt :: Int -> Status -> Int #

hash :: Status -> Int #

ToJSON Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

ToJSONKey Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

FromJSON Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

FromJSONKey Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

ToLog Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

ToHeader Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Methods

toHeader :: HeaderName -> Status -> [Header] #

ToQuery Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

FromXML Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

ToXML Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Methods

toXML :: Status -> XML #

ToByteString Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Methods

toBS :: Status -> ByteString #

FromText Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

ToText Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

Methods

toText :: Status -> Text #

type Rep Status Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Status

type Rep Status = D1 ('MetaData "Status" "Amazonka.ServerlessApplicationRepository.Types.Status" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'True) (C1 ('MetaCons "Status'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ApplicationDependencySummary

data ApplicationDependencySummary Source #

A nested application summary.

See: newApplicationDependencySummary smart constructor.

Constructors

ApplicationDependencySummary' 

Fields

Instances

Instances details
Eq ApplicationDependencySummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationDependencySummary

Read ApplicationDependencySummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationDependencySummary

Show ApplicationDependencySummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationDependencySummary

Generic ApplicationDependencySummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationDependencySummary

Associated Types

type Rep ApplicationDependencySummary :: Type -> Type #

NFData ApplicationDependencySummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationDependencySummary

Hashable ApplicationDependencySummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationDependencySummary

FromJSON ApplicationDependencySummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationDependencySummary

type Rep ApplicationDependencySummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationDependencySummary

type Rep ApplicationDependencySummary = D1 ('MetaData "ApplicationDependencySummary" "Amazonka.ServerlessApplicationRepository.Types.ApplicationDependencySummary" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "ApplicationDependencySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "semanticVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newApplicationDependencySummary Source #

Create a value of ApplicationDependencySummary 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:applicationId:ApplicationDependencySummary', applicationDependencySummary_applicationId - The Amazon Resource Name (ARN) of the nested application.

$sel:semanticVersion:ApplicationDependencySummary', applicationDependencySummary_semanticVersion - The semantic version of the nested application.

applicationDependencySummary_applicationId :: Lens' ApplicationDependencySummary Text Source #

The Amazon Resource Name (ARN) of the nested application.

ApplicationPolicyStatement

data ApplicationPolicyStatement Source #

Policy statement applied to the application.

See: newApplicationPolicyStatement smart constructor.

Constructors

ApplicationPolicyStatement' 

Fields

Instances

Instances details
Eq ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Read ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Show ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Generic ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Associated Types

type Rep ApplicationPolicyStatement :: Type -> Type #

NFData ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Hashable ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

ToJSON ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

FromJSON ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

type Rep ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

type Rep ApplicationPolicyStatement = D1 ('MetaData "ApplicationPolicyStatement" "Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "ApplicationPolicyStatement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "statementId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "principalOrgIDs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "principals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newApplicationPolicyStatement :: ApplicationPolicyStatement Source #

Create a value of ApplicationPolicyStatement 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:statementId:ApplicationPolicyStatement', applicationPolicyStatement_statementId - A unique ID for the statement.

$sel:principalOrgIDs:ApplicationPolicyStatement', applicationPolicyStatement_principalOrgIDs - An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID global condition key.

$sel:principals:ApplicationPolicyStatement', applicationPolicyStatement_principals - An array of AWS account IDs, or * to make the application public.

$sel:actions:ApplicationPolicyStatement', applicationPolicyStatement_actions - For the list of actions supported for this operation, see Application Permissions.

applicationPolicyStatement_principalOrgIDs :: Lens' ApplicationPolicyStatement (Maybe [Text]) Source #

An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID global condition key.

applicationPolicyStatement_principals :: Lens' ApplicationPolicyStatement [Text] Source #

An array of AWS account IDs, or * to make the application public.

applicationPolicyStatement_actions :: Lens' ApplicationPolicyStatement [Text] Source #

For the list of actions supported for this operation, see Application Permissions.

ApplicationSummary

data ApplicationSummary Source #

Summary of details about the application.

See: newApplicationSummary smart constructor.

Constructors

ApplicationSummary' 

Fields

  • creationTime :: Maybe Text

    The date and time this resource was created.

  • homePageUrl :: Maybe Text

    A URL with more information about the application, for example the location of your GitHub repository for the application.

  • labels :: Maybe [Text]

    Labels to improve discovery of apps in search results.

    Minimum length=1. Maximum length=127. Maximum number of labels: 10

    Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";

  • spdxLicenseId :: Maybe Text

    A valid identifier from https://spdx.org/licenses/.

  • description :: Text

    The description of the application.

    Minimum length=1. Maximum length=256

  • author :: Text

    The name of the author publishing the app.

    Minimum length=1. Maximum length=127.

    Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

  • applicationId :: Text

    The application Amazon Resource Name (ARN).

  • name :: Text

    The name of the application.

    Minimum length=1. Maximum length=140

    Pattern: "[a-zA-Z0-9\\-]+";

Instances

Instances details
Eq ApplicationSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationSummary

Read ApplicationSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationSummary

Show ApplicationSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationSummary

Generic ApplicationSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationSummary

Associated Types

type Rep ApplicationSummary :: Type -> Type #

NFData ApplicationSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationSummary

Methods

rnf :: ApplicationSummary -> () #

Hashable ApplicationSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationSummary

FromJSON ApplicationSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationSummary

type Rep ApplicationSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationSummary

type Rep ApplicationSummary = D1 ('MetaData "ApplicationSummary" "Amazonka.ServerlessApplicationRepository.Types.ApplicationSummary" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "ApplicationSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "homePageUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "labels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "spdxLicenseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "author") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newApplicationSummary Source #

Create a value of ApplicationSummary 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:creationTime:ApplicationSummary', applicationSummary_creationTime - The date and time this resource was created.

$sel:homePageUrl:ApplicationSummary', applicationSummary_homePageUrl - A URL with more information about the application, for example the location of your GitHub repository for the application.

$sel:labels:ApplicationSummary', applicationSummary_labels - Labels to improve discovery of apps in search results.

Minimum length=1. Maximum length=127. Maximum number of labels: 10

Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";

$sel:spdxLicenseId:ApplicationSummary', applicationSummary_spdxLicenseId - A valid identifier from https://spdx.org/licenses/.

$sel:description:ApplicationSummary', applicationSummary_description - The description of the application.

Minimum length=1. Maximum length=256

$sel:author:ApplicationSummary', applicationSummary_author - The name of the author publishing the app.

Minimum length=1. Maximum length=127.

Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

$sel:applicationId:ApplicationSummary', applicationSummary_applicationId - The application Amazon Resource Name (ARN).

$sel:name:ApplicationSummary', applicationSummary_name - The name of the application.

Minimum length=1. Maximum length=140

Pattern: "[a-zA-Z0-9\\-]+";

applicationSummary_creationTime :: Lens' ApplicationSummary (Maybe Text) Source #

The date and time this resource was created.

applicationSummary_homePageUrl :: Lens' ApplicationSummary (Maybe Text) Source #

A URL with more information about the application, for example the location of your GitHub repository for the application.

applicationSummary_labels :: Lens' ApplicationSummary (Maybe [Text]) Source #

Labels to improve discovery of apps in search results.

Minimum length=1. Maximum length=127. Maximum number of labels: 10

Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";

applicationSummary_description :: Lens' ApplicationSummary Text Source #

The description of the application.

Minimum length=1. Maximum length=256

applicationSummary_author :: Lens' ApplicationSummary Text Source #

The name of the author publishing the app.

Minimum length=1. Maximum length=127.

Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

applicationSummary_applicationId :: Lens' ApplicationSummary Text Source #

The application Amazon Resource Name (ARN).

applicationSummary_name :: Lens' ApplicationSummary Text Source #

The name of the application.

Minimum length=1. Maximum length=140

Pattern: "[a-zA-Z0-9\\-]+";

ParameterDefinition

data ParameterDefinition Source #

Parameters supported by the application.

See: newParameterDefinition smart constructor.

Constructors

ParameterDefinition' 

Fields

  • maxValue :: Maybe Int

    A numeric value that determines the largest numeric value that you want to allow for Number types.

  • maxLength :: Maybe Int

    An integer value that determines the largest number of characters that you want to allow for String types.

  • constraintDescription :: Maybe Text

    A string that explains a constraint when the constraint is violated. For example, without a constraint description, a parameter that has an allowed pattern of [A-Za-z0-9]+ displays the following error message when the user specifies an invalid value:

    Malformed input-Parameter MyParameter must match pattern [A-Za-z0-9]+

    By adding a constraint description, such as "must contain only uppercase and lowercase letters and numbers," you can display the following customized error message:

    Malformed input-Parameter MyParameter must contain only uppercase and lowercase letters and numbers.

  • minLength :: Maybe Int

    An integer value that determines the smallest number of characters that you want to allow for String types.

  • defaultValue :: Maybe Text

    A value of the appropriate type for the template to use if no value is specified when a stack is created. If you define constraints for the parameter, you must specify a value that adheres to those constraints.

  • allowedPattern :: Maybe Text

    A regular expression that represents the patterns to allow for String types.

  • noEcho :: Maybe Bool

    Whether to mask the parameter value whenever anyone makes a call that describes the stack. If you set the value to true, the parameter value is masked with asterisks (*****).

  • type' :: Maybe Text

    The type of the parameter.

    Valid values: String | Number | List<Number> | CommaDelimitedList

    String: A literal string.

    For example, users can specify "MyUserName".

    Number: An integer or float. AWS CloudFormation validates the parameter value as a number. However, when you use the parameter elsewhere in your template (for example, by using the Ref intrinsic function), the parameter value becomes a string.

    For example, users might specify "8888".

    List<Number>: An array of integers or floats that are separated by commas. AWS CloudFormation validates the parameter value as numbers. However, when you use the parameter elsewhere in your template (for example, by using the Ref intrinsic function), the parameter value becomes a list of strings.

    For example, users might specify "80,20", and then Ref results in ["80","20"].

    CommaDelimitedList: An array of literal strings that are separated by commas. The total number of strings should be one more than the total number of commas. Also, each member string is space-trimmed.

    For example, users might specify "test,dev,prod", and then Ref results in ["test","dev","prod"].

  • allowedValues :: Maybe [Text]

    An array containing the list of values allowed for the parameter.

  • description :: Maybe Text

    A string of up to 4,000 characters that describes the parameter.

  • minValue :: Maybe Int

    A numeric value that determines the smallest numeric value that you want to allow for Number types.

  • referencedByResources :: [Text]

    A list of AWS SAM resources that use this parameter.

  • name :: Text

    The name of the parameter.

Instances

Instances details
Eq ParameterDefinition Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterDefinition

Read ParameterDefinition Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterDefinition

Show ParameterDefinition Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterDefinition

Generic ParameterDefinition Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterDefinition

Associated Types

type Rep ParameterDefinition :: Type -> Type #

NFData ParameterDefinition Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterDefinition

Methods

rnf :: ParameterDefinition -> () #

Hashable ParameterDefinition Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterDefinition

FromJSON ParameterDefinition Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterDefinition

type Rep ParameterDefinition Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterDefinition

type Rep ParameterDefinition = D1 ('MetaData "ParameterDefinition" "Amazonka.ServerlessApplicationRepository.Types.ParameterDefinition" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "ParameterDefinition'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "maxValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "maxLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "constraintDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "minLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "allowedPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "noEcho") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "allowedValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "minValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "referencedByResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newParameterDefinition Source #

Create a value of ParameterDefinition 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:maxValue:ParameterDefinition', parameterDefinition_maxValue - A numeric value that determines the largest numeric value that you want to allow for Number types.

$sel:maxLength:ParameterDefinition', parameterDefinition_maxLength - An integer value that determines the largest number of characters that you want to allow for String types.

$sel:constraintDescription:ParameterDefinition', parameterDefinition_constraintDescription - A string that explains a constraint when the constraint is violated. For example, without a constraint description, a parameter that has an allowed pattern of [A-Za-z0-9]+ displays the following error message when the user specifies an invalid value:

Malformed input-Parameter MyParameter must match pattern [A-Za-z0-9]+

By adding a constraint description, such as "must contain only uppercase and lowercase letters and numbers," you can display the following customized error message:

Malformed input-Parameter MyParameter must contain only uppercase and lowercase letters and numbers.

$sel:minLength:ParameterDefinition', parameterDefinition_minLength - An integer value that determines the smallest number of characters that you want to allow for String types.

$sel:defaultValue:ParameterDefinition', parameterDefinition_defaultValue - A value of the appropriate type for the template to use if no value is specified when a stack is created. If you define constraints for the parameter, you must specify a value that adheres to those constraints.

$sel:allowedPattern:ParameterDefinition', parameterDefinition_allowedPattern - A regular expression that represents the patterns to allow for String types.

$sel:noEcho:ParameterDefinition', parameterDefinition_noEcho - Whether to mask the parameter value whenever anyone makes a call that describes the stack. If you set the value to true, the parameter value is masked with asterisks (*****).

$sel:type':ParameterDefinition', parameterDefinition_type - The type of the parameter.

Valid values: String | Number | List<Number> | CommaDelimitedList

String: A literal string.

For example, users can specify "MyUserName".

Number: An integer or float. AWS CloudFormation validates the parameter value as a number. However, when you use the parameter elsewhere in your template (for example, by using the Ref intrinsic function), the parameter value becomes a string.

For example, users might specify "8888".

List<Number>: An array of integers or floats that are separated by commas. AWS CloudFormation validates the parameter value as numbers. However, when you use the parameter elsewhere in your template (for example, by using the Ref intrinsic function), the parameter value becomes a list of strings.

For example, users might specify "80,20", and then Ref results in ["80","20"].

CommaDelimitedList: An array of literal strings that are separated by commas. The total number of strings should be one more than the total number of commas. Also, each member string is space-trimmed.

For example, users might specify "test,dev,prod", and then Ref results in ["test","dev","prod"].

$sel:allowedValues:ParameterDefinition', parameterDefinition_allowedValues - An array containing the list of values allowed for the parameter.

$sel:description:ParameterDefinition', parameterDefinition_description - A string of up to 4,000 characters that describes the parameter.

$sel:minValue:ParameterDefinition', parameterDefinition_minValue - A numeric value that determines the smallest numeric value that you want to allow for Number types.

$sel:referencedByResources:ParameterDefinition', parameterDefinition_referencedByResources - A list of AWS SAM resources that use this parameter.

$sel:name:ParameterDefinition', parameterDefinition_name - The name of the parameter.

parameterDefinition_maxValue :: Lens' ParameterDefinition (Maybe Int) Source #

A numeric value that determines the largest numeric value that you want to allow for Number types.

parameterDefinition_maxLength :: Lens' ParameterDefinition (Maybe Int) Source #

An integer value that determines the largest number of characters that you want to allow for String types.

parameterDefinition_constraintDescription :: Lens' ParameterDefinition (Maybe Text) Source #

A string that explains a constraint when the constraint is violated. For example, without a constraint description, a parameter that has an allowed pattern of [A-Za-z0-9]+ displays the following error message when the user specifies an invalid value:

Malformed input-Parameter MyParameter must match pattern [A-Za-z0-9]+

By adding a constraint description, such as "must contain only uppercase and lowercase letters and numbers," you can display the following customized error message:

Malformed input-Parameter MyParameter must contain only uppercase and lowercase letters and numbers.

parameterDefinition_minLength :: Lens' ParameterDefinition (Maybe Int) Source #

An integer value that determines the smallest number of characters that you want to allow for String types.

parameterDefinition_defaultValue :: Lens' ParameterDefinition (Maybe Text) Source #

A value of the appropriate type for the template to use if no value is specified when a stack is created. If you define constraints for the parameter, you must specify a value that adheres to those constraints.

parameterDefinition_allowedPattern :: Lens' ParameterDefinition (Maybe Text) Source #

A regular expression that represents the patterns to allow for String types.

parameterDefinition_noEcho :: Lens' ParameterDefinition (Maybe Bool) Source #

Whether to mask the parameter value whenever anyone makes a call that describes the stack. If you set the value to true, the parameter value is masked with asterisks (*****).

parameterDefinition_type :: Lens' ParameterDefinition (Maybe Text) Source #

The type of the parameter.

Valid values: String | Number | List<Number> | CommaDelimitedList

String: A literal string.

For example, users can specify "MyUserName".

Number: An integer or float. AWS CloudFormation validates the parameter value as a number. However, when you use the parameter elsewhere in your template (for example, by using the Ref intrinsic function), the parameter value becomes a string.

For example, users might specify "8888".

List<Number>: An array of integers or floats that are separated by commas. AWS CloudFormation validates the parameter value as numbers. However, when you use the parameter elsewhere in your template (for example, by using the Ref intrinsic function), the parameter value becomes a list of strings.

For example, users might specify "80,20", and then Ref results in ["80","20"].

CommaDelimitedList: An array of literal strings that are separated by commas. The total number of strings should be one more than the total number of commas. Also, each member string is space-trimmed.

For example, users might specify "test,dev,prod", and then Ref results in ["test","dev","prod"].

parameterDefinition_allowedValues :: Lens' ParameterDefinition (Maybe [Text]) Source #

An array containing the list of values allowed for the parameter.

parameterDefinition_description :: Lens' ParameterDefinition (Maybe Text) Source #

A string of up to 4,000 characters that describes the parameter.

parameterDefinition_minValue :: Lens' ParameterDefinition (Maybe Int) Source #

A numeric value that determines the smallest numeric value that you want to allow for Number types.

parameterDefinition_referencedByResources :: Lens' ParameterDefinition [Text] Source #

A list of AWS SAM resources that use this parameter.

ParameterValue

data ParameterValue Source #

Parameter value of the application.

See: newParameterValue smart constructor.

Constructors

ParameterValue' 

Fields

  • value :: Text

    The input value associated with the parameter.

  • name :: Text

    The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.

Instances

Instances details
Eq ParameterValue Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterValue

Read ParameterValue Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterValue

Show ParameterValue Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterValue

Generic ParameterValue Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterValue

Associated Types

type Rep ParameterValue :: Type -> Type #

NFData ParameterValue Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterValue

Methods

rnf :: ParameterValue -> () #

Hashable ParameterValue Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterValue

ToJSON ParameterValue Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterValue

type Rep ParameterValue Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ParameterValue

type Rep ParameterValue = D1 ('MetaData "ParameterValue" "Amazonka.ServerlessApplicationRepository.Types.ParameterValue" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "ParameterValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newParameterValue Source #

Create a value of ParameterValue 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:ParameterValue', parameterValue_value - The input value associated with the parameter.

$sel:name:ParameterValue', parameterValue_name - The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.

parameterValue_value :: Lens' ParameterValue Text Source #

The input value associated with the parameter.

parameterValue_name :: Lens' ParameterValue Text Source #

The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.

RollbackConfiguration

data RollbackConfiguration Source #

This property corresponds to the /AWS CloudFormation RollbackConfiguration/ Data Type.

See: newRollbackConfiguration smart constructor.

Constructors

RollbackConfiguration' 

Fields

Instances

Instances details
Eq RollbackConfiguration Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackConfiguration

Read RollbackConfiguration Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackConfiguration

Show RollbackConfiguration Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackConfiguration

Generic RollbackConfiguration Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackConfiguration

Associated Types

type Rep RollbackConfiguration :: Type -> Type #

NFData RollbackConfiguration Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackConfiguration

Methods

rnf :: RollbackConfiguration -> () #

Hashable RollbackConfiguration Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackConfiguration

ToJSON RollbackConfiguration Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackConfiguration

type Rep RollbackConfiguration Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackConfiguration

type Rep RollbackConfiguration = D1 ('MetaData "RollbackConfiguration" "Amazonka.ServerlessApplicationRepository.Types.RollbackConfiguration" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "RollbackConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rollbackTriggers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RollbackTrigger])) :*: S1 ('MetaSel ('Just "monitoringTimeInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newRollbackConfiguration :: RollbackConfiguration Source #

Create a value of RollbackConfiguration 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:rollbackTriggers:RollbackConfiguration', rollbackConfiguration_rollbackTriggers - This property corresponds to the content of the same name for the /AWS CloudFormation RollbackConfiguration/ Data Type.

$sel:monitoringTimeInMinutes:RollbackConfiguration', rollbackConfiguration_monitoringTimeInMinutes - This property corresponds to the content of the same name for the /AWS CloudFormation RollbackConfiguration/ Data Type.

rollbackConfiguration_rollbackTriggers :: Lens' RollbackConfiguration (Maybe [RollbackTrigger]) Source #

This property corresponds to the content of the same name for the /AWS CloudFormation RollbackConfiguration/ Data Type.

rollbackConfiguration_monitoringTimeInMinutes :: Lens' RollbackConfiguration (Maybe Int) Source #

This property corresponds to the content of the same name for the /AWS CloudFormation RollbackConfiguration/ Data Type.

RollbackTrigger

data RollbackTrigger Source #

This property corresponds to the /AWS CloudFormation RollbackTrigger/ Data Type.

See: newRollbackTrigger smart constructor.

Constructors

RollbackTrigger' 

Fields

  • type' :: Text

    This property corresponds to the content of the same name for the /AWS CloudFormation RollbackTrigger/ Data Type.

  • arn :: Text

    This property corresponds to the content of the same name for the /AWS CloudFormation RollbackTrigger/ Data Type.

Instances

Instances details
Eq RollbackTrigger Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackTrigger

Read RollbackTrigger Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackTrigger

Show RollbackTrigger Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackTrigger

Generic RollbackTrigger Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackTrigger

Associated Types

type Rep RollbackTrigger :: Type -> Type #

NFData RollbackTrigger Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackTrigger

Methods

rnf :: RollbackTrigger -> () #

Hashable RollbackTrigger Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackTrigger

ToJSON RollbackTrigger Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackTrigger

type Rep RollbackTrigger Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.RollbackTrigger

type Rep RollbackTrigger = D1 ('MetaData "RollbackTrigger" "Amazonka.ServerlessApplicationRepository.Types.RollbackTrigger" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "RollbackTrigger'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRollbackTrigger Source #

Create a value of RollbackTrigger 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:type':RollbackTrigger', rollbackTrigger_type - This property corresponds to the content of the same name for the /AWS CloudFormation RollbackTrigger/ Data Type.

$sel:arn:RollbackTrigger', rollbackTrigger_arn - This property corresponds to the content of the same name for the /AWS CloudFormation RollbackTrigger/ Data Type.

rollbackTrigger_type :: Lens' RollbackTrigger Text Source #

This property corresponds to the content of the same name for the /AWS CloudFormation RollbackTrigger/ Data Type.

rollbackTrigger_arn :: Lens' RollbackTrigger Text Source #

This property corresponds to the content of the same name for the /AWS CloudFormation RollbackTrigger/ Data Type.

Tag

data Tag Source #

This property corresponds to the /AWS CloudFormation Tag/ Data Type.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • value :: Text

    This property corresponds to the content of the same name for the /AWS CloudFormation Tag/ Data Type.

  • key :: Text

    This property corresponds to the content of the same name for the /AWS CloudFormation Tag/ Data Type.

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Tag

Methods

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

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

Read Tag Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToJSON Tag Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ServerlessApplicationRepository.Types.Tag" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag 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:Tag', tag_value - This property corresponds to the content of the same name for the /AWS CloudFormation Tag/ Data Type.

$sel:key:Tag', tag_key - This property corresponds to the content of the same name for the /AWS CloudFormation Tag/ Data Type.

tag_value :: Lens' Tag Text Source #

This property corresponds to the content of the same name for the /AWS CloudFormation Tag/ Data Type.

tag_key :: Lens' Tag Text Source #

This property corresponds to the content of the same name for the /AWS CloudFormation Tag/ Data Type.

Version

data Version Source #

Application version details.

See: newVersion smart constructor.

Constructors

Version' 

Fields

  • sourceCodeUrl :: Maybe Text

    A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

  • sourceCodeArchiveUrl :: Maybe Text

    A link to the S3 object that contains the ZIP archive of the source code for this version of your application.

    Maximum size 50 MB

  • templateUrl :: Text

    A link to the packaged AWS SAM template of your application.

  • parameterDefinitions :: [ParameterDefinition]

    An array of parameter types supported by the application.

  • resourcesSupported :: Bool

    Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.

  • creationTime :: Text

    The date and time this resource was created.

  • requiredCapabilities :: [Capability]

    A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.

    The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.

    The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

    The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.

    Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.

    If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.

  • applicationId :: Text

    The application Amazon Resource Name (ARN).

  • semanticVersion :: Text

    The semantic version of the application:

    https://semver.org/

Instances

Instances details
Eq Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Methods

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

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

Read Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Show Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Generic Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Associated Types

type Rep Version :: Type -> Type #

Methods

from :: Version -> Rep Version x #

to :: Rep Version x -> Version #

NFData Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Methods

rnf :: Version -> () #

Hashable Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

Methods

hashWithSalt :: Int -> Version -> Int #

hash :: Version -> Int #

FromJSON Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

type Rep Version Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.Version

type Rep Version = D1 ('MetaData "Version" "Amazonka.ServerlessApplicationRepository.Types.Version" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "Version'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "sourceCodeUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceCodeArchiveUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "templateUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "parameterDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ParameterDefinition]))) :*: ((S1 ('MetaSel ('Just "resourcesSupported") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "requiredCapabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Capability]) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "semanticVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newVersion Source #

Create a value of Version 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:sourceCodeUrl:Version', version_sourceCodeUrl - A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

$sel:sourceCodeArchiveUrl:Version', version_sourceCodeArchiveUrl - A link to the S3 object that contains the ZIP archive of the source code for this version of your application.

Maximum size 50 MB

$sel:templateUrl:Version', version_templateUrl - A link to the packaged AWS SAM template of your application.

$sel:parameterDefinitions:Version', version_parameterDefinitions - An array of parameter types supported by the application.

$sel:resourcesSupported:Version', version_resourcesSupported - Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.

$sel:creationTime:Version', version_creationTime - The date and time this resource was created.

$sel:requiredCapabilities:Version', version_requiredCapabilities - A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.

The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.

The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.

Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.

If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.

$sel:applicationId:Version', version_applicationId - The application Amazon Resource Name (ARN).

$sel:semanticVersion:Version', version_semanticVersion - The semantic version of the application:

https://semver.org/

version_sourceCodeUrl :: Lens' Version (Maybe Text) Source #

A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

version_sourceCodeArchiveUrl :: Lens' Version (Maybe Text) Source #

A link to the S3 object that contains the ZIP archive of the source code for this version of your application.

Maximum size 50 MB

version_templateUrl :: Lens' Version Text Source #

A link to the packaged AWS SAM template of your application.

version_parameterDefinitions :: Lens' Version [ParameterDefinition] Source #

An array of parameter types supported by the application.

version_resourcesSupported :: Lens' Version Bool Source #

Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.

version_creationTime :: Lens' Version Text Source #

The date and time this resource was created.

version_requiredCapabilities :: Lens' Version [Capability] Source #

A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.

The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.

The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.

Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.

If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.

version_applicationId :: Lens' Version Text Source #

The application Amazon Resource Name (ARN).

version_semanticVersion :: Lens' Version Text Source #

The semantic version of the application:

https://semver.org/

VersionSummary

data VersionSummary Source #

An application version summary.

See: newVersionSummary smart constructor.

Constructors

VersionSummary' 

Fields

Instances

Instances details
Eq VersionSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.VersionSummary

Read VersionSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.VersionSummary

Show VersionSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.VersionSummary

Generic VersionSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.VersionSummary

Associated Types

type Rep VersionSummary :: Type -> Type #

NFData VersionSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.VersionSummary

Methods

rnf :: VersionSummary -> () #

Hashable VersionSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.VersionSummary

FromJSON VersionSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.VersionSummary

type Rep VersionSummary Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.VersionSummary

type Rep VersionSummary = D1 ('MetaData "VersionSummary" "Amazonka.ServerlessApplicationRepository.Types.VersionSummary" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "VersionSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceCodeUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "semanticVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newVersionSummary Source #

Create a value of VersionSummary 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:sourceCodeUrl:VersionSummary', versionSummary_sourceCodeUrl - A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

$sel:creationTime:VersionSummary', versionSummary_creationTime - The date and time this resource was created.

$sel:applicationId:VersionSummary', versionSummary_applicationId - The application Amazon Resource Name (ARN).

$sel:semanticVersion:VersionSummary', versionSummary_semanticVersion - The semantic version of the application:

https://semver.org/

versionSummary_sourceCodeUrl :: Lens' VersionSummary (Maybe Text) Source #

A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

versionSummary_creationTime :: Lens' VersionSummary Text Source #

The date and time this resource was created.

versionSummary_applicationId :: Lens' VersionSummary Text Source #

The application Amazon Resource Name (ARN).