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 |
Creates a version of a resource definition that has already been defined.
Synopsis
- data CreateResourceDefinitionVersion = CreateResourceDefinitionVersion' {}
- newCreateResourceDefinitionVersion :: Text -> CreateResourceDefinitionVersion
- createResourceDefinitionVersion_amznClientToken :: Lens' CreateResourceDefinitionVersion (Maybe Text)
- createResourceDefinitionVersion_resources :: Lens' CreateResourceDefinitionVersion (Maybe [Resource])
- createResourceDefinitionVersion_resourceDefinitionId :: Lens' CreateResourceDefinitionVersion Text
- data CreateResourceDefinitionVersionResponse = CreateResourceDefinitionVersionResponse' {}
- newCreateResourceDefinitionVersionResponse :: Int -> CreateResourceDefinitionVersionResponse
- createResourceDefinitionVersionResponse_arn :: Lens' CreateResourceDefinitionVersionResponse (Maybe Text)
- createResourceDefinitionVersionResponse_creationTimestamp :: Lens' CreateResourceDefinitionVersionResponse (Maybe Text)
- createResourceDefinitionVersionResponse_version :: Lens' CreateResourceDefinitionVersionResponse (Maybe Text)
- createResourceDefinitionVersionResponse_id :: Lens' CreateResourceDefinitionVersionResponse (Maybe Text)
- createResourceDefinitionVersionResponse_httpStatus :: Lens' CreateResourceDefinitionVersionResponse Int
Creating a Request
data CreateResourceDefinitionVersion Source #
See: newCreateResourceDefinitionVersion
smart constructor.
CreateResourceDefinitionVersion' | |
|
Instances
newCreateResourceDefinitionVersion Source #
Create a value of CreateResourceDefinitionVersion
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:amznClientToken:CreateResourceDefinitionVersion'
, createResourceDefinitionVersion_amznClientToken
- A client token used to correlate requests and responses.
$sel:resources:CreateResourceDefinitionVersion'
, createResourceDefinitionVersion_resources
- A list of resources.
$sel:resourceDefinitionId:CreateResourceDefinitionVersion'
, createResourceDefinitionVersion_resourceDefinitionId
- The ID of the resource definition.
Request Lenses
createResourceDefinitionVersion_amznClientToken :: Lens' CreateResourceDefinitionVersion (Maybe Text) Source #
A client token used to correlate requests and responses.
createResourceDefinitionVersion_resources :: Lens' CreateResourceDefinitionVersion (Maybe [Resource]) Source #
A list of resources.
createResourceDefinitionVersion_resourceDefinitionId :: Lens' CreateResourceDefinitionVersion Text Source #
The ID of the resource definition.
Destructuring the Response
data CreateResourceDefinitionVersionResponse Source #
See: newCreateResourceDefinitionVersionResponse
smart constructor.
CreateResourceDefinitionVersionResponse' | |
|
Instances
newCreateResourceDefinitionVersionResponse Source #
Create a value of CreateResourceDefinitionVersionResponse
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:arn:CreateResourceDefinitionVersionResponse'
, createResourceDefinitionVersionResponse_arn
- The ARN of the version.
$sel:creationTimestamp:CreateResourceDefinitionVersionResponse'
, createResourceDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the version was created.
$sel:version:CreateResourceDefinitionVersionResponse'
, createResourceDefinitionVersionResponse_version
- The ID of the version.
$sel:id:CreateResourceDefinitionVersionResponse'
, createResourceDefinitionVersionResponse_id
- The ID of the parent definition that the version is associated with.
$sel:httpStatus:CreateResourceDefinitionVersionResponse'
, createResourceDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
createResourceDefinitionVersionResponse_arn :: Lens' CreateResourceDefinitionVersionResponse (Maybe Text) Source #
The ARN of the version.
createResourceDefinitionVersionResponse_creationTimestamp :: Lens' CreateResourceDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the version was created.
createResourceDefinitionVersionResponse_version :: Lens' CreateResourceDefinitionVersionResponse (Maybe Text) Source #
The ID of the version.
createResourceDefinitionVersionResponse_id :: Lens' CreateResourceDefinitionVersionResponse (Maybe Text) Source #
The ID of the parent definition that the version is associated with.
createResourceDefinitionVersionResponse_httpStatus :: Lens' CreateResourceDefinitionVersionResponse Int Source #
The response's http status code.