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 group which has already been defined.
Synopsis
- data CreateGroupVersion = CreateGroupVersion' {
- amznClientToken :: Maybe Text
- resourceDefinitionVersionArn :: Maybe Text
- subscriptionDefinitionVersionArn :: Maybe Text
- coreDefinitionVersionArn :: Maybe Text
- deviceDefinitionVersionArn :: Maybe Text
- functionDefinitionVersionArn :: Maybe Text
- loggerDefinitionVersionArn :: Maybe Text
- connectorDefinitionVersionArn :: Maybe Text
- groupId :: Text
- newCreateGroupVersion :: Text -> CreateGroupVersion
- createGroupVersion_amznClientToken :: Lens' CreateGroupVersion (Maybe Text)
- createGroupVersion_resourceDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text)
- createGroupVersion_subscriptionDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text)
- createGroupVersion_coreDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text)
- createGroupVersion_deviceDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text)
- createGroupVersion_functionDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text)
- createGroupVersion_loggerDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text)
- createGroupVersion_connectorDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text)
- createGroupVersion_groupId :: Lens' CreateGroupVersion Text
- data CreateGroupVersionResponse = CreateGroupVersionResponse' {}
- newCreateGroupVersionResponse :: Int -> CreateGroupVersionResponse
- createGroupVersionResponse_arn :: Lens' CreateGroupVersionResponse (Maybe Text)
- createGroupVersionResponse_creationTimestamp :: Lens' CreateGroupVersionResponse (Maybe Text)
- createGroupVersionResponse_version :: Lens' CreateGroupVersionResponse (Maybe Text)
- createGroupVersionResponse_id :: Lens' CreateGroupVersionResponse (Maybe Text)
- createGroupVersionResponse_httpStatus :: Lens' CreateGroupVersionResponse Int
Creating a Request
data CreateGroupVersion Source #
See: newCreateGroupVersion
smart constructor.
CreateGroupVersion' | |
|
Instances
newCreateGroupVersion Source #
Create a value of CreateGroupVersion
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:CreateGroupVersion'
, createGroupVersion_amznClientToken
- A client token used to correlate requests and responses.
$sel:resourceDefinitionVersionArn:CreateGroupVersion'
, createGroupVersion_resourceDefinitionVersionArn
- The ARN of the resource definition version for this group.
$sel:subscriptionDefinitionVersionArn:CreateGroupVersion'
, createGroupVersion_subscriptionDefinitionVersionArn
- The ARN of the subscription definition version for this group.
$sel:coreDefinitionVersionArn:CreateGroupVersion'
, createGroupVersion_coreDefinitionVersionArn
- The ARN of the core definition version for this group.
$sel:deviceDefinitionVersionArn:CreateGroupVersion'
, createGroupVersion_deviceDefinitionVersionArn
- The ARN of the device definition version for this group.
$sel:functionDefinitionVersionArn:CreateGroupVersion'
, createGroupVersion_functionDefinitionVersionArn
- The ARN of the function definition version for this group.
$sel:loggerDefinitionVersionArn:CreateGroupVersion'
, createGroupVersion_loggerDefinitionVersionArn
- The ARN of the logger definition version for this group.
$sel:connectorDefinitionVersionArn:CreateGroupVersion'
, createGroupVersion_connectorDefinitionVersionArn
- The ARN of the connector definition version for this group.
$sel:groupId:CreateGroupVersion'
, createGroupVersion_groupId
- The ID of the Greengrass group.
Request Lenses
createGroupVersion_amznClientToken :: Lens' CreateGroupVersion (Maybe Text) Source #
A client token used to correlate requests and responses.
createGroupVersion_resourceDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #
The ARN of the resource definition version for this group.
createGroupVersion_subscriptionDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #
The ARN of the subscription definition version for this group.
createGroupVersion_coreDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #
The ARN of the core definition version for this group.
createGroupVersion_deviceDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #
The ARN of the device definition version for this group.
createGroupVersion_functionDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #
The ARN of the function definition version for this group.
createGroupVersion_loggerDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #
The ARN of the logger definition version for this group.
createGroupVersion_connectorDefinitionVersionArn :: Lens' CreateGroupVersion (Maybe Text) Source #
The ARN of the connector definition version for this group.
createGroupVersion_groupId :: Lens' CreateGroupVersion Text Source #
The ID of the Greengrass group.
Destructuring the Response
data CreateGroupVersionResponse Source #
See: newCreateGroupVersionResponse
smart constructor.
CreateGroupVersionResponse' | |
|
Instances
newCreateGroupVersionResponse Source #
Create a value of CreateGroupVersionResponse
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:CreateGroupVersionResponse'
, createGroupVersionResponse_arn
- The ARN of the version.
$sel:creationTimestamp:CreateGroupVersionResponse'
, createGroupVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the version was created.
$sel:version:CreateGroupVersionResponse'
, createGroupVersionResponse_version
- The ID of the version.
$sel:id:CreateGroupVersionResponse'
, createGroupVersionResponse_id
- The ID of the parent definition that the version is associated with.
$sel:httpStatus:CreateGroupVersionResponse'
, createGroupVersionResponse_httpStatus
- The response's http status code.
Response Lenses
createGroupVersionResponse_arn :: Lens' CreateGroupVersionResponse (Maybe Text) Source #
The ARN of the version.
createGroupVersionResponse_creationTimestamp :: Lens' CreateGroupVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the version was created.
createGroupVersionResponse_version :: Lens' CreateGroupVersionResponse (Maybe Text) Source #
The ID of the version.
createGroupVersionResponse_id :: Lens' CreateGroupVersionResponse (Maybe Text) Source #
The ID of the parent definition that the version is associated with.
createGroupVersionResponse_httpStatus :: Lens' CreateGroupVersionResponse Int Source #
The response's http status code.