| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.GetGroupCertificateAuthority
Description
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_groupCertificateAuthorityArn :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text)
- getGroupCertificateAuthorityResponse_groupCertificateAuthorityId :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text)
- getGroupCertificateAuthorityResponse_pemEncodedCertificate :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text)
- getGroupCertificateAuthorityResponse_httpStatus :: Lens' GetGroupCertificateAuthorityResponse Int
Creating a Request
data GetGroupCertificateAuthority Source #
See: newGetGroupCertificateAuthority smart constructor.
Constructors
| GetGroupCertificateAuthority' | |
Fields
| |
Instances
newGetGroupCertificateAuthority Source #
Arguments
| :: 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.
Constructors
| GetGroupCertificateAuthorityResponse' | |
Fields
| |
Instances
newGetGroupCertificateAuthorityResponse Source #
Arguments
| :: Int | |
| -> GetGroupCertificateAuthorityResponse |
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:
GetGroupCertificateAuthorityResponse, getGroupCertificateAuthorityResponse_groupCertificateAuthorityArn - The ARN of the certificate authority for the group.
GetGroupCertificateAuthorityResponse, getGroupCertificateAuthorityResponse_groupCertificateAuthorityId - The ID of the certificate authority for the group.
$sel:pemEncodedCertificate:GetGroupCertificateAuthorityResponse', getGroupCertificateAuthorityResponse_pemEncodedCertificate - The PEM encoded certificate for the group.
$sel:httpStatus:GetGroupCertificateAuthorityResponse', getGroupCertificateAuthorityResponse_httpStatus - The response's http status code.
Response Lenses
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_pemEncodedCertificate :: Lens' GetGroupCertificateAuthorityResponse (Maybe Text) Source #
The PEM encoded certificate for the group.
getGroupCertificateAuthorityResponse_httpStatus :: Lens' GetGroupCertificateAuthorityResponse Int Source #
The response's http status code.