Copyright | (c) 2013-2018 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 |
Retreives the CA associated with a group. Returns the public key of the CA.
Synopsis
- getGroupCertificateAuthority :: Text -> Text -> GetGroupCertificateAuthority
- data GetGroupCertificateAuthority
- ggcaCertificateAuthorityId :: Lens' GetGroupCertificateAuthority Text
- ggcaGroupId :: Lens' GetGroupCertificateAuthority Text
- getGroupCertificateAuthorityResponse :: Int -> GetGroupCertificateAuthorityResponse
- data GetGroupCertificateAuthorityResponse
- ggcarsPemEncodedCertificate :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text)
- ggcarsGroupCertificateAuthorityARN :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text)
- ggcarsGroupCertificateAuthorityId :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text)
- ggcarsResponseStatus :: Lens' GetGroupCertificateAuthorityResponse Int
Creating a Request
getGroupCertificateAuthority Source #
Creates a value of GetGroupCertificateAuthority
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ggcaCertificateAuthorityId
- The ID of the certificate authority.ggcaGroupId
- The ID of the AWS Greengrass group.
data GetGroupCertificateAuthority Source #
See: getGroupCertificateAuthority
smart constructor.
Instances
Request Lenses
ggcaCertificateAuthorityId :: Lens' GetGroupCertificateAuthority Text Source #
The ID of the certificate authority.
ggcaGroupId :: Lens' GetGroupCertificateAuthority Text Source #
The ID of the AWS Greengrass group.
Destructuring the Response
getGroupCertificateAuthorityResponse Source #
Creates a value of GetGroupCertificateAuthorityResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ggcarsPemEncodedCertificate
- The PEM encoded certificate for the group.ggcarsGroupCertificateAuthorityARN
- The ARN of the certificate authority for the group.ggcarsGroupCertificateAuthorityId
- The ID of the certificate authority for the group.ggcarsResponseStatus
- -- | The response status code.
data GetGroupCertificateAuthorityResponse Source #
See: getGroupCertificateAuthorityResponse
smart constructor.
Instances
Response Lenses
ggcarsPemEncodedCertificate :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text) Source #
The PEM encoded certificate for the group.
ggcarsGroupCertificateAuthorityARN :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text) Source #
The ARN of the certificate authority for the group.
ggcarsGroupCertificateAuthorityId :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text) Source #
The ID of the certificate authority for the group.
ggcarsResponseStatus :: Lens' GetGroupCertificateAuthorityResponse Int Source #
- - | The response status code.