Skip to content

Commit

Permalink
Regenerating amazonka-elasticbeanstalk from latest service definition
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed Nov 29, 2016
1 parent 9c2e52d commit 16320d2
Show file tree
Hide file tree
Showing 23 changed files with 282 additions and 87 deletions.
16 changes: 15 additions & 1 deletion amazonka-elasticbeanstalk/gen/Network/AWS/ElasticBeanstalk.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
--
-- AWS Elastic Beanstalk makes it easy for you to create, deploy, and manage scalable, fault-tolerant applications running on the Amazon Web Services cloud.
--
-- For more information about this product, go to the <http://aws.amazon.com/elasticbeanstalk/ AWS Elastic Beanstalk> details page. The location of the latest AWS Elastic Beanstalk WSDL is <http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl> . To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that enable you to access the API, go to <https://aws.amazon.com/tools/ Tools for Amazon Web Services> .
-- For more information about this product, go to the <http://aws.amazon.com/elasticbeanstalk/ AWS Elastic Beanstalk> details page. The location of the latest AWS Elastic Beanstalk WSDL is <http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl> . To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that enable you to access the API, go to <http://aws.amazon.com/tools/ Tools for Amazon Web Services> .
--
-- __Endpoints__
--
Expand Down Expand Up @@ -226,6 +226,12 @@ module Network.AWS.ElasticBeanstalk
-- ** InstancesHealthAttribute
, InstancesHealthAttribute (..)

-- ** SourceRepository
, SourceRepository (..)

-- ** SourceType
, SourceType (..)

-- ** ValidationSeverity
, ValidationSeverity (..)

Expand Down Expand Up @@ -260,6 +266,7 @@ module Network.AWS.ElasticBeanstalk
, avdDateUpdated
, avdDateCreated
, avdVersionLabel
, avdSourceBuildInformation
, avdApplicationName
, avdDescription

Expand Down Expand Up @@ -522,6 +529,13 @@ module Network.AWS.ElasticBeanstalk
, ssdPermittedFileTypes
, ssdSolutionStackName

-- ** SourceBuildInformation
, SourceBuildInformation
, sourceBuildInformation
, sbiSourceType
, sbiSourceRepository
, sbiSourceLocation

-- ** SourceConfiguration
, SourceConfiguration
, sourceConfiguration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ data CheckDNSAvailabilityResponse = CheckDNSAvailabilityResponse'
--
-- * 'cdarsFullyQualifiedCNAME' - The fully qualified CNAME to reserve when 'CreateEnvironment' is called with the provided prefix.
--
-- * 'cdarsAvailable' - Indicates if the specified CNAME is available: * @true@ : The CNAME is available. * @false@ : The CNAME is not available.
-- * 'cdarsAvailable' - Indicates if the specified CNAME is available: * @true@ : The CNAME is available. * @false@ : The CNAME is not available.
--
-- * 'cdarsResponseStatus' - -- | The response status code.
checkDNSAvailabilityResponse
Expand All @@ -133,7 +133,7 @@ checkDNSAvailabilityResponse pResponseStatus_ =
cdarsFullyQualifiedCNAME :: Lens' CheckDNSAvailabilityResponse (Maybe Text)
cdarsFullyQualifiedCNAME = lens _cdarsFullyQualifiedCNAME (\ s a -> s{_cdarsFullyQualifiedCNAME = a});

-- | Indicates if the specified CNAME is available: * @true@ : The CNAME is available. * @false@ : The CNAME is not available.
-- | Indicates if the specified CNAME is available: * @true@ : The CNAME is available. * @false@ : The CNAME is not available.
cdarsAvailable :: Lens' CheckDNSAvailabilityResponse (Maybe Bool)
cdarsAvailable = lens _cdarsAvailable (\ s a -> s{_cdarsAvailable = a});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module Network.AWS.ElasticBeanstalk.CreateApplicationVersion
, cavProcess
, cavSourceBundle
, cavAutoCreateApplication
, cavSourceBuildInformation
, cavDescription
, cavApplicationName
, cavVersionLabel
Expand All @@ -54,12 +55,13 @@ import Network.AWS.Response
--
-- /See:/ 'createApplicationVersion' smart constructor.
data CreateApplicationVersion = CreateApplicationVersion'
{ _cavProcess :: !(Maybe Bool)
, _cavSourceBundle :: !(Maybe S3Location)
, _cavAutoCreateApplication :: !(Maybe Bool)
, _cavDescription :: !(Maybe Text)
, _cavApplicationName :: !Text
, _cavVersionLabel :: !Text
{ _cavProcess :: !(Maybe Bool)
, _cavSourceBundle :: !(Maybe S3Location)
, _cavAutoCreateApplication :: !(Maybe Bool)
, _cavSourceBuildInformation :: !(Maybe SourceBuildInformation)
, _cavDescription :: !(Maybe Text)
, _cavApplicationName :: !Text
, _cavVersionLabel :: !Text
} deriving (Eq,Read,Show,Data,Typeable,Generic)

-- | Creates a value of 'CreateApplicationVersion' with the minimum fields required to make a request.
Expand All @@ -68,9 +70,11 @@ data CreateApplicationVersion = CreateApplicationVersion'
--
-- * 'cavProcess' - Preprocesses and validates the environment manifest and configuration files in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
--
-- * 'cavSourceBundle' - The Amazon S3 bucket and key that identify the location of the source bundle for this version. If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an @InvalidParameterValue@ error. The maximum size allowed is 512 MB. Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an @InvalidParameterCombination@ error.
-- * 'cavSourceBundle' - The Amazon S3 bucket and key that identify the location of the source bundle for this version. If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an @InvalidParameterValue@ error. The maximum size allowed is 512 MB. Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an @InvalidParameterCombination@ error.
--
-- * 'cavAutoCreateApplication' - Determines how the system behaves if the specified application for this version does not already exist: * @true@ : Automatically creates the specified application for this release if it does not already exist. * @false@ : Throws an @InvalidParameterValue@ if the specified application for this release does not already exist. Default: @false@ Valid Values: @true@ | @false@
-- * 'cavAutoCreateApplication' - Determines how the system behaves if the specified application for this version does not already exist: * @true@ : Automatically creates the specified application for this release if it does not already exist. * @false@ : Throws an @InvalidParameterValue@ if the specified application for this release does not already exist. Default: @false@ Valid Values: @true@ | @false@
--
-- * 'cavSourceBuildInformation' - Undocumented member.
--
-- * 'cavDescription' - Describes this version.
--
Expand All @@ -86,6 +90,7 @@ createApplicationVersion pApplicationName_ pVersionLabel_ =
{ _cavProcess = Nothing
, _cavSourceBundle = Nothing
, _cavAutoCreateApplication = Nothing
, _cavSourceBuildInformation = Nothing
, _cavDescription = Nothing
, _cavApplicationName = pApplicationName_
, _cavVersionLabel = pVersionLabel_
Expand All @@ -95,14 +100,18 @@ createApplicationVersion pApplicationName_ pVersionLabel_ =
cavProcess :: Lens' CreateApplicationVersion (Maybe Bool)
cavProcess = lens _cavProcess (\ s a -> s{_cavProcess = a});

-- | The Amazon S3 bucket and key that identify the location of the source bundle for this version. If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an @InvalidParameterValue@ error. The maximum size allowed is 512 MB. Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an @InvalidParameterCombination@ error.
-- | The Amazon S3 bucket and key that identify the location of the source bundle for this version. If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an @InvalidParameterValue@ error. The maximum size allowed is 512 MB. Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an @InvalidParameterCombination@ error.
cavSourceBundle :: Lens' CreateApplicationVersion (Maybe S3Location)
cavSourceBundle = lens _cavSourceBundle (\ s a -> s{_cavSourceBundle = a});

-- | Determines how the system behaves if the specified application for this version does not already exist: * @true@ : Automatically creates the specified application for this release if it does not already exist. * @false@ : Throws an @InvalidParameterValue@ if the specified application for this release does not already exist. Default: @false@ Valid Values: @true@ | @false@
-- | Determines how the system behaves if the specified application for this version does not already exist: * @true@ : Automatically creates the specified application for this release if it does not already exist. * @false@ : Throws an @InvalidParameterValue@ if the specified application for this release does not already exist. Default: @false@ Valid Values: @true@ | @false@
cavAutoCreateApplication :: Lens' CreateApplicationVersion (Maybe Bool)
cavAutoCreateApplication = lens _cavAutoCreateApplication (\ s a -> s{_cavAutoCreateApplication = a});

-- | Undocumented member.
cavSourceBuildInformation :: Lens' CreateApplicationVersion (Maybe SourceBuildInformation)
cavSourceBuildInformation = lens _cavSourceBuildInformation (\ s a -> s{_cavSourceBuildInformation = a});

-- | Describes this version.
cavDescription :: Lens' CreateApplicationVersion (Maybe Text)
cavDescription = lens _cavDescription (\ s a -> s{_cavDescription = a});
Expand Down Expand Up @@ -142,6 +151,8 @@ instance ToQuery CreateApplicationVersion where
"Process" =: _cavProcess,
"SourceBundle" =: _cavSourceBundle,
"AutoCreateApplication" =: _cavAutoCreateApplication,
"SourceBuildInformation" =:
_cavSourceBuildInformation,
"Description" =: _cavDescription,
"ApplicationName" =: _cavApplicationName,
"VersionLabel" =: _cavVersionLabel]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@
--
-- Related Topics
--
-- * 'DescribeConfigurationOptions' * 'DescribeConfigurationSettings' * 'ListAvailableSolutionStacks'
-- * 'DescribeConfigurationOptions'
--
-- * 'DescribeConfigurationSettings'
--
-- * 'ListAvailableSolutionStacks'
--
--
--
module Network.AWS.ElasticBeanstalk.CreateConfigurationTemplate
(
Expand Down Expand Up @@ -82,17 +88,17 @@ data CreateConfigurationTemplate = CreateConfigurationTemplate'
--
-- * 'cctOptionSettings' - If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
--
-- * 'cctSourceConfiguration' - If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration. Values specified in the @OptionSettings@ parameter of this call overrides any values obtained from the @SourceConfiguration@ . If no configuration template is found, returns an @InvalidParameterValue@ error. Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an @InvalidParameterCombination@ error.
-- * 'cctSourceConfiguration' - If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration. Values specified in the @OptionSettings@ parameter of this call overrides any values obtained from the @SourceConfiguration@ . If no configuration template is found, returns an @InvalidParameterValue@ error. Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an @InvalidParameterCombination@ error.
--
-- * 'cctSolutionStackName' - The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values. Use 'ListAvailableSolutionStacks' to obtain a list of available solution stacks. A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an @InvalidParameterValue@ error. If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
-- * 'cctSolutionStackName' - The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values. Use 'ListAvailableSolutionStacks' to obtain a list of available solution stacks. A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an @InvalidParameterValue@ error. If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
--
-- * 'cctEnvironmentId' - The ID of the environment used with this configuration template.
--
-- * 'cctDescription' - Describes this configuration.
--
-- * 'cctApplicationName' - The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns an @InvalidParameterValue@ error.
--
-- * 'cctTemplateName' - The name of the configuration template. Constraint: This name must be unique per application. Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an @InvalidParameterValue@ error.
-- * 'cctTemplateName' - The name of the configuration template. Constraint: This name must be unique per application. Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an @InvalidParameterValue@ error.
createConfigurationTemplate
:: Text -- ^ 'cctApplicationName'
-> Text -- ^ 'cctTemplateName'
Expand All @@ -112,11 +118,11 @@ createConfigurationTemplate pApplicationName_ pTemplateName_ =
cctOptionSettings :: Lens' CreateConfigurationTemplate [ConfigurationOptionSetting]
cctOptionSettings = lens _cctOptionSettings (\ s a -> s{_cctOptionSettings = a}) . _Default . _Coerce;

-- | If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration. Values specified in the @OptionSettings@ parameter of this call overrides any values obtained from the @SourceConfiguration@ . If no configuration template is found, returns an @InvalidParameterValue@ error. Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an @InvalidParameterCombination@ error.
-- | If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration. Values specified in the @OptionSettings@ parameter of this call overrides any values obtained from the @SourceConfiguration@ . If no configuration template is found, returns an @InvalidParameterValue@ error. Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an @InvalidParameterCombination@ error.
cctSourceConfiguration :: Lens' CreateConfigurationTemplate (Maybe SourceConfiguration)
cctSourceConfiguration = lens _cctSourceConfiguration (\ s a -> s{_cctSourceConfiguration = a});

-- | The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values. Use 'ListAvailableSolutionStacks' to obtain a list of available solution stacks. A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an @InvalidParameterValue@ error. If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
-- | The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values. Use 'ListAvailableSolutionStacks' to obtain a list of available solution stacks. A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an @InvalidParameterValue@ error. If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
cctSolutionStackName :: Lens' CreateConfigurationTemplate (Maybe Text)
cctSolutionStackName = lens _cctSolutionStackName (\ s a -> s{_cctSolutionStackName = a});

Expand All @@ -132,7 +138,7 @@ cctDescription = lens _cctDescription (\ s a -> s{_cctDescription = a});
cctApplicationName :: Lens' CreateConfigurationTemplate Text
cctApplicationName = lens _cctApplicationName (\ s a -> s{_cctApplicationName = a});

-- | The name of the configuration template. Constraint: This name must be unique per application. Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an @InvalidParameterValue@ error.
-- | The name of the configuration template. Constraint: This name must be unique per application. Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an @InvalidParameterValue@ error.
cctTemplateName :: Lens' CreateConfigurationTemplate Text
cctTemplateName = lens _cctTemplateName (\ s a -> s{_cctTemplateName = a});

Expand Down
Loading

0 comments on commit 16320d2

Please sign in to comment.