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) |
Safe Haskell | None |
Synopsis
- data CreateService = CreateService' {
- branchName :: Maybe Text
- repositoryId :: Maybe Text
- templateMinorVersion :: Maybe Text
- description :: Maybe (Sensitive Text)
- repositoryConnectionArn :: Maybe Text
- tags :: Maybe [Tag]
- name :: Text
- spec :: Sensitive Text
- templateMajorVersion :: Text
- templateName :: Text
- newCreateService :: Text -> Text -> Text -> Text -> CreateService
- createService_branchName :: Lens' CreateService (Maybe Text)
- createService_repositoryId :: Lens' CreateService (Maybe Text)
- createService_templateMinorVersion :: Lens' CreateService (Maybe Text)
- createService_description :: Lens' CreateService (Maybe Text)
- createService_repositoryConnectionArn :: Lens' CreateService (Maybe Text)
- createService_tags :: Lens' CreateService (Maybe [Tag])
- createService_name :: Lens' CreateService Text
- createService_spec :: Lens' CreateService Text
- createService_templateMajorVersion :: Lens' CreateService Text
- createService_templateName :: Lens' CreateService Text
- data CreateServiceResponse = CreateServiceResponse' {
- httpStatus :: Int
- service :: Service
- newCreateServiceResponse :: Int -> Service -> CreateServiceResponse
- createServiceResponse_httpStatus :: Lens' CreateServiceResponse Int
- createServiceResponse_service :: Lens' CreateServiceResponse Service
Creating a Request
data CreateService Source #
See: newCreateService
smart constructor.
CreateService' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> CreateService |
Create a value of CreateService
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:branchName:CreateService'
, createService_branchName
- The name of the code repository branch that holds the code that's
deployed in AWS Proton. Don't include this parameter if your service
template doesn't include a service pipeline.
$sel:repositoryId:CreateService'
, createService_repositoryId
- The ID of the code repository. Don't include this parameter if your
service template doesn't include a service pipeline.
$sel:templateMinorVersion:CreateService'
, createService_templateMinorVersion
- The ID of the minor version of the service template that was used to
create the service.
$sel:description:CreateService'
, createService_description
- A description of the AWS Proton service.
$sel:repositoryConnectionArn:CreateService'
, createService_repositoryConnectionArn
- The Amazon Resource Name (ARN) of the repository connection. For more
information, see
Set up repository connection
in the AWS Proton Administrator Guide and
Setting up with AWS Proton
in the AWS Proton User Guide. Don't include this parameter if your
service template doesn't include a service pipeline.
$sel:tags:CreateService'
, createService_tags
- Create tags for your service. For more information, see /AWS Proton
resources and tagging/ in the
AWS Proton Administrator Guide
or
AWS Proton User Guide.
$sel:name:CreateService'
, createService_name
- The service name.
$sel:spec:CreateService'
, createService_spec
- A link to a spec file that provides inputs as defined in the service
template bundle schema file. The spec file is in YAML format. Don’t
include pipeline inputs in the spec if your service template doesn’t
include a service pipeline. For more information, see
Create a service
in the AWS Proton Administrator Guide and
Create a service
in the AWS Proton User Guide.
$sel:templateMajorVersion:CreateService'
, createService_templateMajorVersion
- The ID of the major version of the service template that was used to
create the service.
$sel:templateName:CreateService'
, createService_templateName
- The name of the service template that's used to create the service.
Request Lenses
createService_branchName :: Lens' CreateService (Maybe Text) Source #
The name of the code repository branch that holds the code that's deployed in AWS Proton. Don't include this parameter if your service template doesn't include a service pipeline.
createService_repositoryId :: Lens' CreateService (Maybe Text) Source #
The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.
createService_templateMinorVersion :: Lens' CreateService (Maybe Text) Source #
The ID of the minor version of the service template that was used to create the service.
createService_description :: Lens' CreateService (Maybe Text) Source #
A description of the AWS Proton service.
createService_repositoryConnectionArn :: Lens' CreateService (Maybe Text) Source #
The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up repository connection in the AWS Proton Administrator Guide and Setting up with AWS Proton in the AWS Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
createService_tags :: Lens' CreateService (Maybe [Tag]) Source #
Create tags for your service. For more information, see /AWS Proton resources and tagging/ in the AWS Proton Administrator Guide or AWS Proton User Guide.
createService_name :: Lens' CreateService Text Source #
The service name.
createService_spec :: Lens' CreateService Text Source #
A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For more information, see Create a service in the AWS Proton Administrator Guide and Create a service in the AWS Proton User Guide.
createService_templateMajorVersion :: Lens' CreateService Text Source #
The ID of the major version of the service template that was used to create the service.
createService_templateName :: Lens' CreateService Text Source #
The name of the service template that's used to create the service.
Destructuring the Response
data CreateServiceResponse Source #
See: newCreateServiceResponse
smart constructor.
CreateServiceResponse' | |
|
Instances
newCreateServiceResponse Source #
:: Int | |
-> Service | |
-> CreateServiceResponse |
Create a value of CreateServiceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateServiceResponse'
, createServiceResponse_httpStatus
- The response's http status code.
$sel:service:CreateServiceResponse'
, createServiceResponse_service
- The service detail data that's returned by AWS Proton.
Response Lenses
createServiceResponse_httpStatus :: Lens' CreateServiceResponse Int Source #
The response's http status code.
createServiceResponse_service :: Lens' CreateServiceResponse Service Source #
The service detail data that's returned by AWS Proton.