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 CA for the group. If a CA already exists, it will rotate the existing CA.
Synopsis
- data CreateGroupCertificateAuthority = CreateGroupCertificateAuthority' {
- amznClientToken :: Maybe Text
- groupId :: Text
- newCreateGroupCertificateAuthority :: Text -> CreateGroupCertificateAuthority
- createGroupCertificateAuthority_amznClientToken :: Lens' CreateGroupCertificateAuthority (Maybe Text)
- createGroupCertificateAuthority_groupId :: Lens' CreateGroupCertificateAuthority Text
- data CreateGroupCertificateAuthorityResponse = CreateGroupCertificateAuthorityResponse' {}
- newCreateGroupCertificateAuthorityResponse :: Int -> CreateGroupCertificateAuthorityResponse
- createGroupCertificateAuthorityResponse_groupCertificateAuthorityArn :: Lens' CreateGroupCertificateAuthorityResponse (Maybe Text)
- createGroupCertificateAuthorityResponse_httpStatus :: Lens' CreateGroupCertificateAuthorityResponse Int
Creating a Request
data CreateGroupCertificateAuthority Source #
See: newCreateGroupCertificateAuthority
smart constructor.
CreateGroupCertificateAuthority' | |
|
Instances
newCreateGroupCertificateAuthority Source #
Create a value of CreateGroupCertificateAuthority
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:CreateGroupCertificateAuthority'
, createGroupCertificateAuthority_amznClientToken
- A client token used to correlate requests and responses.
$sel:groupId:CreateGroupCertificateAuthority'
, createGroupCertificateAuthority_groupId
- The ID of the Greengrass group.
Request Lenses
createGroupCertificateAuthority_amznClientToken :: Lens' CreateGroupCertificateAuthority (Maybe Text) Source #
A client token used to correlate requests and responses.
createGroupCertificateAuthority_groupId :: Lens' CreateGroupCertificateAuthority Text Source #
The ID of the Greengrass group.
Destructuring the Response
data CreateGroupCertificateAuthorityResponse Source #
See: newCreateGroupCertificateAuthorityResponse
smart constructor.
CreateGroupCertificateAuthorityResponse' | |
|
Instances
newCreateGroupCertificateAuthorityResponse Source #
Create a value of CreateGroupCertificateAuthorityResponse
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:groupCertificateAuthorityArn:CreateGroupCertificateAuthorityResponse'
, createGroupCertificateAuthorityResponse_groupCertificateAuthorityArn
- The ARN of the group certificate authority.
$sel:httpStatus:CreateGroupCertificateAuthorityResponse'
, createGroupCertificateAuthorityResponse_httpStatus
- The response's http status code.
Response Lenses
createGroupCertificateAuthorityResponse_groupCertificateAuthorityArn :: Lens' CreateGroupCertificateAuthorityResponse (Maybe Text) Source #
The ARN of the group certificate authority.
createGroupCertificateAuthorityResponse_httpStatus :: Lens' CreateGroupCertificateAuthorityResponse Int Source #
The response's http status code.