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.

UpdateSecurityProfileOutput

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

type UpdateSecurityProfileOutput 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 security 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 that was updated.

SecurityProfileDescription

Type: *string

The description of the security profile.

SecurityProfileName

Type: *string

The name of the security profile that was updated.

Version

Type: *int64

The updated version of the security profile.

Method

GoString

func (s UpdateSecurityProfileOutput) GoString() string

GoString returns the string representation

SetAdditionalMetricsToRetain

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

SetAdditionalMetricsToRetain sets the AdditionalMetricsToRetain field's value.

SetAlertTargets

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

SetAlertTargets sets the AlertTargets field's value.

SetBehaviors

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

SetBehaviors sets the Behaviors field's value.

SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

SetLastModifiedDate

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

SetLastModifiedDate sets the LastModifiedDate field's value.

SetSecurityProfileArn

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

SetSecurityProfileArn sets the SecurityProfileArn field's value.

SetSecurityProfileDescription

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

SetSecurityProfileDescription sets the SecurityProfileDescription field's value.

SetSecurityProfileName

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

SetSecurityProfileName sets the SecurityProfileName field's value.

SetVersion

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

SetVersion sets the Version field's value.

String

func (s UpdateSecurityProfileOutput) String() string

String returns the string representation

On this page: