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 |
Updates the Certificate expiry time for a group.
Synopsis
- data UpdateGroupCertificateConfiguration = UpdateGroupCertificateConfiguration' {}
- newUpdateGroupCertificateConfiguration :: Text -> UpdateGroupCertificateConfiguration
- updateGroupCertificateConfiguration_certificateExpiryInMilliseconds :: Lens' UpdateGroupCertificateConfiguration (Maybe Text)
- updateGroupCertificateConfiguration_groupId :: Lens' UpdateGroupCertificateConfiguration Text
- data UpdateGroupCertificateConfigurationResponse = UpdateGroupCertificateConfigurationResponse' {}
- newUpdateGroupCertificateConfigurationResponse :: Int -> UpdateGroupCertificateConfigurationResponse
- updateGroupCertificateConfigurationResponse_certificateAuthorityExpiryInMilliseconds :: Lens' UpdateGroupCertificateConfigurationResponse (Maybe Text)
- updateGroupCertificateConfigurationResponse_groupId :: Lens' UpdateGroupCertificateConfigurationResponse (Maybe Text)
- updateGroupCertificateConfigurationResponse_certificateExpiryInMilliseconds :: Lens' UpdateGroupCertificateConfigurationResponse (Maybe Text)
- updateGroupCertificateConfigurationResponse_httpStatus :: Lens' UpdateGroupCertificateConfigurationResponse Int
Creating a Request
data UpdateGroupCertificateConfiguration Source #
See: newUpdateGroupCertificateConfiguration
smart constructor.
UpdateGroupCertificateConfiguration' | |
|
Instances
newUpdateGroupCertificateConfiguration Source #
Create a value of UpdateGroupCertificateConfiguration
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:certificateExpiryInMilliseconds:UpdateGroupCertificateConfiguration'
, updateGroupCertificateConfiguration_certificateExpiryInMilliseconds
- The amount of time remaining before the certificate expires, in
milliseconds.
$sel:groupId:UpdateGroupCertificateConfiguration'
, updateGroupCertificateConfiguration_groupId
- The ID of the Greengrass group.
Request Lenses
updateGroupCertificateConfiguration_certificateExpiryInMilliseconds :: Lens' UpdateGroupCertificateConfiguration (Maybe Text) Source #
The amount of time remaining before the certificate expires, in milliseconds.
updateGroupCertificateConfiguration_groupId :: Lens' UpdateGroupCertificateConfiguration Text Source #
The ID of the Greengrass group.
Destructuring the Response
data UpdateGroupCertificateConfigurationResponse Source #
See: newUpdateGroupCertificateConfigurationResponse
smart constructor.
UpdateGroupCertificateConfigurationResponse' | |
|
Instances
newUpdateGroupCertificateConfigurationResponse Source #
:: Int |
|
-> UpdateGroupCertificateConfigurationResponse |
Create a value of UpdateGroupCertificateConfigurationResponse
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:certificateAuthorityExpiryInMilliseconds:UpdateGroupCertificateConfigurationResponse'
, updateGroupCertificateConfigurationResponse_certificateAuthorityExpiryInMilliseconds
- The amount of time remaining before the certificate authority expires,
in milliseconds.
$sel:groupId:UpdateGroupCertificateConfiguration'
, updateGroupCertificateConfigurationResponse_groupId
- The ID of the group certificate configuration.
$sel:certificateExpiryInMilliseconds:UpdateGroupCertificateConfiguration'
, updateGroupCertificateConfigurationResponse_certificateExpiryInMilliseconds
- The amount of time remaining before the certificate expires, in
milliseconds.
$sel:httpStatus:UpdateGroupCertificateConfigurationResponse'
, updateGroupCertificateConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateGroupCertificateConfigurationResponse_certificateAuthorityExpiryInMilliseconds :: Lens' UpdateGroupCertificateConfigurationResponse (Maybe Text) Source #
The amount of time remaining before the certificate authority expires, in milliseconds.
updateGroupCertificateConfigurationResponse_groupId :: Lens' UpdateGroupCertificateConfigurationResponse (Maybe Text) Source #
The ID of the group certificate configuration.
updateGroupCertificateConfigurationResponse_certificateExpiryInMilliseconds :: Lens' UpdateGroupCertificateConfigurationResponse (Maybe Text) Source #
The amount of time remaining before the certificate expires, in milliseconds.
updateGroupCertificateConfigurationResponse_httpStatus :: Lens' UpdateGroupCertificateConfigurationResponse Int Source #
The response's http status code.