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 |
Synopsis
- defaultService :: Service
- _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _CloudHsmServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- _CloudHsmInternalException :: AsError a => Getting (First ServiceError) 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
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Indicates that one or more of the request parameters are not valid.
_CloudHsmServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Indicates that an exception occurred in the AWS CloudHSM service.
_CloudHsmInternalException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Indicates that an internal error occurred.
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
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudHSM.Types.Tag" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" '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.