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 |
Synopsis
- defaultService :: Service
- _CloudHsmInternalException :: AsError a => Fold a ServiceError
- _CloudHsmServiceException :: AsError a => Fold a ServiceError
- _InvalidRequestException :: AsError a => Fold a ServiceError
- newtype ClientVersion where
- ClientVersion' { }
- pattern ClientVersion_ :: ClientVersion
- newtype CloudHsmObjectState where
- newtype HsmStatus where
- HsmStatus' { }
- pattern HsmStatus_DEGRADED :: HsmStatus
- pattern HsmStatus_PENDING :: HsmStatus
- pattern HsmStatus_RUNNING :: HsmStatus
- pattern HsmStatus_SUSPENDED :: HsmStatus
- pattern HsmStatus_TERMINATED :: HsmStatus
- pattern HsmStatus_TERMINATING :: HsmStatus
- pattern HsmStatus_UPDATING :: HsmStatus
- newtype SubscriptionType where
- SubscriptionType' { }
- pattern SubscriptionType_PRODUCTION :: SubscriptionType
- data Tag = Tag' {}
- newTag :: Text -> Text -> Tag
- tag_key :: Lens' Tag Text
- tag_value :: Lens' Tag Text
Service Configuration
defaultService :: Service Source #
API version 2014-05-30
of the Amazon CloudHSM SDK configuration.
Errors
_CloudHsmInternalException :: AsError a => Fold a ServiceError Source #
Indicates that an internal error occurred.
_CloudHsmServiceException :: AsError a => Fold a ServiceError Source #
Indicates that an exception occurred in the AWS CloudHSM service.
_InvalidRequestException :: AsError a => Fold a ServiceError Source #
Indicates that one or more of the request parameters are not valid.
ClientVersion
newtype ClientVersion Source #
pattern ClientVersion_ :: ClientVersion |
Instances
CloudHsmObjectState
newtype CloudHsmObjectState Source #
pattern CloudHsmObjectState_DEGRADED :: CloudHsmObjectState | |
pattern CloudHsmObjectState_READY :: CloudHsmObjectState | |
pattern CloudHsmObjectState_UPDATING :: CloudHsmObjectState |
Instances
HsmStatus
pattern HsmStatus_DEGRADED :: HsmStatus | |
pattern HsmStatus_PENDING :: HsmStatus | |
pattern HsmStatus_RUNNING :: HsmStatus | |
pattern HsmStatus_SUSPENDED :: HsmStatus | |
pattern HsmStatus_TERMINATED :: HsmStatus | |
pattern HsmStatus_TERMINATING :: HsmStatus | |
pattern HsmStatus_UPDATING :: HsmStatus |
Instances
SubscriptionType
newtype SubscriptionType Source #
Specifies the type of subscription for the HSM.
- PRODUCTION - The HSM is being used in a production environment.
- TRIAL - The HSM is being used in a product trial.
pattern SubscriptionType_PRODUCTION :: SubscriptionType |
Instances
Tag
A key-value pair that identifies or specifies metadata about an AWS CloudHSM resource.
See: newTag
smart constructor.
Instances
FromJSON Tag Source # | |
ToJSON Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
Generic Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
Eq Tag Source # | |
Hashable Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
type Rep Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudHSM.Types.Tag" "amazonka-cloudhsm-2.0-AR9j2lWCpfn9LR8RFi06vA" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
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:key:Tag'
, tag_key
- The key of the tag.
$sel:value:Tag'
, tag_value
- The value of the tag.