libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.DescribeSecurityProfile

Description

Gets information about a Device Defender security profile.

Requires permission to access the DescribeSecurityProfile action.

Synopsis

Creating a Request

data DescribeSecurityProfile Source #

See: newDescribeSecurityProfile smart constructor.

Constructors

DescribeSecurityProfile' 

Fields

Instances

Instances details
Eq DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

Read DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

Show DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

Generic DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

Associated Types

type Rep DescribeSecurityProfile :: Type -> Type #

NFData DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

Methods

rnf :: DescribeSecurityProfile -> () #

Hashable DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

AWSRequest DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

ToHeaders DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

ToPath DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

ToQuery DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

type Rep DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

type Rep DescribeSecurityProfile = D1 ('MetaData "DescribeSecurityProfile" "Amazonka.IoT.DescribeSecurityProfile" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeSecurityProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityProfileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeSecurityProfile Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

newDescribeSecurityProfile Source #

Create a value of DescribeSecurityProfile 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:securityProfileName:DescribeSecurityProfile', describeSecurityProfile_securityProfileName - The name of the security profile whose information you want to get.

Request Lenses

describeSecurityProfile_securityProfileName :: Lens' DescribeSecurityProfile Text Source #

The name of the security profile whose information you want to get.

Destructuring the Response

data DescribeSecurityProfileResponse Source #

See: newDescribeSecurityProfileResponse smart constructor.

Constructors

DescribeSecurityProfileResponse' 

Fields

Instances

Instances details
Eq DescribeSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

Read DescribeSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

Show DescribeSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

Generic DescribeSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

Associated Types

type Rep DescribeSecurityProfileResponse :: Type -> Type #

NFData DescribeSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

type Rep DescribeSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeSecurityProfile

type Rep DescribeSecurityProfileResponse = D1 ('MetaData "DescribeSecurityProfileResponse" "Amazonka.IoT.DescribeSecurityProfile" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeSecurityProfileResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "alertTargets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap AlertTargetType AlertTarget))) :*: S1 ('MetaSel ('Just "additionalMetricsToRetainV2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricToRetain]))) :*: (S1 ('MetaSel ('Just "behaviors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Behavior])) :*: (S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) :*: ((S1 ('MetaSel ('Just "securityProfileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "additionalMetricsToRetain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "securityProfileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "securityProfileDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeSecurityProfileResponse Source #

Create a value of DescribeSecurityProfileResponse 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:alertTargets:DescribeSecurityProfileResponse', describeSecurityProfileResponse_alertTargets - Where the alerts are sent. (Alerts are always sent to the console.)

$sel:additionalMetricsToRetainV2:DescribeSecurityProfileResponse', describeSecurityProfileResponse_additionalMetricsToRetainV2 - A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.

$sel:behaviors:DescribeSecurityProfileResponse', describeSecurityProfileResponse_behaviors - Specifies the behaviors that, when violated by a device (thing), cause an alert.

$sel:lastModifiedDate:DescribeSecurityProfileResponse', describeSecurityProfileResponse_lastModifiedDate - The time the security profile was last modified.

$sel:version:DescribeSecurityProfileResponse', describeSecurityProfileResponse_version - The version of the security profile. A new version is generated whenever the security profile is updated.

$sel:securityProfileName:DescribeSecurityProfile', describeSecurityProfileResponse_securityProfileName - The name of the security profile.

$sel:creationDate:DescribeSecurityProfileResponse', describeSecurityProfileResponse_creationDate - The time the security profile was created.

$sel:additionalMetricsToRetain:DescribeSecurityProfileResponse', describeSecurityProfileResponse_additionalMetricsToRetain - /Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead./

A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.

$sel:securityProfileArn:DescribeSecurityProfileResponse', describeSecurityProfileResponse_securityProfileArn - The ARN of the security profile.

$sel:securityProfileDescription:DescribeSecurityProfileResponse', describeSecurityProfileResponse_securityProfileDescription - A description of the security profile (associated with the security profile when it was created or updated).

$sel:httpStatus:DescribeSecurityProfileResponse', describeSecurityProfileResponse_httpStatus - The response's http status code.

Response Lenses

describeSecurityProfileResponse_additionalMetricsToRetainV2 :: Lens' DescribeSecurityProfileResponse (Maybe [MetricToRetain]) Source #

A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.

describeSecurityProfileResponse_behaviors :: Lens' DescribeSecurityProfileResponse (Maybe [Behavior]) Source #

Specifies the behaviors that, when violated by a device (thing), cause an alert.

describeSecurityProfileResponse_version :: Lens' DescribeSecurityProfileResponse (Maybe Integer) Source #

The version of the security profile. A new version is generated whenever the security profile is updated.

describeSecurityProfileResponse_additionalMetricsToRetain :: Lens' DescribeSecurityProfileResponse (Maybe [Text]) Source #

/Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead./

A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.

describeSecurityProfileResponse_securityProfileDescription :: Lens' DescribeSecurityProfileResponse (Maybe Text) Source #

A description of the security profile (associated with the security profile when it was created or updated).