AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribeSecurityProfileOutput

import "github.com/aws/aws-sdk-go/service/iot"

type DescribeSecurityProfileOutput struct { AdditionalMetricsToRetain []*string `locationName:"additionalMetricsToRetain" type:"list"` AlertTargets map[string]*AlertTarget `locationName:"alertTargets" type:"map"` Behaviors []*Behavior `locationName:"behaviors" type:"list"` CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"` SecurityProfileArn *string `locationName:"securityProfileArn" type:"string"` SecurityProfileDescription *string `locationName:"securityProfileDescription" type:"string"` SecurityProfileName *string `locationName:"securityProfileName" min:"1" type:"string"` Version *int64 `locationName:"version" type:"long"` }

AdditionalMetricsToRetain

Type: []*string

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.

AlertTargets

Type: map[string]*AlertTarget

Where the alerts are sent. (Alerts are always sent to the console.)

Behaviors

A Device Defender security profile behavior.

CreationDate

Type: *time.Time

The time the security profile was created.

LastModifiedDate

Type: *time.Time

The time the security profile was last modified.

SecurityProfileArn

Type: *string

The ARN of the security profile.

SecurityProfileDescription

Type: *string

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

SecurityProfileName

Type: *string

The name of the security profile.

Version

Type: *int64

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

Method

GoString

func (s DescribeSecurityProfileOutput) GoString() string

GoString returns the string representation

SetAdditionalMetricsToRetain

func (s *DescribeSecurityProfileOutput) SetAdditionalMetricsToRetain(v []*string) *DescribeSecurityProfileOutput

SetAdditionalMetricsToRetain sets the AdditionalMetricsToRetain field's value.

SetAlertTargets

func (s *DescribeSecurityProfileOutput) SetAlertTargets(v map[string]*AlertTarget) *DescribeSecurityProfileOutput

SetAlertTargets sets the AlertTargets field's value.

SetBehaviors

func (s *DescribeSecurityProfileOutput) SetBehaviors(v []*Behavior) *DescribeSecurityProfileOutput

SetBehaviors sets the Behaviors field's value.

SetCreationDate

func (s *DescribeSecurityProfileOutput) SetCreationDate(v time.Time) *DescribeSecurityProfileOutput

SetCreationDate sets the CreationDate field's value.

SetLastModifiedDate

func (s *DescribeSecurityProfileOutput) SetLastModifiedDate(v time.Time) *DescribeSecurityProfileOutput

SetLastModifiedDate sets the LastModifiedDate field's value.

SetSecurityProfileArn

func (s *DescribeSecurityProfileOutput) SetSecurityProfileArn(v string) *DescribeSecurityProfileOutput

SetSecurityProfileArn sets the SecurityProfileArn field's value.

SetSecurityProfileDescription

func (s *DescribeSecurityProfileOutput) SetSecurityProfileDescription(v string) *DescribeSecurityProfileOutput

SetSecurityProfileDescription sets the SecurityProfileDescription field's value.

SetSecurityProfileName

func (s *DescribeSecurityProfileOutput) SetSecurityProfileName(v string) *DescribeSecurityProfileOutput

SetSecurityProfileName sets the SecurityProfileName field's value.

SetVersion

func (s *DescribeSecurityProfileOutput) SetVersion(v int64) *DescribeSecurityProfileOutput

SetVersion sets the Version field's value.

String

func (s DescribeSecurityProfileOutput) String() string

String returns the string representation

On this page: