Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Creates a CA for the group. If a CA already exists, it will rotate the existing CA.
- createGroupCertificateAuthority :: Text -> CreateGroupCertificateAuthority
- data CreateGroupCertificateAuthority
- cgcaAmznClientToken :: Lens' CreateGroupCertificateAuthority (Maybe Text)
- cgcaGroupId :: Lens' CreateGroupCertificateAuthority Text
- createGroupCertificateAuthorityResponse :: Int -> CreateGroupCertificateAuthorityResponse
- data CreateGroupCertificateAuthorityResponse
- cgcarsGroupCertificateAuthorityARN :: Lens' CreateGroupCertificateAuthorityResponse (Maybe Text)
- cgcarsResponseStatus :: Lens' CreateGroupCertificateAuthorityResponse Int
Creating a Request
createGroupCertificateAuthority Source #
Creates a value of CreateGroupCertificateAuthority
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cgcaAmznClientToken
- The client token used to request idempotent operations.cgcaGroupId
- The unique Id of the AWS Greengrass Group
data CreateGroupCertificateAuthority Source #
See: createGroupCertificateAuthority
smart constructor.
Request Lenses
cgcaAmznClientToken :: Lens' CreateGroupCertificateAuthority (Maybe Text) Source #
The client token used to request idempotent operations.
cgcaGroupId :: Lens' CreateGroupCertificateAuthority Text Source #
The unique Id of the AWS Greengrass Group
Destructuring the Response
createGroupCertificateAuthorityResponse Source #
Creates a value of CreateGroupCertificateAuthorityResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cgcarsGroupCertificateAuthorityARN
- Arn of the group certificate authority.cgcarsResponseStatus
- -- | The response status code.
data CreateGroupCertificateAuthorityResponse Source #
See: createGroupCertificateAuthorityResponse
smart constructor.
Response Lenses
cgcarsGroupCertificateAuthorityARN :: Lens' CreateGroupCertificateAuthorityResponse (Maybe Text) Source #
Arn of the group certificate authority.
cgcarsResponseStatus :: Lens' CreateGroupCertificateAuthorityResponse Int Source #
- - | The response status code.