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 |
Retreives the CA associated with a group. Returns the public key of the CA.
Synopsis
- data GetGroupCertificateAuthority = GetGroupCertificateAuthority' {}
- newGetGroupCertificateAuthority :: Text -> Text -> GetGroupCertificateAuthority
- getGroupCertificateAuthority_certificateAuthorityId :: Lens' GetGroupCertificateAuthority Text
- getGroupCertificateAuthority_groupId :: Lens' GetGroupCertificateAuthority Text
- data GetGroupCertificateAuthorityResponse = GetGroupCertificateAuthorityResponse' {}
- newGetGroupCertificateAuthorityResponse :: Int -> GetGroupCertificateAuthorityResponse
- getGroupCertificateAuthorityResponse_pemEncodedCertificate :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text)
- getGroupCertificateAuthorityResponse_groupCertificateAuthorityArn :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text)
- getGroupCertificateAuthorityResponse_groupCertificateAuthorityId :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text)
- getGroupCertificateAuthorityResponse_httpStatus :: Lens' GetGroupCertificateAuthorityResponse Int
Creating a Request
data GetGroupCertificateAuthority Source #
See: newGetGroupCertificateAuthority
smart constructor.
GetGroupCertificateAuthority' | |
|
Instances
newGetGroupCertificateAuthority Source #
:: Text | |
-> Text | |
-> GetGroupCertificateAuthority |
Create a value of GetGroupCertificateAuthority
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:certificateAuthorityId:GetGroupCertificateAuthority'
, getGroupCertificateAuthority_certificateAuthorityId
- The ID of the certificate authority.
$sel:groupId:GetGroupCertificateAuthority'
, getGroupCertificateAuthority_groupId
- The ID of the Greengrass group.
Request Lenses
getGroupCertificateAuthority_certificateAuthorityId :: Lens' GetGroupCertificateAuthority Text Source #
The ID of the certificate authority.
getGroupCertificateAuthority_groupId :: Lens' GetGroupCertificateAuthority Text Source #
The ID of the Greengrass group.
Destructuring the Response
data GetGroupCertificateAuthorityResponse Source #
See: newGetGroupCertificateAuthorityResponse
smart constructor.
GetGroupCertificateAuthorityResponse' | |
|
Instances
newGetGroupCertificateAuthorityResponse Source #
Create a value of GetGroupCertificateAuthorityResponse
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:pemEncodedCertificate:GetGroupCertificateAuthorityResponse'
, getGroupCertificateAuthorityResponse_pemEncodedCertificate
- The PEM encoded certificate for the group.
$sel:groupCertificateAuthorityArn:GetGroupCertificateAuthorityResponse'
, getGroupCertificateAuthorityResponse_groupCertificateAuthorityArn
- The ARN of the certificate authority for the group.
$sel:groupCertificateAuthorityId:GetGroupCertificateAuthorityResponse'
, getGroupCertificateAuthorityResponse_groupCertificateAuthorityId
- The ID of the certificate authority for the group.
$sel:httpStatus:GetGroupCertificateAuthorityResponse'
, getGroupCertificateAuthorityResponse_httpStatus
- The response's http status code.
Response Lenses
getGroupCertificateAuthorityResponse_pemEncodedCertificate :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text) Source #
The PEM encoded certificate for the group.
getGroupCertificateAuthorityResponse_groupCertificateAuthorityArn :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text) Source #
The ARN of the certificate authority for the group.
getGroupCertificateAuthorityResponse_groupCertificateAuthorityId :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text) Source #
The ID of the certificate authority for the group.
getGroupCertificateAuthorityResponse_httpStatus :: Lens' GetGroupCertificateAuthorityResponse Int Source #
The response's http status code.