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 |
Retreives the CA associated with a group. Returns the public key of the CA.
- 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
- certificate authority IdggcaGroupId
- The unique Id of the AWS Greengrass Group
data GetGroupCertificateAuthority Source #
See: getGroupCertificateAuthority
smart constructor.
Request Lenses
ggcaCertificateAuthorityId :: Lens' GetGroupCertificateAuthority Text Source #
certificate authority Id
ggcaGroupId :: Lens' GetGroupCertificateAuthority Text Source #
The unique 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
- PEM encoded certificate for the group.ggcarsGroupCertificateAuthorityARN
- Arn of the certificate authority for the group.ggcarsGroupCertificateAuthorityId
- Id of the certificate authority for the group.ggcarsResponseStatus
- -- | The response status code.
data GetGroupCertificateAuthorityResponse Source #
See: getGroupCertificateAuthorityResponse
smart constructor.
Response Lenses
ggcarsPemEncodedCertificate :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text) Source #
PEM encoded certificate for the group.
ggcarsGroupCertificateAuthorityARN :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text) Source #
Arn of the certificate authority for the group.
ggcarsGroupCertificateAuthorityId :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text) Source #
Id of the certificate authority for the group.
ggcarsResponseStatus :: Lens' GetGroupCertificateAuthorityResponse Int Source #
- - | The response status code.